:root {
  --mag: #a83279;
  --violet: #7b3fa0;
  --btn: #8e2fa5;
  --btn-hover: #73258c;
  --ink: #1a1a1a;
  --deep: #2b1337;
  --night: #0f0914;
  --plum: #3e2b4f;
  --muted: #757575;
  --line: #e6dcea;
  --paper: #f4f2f8;
  --blue: #4051b5;
  --red: #d61f5e;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.45 "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
a { color: var(--mag); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; font-weight: 650; }
h1 { font-size: 1.7rem; margin: 0 0 10px; color: var(--deep); }
h2 { font-size: 1.25rem; margin: 18px 0 10px; color: var(--deep); }
h3 { font-size: 1rem; margin: 0 0 8px; }

.wrap { width: min(1100px, calc(100% - 28px)); margin: 0 auto; }
.main { padding: 22px 0 48px; min-height: 46vh; }
.main > h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--mag);
}
.main > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-bar { background: #1b181d; color: #e8e0f1; }
.age-inner, .top-inner, .head-inner, .admin-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.age-inner { min-height: 42px; }
.age-inner p { margin: 8px 0; font-size: 0.92rem; }
.age-pill { display: inline-block; background: var(--mag); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 2px 6px; margin-right: 6px; }
.age-bar .icon-btn { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }

.admin-bar { background: var(--plum); color: var(--white); }
.admin-inner { min-height: 40px; gap: 14px; }
.admin-inner nav { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.admin-inner a { color: var(--white); font-size: 0.86rem; white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.admin-inner a:hover, .admin-inner a.on { text-decoration: none; color: #fff; border-bottom-color: var(--mag); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.filters a, .find button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #ddd4e6;
  border-radius: 4px;
  background: var(--white);
  color: var(--deep);
  font-weight: 650;
}
.filters a.on, .filters a:hover { background: var(--deep); color: var(--white); text-decoration: none; border-color: var(--deep); }
.find { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 12px; max-width: 560px; }
h1 .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 8px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  vertical-align: middle;
}
h1 .pill:hover, h1 .pill.on { background: var(--deep); color: var(--white); text-decoration: none; }
h1 .pill i { color: var(--mag); }
h1 .pill:hover i, h1 .pill.on i { color: #f0c4de; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.is-hidden { display: none; }
.captcha-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.captcha-q { font-weight: 700; white-space: nowrap; color: var(--deep); }
.captcha-row input { width: 88px; flex: none; }
.support-title { margin: 0; }
.support-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.support-reply { display: grid; gap: 8px; margin-top: 10px; max-width: 560px; }
.stat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.stat-head h1 { margin: 0; }
.stat-range { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; }
.stat-range select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 10px;
  font-weight: 650;
  color: var(--deep);
}
.track-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 14px; }
.track-filter label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.track-filter select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--deep);
  min-width: 88px;
  max-width: 100%;
}
.track-filter select[name="media"] { width: 180px; }
.track-filter select[name="url"] { width: min(420px, 70vw); }
.track-filter select[name="subid"] { width: 140px; }
.ua-cell { display: inline-block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.track-zone-del { display: inline; margin: 0; }
.track-zone-del button { color: var(--red); background: none; border: 0; padding: 0; cursor: pointer; font-size: 1rem; line-height: 1; }
.track-zone-del button:hover { color: #b01545; }
.refer-wd { display: flex; align-items: center; gap: 10px; }
.refer-clock { color: var(--mag); font-size: 1.15rem; line-height: 1; }
.refer-clock:hover { color: var(--deep); text-decoration: none; }
.dep-graph .user-graph-swatch.ok, .dep-graph .user-graph-bar.ok { background: #1f8a4c; }
.dep-graph .user-graph-bar.ok { width: 6px; }
.dep-graph .user-graph-plot { padding-right: 52px; }
.dep-graph .user-graph-grid { right: 52px; }
.dep-graph .user-graph-tick i { right: -48px; }
.lead-graph .user-graph-swatch.ok, .lead-graph .user-graph-bar.ok { background: var(--blue); }
.lead-graph .user-graph-bar.ok { width: 6px; }
.dep-list { display: grid; gap: 8px; }
.dep-row { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--mag); border-radius: 4px; padding: 10px 12px; }
.dep-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.dep-line + .dep-line { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.dep-line a { display: inline-flex; align-items: center; gap: 6px; }
.dep-note { flex: 1; min-width: 140px; word-break: break-word; }
.dep-acc { color: var(--deep); word-break: break-all; }
.dep-place { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: #86efac; white-space: nowrap; }
.dep-ref { display: inline-flex; align-items: center; gap: 6px; }
.user-find { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin: 0 0 14px; }
.user-find label { display: block; font-size: 0.78rem; font-weight: 700; margin: 0 0 4px; color: var(--deep); }
.user-find select, .user-find input { min-width: 140px; }
.user-find .grow { flex: 1; min-width: 180px; }
.user-find .grow input { width: 100%; }
.inline-form { display: inline-flex; flex-wrap: wrap; gap: 10px; margin-left: 8px; vertical-align: middle; align-items: center; }
.st-ok { color: var(--mag); }
.st-wait { color: #9a6b12; }
.st-no { color: var(--red); }
.user-graph { margin: 0 0 16px; --plot-h: 110px; }
.user-graph-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 8px; color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.user-graph-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
.user-graph-swatch.ok { background: var(--mag); }
.user-graph-swatch.no { background: #c4b6d0; }
.user-graph-swatch.all { background: var(--deep); }
.user-graph-plot { position: relative; padding-right: 28px; overflow: visible; }
.user-graph-grid { position: absolute; left: 0; right: 28px; top: 0; height: var(--plot-h); pointer-events: none; }
.user-graph-tick { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.user-graph-tick i { position: absolute; right: -26px; top: -7px; font-style: normal; font-size: 10px; color: var(--muted); }
.user-graph-days { display: flex; align-items: flex-end; gap: 3px; position: relative; z-index: 1; }
.user-graph-day { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.user-graph-bars { width: 100%; height: var(--plot-h); display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.user-graph-bar { display: block; min-height: 0; border-radius: 2px 2px 0 0; }
.user-graph-bar.ok { width: 3px; background: var(--mag); }
.user-graph-bar.no { width: 3px; background: #c4b6d0; }
.user-graph-bar.all { width: 8px; background: var(--deep); }
.user-graph-label { color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1; }
.admin-ads, .boost-list { display: grid; gap: 8px; }
.admin-ad, .boost-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
}
.boost-row { align-items: center; border-left: 3px solid var(--mag); }
.admin-ad-thumb, .boost-ico { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 4px; overflow: hidden; background: var(--paper); display: block; }
.boost-ico { width: 48px; height: 48px; flex-basis: 48px; object-fit: cover; }
.boost-ico.blank { border: 1px dashed #c9b8d4; }
.boost-head { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; }
.boost-head .boost-ico { border-radius: 4px; border: 1px solid var(--line); background: var(--paper); display: block; }
.boost-head .boost-title { margin: 0 0 4px; font-weight: 700; color: var(--deep); }
.boost-head .muted, .boost-head .flash { margin: 0; }
.admin-ad-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-ad-body, .boost-copy { flex: 1; min-width: 0; }
.admin-ad-meta { color: var(--muted); font-size: 0.82rem; }
.admin-ad-line, .boost-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.admin-ad-title { font-weight: 700; color: var(--deep); }
.admin-ad-icon { color: var(--mag); }
.admin-ad-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.admin-ad-actions a, .boost-line a, .boost-line span { color: var(--muted); }
.admin-ad-actions a:hover, .boost-line a:hover { color: var(--mag); text-decoration: none; }
.admin-ad-actions i, .boost-line i { margin-right: 4px; }
.admin-ad-actions form { display: inline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 650; cursor: pointer; }
.link-btn.danger { color: var(--red); }
.boost-left { margin-left: auto; color: var(--mag); font-weight: 700; }
.boost-copy { display: grid; gap: 4px; }
.boost-math { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--deep); }
.boost-hyper { margin-left: auto; color: var(--red); font-weight: 700; }
.blind-modal {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  background: var(--white);
  color: var(--deep);
  box-shadow: 0 12px 40px rgba(40, 20, 50, 0.22);
}
.blind-modal::backdrop { background: rgba(28, 18, 36, 0.45); }
.blind-form { padding: 16px 16px 18px; margin: 0; }
.blind-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.blind-head h2 { margin: 0; font-size: 1.15rem; }
.blind-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 6px;
}
.blind-close:hover { color: var(--deep); }
.blind-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ad-side [data-blind-open] { width: 100%; }
.cover-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; display: block; background: var(--paper); }
.cover-excluded { color: #8a8490; background: #f0eef2; }
.cover-excluded a, .cover-excluded .help, .cover-excluded .admin-ad-icon { color: #8a8490; }
.cover-excluded .cover-thumb { filter: grayscale(1); opacity: 0.55; }
.nowrap { white-space: nowrap; }
.covers { display: grid; grid-template-columns: repeat(auto-fill, 64px); gap: 6px; }
.covers a { display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.covers img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; border-style: dashed; border-color: var(--mag); color: var(--mag); background: var(--white); font-size: 0.62rem; font-weight: 700; line-height: 1.15; padding: 4px; }
.cover-add i { font-size: 0.95rem; }
.cover-add:hover { background: var(--paper); color: var(--deep); text-decoration: none; }
.admin-photos .photo-slot form { margin-top: 6px; text-align: center; }
.desk { display: grid; gap: 10px; }
.desk-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mag);
  border-radius: 4px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.desk-top, .desk-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.desk-actions { justify-content: flex-start; }
.desk-actions form { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-badge { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #f0c4de; }

.topbar { background: var(--night); color: var(--white); position: relative; z-index: 6; border-bottom: 1px solid rgba(240, 196, 222, 0.35); }
.top-inner { min-height: 52px; }
.top-right { display: flex; align-items: center; gap: 16px; }
.topbar .text-link, .topbar .drop summary { color: var(--white); }
.topbar .text-link i, .topbar .drop summary i { color: #f0c4de; }
.topbar .text-link:hover { color: #fff; text-decoration: none; }
.topbar .btn:hover { background: var(--white); color: var(--mag); }

.text-link { color: var(--deep); font-weight: 650; }
.text-link i, .menu-links i, .drop-menu i, .foot-grid i { width: 1.1em; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  padding: 9px 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--btn-hover); text-decoration: none; color: var(--white); }
.btn.light { background: var(--white); color: var(--deep); border: 1px solid #d9cfe3; }
.btn.light:hover { background: var(--paper); color: var(--mag); border-color: var(--mag); }
.btn.slim { padding: 6px 10px; font-size: 0.9rem; }
.btn.tiny { padding: 4px 8px; font-size: 0.78rem; gap: 5px; }
.btn.danger { background: var(--red); }
.btn.grey { background: #8a8490; color: var(--white); }
.btn.grey:hover { background: #6f6975; color: var(--white); }
.btn.wide { width: 100%; }

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--mag); color: var(--mag); }

.site-header { background: var(--deep); position: relative; z-index: 5; }
.head-inner { min-height: 78px; }
.brand { color: var(--white); font-weight: 750; font-size: 1.85rem; letter-spacing: 0.06em; text-decoration: none; }
.brand span { color: var(--mag); }
.brand:hover { text-decoration: none; }
.brand-light, .brand-light span { color: var(--white); }
.brand-light span { color: #f0c4de; }
.head-rule { height: 3px; background: var(--mag); }
.head-tools { display: flex; align-items: center; gap: 8px; position: relative; }
.site-header .icon-btn { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.site-header .icon-btn:hover { background: var(--white); color: var(--mag); border-color: var(--white); }

.city-search { position: relative; }
.city-field { position: relative; display: flex; align-items: center; }
.city-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mag);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}
.city-search input[type="search"] {
  width: 280px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px 0 40px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-appearance: none;
  appearance: none;
}
.city-search input[type="search"]::-webkit-search-decoration,
.city-search input[type="search"]::-webkit-search-cancel-button,
.city-search input[type="search"]::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.city-search input[type="search"]:focus { outline: 2px solid #f0c4de; border-color: transparent; background: var(--white); }
.city-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(15, 9, 20, 0.16);
}
.city-results a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
}
.city-results a small { color: var(--muted); }
.city-results a:hover, .city-results a.active { background: var(--paper); }
.search-toggle, #menuBtn { display: none; }

.menu-bar { background: var(--white); position: relative; z-index: 4; box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(43, 19, 55, 0.04); }
.menu-hit { display: none; width: 100%; text-align: left; background: transparent; border: 0; padding: 12px 0; font-weight: 650; cursor: pointer; color: var(--deep); }
.menu-links { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.menu-links a {
  color: var(--deep);
  font-weight: 650;
  padding: 14px 12px 12px;
  border-bottom: 3px solid transparent;
}
.menu-links a:hover, .menu-links a.on { color: var(--mag); text-decoration: none; border-bottom-color: var(--mag); }
.ico-mag { color: var(--mag); }
.ico-blue { color: var(--blue); }
.ico-ink { color: var(--deep); }
.ico-red { color: var(--red); }
.ico-violet { color: var(--violet); }

.drop { position: relative; }
.drop summary { list-style: none; cursor: pointer; font-weight: 650; color: var(--deep); }
.drop summary::-webkit-details-marker { display: none; }
.drop-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--plum);
  border: 0;
  border-radius: 4px;
  padding: 6px;
  z-index: 30;
  box-shadow: 0 10px 24px rgba(15, 9, 20, 0.28);
}
.drop-menu a { display: flex; gap: 8px; align-items: center; padding: 8px 10px; color: var(--white); border-radius: 4px; }
.drop-menu a:hover { background: var(--violet); text-decoration: none; color: var(--white); }
.drop-bal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  color: #f0c4de;
  font-weight: 700;
}
.bal-refresh {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #f0c4de;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bal-refresh:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.bal-refresh.is-busy i { animation: bal-spin 0.8s linear infinite; }
@keyframes bal-spin { to { transform: rotate(360deg); } }

.intro p { color: #3d3d3d; }
.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--deep);
  font-weight: 650;
  background: var(--paper);
  border-radius: 4px;
  padding: 10px 12px;
}
.steps i.fa-arrow-right { color: var(--mag); font-size: 0.8rem; }

.main > section, .sheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
  margin: 0 0 14px;
}
.country { margin-top: 0; }
.country h2 { color: var(--mag); margin-top: 0; }
.state { margin: 14px 0 0; }
.state h3 { color: #3d3d3d; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a {
  display: inline-block;
  border: 1px solid #ddd4e6;
  border-radius: 4px;
  padding: 5px 9px;
  color: var(--deep);
  background: var(--paper);
  font-size: 0.92rem;
}
.chips a:hover, .chips a.on { border-color: var(--mag); color: var(--white); text-decoration: none; background: var(--mag); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(43, 19, 55, 0.05);
}
.card:hover { border-color: #d7c3e4; }
.thumb { position: relative; display: block; background: var(--paper); aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--deep);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
}
.card-body { padding: 8px 10px 12px; }
.meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; color: var(--blue); font-size: 0.86rem; font-weight: 650; }
.card-view { color: var(--mag); font-weight: 700; white-space: nowrap; }
.card-view:hover { color: var(--deep); text-decoration: none; }
.card-title { display: block; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.card-title:hover { color: var(--mag); }
.excerpt { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--mag);
  color: var(--white);
  padding: 16px 18px;
  margin: 0 0 14px;
  border-radius: 4px;
}
.cta-band p { margin: 0; font-weight: 650; }
.cta-band .btn { background: var(--white); color: var(--mag); }
.cta-band .btn:hover { background: var(--deep); color: var(--white); }
.lede { font-size: 1.02rem; }
.muted { color: var(--muted); }
.prose h2 { margin-top: 18px; }
.prose ul { padding-left: 18px; }

.suggested { margin: 18px 0 14px; }
.suggested h2 { margin: 0 0 10px; font-size: 1.05rem; }
.suggested-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 420px;
}
.suggested-thumbs a {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.suggested-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 520px) {
  .suggested-thumbs { max-width: none; gap: 6px; }
}

.ad-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
}
.ad-side { border: 1px solid var(--line); border-top: 3px solid var(--mag); border-radius: 4px; padding: 14px; background: var(--paper); }
.ad-side p { margin: 8px 0; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.shots button { padding: 0; border: 1px solid var(--line); background: var(--paper); cursor: pointer; border-radius: 4px; }
.shots img, .hero-shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--paper); }
.hero-shot { border: 1px solid var(--line); border-radius: 4px; }

.form { display: grid; gap: 12px; max-width: 720px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--mag); border-radius: 4px; padding: 16px 18px; }
label { display: grid; gap: 4px; font-weight: 650; }
label i { color: var(--mag); }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%;
  border: 1px solid #ddd4e6;
  border-radius: 4px;
  padding: 9px 10px;
  background: #fbfafd;
  font-weight: 400;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #e7c3d8; border-color: var(--mag); background: var(--white); }
textarea { min-height: 140px; resize: vertical; }
.help { color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.flash { border: 1px solid var(--line); border-left: 3px solid var(--mag); padding: 10px 12px; margin: 0 0 14px; background: var(--white); border-radius: 4px; }
.flash.bad { border-left-color: var(--red); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; max-height: 220px; overflow: auto; border: 1px solid var(--line); padding: 8px; border-radius: 4px; font-weight: 400; background: var(--paper); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pass { position: relative; }
.pass input { padding-right: 40px; }
.pass .icon-btn { position: absolute; right: 4px; top: 4px; border: 0; background: transparent; }

.auth-card {
  max-width: 520px;
  margin: 8px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(43, 19, 55, 0.08);
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f4f2f8; }
.auth-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--deep);
  background: #f4f2f8;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}
.auth-tab i { color: var(--mag); }
.auth-tab:hover { color: var(--deep); text-decoration: none; background: var(--white); }
.auth-tab.on, .auth-tab.on:hover { color: var(--white); background: var(--deep); border-bottom-color: var(--mag); }
.auth-tab.on i { color: #f0c4de; }
.auth-google { margin: 0 0 14px; }
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: var(--white);
  color: #3c4043;
  font-weight: 650;
}
.google-btn:hover { background: #f8f9fa; color: #3c4043; text-decoration: none; }
.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.auth-or::before, .auth-or::after { content: ""; height: 1px; background: var(--line); }
.auth-body { padding: 18px 18px 8px; }
.auth-body h1 { font-size: 1.35rem; }
.auth-card .form { border: 0; padding: 0 0 8px; background: transparent; max-width: none; box-shadow: none; }
.auth-card .flash { margin-top: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper); font-size: 0.86rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 18px; }
.stats.four { grid-template-columns: repeat(4, 1fr); }
.stat { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--mag); padding: 12px; border-radius: 4px; }
.stat:nth-child(2) { border-top-color: var(--violet); }
.stat:nth-child(3) { border-top-color: var(--blue); }
.stat i { color: var(--mag); }
.stat b { display: block; font-size: 1.3rem; color: var(--deep); margin-top: 4px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.empty { border: 1px solid var(--line); padding: 28px 22px; text-align: center; background: var(--white); border-radius: 4px; }
.sheet .form, .split .form { border: 0; padding: 0; background: transparent; max-width: none; }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hub-card, .feat, .plan, .ad-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mag);
  border-radius: 4px;
  padding: 14px;
}
.hub-card { display: grid; align-content: start; gap: 6px; }
.hub-card:nth-child(3n+2) { border-top-color: var(--violet); }
.hub-card:nth-child(3n) { border-top-color: var(--blue); }
.hub-card i, .feat i { color: var(--mag); }
.hub-card strong { font-size: 1.35rem; color: var(--deep); }
.hub-card small, .feat p { color: #3d3d3d; }
.hub-card .btn, .hub-card .btn.light { justify-self: start; margin-top: 4px; }
.hub-links { display: grid; gap: 4px; }
.hub-links a { color: var(--deep); font-weight: 650; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.feat h2 { margin: 0 0 4px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.page-head h1 { margin: 0; }
.pro-status { margin: 0 0 12px; }
.pro-status p { margin: 0 0 4px; }
.pro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 18px; align-items: stretch; }
.pro-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--violet);
  border-radius: 4px;
  padding: 14px;
}
.pro-plan.is-on { border-top-color: var(--mag); }
.pro-plan-tag { position: absolute; top: 10px; right: 10px; font-size: 0.72rem; font-weight: 700; color: var(--mag); background: #f6e7f0; border-radius: 4px; padding: 2px 6px; }
.pro-plan-days { font-weight: 700; color: var(--deep); }
.pro-plan-price { font-size: 1.6rem; font-weight: 700; color: var(--deep); line-height: 1.1; }
.pro-plan .btn { margin-top: auto; }
.pro-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 18px; }
.pro-feats article { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 14px; }
.pro-feats h2 { margin: 0 0 4px; font-size: 1rem; }
.pro-feats i { color: var(--mag); }
.near-wrap { position: relative; min-height: 280px; }
.near-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.near-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.near-photo { display: block; aspect-ratio: 1; background: var(--paper); }
.near-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.near-title { display: block; margin: 8px 10px 4px; font-size: 0.92rem; color: var(--deep); line-height: 1.3; }
.near-copy { margin: 0 10px 10px; color: var(--muted); font-size: 0.78rem; line-height: 1.35; flex: 1; }
.near-card .btn { margin: 0 10px 12px; align-self: flex-start; }
.near-frame { min-height: 220px; }
.near-shade { position: absolute; inset: 0; background: rgba(244, 242, 248, 0.9); }
.near-lock {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 24px));
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mag);
  border-radius: 4px;
  padding: 18px;
  text-align: center;
}
.near-lock p { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; color: var(--deep); }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 18px; }
.plan { display: grid; align-content: start; gap: 4px; border-top-color: var(--violet); }
.plan.is-on { border-top-color: var(--mag); }
.plan b { font-size: 1.45rem; color: var(--deep); }
.plan .btn { margin-top: 8px; }

.ad-list { display: grid; gap: 10px; }
.ad-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; border-top-width: 1px; }
.ad-row img { width: 112px; height: 84px; object-fit: cover; border-radius: 4px; background: var(--paper); display: block; }
.ad-row h2 { margin: 0 0 4px; font-size: 1.05rem; }
.ad-row h2 a { color: var(--deep); }
.ad-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.ad-actions form { margin-left: 6px; }
.my-ad-boost { margin-left: auto; }
.my-ad-boost-left {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
}
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--paper); color: var(--deep); }
.tag.live { background: #f6e7f0; color: var(--mag); }
.tag.old { background: #f3eee2; color: #8a6a1f; }
.tag.too-old { background: #ece8ef; color: #6f6975; }
.tag.off { background: #fde8ef; color: var(--red); }

.refer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.refer-grid .hub-card { background: #fff6fa; }
.refer-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 12px; margin-top: 12px; align-items: start; }
.refer-layout .sheet { background: #f5f3fb; }
.copy-row, .city-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.refer-qr { margin: 12px 0 0; }
.refer-qr img { display: block; width: 180px; height: 180px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.share-row, .amt-row, .picks { display: flex; flex-wrap: wrap; gap: 8px; }
.share-box { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; margin: 0 0 10px; }
.steps-ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps-ol li { display: flex; gap: 10px; align-items: center; font-weight: 650; color: var(--deep); }
.steps-ol .n { width: 28px; height: 28px; display: grid; place-items: center; background: var(--deep); color: var(--white); border-radius: 4px; flex: 0 0 auto; }
.amt-row button {
  background: var(--paper);
  border: 1px solid #ddd4e6;
  color: var(--deep);
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.amt-row button.on { background: var(--deep); color: var(--white); border-color: var(--deep); }
.pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid #ddd4e6;
  border-radius: 4px;
  padding: 5px 8px;
  font-weight: 400;
  color: var(--deep);
}
.pick-x { border: 0; background: transparent; color: var(--mag); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 2px; }

.post-form { max-width: 760px; }
.post-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 4px 0 0; padding: 14px 0 0; }
.post-form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.post-form legend { font-weight: 700; color: var(--deep); padding: 0; }
.post-form legend i { color: var(--mag); }
.photo-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.city-picks:empty { display: none; }
.city-picks:not(:empty) { margin: 2px 0 4px; }
.post-form button[type="submit"] { margin-top: 16px; }
.edit-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 16px; }
.edit-actions .btn[type="submit"] { margin-top: 0; }
.edit-actions a.btn { margin-top: 0; }
.photo-slot { display: block; position: relative; font-weight: 400; cursor: pointer; }
.photo-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-frame {
  display: grid;
  aspect-ratio: 1;
  border: 1px dashed #c9b8d4;
  border-radius: 4px;
  background: var(--paper);
  overflow: hidden;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot em { display: block; margin-top: 4px; text-align: center; font-style: normal; font-size: 0.82rem; color: var(--muted); font-weight: 650; }

.site-footer { background: var(--plum); color: #e8e0f1; margin-top: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 22px; padding: 28px 0; }
.foot-grid a { display: flex; gap: 8px; align-items: center; color: var(--white); margin: 6px 0; }
.foot-grid a:hover { color: #f0c4de; text-decoration: none; }
.foot-grid h3 { color: var(--white); }
.foot-grid p { margin: 8px 0; }
.copyright { background: var(--deep); }
.copyright p { margin: 0; padding: 12px 0; font-size: 0.9rem; }
.copyright a { color: var(--white); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ad-layout, .foot-grid, .stats, .row-2, .split, .refer-layout, .feat-grid { grid-template-columns: 1fr; }
  .stats.four { grid-template-columns: 1fr 1fr; }
  .hub-grid, .plan-grid, .refer-grid, .pro-grid { grid-template-columns: 1fr 1fr; }
  .near-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-slots { grid-template-columns: repeat(2, 1fr); }
  .city-search input[type="search"] { width: 220px; }
}
@media (max-width: 680px) {
  .gallery, .hub-grid, .plan-grid, .refer-grid { grid-template-columns: 1fr; }
  .near-grid { grid-template-columns: 1fr 1fr; }
  .pro-feats { grid-template-columns: 1fr; }
  .page-head { align-items: center; flex-wrap: wrap; }
  .ad-row { grid-template-columns: 84px 1fr; }
  .ad-row img { width: 84px; height: 64px; }
  .head-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 10px;
    min-height: 64px;
    padding: 10px 0;
  }
  .head-tools { display: contents; }
  .brand { grid-column: 1; grid-row: 1; }
  .search-toggle { grid-column: 2; grid-row: 1; }
  #menuBtn { grid-column: 3; grid-row: 1; }
  .search-toggle, #menuBtn { display: inline-flex; align-items: center; justify-content: center; }
  .city-search { display: none; }
  .head-tools.search-open .city-search {
    display: block;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .head-tools.search-open .city-search input[type="search"] { width: 100%; }
  .menu-hit { display: block; }
  .menu-links { display: none; padding-bottom: 8px; }
  .menu-bar.open .menu-links { display: grid; gap: 0; }
  .menu-links a { padding: 10px 0; border-bottom: 0; }
  .cta-band { display: grid; }
  .admin-inner { display: grid; padding: 8px 0; }
  .top-inner { align-items: flex-start; padding: 8px 0; }
  .brand { font-size: 1.45rem; }
  .covers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.tj-land { margin-bottom: 16px; }
.tj-land h1 { margin: 0 0 6px; font-size: 1.45rem; }
.feat-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.feat-profile {
  display: grid;
  gap: 8px;
  padding: 0;
  background: transparent;
}
.feat-photo {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: var(--line);
}
.feat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feat-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}
.tj-phone {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.tj-phone .btn { width: auto; flex: none; }
.tj-auth { display: none; align-items: center; gap: 8px; }
.tj-phone.is-open .tj-view { display: none; }
.tj-phone.is-open .tj-auth { display: inline-flex; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 900px) {
  .feat-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .feat-profiles { grid-template-columns: 1fr; }
}
