/* =========================================================
   NIGHT ANGELS — clean flat redesign (2018–2020 style)
   Light-first · white cards · soft shadows · Manrope sans
   Rewritten from scratch. Targets all existing selectors so
   every page keeps working; only the look changes.
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root,
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-2:      #f4f4f5;
  --surface:   #ffffff;
  --surface-2: #f4f4f5;
  --card:      #ffffff;
  --card-2:    #f4f4f5;
  --card-bg:   #ffffff;
  --ink:       #111113;
  --text:      #111113;
  --ink-soft:  #3f3f46;
  --muted:     #8a8a92;
  --gold:      #E30A17;   /* single bright accent — red */
  --gold-2:    #F0303C;
  --gold-deep: #B30812;
  --wine:      #B30812;
  --line:      #e4e4e7;
  --line-gold: #f6c3cd;
  --shadow:    rgba(17, 17, 19, 0.08);
  --on-gold:   #ffffff;
  --photo-filter: none;
  --header-bg: #ffffff;
  --chip-bg:   #f4f4f5;
  --display:   var(--sans);
}

[data-theme="dark"] {
  --bg:        #0a0a0b;
  --bg-2:      #000000;
  --surface:   #151517;
  --surface-2: #1e1e21;
  --card:      #151517;
  --card-2:    #1e1e21;
  --card-bg:   #151517;
  --ink:       #f4f4f5;
  --text:      #f4f4f5;
  --ink-soft:  #c7c7cc;
  --muted:     #8a8a92;
  --gold:      #F0303C;
  --gold-2:    #FF5560;
  --gold-deep: #FF5560;
  --wine:      #FF5560;
  --line:      #2a2a2e;
  --line-gold: #4a1c28;
  --shadow:    rgba(0, 0, 0, 0.6);
  --on-gold:   #ffffff;
  --photo-filter: none;
  --header-bg: #0a0a0b;
  --chip-bg:   #1e1e21;
}

:root {
  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --r-lg: 4px;
  --r-md: 3px;
  --r-sm: 2px;
  --r-pill: 999px;
  --adm-top-h: 60px;   /* admin bar height on mobile; the nav drawer hangs off it */
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
::selection { background: var(--gold); color: var(--on-gold); }
.muted { color: var(--muted); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before, .eyebrow::after { content: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--r-md);
  cursor: pointer; background: none; line-height: 1.2; transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-block { display: flex; width: 100%; text-align: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%; padding: 14px 0;
  background: var(--header-bg);
  border-bottom: 2px solid var(--ink);
  box-shadow: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-family: var(--serif); font-size: 20px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--ink); text-transform: none;
}
.brand-sub { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-links { display: flex; gap: 22px; margin-left: auto; margin-right: 6px; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; padding: 6px 0; position: relative; transition: color 0.18s var(--ease); white-space: nowrap; font-weight: 600;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a::after { content: none; }

/* language switch */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lang-switch button {
  background: var(--surface); border: none; color: var(--muted); cursor: pointer;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 11px; transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--ink); background: var(--surface-2); }
.lang-switch button.active { background: var(--gold); color: var(--on-gold); }

/* theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  color: var(--ink-soft); cursor: pointer; transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.theme-toggle:hover { color: var(--gold-deep); border-color: var(--gold); }
.theme-toggle svg { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }
[data-theme="dark"]  .theme-toggle .ic-sun  { display: block; }

/* mobile nav toggle */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  cursor: pointer; padding: 0; flex-direction: column; gap: 4px; transition: border-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink-soft); transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Filter bar ---------- */
.filter-bar { position: relative; z-index: 5; padding: 0 0 22px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.filter-toggle {
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; margin-top: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 12px 14px; cursor: pointer; transition: border-color 0.18s var(--ease);
}
.filter-toggle:hover { border-color: var(--gold); }
.filter-toggle svg { color: var(--gold); transition: transform 0.2s var(--ease); flex-shrink: 0; }
.filter-bar.open .filter-toggle svg { transform: rotate(180deg); }

.filter-panel { padding-top: 22px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filter-head-label { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.filter-head-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.filter-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.filter-count #resultsCount { color: var(--gold-deep); font-family: var(--serif); font-size: 20px; font-weight: 700; margin-right: 3px; }
.filter-reset {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600;
  padding: 8px 14px; transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.filter-reset:hover { border-color: var(--gold); color: var(--gold-deep); }

.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.filter-grid label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter-grid label > span { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-weight: 600; }
.filter-grid select,
.filter-grid input[type="text"] {
  width: 100%; height: 40px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 400;
  appearance: none; cursor: pointer; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.filter-grid select { padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a94a2' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.filter-grid option { background: var(--surface); color: var(--ink); }
.filter-grid select:focus,
.filter-grid input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,10,23, 0.16); }
.filter-grid select:hover,
.filter-grid input:hover { border-color: var(--gold); }

/* custom filter dropdowns */
.fsel { position: relative; width: 100%; }
.fsel-native { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.fsel-btn {
  width: 100%; height: 40px; padding: 0 32px 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); font-family: var(--sans); font-size: 14px; text-align: left; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a94a2' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.fsel-btn.is-placeholder { color: var(--muted); }
.fsel-btn:hover { border-color: var(--gold); }
.fsel.is-open .fsel-btn { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,10,23, 0.16); }
.fsel-menu {
  position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 40;
  max-height: 220px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: 0 12px 30px var(--shadow); padding: 5px;
}
.fsel-opt {
  display: block; width: 100%; text-align: left; background: none; border: none; border-radius: var(--r-sm);
  color: var(--ink); font-family: var(--sans); font-size: 14px; padding: 9px 11px; cursor: pointer;
  transition: background-color 0.12s var(--ease), color 0.12s var(--ease);
}
.fsel-opt:hover { background: var(--chip-bg); color: var(--gold-deep); }
.fsel-opt.is-active { background: var(--gold); color: var(--on-gold); font-weight: 600; }

.na-scroll { scrollbar-width: thin; scrollbar-color: var(--muted) transparent; }
.na-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.na-scroll::-webkit-scrollbar-track { background: transparent; }
.na-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.na-scroll::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.f-search { grid-column: span 2; }
.f-age { grid-column: span 2; }
.f-check { grid-column: span 2; flex-direction: row !important; align-items: center; gap: 9px !important; align-self: end; min-height: 40px; cursor: pointer; }
.f-check input { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.f-check span { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.f-search input { cursor: text; }
.f-search input::placeholder { color: var(--muted); }
.age-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.age-row select { min-width: 0; }
.age-dash { color: var(--muted); text-align: center; font-size: 13px; }

/* ---------- Catalog ---------- */
.catalog { padding: 30px 0 60px; }
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.catalog-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 18px; }
.catalog-note { margin: 44px auto 0; font-size: 13px; color: var(--muted); max-width: 640px; }

/* ---------- Profile card (clean image-top card) ---------- */
.profile {
  position: relative; display: block; background: var(--surface); cursor: pointer;
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 3px var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  opacity: 0; transform: translateY(12px);
}
.profile.in { opacity: 1; transform: none; }
.profile:hover { transform: translateY(-4px); box-shadow: 0 10px 26px var(--shadow); border-color: var(--line-gold); }
.profile::after { content: none; }

.profile-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background-size: cover; background-position: center top; background-color: var(--surface-2); }
.profile-photo::after { content: none; }
.profile-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.profile-verified { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(20,25,35,0.62); border-radius: var(--r-sm); color: #fff; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; }
/* Deliberately quieter than the tick it replaces: same corner, same size, but
   no fill and no uppercase, so it reads as a footnote rather than a stamp. */
.profile-unchecked { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(20,25,35,0.42); border-radius: var(--r-sm); color: rgba(255,255,255,0.82); font-size: 10px; padding: 4px 8px; }
.profile-badges { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.badge { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-sm); font-weight: 600; }
.badge-premium { background: var(--gold); color: var(--on-gold); }
.badge-online { background: rgba(20,25,35,0.62); color: #cdeccf; }
.badge-online::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #34d058; margin-right: 5px; vertical-align: middle; }
/* «Свободна сейчас»: she said she can meet today — the strongest thing a card can say */
.badge-now { background: #16a34a; color: #fff; font-weight: 800; box-shadow: 0 4px 12px -4px rgba(22, 163, 74, .7); }
.badge-now::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 5px; vertical-align: middle; animation: badgeNowPulse 1.6s ease-in-out infinite; }
@keyframes badgeNowPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .badge-now::before { animation: none; } }
.badge-top { background: #111113; color: #fff; }
.badge-vip { background: var(--gold); color: #fff; }

.profile-hoverbtn { display: none; }

.profile-body { padding: 14px 15px 16px; position: relative; }
.profile-name { font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.2; font-weight: 700; }
.profile-loc { font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--gold-deep); margin-top: 4px; font-weight: 600; }
.profile-divider { height: 1px; background: var(--line); margin: 11px 0; }
.profile-phys { font-size: 13px; color: var(--ink-soft); }
/* landing copy under the grid: read by search engines, and by the visitor who
   arrived from a search and wants to know what this place is */
.geo-text { margin: 42px auto 0; max-width: 780px; border-top: 1px solid var(--line); padding-top: 26px; }
.geo-text h2 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-bottom: 12px; }
.geo-text p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 11px; }
.geo-text ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.geo-text li { font-size: 12.5px; color: var(--ink-soft); border: 1px solid var(--line); background: var(--chip-bg); padding: 6px 12px; border-radius: var(--r-pill); }
.geo-text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; }
.geo-text a:hover { border-bottom-color: currentColor; }
/* The chips above are short facts. These are article titles — whole phrases,
   which read as a list of links rather than as pills. */
.geo-text ul.geo-reading { display: block; margin: 6px 0 14px; }
.geo-text ul.geo-reading li { display: block; border: 0; background: none; padding: 0 0 7px; font-size: 14px; line-height: 1.6; }

/* The price summary on /city/<code>/ceny. Five columns of figures do not fit a
   phone, and wrapping them would leave no way to tell which number belongs to
   which duration — so the row scrolls sideways instead. The scroll has to live
   on the wrapper: `overflow-x` on the table itself just clips the last column
   and leaves it unreachable. */
.price-table-wrap { margin: 4px 0 18px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.price-table th, .price-table td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { font: 700 11.5px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.price-table tbody td { color: var(--ink); }
.price-table tbody td:last-child { color: var(--ink-soft); }
@media (max-width: 560px) {
  .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table { min-width: 420px; font-size: 13px; }
  .price-table th, .price-table td { padding: 8px 7px; }
}

/* how long ago the owner was here: the honest version of a green dot */
.profile-seen { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.profile-seen::before { content: "\25CF  "; color: var(--gold-deep); font-size: 9px; vertical-align: 1px; }
.profile-travel { display: inline-block; margin-top: 7px; font-size: 11px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }
.profile-travel::before { content: "\f072  "; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold-deep); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.profile-tags span { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); border: 1px solid var(--line); background: var(--chip-bg); padding: 3px 9px; border-radius: var(--r-pill); }
.is-premium { border-color: var(--line-gold); }
.profile-rating { font-size: 12px; font-weight: 700; color: var(--gold-deep); margin-left: 6px; white-space: nowrap; }
.profile-rating i { color: var(--muted); font-style: normal; font-weight: 400; }

.profile-fav {
  position: absolute; top: 9px; right: 9px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85); border: 1px solid var(--line); color: #64707e; transition: transform 0.15s, background 0.15s, color 0.15s;
}
.profile-fav svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-fav:hover { transform: scale(1.08); }
.profile-fav.is-fav { background: #e5484d; border-color: #e5484d; color: #fff; }
.profile-fav.is-fav svg { fill: #fff; stroke: #fff; }

/* ---------- quick filter chips ---------- */
.quick-chips { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.qchip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.qchip:hover { border-color: var(--gold); color: var(--ink); }
.qchip.is-on { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.qchip-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d058; }
.qchip-heart { color: #e5484d; font-size: 14px; line-height: 1; }
.qchip.is-on .qchip-heart { color: inherit; }

/* ---------- saved searches + city alerts ---------- */
.saved-bar { position: relative; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.saved-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.saved-chip { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.saved-chip-apply { background: none; border: none; color: var(--ink-soft); padding: 6px 4px 6px 12px; font-size: 12px; cursor: pointer; }
.saved-chip-x { background: none; border: none; color: var(--muted); padding: 6px 10px 6px 4px; font-size: 15px; line-height: 1; cursor: pointer; }
.saved-chip-x:hover { color: var(--wine); }
#cityAlertBtn.active { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- VIP carousel rail ---------- */
.vip-rail { margin: 6px 0 22px; }
.vip-rail-title { display: flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.vip-rail-badge { background: var(--gold); color: #fff; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); font-size: 12px; }
.vip-rail-track { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.vip-rail-track::-webkit-scrollbar { height: 8px; }
.vip-rail-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.vip-card { flex: 0 0 160px; scroll-snap-align: start; text-decoration: none; color: inherit; display: block; }
.vip-card-img { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-lg); background-size: cover; background-position: center top; border: 1px solid var(--line); overflow: hidden; }
/* Which placement this card is in. The row is named for promotion rather than
   for one tier, so the tier has to be readable on the card itself — otherwise
   a TOP listing standing next to a VIP one silently borrows its standing. */
.vip-card-tier { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 7px; border-radius: var(--r-sm); }
.vip-card-tier.is-vip { background: var(--gold); color: #fff; }
.vip-card-tier.is-top { background: #111113; color: #fff; }
/* moved out of the top-left corner, which the tier badge now occupies */
.vip-card-online { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: #34d058; box-shadow: 0 0 0 2px #fff; }
.vip-card-rating { position: absolute; bottom: 8px; left: 8px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20,25,35,0.7); padding: 2px 7px; border-radius: var(--r-pill); }
.vip-card-name { display: block; font-weight: 700; font-size: 14px; margin: 8px 2px 0; color: var(--ink); }
.vip-card-loc { display: block; font-size: 12px; color: var(--muted); margin: 2px 2px 0; }
.vip-card:hover .vip-card-img { border-color: var(--gold); }

/* ---------- recently viewed rail ---------- */
.recent-rail { margin: 0 0 22px; }
.recent-rail-title { font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.recent-rail-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
/* Marks where the visitor's own history ends and our suggestions begin. It
   sits inside the row rather than above it because both groups share one
   scrolling line, and a heading over the row could only name one of them. */
.recent-split {
  flex: 0 0 auto; align-self: stretch; display: flex; align-items: center;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  border-left: 1px solid var(--line); padding-left: 12px; margin-left: 4px; margin-right: 2px;
  /* One line, whatever the word: the row scrolls sideways, so a caption has
     room to be wide, and wrapping it inside a 56px box broke "похожие" into
     two clipped halves. */
  white-space: nowrap;
}
.recent-card { flex: 0 0 auto; width: 112px; text-decoration: none; color: inherit; }
.recent-card-img { display: block; width: 112px; height: 148px; border-radius: var(--r-lg); background-size: cover; background-position: center; background-color: var(--surface-2); }
.recent-card-name { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- stories rail ---------- */
/* The rail scrolls sideways without the browser's grey bar under it: the edge
   fades out where there is more, and on a computer two round arrows page it.
   A finger just swipes, as in any stories row. */
.stories-wrap { position: relative; }
.stories-rail {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px;
  scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; scroll-padding-inline: 2px; overscroll-behavior-x: contain;
}
.stories-rail::-webkit-scrollbar { display: none; }
.stories-rail > .story-ava { scroll-snap-align: start; }
.stories-wrap.has-next .stories-rail { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.stories-wrap.has-prev .stories-rail { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.stories-wrap.has-prev.has-next .stories-rail { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.stories-arrow {
  position: absolute; top: 38px; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 4px 14px var(--shadow); transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
.stories-arrow:hover { background: var(--surface-2); transform: translateY(-50%) scale(1.06); }
.stories-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.stories-arrow.is-prev { left: -6px; }
.stories-arrow.is-next { right: -6px; }
.stories-arrow[hidden] { display: none; }
/* a phone swipes; arrows there would only cover the faces */
@media (hover: none), (max-width: 640px) { .stories-arrow { display: none !important; } }
.story-ava { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; width: 74px; }
.story-ring { width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: var(--gold); display: block; }
.story-ring-img { display: block; width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center top; border: 2px solid var(--bg); }
.story-ava-name { font-size: 12px; color: var(--ink-soft); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Contact strip ---------- */
.contact-strip { padding: 64px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.strip-title { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 14px; color: var(--ink); font-weight: 800; }
.strip-text { font-size: 16px; color: var(--ink-soft); max-width: 520px; margin: 0 auto 26px; }
.contact-channels { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-hours { margin-top: 22px; font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
/* the home page adds a fifth column listing the cities once there are any, and
   with room for only four the support one dropped onto a line of its own */
.footer-top:has(#footerCities:not([hidden])) { grid-template-columns: 1.4fr repeat(4, 1fr); }
.footer-brand .brand-mark { display: block; margin-bottom: 10px; }
.footer-brand .brand-sub { display: block; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--ink-soft); text-decoration: none; margin-bottom: 9px; transition: color 0.18s var(--ease); }
.footer-col a:hover { color: var(--gold-deep); }
.footer-hours { color: var(--muted) !important; }
.footer-bottom { padding: 28px 0; text-align: center; }
.footer-bottom .brand-mark { display: inline-block; margin-bottom: 12px; }
.footer-bottom p { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.footer-disclaimer { opacity: 0.85; max-width: 720px; margin: 6px auto 0; }
.footer-admin { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; opacity: 0.6; transition: 0.2s var(--ease); }
.footer-admin:hover { opacity: 1; color: var(--gold-deep); }

/* ---------- Landing sections ---------- */
section[id] { scroll-margin-top: 76px; }
.section { padding: 64px 0; }
.section-tight { padding: 44px 0 12px; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.01em; font-weight: 800; margin: 12px 0 12px; color: var(--ink); }
.section-lead { font-size: 16px; color: var(--ink-soft); max-width: 600px; margin: 0 auto; }
.section-head.center .section-lead, .center .section-lead { margin-left: auto; margin-right: auto; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--surface); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.hero-inner { position: relative; z-index: 1; text-align: left; padding: 92px 0 84px; max-width: 780px; margin: 0; border-left: 4px solid var(--gold); padding-left: 34px; }
.hero-eyebrow { margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-size: clamp(36px, 6.4vw, 66px); line-height: 1.05; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; margin: 0; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(15px, 1.6vw, 19px); color: var(--ink-soft); max-width: 560px; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.hero-micro { margin-top: 20px; font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }

/* value props */
.values { background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: 0 1px 3px var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.value-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px var(--shadow); }
.value-num { font-family: var(--serif); font-size: 13px; letter-spacing: 0.06em; color: var(--gold-deep); font-weight: 700; }
.value-t { font-size: 19px; color: var(--ink); margin: 12px 0 8px; font-weight: 700; }
.value-d { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* gallery intro */
.gallery-intro { background: var(--bg); padding-top: 44px; }

/* how it works */
.how { background: var(--bg-2); border-top: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.step-card { text-align: center; padding: 16px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; background: var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 22px; color: var(--on-gold); margin-bottom: 16px; font-weight: 700; }
.step-t { font-size: 19px; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.step-d { font-size: 14px; color: var(--ink-soft); line-height: 1.65; max-width: 300px; margin: 0 auto; }

/* experiences */
.experiences { background: var(--bg); border-top: 1px solid var(--line); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: 0 1px 3px var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.exp-card::before { content: none; }
.exp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px var(--shadow); }
.exp-t { font-size: 18px; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.exp-d { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.exp-cta { margin-top: 36px; text-align: center; }

/* membership */
.membership { background: var(--bg-2); border-top: 1px solid var(--line); }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 32px 26px; box-shadow: 0 1px 3px var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.tier-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px var(--shadow); }
.tier-featured { border-color: var(--gold); box-shadow: 0 10px 30px var(--shadow); }
.tier-badge { position: absolute; top: -11px; right: 22px; background: var(--gold); color: var(--on-gold); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); font-weight: 700; }
.tier-name { font-size: 24px; color: var(--ink); font-weight: 800; }
.tier-pos { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; font-weight: 600; }
.tier-price { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 18px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.tier-list { list-style: none; margin: 0 0 26px; flex: 1; }
.tier-list li { font-size: 14px; color: var(--ink-soft); line-height: 1.5; padding: 7px 0 7px 22px; position: relative; }
.tier-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--gold-deep); }
.mem-note { margin: 36px auto 0; max-width: 640px; font-size: 13px; color: var(--muted); text-align: center; }

/* for women */
.forwomen { background: var(--bg); border-top: 1px solid var(--line); }
.forwomen .section-lead { margin-bottom: 28px; }

/* faq (landing + page) */
.faq { background: var(--bg); border-top: 1px solid var(--line); }
.faq-list { max-width: 820px; margin: 0 auto 32px; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.faq-item summary, .faq-q {
  list-style: none; cursor: pointer; padding: 16px 44px 16px 18px; position: relative;
  font-family: var(--serif); font-size: 16px; color: var(--ink); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color 0.18s var(--ease);
}
.faq-item summary::-webkit-details-marker, .faq-q::-webkit-details-marker { display: none; }
.faq-item summary::after, .faq-q::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--gold-deep); font-family: var(--sans); font-weight: 400; transition: transform 0.18s var(--ease);
}
.faq-item[open] summary, .faq-item[open] .faq-q { color: var(--gold-deep); }
.faq-item[open] summary::after, .faq-item[open] .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover, .faq-q:hover { color: var(--gold-deep); }
.faq-item p, .faq-a { font-size: 15px; color: var(--ink-soft); line-height: 1.7; padding: 0 18px 18px; max-width: 720px; }

/* =========================================================
   PROFILE PAGE
   ========================================================= */
.pp { padding: 24px 0 80px; }
.pp-back { display: inline-block; margin-bottom: 20px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); text-decoration: none; transition: color 0.18s var(--ease); }
.pp-back::before { content: "\f060  "; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold-deep); }
.pp-back:hover { color: var(--gold-deep); }

.pp-hero { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: stretch; margin-bottom: 30px; }
.pp-intro { display: flex; flex-direction: column; min-width: 0; }
.pp-intro .pp-tags { margin-bottom: 4px; }
.pp-cards { columns: 2; column-gap: 18px; margin-bottom: 6px; }
.pp-cards .pp-card { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 18px; }
.pp-foot { margin-top: 8px; }

/* media / carousel */
.pp-media { min-width: 0; align-self: start; }
.pp-stage { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); touch-action: pan-y; box-shadow: 0 1px 3px var(--shadow); }
.pp-track { display: flex; height: 100%; transition: transform 0.4s var(--ease); }
.pp-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center top; cursor: zoom-in; }
.pp-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.pp-stage::after { content: none; }
.pp-verified { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(20,25,35,0.62); color: #fff; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-sm); }
.pp-badges { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.pp-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer; background: rgba(20,25,35,0.5); color: #fff; font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s var(--ease), background 0.2s var(--ease); }
.pp-stage:hover .pp-arrow { opacity: 1; }
.pp-arrow:hover { background: rgba(20,25,35,0.75); }
.pp-arrow-prev { left: 12px; }
.pp-arrow-next { right: 12px; }
.pp-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.pp-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; border: none; cursor: pointer; padding: 0; background: rgba(255,255,255,0.55); transition: all 0.2s var(--ease); }
/* A 7px dot is the right size to look at and the wrong size to hit with a
   thumb, so the target grows past the paint. It grows mostly downward: the
   dots sit 13px apart, and a wider box would swallow its neighbour's taps. */
.pp-dot::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 13px; height: 30px; }
.pp-dot.active { background: var(--gold); width: 20px; border-radius: var(--r-pill); }
.pp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pp-thumb { aspect-ratio: 1 / 1; background-size: cover; background-position: center; border: 1px solid var(--line); cursor: pointer; padding: 0; opacity: 0.65; border-radius: var(--r-md); transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease); }
.pp-thumb:hover { opacity: 1; }
.pp-thumb.active { opacity: 1; border-color: var(--gold); }

/* body */
.pp-body { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pp-header { margin-bottom: 24px; }
.pp-header-top .pp-quick { margin-top: 16px; }
.pp-name { font-family: var(--serif); font-size: clamp(30px, 5vw, 44px); color: var(--ink); font-weight: 800; line-height: 1.05; letter-spacing: -0.015em; }
.pp-loc { font-size: 13px; letter-spacing: 0.02em; text-transform: none; color: var(--gold-deep); margin: 10px 0 0; font-weight: 600; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 2px; font-size: 13px; color: var(--muted); }
.pp-online { display: inline-flex; align-items: center; gap: 6px; color: #2f9e44; font-weight: 600; }
.pp-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d058; }
.pp-views { display: inline-flex; align-items: center; gap: 5px; }
.pp-meta-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-deep); font-weight: 700; }
.pp-meta-rating i { color: var(--muted); font-style: normal; font-weight: 400; }

.pp-quick { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.pp-quick-item { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 62px; padding: 10px 15px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.pp-quick-item b { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.pp-quick-item i { font-style: normal; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.pp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.pp-tags span { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); border: 1px solid var(--line); background: var(--chip-bg); padding: 5px 12px; border-radius: var(--r-pill); }
.pp-write { width: 100%; }

/* cards */
.pp-card { margin-top: 0; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 1px 3px var(--shadow); }
.pp-card[hidden] { display: none; }
.pp-card-wide { margin-top: 26px; }
.pp-h { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.pp-about { font-family: var(--serif); font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--ink-soft); font-style: normal; margin: 0; }
.pp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 0; }
.pp-specs .spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pp-specs dt { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); align-self: center; }
.pp-specs dd { font-size: 14px; color: var(--ink); text-align: right; margin: 0; font-weight: 600; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips span { font-size: 13px; letter-spacing: 0; color: var(--ink-soft); border: 1px solid var(--line); background: var(--chip-bg); padding: 7px 13px; border-radius: var(--r-pill); }

.pp-drow { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pp-drow:first-child { padding-top: 0; }
.pp-drow:last-child { padding-bottom: 0; border-bottom: none; }
.pp-drow[hidden] { display: none; }
.pp-dlabel { flex: 0 0 110px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); padding-top: 7px; }
.pp-drow .pp-chips { flex: 1; min-width: 0; }
.pp-note { margin: 20px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }

.pp-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pp-socials[hidden] { display: none; }
.pp-social { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; width: 42px; height: 42px; border-radius: 50%; color: #fff; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.pp-social:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.pp-social--telegram { background: linear-gradient(180deg, #37bbfe, #007dbb); }
.pp-social--whatsapp { background: #25D366; }
.pp-social--viber { background: #7360f2; }
.pp-social--website { background: var(--gold); color: var(--on-gold); }
.pp-social.pp-share { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); cursor: pointer; }

.pp-cta { margin-top: auto; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line-gold); background: var(--surface); box-shadow: 0 1px 3px var(--shadow); }
.pp-cta[hidden] { display: none; }
.pp-cta-price { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); color: var(--ink); margin-bottom: 14px; font-weight: 800; }
.pp-cta-price[hidden] { display: none; }
.pp-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-cta-actions .btn { flex: 1 1 auto; }
.pp-cta-points { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pp-cta-points li { position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.pp-cta-points li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--gold-deep); }

.pp-report { display: inline-block; margin-top: 14px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 4px 0; }
.pp-report:hover { color: var(--ink); }
.pp-report-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.pp-report-backdrop { position: absolute; inset: 0; background: rgba(20,25,35,0.5); }
.pp-report-card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: 0 20px 60px var(--shadow); }
.pp-report-close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.pp-report-title { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.pp-report-text { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.pp-report-reasons { display: grid; gap: 10px; margin-bottom: 14px; }
.pp-report-reasons label { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink); cursor: pointer; }
.pp-report-note { width: 100%; min-height: 76px; resize: vertical; border-radius: var(--r-md); padding: 10px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font: inherit; margin-bottom: 16px; }
.pp-report-note::placeholder { color: var(--muted); }

.pp-similar { margin-top: 30px; padding-bottom: 16px; }
.pp-similar-title { font-family: var(--serif); font-size: clamp(20px, 3vw, 26px); margin: 0 0 18px; font-weight: 800; }
.pp-notfound { text-align: center; padding: 70px 0 100px; }
.pp-notfound .pp-name { font-size: clamp(30px, 5vw, 46px); }
.pp-notfound .pp-about { max-width: 460px; margin: 16px auto 28px; font-size: 17px; }
/* the details written out as sentences: her own words keep the serif, this
   reads as the site describing her, so it sits a step quieter */
/* The note under a machine-translated bio. Deliberately quiet — it is a
   disclosure, not a feature to advertise — but the button is a real target:
   44px of height through padding, so a thumb can reach a 12px label. */
.pp-about-tr { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.pp-about-tr[hidden] { display: none; }
.pp-about-orig { font: inherit; color: var(--gold-deep); background: none; border: 0; padding: 6px 0; margin: -6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.pp-about-orig:hover { color: var(--ink); }
.pp-about-orig:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 3px; }
@media (hover: none) and (pointer: coarse) {
  .pp-about-orig { position: relative; }
  .pp-about-orig::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 44px; }
}
.pp-summary { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
/* A general sibling, not the adjacent one: the translation note now sits
   between the two, so `+` stopped matching the moment it was added and the
   summary of a bio-less listing grew a margin against nothing. */
.pp-about:empty ~ .pp-summary { margin-top: 0; }
.pp-about-tr + .pp-summary { margin-top: 10px; }

/* reviews */
.pp-rating-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pp-rating-stars { letter-spacing: 1px; }
.pp-star { color: var(--line); }
.pp-star.on { color: var(--gold); }
.pp-rating-avg { font-size: 20px; font-weight: 700; }
.pp-rating-count, .pp-rating-empty { color: var(--muted); font-size: 14px; }
.pp-reviews { display: grid; gap: 12px; }
.pp-review { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.pp-review-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.pp-review-name { font-weight: 700; }
.pp-review-stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.pp-review-body { margin: 4px 0 6px; line-height: 1.5; color: var(--ink-soft); }
.pp-review-date { font-size: 12px; color: var(--muted); }
.pp-review-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pp-review-formlabel { font-size: 13px; color: var(--muted); }
.pp-stars-input { display: flex; gap: 4px; }
.pp-star-pick { background: none; border: none; cursor: pointer; font-size: 28px; line-height: 1; color: var(--line); transition: color 0.12s; padding: 0; }
.pp-star-pick:hover, .pp-star-pick.on { color: var(--gold); }
.pp-review-text { width: 100%; min-height: 80px; resize: vertical; border-radius: var(--r-md); padding: 10px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font: inherit; }
.pp-review-note { font-size: 13px; color: var(--gold-deep); margin: 0; }
.pp-review-login { margin-top: 14px; }

/* profile langs + rates */
.pp-langs { display: grid; gap: 8px; }
.pp-lang-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pp-lang-row:last-child { border-bottom: none; }
.pp-lang-name { font-size: 14px; color: var(--ink-soft); }
.pp-lang-stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.pp-star-empty { color: var(--line); }
.pp-rates { display: grid; gap: 10px; }
.pp-rate { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.pp-rate-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pp-rate-dur { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.pp-rate-label { font-size: 15px; color: var(--ink); }
.pp-rate-side { text-align: right; flex-shrink: 0; }
.pp-rate-price { font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--gold-deep); }
.pp-rate-tags { display: flex; gap: 6px; justify-content: flex-end; margin-top: 6px; flex-wrap: wrap; }
.pp-rate-tags span { font-size: 10px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 8px; }

/* mobile sticky CTA */
.pp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 14px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px var(--shadow); }
.pp-sticky[hidden] { display: none; }
.pp-sticky-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pp-sticky-name { font-size: 14px; color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-sticky-price { font-size: 12px; color: var(--gold-deep); }
.pp-sticky .btn { flex-shrink: 0; }

/* lightbox */
.is-zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(15,18,24,0.92); }
.lightbox-img { position: relative; z-index: 1; max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border-radius: var(--r-md); }
.lightbox-close { position: absolute; top: 18px; right: 22px; z-index: 2; width: 42px; height: 42px; border: none; background: rgba(255,255,255,0.14); color: #fff; font-size: 26px; cursor: pointer; border-radius: 50%; }
.lightbox-close:hover { background: rgba(255,255,255,0.26); }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: none; background: rgba(255,255,255,0.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 50%; }
.lightbox-nav:hover { background: rgba(255,255,255,0.26); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 0.08em; }

/* story viewer */
.story-viewer { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; }
.sv-backdrop { position: absolute; inset: 0; background: rgba(15,18,24,0.94); }
.sv-stage { position: relative; z-index: 1; width: min(420px, 96vw); height: min(86vh, 760px); background: #000; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sv-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sv-bars { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.sv-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); overflow: hidden; }
.sv-bar i { display: block; height: 100%; width: 0; background: #fff; }
.sv-bar.done i { width: 100%; }
/* the active bar is driven from script: it has to start at zero and be told to
   grow on a later frame, which a stylesheet cannot express */
.sv-head { position: absolute; top: 22px; left: 14px; right: 14px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.sv-name { color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.sv-tools { display: flex; align-items: center; gap: 8px; }
.sv-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; background: rgba(0,0,0,0.4); color: #fff; cursor: pointer; border-radius: 50%; line-height: 1; }
.sv-icon:hover { background: rgba(0,0,0,0.65); }
.sv-danger:hover { background: #d61f3d; }
/* left-aligned because the watermark is burned into the bottom right of the
   picture itself, and centred text ends up reading as one string with it */
.sv-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 28px 14px 14px; text-align: left; color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.sv-close { width: 36px; height: 36px; border: none; background: rgba(0,0,0,0.4); color: #fff; font-size: 22px; cursor: pointer; border-radius: 50%; }
.sv-tap { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 2; border: none; background: none; cursor: pointer; }
.sv-prev { left: 0; }
.sv-next { right: 0; }

/* toast */
.na-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(12px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.25); opacity: 0; pointer-events: none; transition: opacity 0.22s, transform 0.22s; z-index: 9999; }
.na-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* age gate + cookie */
.na-age { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15,18,24,0.72); backdrop-filter: blur(4px); }
.na-age-card { max-width: 440px; width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 26px; color: var(--ink); box-shadow: 0 24px 70px var(--shadow); }
.na-age-mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.na-age-title { font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.na-age-text { color: var(--ink-soft); line-height: 1.55; margin: 0 0 22px; }
.na-age-btns { display: flex; flex-direction: column; gap: 10px; }
.na-age-btns .btn { width: 100%; }
.na-age-btns #naAgeYes { background: var(--gold); border: none; color: var(--on-gold); }
.na-age-btns #naAgeNo { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
.na-age-btns #naAgeNo:hover { border-color: var(--muted); color: var(--ink); }
.na-age-note { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.na-age-note a { color: var(--gold-deep); }
.na-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 18px; box-shadow: 0 12px 40px var(--shadow); }
.na-cookie-text { font-size: 13px; color: var(--ink-soft); }
.na-cookie-text a { color: var(--gold-deep); }
@media (min-width: 640px) { .na-cookie { left: auto; right: 24px; bottom: 24px; max-width: 460px; } }

/* =========================================================
   CHAT DRAWER
   ========================================================= */
.chat { position: fixed; inset: 0; z-index: 300; }
.chat[hidden] { display: none; }
.chat-backdrop { position: absolute; inset: 0; background: rgba(15,18,24,0.45); animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.chat-panel { position: absolute; top: 0; right: 0; height: 100%; width: 100%; max-width: 420px; display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line); box-shadow: -12px 0 40px var(--shadow); animation: slideIn 0.3s var(--ease); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head-photo { width: 44px; height: 44px; border-radius: 50%; background-size: cover; background-position: center top; border: 1px solid var(--line); flex-shrink: 0; }
.chat-head-info { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.chat-head-name { font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 700; }
.chat-head-sub { font-size: 11px; letter-spacing: 0.02em; text-transform: none; color: var(--gold-deep); margin-top: 2px; }
.chat-close { background: none; border: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; transition: 0.18s var(--ease); padding: 0 4px; }
.chat-close:hover { color: var(--ink); }
.chat-thread { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-loading { color: var(--muted); font-size: 13px; text-align: center; margin: auto; }
.cmsg { display: flex; flex-direction: column; max-width: 80%; }
.cmsg-them { align-self: flex-start; align-items: flex-start; }
.cmsg-me { align-self: flex-end; align-items: flex-end; }
.cmsg-bubble { padding: 10px 14px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmsg-them .cmsg-bubble { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.cmsg-me .cmsg-bubble { background: var(--gold); color: var(--on-gold); border-color: var(--gold); border-bottom-right-radius: 4px; }
.cmsg-meta { font-size: 10px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); margin-top: 4px; }
.cmsg-day { align-self: center; margin: 10px 0 4px; font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 12px; }
.cmsg-photo { display: block; max-width: 200px; border-radius: var(--r-md); overflow: hidden; }
.cmsg-photo img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: cover; }
.cmsg-tick { font-size: 11px; opacity: 0.6; margin-left: 4px; }
.cmsg-tick.read { color: #111113; opacity: 1; }
.chat-form { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); padding: 11px 13px; font-family: var(--sans); font-size: 14px; transition: border-color 0.18s var(--ease); }
.chat-form input::placeholder { color: var(--muted); }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-send { flex-shrink: 0; width: 44px; border: 1px solid var(--gold); border-radius: var(--r-md); background: var(--gold); color: var(--on-gold); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: 0.18s var(--ease); }
.chat-send:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.chat-attach { background: none; border: none; color: var(--muted); cursor: pointer; padding: 6px; display: inline-flex; align-items: center; }
.chat-attach:hover { color: var(--gold-deep); }
.chat-foot { border-top: 1px solid var(--line); }
.chat-foot .chat-form { border-top: none; padding-bottom: 6px; }
.chat-formmeta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 18px 12px; min-height: 16px; }
.chat-count { color: var(--muted); font-size: 11px; }
.chat-warn { color: var(--wine); font-size: 12px; opacity: 0; transition: opacity 0.2s var(--ease); }
.chat-warn.show { opacity: 1; }
.chat-gate { padding: 18px 20px 22px; text-align: center; }
.chat-gate-text { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.chat-typing { display: flex; gap: 4px; padding: 4px 18px 8px; }
.chat-typing[hidden] { display: none; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: 0.5; animation: na-typing 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes na-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-form { padding-bottom: max(14px, env(safe-area-inset-bottom)); }

/* cabinet chat */
.chat2 { display: grid; grid-template-columns: 280px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 420px; }
.chat2-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 520px; background: var(--surface-2); }
.chat2-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: none; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; transition: background 0.15s var(--ease); }
.chat2-item:hover { background: var(--surface); }
.chat2-item.active { background: var(--surface); box-shadow: inset 3px 0 0 var(--gold); }
.chat2-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--on-gold); font-family: var(--serif); font-size: 16px; font-weight: 700; }
.chat2-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat2-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat2-last { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat2-badge { flex: none; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--r-pill); background: var(--wine); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.chat2-pane { display: flex; flex-direction: column; min-width: 0; }
.chat2-empty { margin: auto; padding: 30px; color: var(--muted); font-size: 14px; text-align: center; }
.chat2-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 16px; color: var(--ink); font-weight: 700; }
.chat2-thread { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px; overflow-y: auto; max-height: 400px; }
.chat2-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.chat2-form input { flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 14px; }
.chat2-form input:focus { outline: none; border-color: var(--gold); }
.chat2-form .btn { flex: none; }
.chat2-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 16px 12px; }
.chat2-count { color: var(--muted); font-size: 11px; }
.chat2-warn { color: var(--wine); font-size: 12px; }
.chat2-for { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); font-size: 10px; font-weight: 700; vertical-align: middle; }
.chat2-head .chat2-for { font-size: 11px; }

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.admin-body { background: var(--bg); }

.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login[hidden] { display: none; }
.admin-login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: 0 20px 50px var(--shadow); }
.admin-login-card .brand-mark { font-size: 26px; }
.admin-login-sub { font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); margin-bottom: 12px; text-align: center; }
.admin-field { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.admin-field > span { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-weight: 600; }
.admin-field input { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); padding: 12px 13px; font-family: var(--sans); font-size: 15px; }
.admin-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,10,23,0.16); }
.admin-login-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.admin-login-hint.error { color: var(--wine); }

.admin-app[hidden] { display: none; }
.admin-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px; background: var(--header-bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px var(--shadow); }
.admin-top-brand { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.admin-top-brand .brand-mark { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-tag { flex: none; }
.admin-tag { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line-gold); border-radius: var(--r-sm); padding: 3px 8px; font-weight: 700; }
.admin-top-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.admin-link-out { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); text-decoration: none; }
.admin-link-out:hover { color: var(--gold-deep); }
.admin-logout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; padding: 8px 14px; transition: 0.18s var(--ease); }
.admin-logout:hover { border-color: var(--wine); color: var(--wine); }

.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 60px); }
.admin-nav { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; background: var(--surface); }
.admin-nav-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; background: none; border: none; border-radius: var(--r-md); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 11px 13px; transition: 0.15s var(--ease); }
.admin-nav-item:hover { background: var(--surface-2); color: var(--ink); }
.admin-nav-item.active { background: var(--chip-bg); color: var(--gold-deep); box-shadow: inset 3px 0 0 var(--gold); font-weight: 600; }
.nav-badge { font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; background: var(--muted); color: #fff; border-radius: var(--r-pill); }
.nav-badge:empty { display: none; }
.nav-badge-alert { background: var(--wine); color: #fff; }
.admin-nav-foot { margin-top: auto; padding-top: 14px; }
.admin-reset { width: 100%; background: none; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--muted); cursor: pointer; font-size: 12px; padding: 10px; transition: 0.18s var(--ease); }
.admin-reset:hover { border-color: var(--wine); color: var(--wine); }

.admin-main { padding: 28px 32px 56px; min-width: 0; }
.admin-panel { animation: fade 0.2s var(--ease); }
.admin-panel[hidden] { display: none; }
.admin-h1 { font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 22px; }
.admin-h2 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 14px; letter-spacing: 0; text-transform: none; }
.admin-sub { color: var(--muted); font-size: 14px; margin: -14px 0 20px; }
.admin-empty { color: var(--muted); font-size: 14px; padding: 24px 0; text-align: center; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 3px var(--shadow); }
.stat-val { font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--gold-deep); line-height: 1; }
.stat-label { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }

.admin-activity { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.act-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.act-row:last-child { border-bottom: none; }
.act-type { font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.act-msg { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-time { font-size: 12px; color: var(--muted); white-space: nowrap; }

.admin-toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-input { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); padding: 10px 12px; font-family: var(--sans); font-size: 14px; min-width: 160px; }
.admin-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,10,23,0.16); }
.admin-btn-ghost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; padding: 9px 14px; text-decoration: none; display: inline-block; transition: 0.18s var(--ease); }
.admin-btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

.admin-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; background: var(--surface); -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
/* header stays put while a long list scrolls under it */
.admin-table th { position: sticky; top: 0; z-index: 2; text-align: left; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: middle; line-height: 1.45; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr { transition: background 0.12s var(--ease); }
.admin-table tbody tr:hover { background: var(--surface-2); }
.admin-table td b { color: var(--ink); font-weight: 700; }
.admin-table .muted { font-size: 12.5px; }
.prof-thumb { display: block; width: 44px; height: 56px; background-size: cover; background-position: center top; border: 1px solid var(--line); border-radius: var(--r-sm); }
.prof-status { min-width: 140px; margin-right: 8px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.status-active { background: #34d058; }
.status-pending { background: var(--gold); }
.status-paused { background: #d0913f; }
.status-rejected { background: var(--wine); }
.status-draft { background: #9aa1ad; }

.admin-splash { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.admin-splash .brand-mark { font-size: 24px; }
.admin-splash-sub { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.admin-spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: na-spin 0.8s linear infinite; }
@keyframes na-spin { to { transform: rotate(360deg); } }

.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chip { display: inline-block; font-size: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--r-pill); white-space: nowrap; color: var(--ink-soft); }
.pay-chip.pay-paid { border-color: #34d058; color: #2f9e44; }
.pay-chip.pay-pending { border-color: var(--gold); color: var(--gold-deep); }
.pay-chip.pay-blocked { border-color: var(--wine); color: var(--wine); }
.admin-table tr.row-blocked { opacity: 0.62; }

/* ---------- model book: a sheet that is typed into, not read ----------
   Cells look like plain text until touched, so the table stays readable, but
   they are real inputs and keep their own borders on focus. */
.lead-count { font-size: 13px; color: var(--muted); align-self: center; }
/* The search box carries the longest placeholder in the toolbar, so it gets
   the room that is left over once the dropdowns have taken what they need. */
#leadSearch { flex: 1 1 220px; min-width: 180px; }
.lead-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); cursor: pointer; user-select: none; }
.lead-check input { accent-color: var(--gold); cursor: pointer; }
.lead-table td { padding: 4px 6px; }
.lead-table th:first-child, .lead-table td:first-child { padding-left: 12px; }
.lead-in, .lead-sel {
  width: 100%; min-width: 78px; background: transparent; border: 1px solid transparent;
  border-radius: var(--r-sm); color: var(--ink); font-family: var(--sans); font-size: 13.5px;
  padding: 8px 8px; transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.lead-in::placeholder { color: var(--muted); opacity: 0.7; }
.lead-in:hover, .lead-sel:hover { border-color: var(--line); }
.lead-in:focus, .lead-sel:focus { outline: none; background: var(--surface); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,10,23,0.14); }
/* the whole point of typing straight into the table is knowing it landed */
.lead-in.is-saving { border-color: var(--line); opacity: 0.65; }
.lead-in.is-saved, .lead-sel.is-saved { border-color: #34d058; }
.lead-in.is-failed { border-color: var(--wine); background: rgba(190,24,60,0.08); }
/* the phone is what gets read and dialled, so it gets the width: a number with
   a country code, spaces and brackets runs to twenty characters, and a cut-off
   number is worse than a cut-off name, which is usually guessable */
.lead-table td:nth-child(1) .lead-in { min-width: 92px; font-weight: 700; }
.lead-table td:nth-child(2) .lead-in { min-width: 176px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
@media (max-width: 700px) {
  .lead-table td:nth-child(1) .lead-in { min-width: 80px; }
  .lead-table td:nth-child(2) .lead-in { min-width: 186px; font-size: 14.5px; }
}
/* the handles are short; giving the row less to insist on keeps the delete
   column inside the card instead of pushing it past the right edge */
.lead-table td:nth-child(3) .lead-in,
.lead-table td:nth-child(4) .lead-in,
.lead-table td:nth-child(5) .lead-in { min-width: 74px; }
.lead-table td:nth-child(9) .lead-in { min-width: 150px; }
.lead-table td.lead-lk .lead-in { min-width: 170px; }
.lead-lk-in { display: flex; align-items: center; gap: 4px; }
.lead-lk-in .lead-in { flex: 1 1 auto; }
.lead-go { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1; }
.lead-go:hover { color: var(--gold); border-color: var(--gold); }
.lead-in.is-empty-req { border-color: rgba(190,24,60,0.45); background: rgba(190,24,60,0.05); }
.lead-table td.lead-ph .lead-in { min-width: 176px; font-variant-numeric: tabular-nums; }
.lead-table td.lead-ph { min-width: 190px; }
@media (max-width: 700px) {
  .lead-table td.lead-ph .lead-in { min-width: 210px; font-size: 15px; }
  .lead-table td.lead-ph { min-width: 220px; }
}
.lead-acc-note { font-size: 12px; color: var(--muted); padding: 2px 8px 0; line-height: 1.3; max-width: 230px; }
.lead-acc-note:empty { display: none; }
/* a native select clips its label, so the two dropdown columns get the room
   their longest option needs */
.lead-sel { cursor: pointer; min-width: 118px; font-size: 13px; }
.lead-status-listed { color: #2f9e44; font-weight: 700; }
.lead-status-refused, .lead-status-lost { color: var(--muted); }
.lead-status-new { color: var(--gold-deep); font-weight: 700; }
.lead-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.lead-actions { text-align: right; }
.lead-actions .lead-del { padding: 6px 10px; line-height: 1; }
.lead-actions .lead-del:hover { border-color: var(--wine); color: var(--wine); }
/* two rows holding one phone number means two people wrote down the same woman */
.lead-table tr.lead-dupe td:nth-child(2) { box-shadow: inset 3px 0 0 var(--wine); }
.lead-table tr.lead-dupe td:nth-child(2) .lead-in { color: var(--wine); }
.lead-table tr.lead-locked .lead-in:disabled, .lead-table tr.lead-locked .lead-sel:disabled { opacity: 1; color: var(--ink); background: transparent; cursor: default; -webkit-text-fill-color: var(--ink); }
.lead-table tr.lead-locked td { background: color-mix(in srgb, var(--ink) 3%, transparent); }

/* table pagination */
.admin-pager { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 2px 4px; }
.admin-pager-info { font-size: 13px; color: var(--muted); }
.admin-pager-btns { display: inline-flex; align-items: center; gap: 6px; }
.admin-pager-btns button { min-width: 34px; padding: 6px 10px; }
.admin-pager-btns button[disabled] { opacity: 0.4; cursor: default; }
.admin-pager-cur { font-size: 13px; color: var(--ink-soft); padding: 0 6px; white-space: nowrap; }

/* a failed section says so and offers a retry instead of looking empty */
.admin-error { padding: 22px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--ink-soft); }
.admin-error p { margin-bottom: 12px; font-size: 14px; }
.admin-link { color: var(--gold-deep); text-decoration: none; }
.admin-link:hover { text-decoration: underline; }
.log-jump { font-size: 12px; margin-left: 6px; white-space: nowrap; }
.pay-chips-lg .pay-chip { font-size: 12px; padding: 5px 12px; }

/* the text colour is set: left to the browser, a button's text is black in the dark theme too */
.admin-btn-mini { cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); margin: 2px 4px 2px 0; transition: 0.15s var(--ease); }
.admin-btn-mini:hover { border-color: var(--ink-soft); }
[data-theme="dark"] .admin-btn-ok { border-color: #2f9e44; color: #51cf66; }
.admin-btn-ok { border-color: #34d058; color: #2f9e44; }
.admin-btn-ok:hover { background: #34d058; color: #fff; }
.admin-btn-no { border-color: var(--wine); color: var(--wine); }
.admin-btn-no:hover { background: var(--wine); color: #fff; }
.tal-view { margin-bottom: 6px; }
.tal-pending { color: var(--gold-deep); font-weight: 600; font-size: 12px; }
.tal-verify-actions { display: flex; gap: 6px; margin-top: 6px; }
.tal-verified { color: #2f9e44; font-weight: 600; }
.tal-unchecked { color: var(--wine); font-weight: 600; }
.tal-expired { color: var(--wine); }
.tal-status { min-width: 130px; margin-right: 8px; margin-bottom: 6px; }

/* talent modal */
.tal-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.tal-modal-backdrop { position: fixed; inset: 0; background: rgba(15,18,24,0.5); }
/* the reason prompt is asked from inside the story viewer too, which sits at 210 */
#askModal { z-index: 240; }
.tal-modal-card { position: relative; z-index: 1; width: 100%; max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 80px var(--shadow); }
.tal-modal-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink-soft); font-size: 20px; line-height: 1; cursor: pointer; }
.tal-modal-close:hover { border-color: var(--gold); color: var(--gold-deep); }
.tal-modal-body { padding: 24px 26px 8px; }
.tal-modal-title { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; font-weight: 800; }
.tal-modal-loading { padding: 60px 0; text-align: center; color: var(--muted); }
.tal-modal-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-right: 40px; }
.tal-modal-head h2 { font-size: 24px; margin: 0; }
.tal-modal-status { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.tal-modal-tag { font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-soft); }
.tal-modal-tag.tag-premium { border-color: var(--line-gold); color: var(--gold-deep); }
.tal-modal-tag.verify-approved { border-color: #34d058; color: #2f9e44; }
.tal-modal-loc { color: var(--muted); font-size: 13px; margin: 4px 0 16px; }
.tal-modal-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 18px; }
.tal-modal-photo { aspect-ratio: 3 / 4; background-size: cover; background-position: center top; border: 1px solid var(--line); border-radius: var(--r-md); }
.tal-modal-section { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.tal-modal-section h3 { font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: uppercase; color: var(--gold-deep); margin: 14px 0 8px; }
.tal-modal-section h3:first-child { margin-top: 0; }
.tal-kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; }
.tal-kv { display: flex; flex-direction: column; gap: 2px; }
.tal-kv span { font-size: 12px; color: var(--muted); }
.tal-kv b { font-size: 14px; color: var(--ink); font-weight: 600; word-break: break-word; }
.tal-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tal-chip { font-size: 12px; padding: 4px 11px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-soft); }
.tal-modal-text { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; white-space: pre-wrap; }
/* Machine translations in the moderation drawer. `h4` because the texts sit
   under the section's own h3 and are a level below it; the language tag is a
   block so the paragraph it labels starts on its own line. */
.tal-modal-section h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; font-weight: 700; }
.tal-tr-lang { display: block; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tal-tr { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 10px; white-space: pre-wrap; }
.tal-tr-state { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.tal-tr-state .tal-tr-bad { color: var(--wine); }
.tal-modal-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.tal-modal-foot .tal-danger { border-color: var(--wine); color: var(--wine); }
.tal-modal-foot .tal-danger:hover { background: var(--wine); color: #fff; }
.tal-modal-moderate h3 { color: var(--gold-deep); }
.tal-modal-photo--pending { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.tal-mod-btns { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; padding: 8px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6)); }
.btn-xs { font-size: 11px; padding: 5px 8px; }
.btn-xs.admin-btn-ok, .btn-xs.admin-btn-no { background: rgba(255,255,255,0.9); }
.tal-pending-badge { font-size: 11px; color: var(--gold-deep); white-space: nowrap; }

/* log types */
.log-type { font-size: 11px; letter-spacing: 0; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-soft); white-space: nowrap; }
.log-message { border-color: var(--line-gold); color: var(--gold-deep); }
.log-moderation { border-color: #d0913f; color: #d0913f; }
.log-auth { border-color: var(--line); }
.log-payment { border-color: var(--line-gold); color: var(--gold-deep); }
.log-register { border-color: #111113; color: #111113; }
.log-backup { border-color: var(--line); color: var(--ink-soft); }
/* a failed backup is the one log line that must not look like the others */
.log-backup_failed { border-color: #c92a2a; color: #fff; background: #c92a2a; font-weight: 700; }
.log-ts { white-space: nowrap; color: var(--muted); font-size: 12px; }

/* messages layout */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 540px; background: var(--surface); }
.msg-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: 70vh; }
.conv-item { width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; transition: background 0.15s var(--ease); }
.conv-item:hover { background: var(--surface-2); }
.conv-item.active { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--gold); }
.conv-top { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.conv-unread { font-size: 11px; min-width: 17px; height: 17px; line-height: 17px; text-align: center; background: var(--wine); color: #fff; border-radius: var(--r-pill); }
.conv-who { font-size: 12px; color: var(--gold-deep); }
.conv-prev { grid-column: 1 / 2; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-time { grid-column: 2 / 3; grid-row: 3; font-size: 11px; color: var(--muted); align-self: end; white-space: nowrap; }
.msg-thread-wrap { display: flex; flex-direction: column; min-width: 0; }
.msg-thread-head { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); font-weight: 600; }
.msg-thread-head .muted { color: var(--muted); font-size: 12px; font-weight: 400; }
.msg-thread { flex: 1; overflow-y: auto; max-height: 56vh; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-reply { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.msg-reply[hidden] { display: none; }
.msg-reply input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); padding: 11px 14px; font-family: var(--sans); font-size: 14px; }
.msg-reply input:focus { outline: none; border-color: var(--gold); }

/* admin analytics */
.admin-analytics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 22px; }
.ana-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: 0 1px 3px var(--shadow); }
.ana-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ana-head b { font-size: 18px; color: var(--ink); }
.ana-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.ana-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.ana-bar-fill { width: 70%; min-height: 2px; background: var(--gold); border-radius: 4px 4px 0 0; transition: height 0.3s; }
.ana-bar-val { font-size: 9px; color: var(--muted); height: 12px; }
.ana-bar-x { font-size: 9px; color: var(--muted); transform: rotate(-30deg); white-space: nowrap; }
.ana-mix { display: grid; gap: 10px; }
.ana-mix-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ana-mix-row b { margin-left: auto; }
.ana-dot { width: 10px; height: 10px; border-radius: 50%; }
.ana-vip { background: var(--gold); } .ana-top { background: #111113; } .ana-std { background: #8a94a2; }
/* Traffic has eight figures, and left to fill the row as they fit they break
   into seven and a lonely one. Four to a row makes two even rows, and pairs
   each "человек" with the "страниц" beside it. */
#trafficStats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { #trafficStats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* traffic: two series on one axis. The pair shares a column so a day reads as
   one thing — people and the pages they opened — instead of two charts the eye
   has to line up, and both are drawn to the same scale so the gap between them
   means something. */
.ana-card-wide { grid-column: 1 / -1; }
.ana-bar-pair { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; flex: 1; }
.ana-bar-pair .ana-bar-fill { width: 42%; }
.ana-bar-alt { background: #8a94a2; }
.ana-legend { display: flex; gap: 18px; font-size: 12px; color: var(--muted); margin: -6px 0 12px; }
.ana-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.ana-dot-main { background: var(--gold); }
.ana-dot-alt { background: #8a94a2; }

.ana-toplist { display: block; }
.ana-top-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; font-size: 14px; }
.ana-top-row:last-child { border-bottom: none; }
.ana-top-row:hover { color: var(--gold-deep); }

/* admin reviews + reports */
.adm-rv-item { padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 12px; background: var(--surface); box-shadow: 0 1px 3px var(--shadow); }
.adm-rv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.adm-rv-top a { color: inherit; text-decoration: none; }
.adm-rv-stars { color: var(--gold); letter-spacing: 1px; }
.adm-rp-reason { font-size: 13px; color: var(--wine); font-weight: 600; }
.adm-rv-author { font-size: 12px; color: var(--muted); margin: 4px 0; }
.adm-rv-body { margin: 6px 0 10px; line-height: 1.5; color: var(--ink-soft); }
.adm-rv-btns { display: flex; gap: 8px; }

/* stories on air: posters at the shape they are shown in, so a moderator
   scanning the grid sees the same framing a visitor does */
.adm-story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.adm-story { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.adm-story-shot { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #000 center/cover no-repeat; cursor: pointer; overflow: hidden; }
.adm-story-shot:hover { border-color: var(--gold); }
.adm-story-kind { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; font-weight: 700; }
.adm-story-left { position: absolute; bottom: 8px; left: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; font-weight: 700; }
.adm-story-meta { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.adm-story-meta a { color: var(--ink); text-decoration: none; font-size: 13px; }
.adm-story-meta a:hover { color: var(--gold-deep); }
.adm-story-del { align-self: flex-start; }

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */
.reg-page { padding: 48px 0 80px; }
.reg-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.reg-title { font-size: clamp(26px, 5vw, 40px); margin: 12px 0 8px; font-weight: 800; }
.reg-subtitle { color: var(--ink-soft); font-size: 16px; }
.reg-account-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; margin: 0 auto 18px; padding: 12px 18px; border: 1px solid var(--line-gold); border-radius: var(--r-md); background: var(--surface); font-size: 14px; color: var(--ink-soft); }
.reg-account-actions { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Registering and signing in are separate intents, so the tabs are grouped
   rather than presented as four equivalent choices in one row. */
.reg-tabs { display: flex; justify-content: center; align-items: flex-end; gap: 8px 22px; margin-bottom: 24px; flex-wrap: wrap; }
.reg-tabs-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: relative; }
.reg-tabs-group + .reg-tabs-group { padding-left: 22px; border-left: 1px solid var(--line); }
.reg-tabs-caption { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.reg-tab { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; padding: 10px 20px; transition: 0.18s var(--ease); }
.reg-tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.reg-tab.active { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
@media (max-width: 620px) {
  .reg-tabs { gap: 10px; }
  .reg-tabs-group { width: 100%; justify-content: center; }
  /* The caption names the group below it. Left inline it takes a third of the
     row, so the three choices wrap into a ragged block with one button alone
     on the second line — on a phone that reads as a layout accident rather
     than a heading. Giving it its own line leaves the choices a full row. */
  .reg-tabs-caption { flex: 0 0 100%; text-align: center; }
  .reg-tab { padding: 10px 14px; font-size: 13.5px; }
  .reg-tabs-group + .reg-tabs-group { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 10px; }
}

/* password field with a reveal toggle */
.reg-pass { position: relative; display: block; }
.reg-pass input { padding-right: 42px !important; }
.reg-pass-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px;
  background: none; color: var(--muted); cursor: pointer;
}
.reg-pass-toggle:hover { color: var(--gold-deep); background: rgba(0, 0, 0, 0.04); }
.reg-pass-toggle.is-on { color: var(--gold-deep); }
.reg-field input.is-invalid { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(227,10,23, 0.12); }

/* the card an already-authenticated visitor sees instead of the sign-up forms */
.reg-signedin-who { margin: 4px 0 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.reg-signedin-who span { color: var(--muted); font-size: 13px; }
.reg-linkbtn {
  display: inline-block; margin-top: 18px; padding: 0; border: 0; background: none;
  color: var(--muted); font-family: var(--sans); font-size: 13px; cursor: pointer; text-decoration: underline;
}
.reg-linkbtn:hover { color: var(--gold-deep); }

.reg-body { display: flex; justify-content: center; }
/* margin-inline on the card itself, not only the flex wrapper around it: the
   cabinet and the password reset draw this card straight into their own
   container with no .reg-body, and a 460px card in a 1200px container sat
   against the left edge. Centring belongs to the thing with the width. */
.reg-card { width: 100%; max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 32px 36px; box-shadow: 0 4px 16px var(--shadow); }
.reg-card-narrow { max-width: 460px; }
.reg-card-wide { max-width: 880px; }
.reg-card-title { font-size: 24px; margin-bottom: 6px; font-weight: 800; }
.reg-card-text { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }

.reg-section { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--gold-deep); margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.reg-section em { font-style: normal; color: var(--muted); font-weight: 400; text-transform: none; }
.reg-grid { display: grid; gap: 16px 18px; }
.reg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.reg-grid-3 { grid-template-columns: repeat(3, 1fr); }

.reg-steps { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 24px; }
.reg-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.reg-steps li span { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; background: var(--gold); color: var(--on-gold); }

/* telegram linking */
.tg-gate-note { margin: 0 0 14px; }
.tg-box { border: 1px solid var(--line-gold); background: var(--chip-bg); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 18px; }
.tg-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tg-link-hint { font-size: 12px; color: var(--muted); line-height: 1.5; flex: 1; min-width: 180px; }
.tg-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #37bbfe, #007dbb); padding: 6px 12px; border-radius: var(--r-pill); }
/* cabinet: Telegram not linked yet */
.cab-tgbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 940px; margin: 0 auto 20px; padding: 14px 18px; background: var(--chip-bg); border: 1px solid var(--line-gold); border-left: 4px solid #2aabee; border-radius: var(--r-md); }
.cab-tgbar-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; background: linear-gradient(180deg, #37bbfe, #007dbb); }
.cab-tgbar-txt { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cab-tgbar-txt b { font-size: 14px; color: var(--ink); }
.cab-tgbar-hint { color: var(--gold); }
.cab-tgbar-hint:empty { display: none; }
.cab-mailbar { border-left-color: #f08c00; }
.cab-mailbar .cab-tgbar-ic { background: linear-gradient(180deg, #ffb347, #f08c00); }
.cab-tg-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.cab-tg-who { font-size: 13px; color: var(--muted); flex: 1; min-width: 120px; }
.tg-username { font-size: 14px; color: var(--ink); flex: 1; min-width: 120px; }
.socials-grid.is-locked { opacity: 0.5; pointer-events: none; }
.socials-grid.is-locked input { cursor: not-allowed; }

.reg-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.reg-grid .reg-field { margin-bottom: 0; }
.user-pass-row { display: flex; gap: 8px; align-items: stretch; }
.user-pass-row input { flex: 1; }
.user-pass-row .admin-btn-ghost { white-space: nowrap; }
.reg-label { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-weight: 600; }
.reg-label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.8; font-weight: 400; }
.reg-field input, .reg-field select, .reg-field textarea { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-md); padding: 11px 13px; font-family: var(--sans); font-size: 14px; width: 100%; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,10,23,0.16); }
.reg-field textarea { resize: vertical; line-height: 1.6; }

.reg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-chip { position: relative; cursor: pointer; }
.reg-chip input { position: absolute; opacity: 0; pointer-events: none; }
.reg-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; color: var(--ink-soft); transition: 0.15s var(--ease); }
.reg-chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.reg-chip:hover span { border-color: var(--gold); }

.reg-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.reg-photo { position: relative; cursor: pointer; }
.reg-photo input { position: absolute; opacity: 0; pointer-events: none; }
.reg-photo span { display: block; aspect-ratio: 3 / 4; background-size: cover; background-position: center top; border: 2px solid transparent; border-radius: var(--r-md); transition: 0.15s var(--ease); }
.reg-photo:hover span { border-color: var(--gold); }
.reg-photo input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }

.reg-check { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.reg-check input { width: 17px; height: 17px; accent-color: var(--gold); }

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.plan-option { cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-box { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); height: 100%; transition: 0.18s var(--ease); position: relative; }
.plan-option:hover .plan-box { border-color: var(--gold); }
.plan-option input:checked + .plan-box { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--surface-2); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 700; }
.plan-save { font-size: 10px; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; background: var(--wine); padding: 3px 8px; border-radius: var(--r-sm); }
.plan-price { font-family: var(--serif); font-size: 28px; color: var(--gold-deep); font-weight: 800; }
.plan-desc { font-size: 13px; color: var(--muted); }

.addon-grid { display: flex; flex-direction: column; gap: 12px; }
.addon-option { cursor: pointer; }
.addon-option input { position: absolute; opacity: 0; pointer-events: none; }
.addon-box { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); transition: 0.18s var(--ease); }
.addon-option:hover .addon-box { border-color: var(--gold); }
.addon-option input:checked + .addon-box { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--surface-2); }
.addon-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.addon-price { color: var(--gold-deep); font-weight: 700; }
.addon-desc { font-size: 13px; color: var(--muted); }

.reg-summary { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.reg-total-label { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.reg-total { font-family: var(--serif); font-size: 34px; color: var(--gold-deep); font-weight: 800; }
.reg-note { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.reg-err { color: var(--wine); font-size: 13px; margin-bottom: 14px; }
.reg-err.ok { color: #2f9e44; }
.reg-mini { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.reg-mini a { color: var(--gold-deep); }
.reg-submit { margin-top: 22px; }
.reg-ok { color: #2f9e44; font-size: 13px; margin: 12px 0 0; }
.reg-success { padding-top: 40px; text-align: center; }
.reg-success-mark { width: 62px; height: 62px; line-height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: 30px; text-align: center; }
.reg-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* profile-form: lang stars + rates editor */
.lang-levels { display: grid; gap: 10px; margin-top: 4px; }
.lang-level-row { display: grid; grid-template-columns: minmax(120px, 1fr) auto; align-items: center; gap: 12px; }
.lang-level-name { font-size: 14px; color: var(--ink-soft); }
.lang-stars { display: flex; gap: 4px; }
.lang-star { background: none; border: none; padding: 0; font-size: 18px; line-height: 1; cursor: pointer; color: var(--line); transition: color 0.15s var(--ease), transform 0.15s var(--ease); }
.lang-star.on { color: var(--gold); }
.lang-star:hover { color: var(--gold-2); transform: scale(1.08); }
.rates-editor { margin-top: 4px; }
.rates-head, .rates-row { display: grid; grid-template-columns: 1.1fr 1.35fr 1fr 120px 34px; gap: 10px; align-items: center; }
.rates-head { font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rates-row + .rates-row { margin-top: 8px; }
.rates-cell { display: block; min-width: 0; }
/* the shared header carries the labels while the row is a single line */
.rates-row-n, .rates-cell-label { display: none; }
.rates-row input[type="number"], .rates-row select { width: 100%; height: 40px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); font-family: var(--sans); font-size: 13px; }
.rates-row select { padding-right: 28px; appearance: none; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a94a2' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.rates-del { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }
.rates-del b { display: none; }
.rates-del:hover { border-color: var(--wine); color: var(--wine); }
.rates-add { margin-top: 12px; }

/* On a phone a five-column row squeezes every control down to a few unreadable
   pixels, so each tariff becomes a card with its own labels instead. Only the
   wizard's editor renders those labels, hence the modifier. */
@media (max-width: 700px) {
  .rates-editor--stacked .rates-head { display: none; }
  .rates-editor--stacked .rates-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px;
    padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md);
    background: var(--surface-2);
  }
  .rates-editor--stacked .rates-row + .rates-row { margin-top: 12px; }
  .rates-editor--stacked .rates-row-n {
    display: block; grid-column: 1 / -1;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  }
  .rates-cell--duration, .rates-cell--service { grid-column: 1 / -1; }
  .rates-editor--stacked .rates-cell-label {
    display: block; margin-bottom: 5px;
    font-size: 12px; font-weight: 600; color: var(--ink-soft);
  }
  .rates-editor--stacked .rates-row input[type="number"],
  .rates-editor--stacked .rates-row select {
    height: 46px; font-size: 16px; background: var(--surface);
  }
  .rates-editor--stacked .rates-row select { padding-right: 32px; background-position: right 12px center; }
  .rates-editor--stacked .rates-del {
    grid-column: 1 / -1; width: 100%; height: 40px; font-size: 15px;
    color: var(--ink-soft); background: transparent;
  }
  .rates-editor--stacked .rates-del b { display: inline; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
  /* a lone tariff cannot be removed, and it needs no number */
  .rates-row:only-child .rates-row-n,
  .rates-row:only-child .rates-del { display: none; }
  .rates-add { width: 100%; }
}

/* =========================================================
   CABINET (dashboard.html)
   ========================================================= */
.cab-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 940px; margin: 0 auto 20px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r-md); box-shadow: 0 1px 3px var(--shadow); }
.cab-status-main { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.cab-status-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cab-status-label { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.cab-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.cab-status.is-active { border-left-color: #2f9e44; } .cab-status.is-active .cab-status-dot { background: #2f9e44; }
.cab-status.is-pending { border-left-color: var(--gold-deep); } .cab-status.is-pending .cab-status-dot { background: var(--gold-deep); }
.cab-status.is-rejected, .cab-status.is-expired { border-left-color: var(--wine); }
.cab-status.is-rejected .cab-status-dot, .cab-status.is-expired .cab-status-dot { background: var(--wine); }
.cab-status.is-profile .cab-status-dot { background: var(--gold); }

.cab-grid { display: flex; flex-direction: column; gap: 20px; max-width: 940px; margin: 0 auto; }
.cab-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 32px; box-shadow: 0 4px 16px var(--shadow); }
.cab-empty { color: var(--muted); font-size: 14px; padding: 8px 0 14px; }
.cab-card.is-muted { opacity: .72; }
.cab-lock { font-size: 13px; color: var(--gold-deep); background: var(--surface-2); border: 1px dashed var(--line-gold); border-radius: var(--r-md); padding: 12px 14px; margin: 0 0 18px; }
.cab-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab-chip { flex: none; font-size: 11px; letter-spacing: 0; color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 10px; white-space: nowrap; }

/* readiness — the listing stays private until every requirement is green */
.cab-steps { list-style: none; display: flex; gap: 10px; margin: 18px 0 6px; padding: 0; flex-wrap: wrap; }
.cab-step { flex: 1 1 150px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; background: var(--surface-2); }
.cab-step-n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.cab-step.is-current { border-color: var(--gold); color: var(--ink); }
.cab-step.is-current .cab-step-n { background: var(--gold); color: var(--on-gold); }
.cab-step.is-done { color: var(--ink); }
.cab-step.is-done .cab-step-n { background: #2f9e44; color: #fff; }
.cab-progress { height: 6px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin: 12px 0; }
.cab-progress i { display: block; height: 100%; background: var(--gold); transition: width .35s ease; }
.cab-reqs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 9px 16px; }
.cab-req { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.cab-req-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.cab-req.is-ok { color: var(--ink); }
.cab-req.is-ok .cab-req-mark { background: #2f9e44; border-color: #2f9e44; }
.cab-req-link { background: none; border: none; padding: 0; font: inherit; color: var(--wine); border-bottom: 1px dashed currentColor; cursor: pointer; text-align: left; }
.cab-req-link:hover { opacity: .75; }
.cab-lock .cab-req-link { color: inherit; }

.reg-req { color: var(--wine); margin-left: 3px; }
.reg-field.is-invalid input,
.reg-field.is-invalid select,
.reg-field.is-invalid textarea,
.reg-field.is-invalid .lang-levels,
.reg-field.is-invalid .rates-editor { border-color: var(--wine); }
.reg-field.is-flash { animation: cabFlash 1.2s ease; }
@keyframes cabFlash { 0%, 100% { background: transparent; } 25% { background: rgba(214,31,61,.07); } }
.reg-counter { align-self: flex-end; font-size: 11px; color: var(--muted); }
.reg-counter.is-short { color: var(--wine); }
.cab-dirty { font-size: 13px; color: var(--gold-deep); background: var(--surface-2); border: 1px dashed var(--line-gold); border-radius: var(--r-md); padding: 10px 13px; margin: 0 0 12px; }

.cab-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.cab-photo { position: relative; aspect-ratio: 3 / 4; background-size: cover; background-position: center; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cab-photo.is-main { border: 2px solid var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.cab-photo-tag { position: absolute; left: 8px; bottom: 8px; font-size: 10px; letter-spacing: 0; text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: 3px 8px; border-radius: var(--r-sm); }
.cab-photo-set { position: absolute; left: 8px; bottom: 8px; font-size: 10px; letter-spacing: 0; text-transform: uppercase; background: rgba(20,25,35,0.6); color: #fff; border: none; padding: 5px 9px; cursor: pointer; border-radius: var(--r-sm); transition: background 0.15s; }
.cab-photo-set:hover { background: var(--gold); color: var(--on-gold); }
.cab-photo-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(20,25,35,0.6); color: #fff; border: none; cursor: pointer; font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.cab-photo-del:hover { background: var(--wine); }
.cab-upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cab-upload-info { font-size: 13px; color: var(--muted); }
.cab-pending-note { color: var(--gold-deep); margin-top: 18px; }
.cab-photos--pending { margin-top: 8px; }
.cab-photo.is-pending { opacity: 0.85; }
.cab-photo.is-pending::after { content: ""; position: absolute; inset: 0; box-shadow: 0 0 0 2px var(--gold-deep) inset; pointer-events: none; }
.cab-photo-tag--pending { background: var(--gold-deep); color: #fff; }

.cab-payfields { border: 0; padding: 0; margin: 0; min-width: 0; }
.cab-payfields[disabled] { opacity: 0.5; pointer-events: none; }
.cab-cur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cab-cur-opt { cursor: pointer; min-width: 0; }
.cab-cur-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cab-cur-opt span { display: block; text-align: center; padding: 12px 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--line); border-radius: var(--r-md); transition: 0.18s var(--ease); }
.cab-cur-opt:hover span { border-color: var(--gold); }
.cab-cur-opt input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--surface-2); }
.cab-pending { text-align: center; padding-top: 34px; }
.cab-invoice { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.cab-invoice-grid { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.cab-qr { flex: none; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); line-height: 0; }
.cab-qr img { display: block; width: 190px; height: 190px; }
.cab-invoice-info { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 12px; }
.cab-inv-row { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cab-inv-row > span { font-size: 12px; letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
.cab-inv-row em { font-style: normal; color: var(--muted); }
.cab-inv-addr code { font-family: var(--sans); font-size: 13px; word-break: break-all; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; color: var(--ink); }
.cab-inv-addr { gap: 8px; }
.cab-inv-addr #copyAddr { align-self: flex-start; }
.cab-guest-info { padding-top: 30px; }
/* the "signed up on the wrong form" escape hatch — present but not shouting */
.cab-become { border-style: dashed; box-shadow: none; }
.cab-become .reg-card-text { margin-bottom: 18px; }

/* the single "do this next" line: neutral by default, green when there is
   genuinely nothing to do, red when something is broken */
.cab-next { position: relative; display: flex; align-items: center; gap: 14px; max-width: 940px; margin: 0 auto 20px; padding: 14px 18px; border: 1px solid var(--line-gold); border-left-width: 4px; border-radius: var(--r-md); background: var(--chip-bg); }
.cab-next.is-good { border-color: #34d058; background: rgba(52,208,88,0.06); }
.cab-next.is-bad { border-color: #d61f3d; background: rgba(214,31,61,0.06); }
.cab-next.is-wait { border-color: var(--line); background: var(--bg-soft); }
.cab-next-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cab-next-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.cab-next-text { font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.cab-next .cab-nudge-close { position: absolute; top: 6px; right: 8px; }
.cab-next .btn { flex: none; }
@media (max-width: 560px) {
  .cab-next { flex-direction: column; align-items: stretch; padding-right: 34px; }
}

.cab-hero { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 18px; border: 1px solid #34d058; border-left-width: 4px; border-radius: var(--r-md); background: rgba(52,208,88,0.06); }
.cab-hero-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d058; flex: none; }
.cab-hero-main { flex: 1; margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.cab-hero-main b { color: var(--ink); font-weight: 700; }
.cab-hero-main span { color: var(--muted); }
/* Asking for something rather than announcing good news, so it borrows the
   shape of the hero above it in a colour that does not read as a celebration.
   It can be closed: the field it asks for is optional, and a prompt that
   cannot be dismissed stops being a prompt. */
.cab-nudge { position: relative; border-color: var(--line-gold); background: var(--chip-bg); padding-right: 40px; }
.cab-nudge .cab-hero-dot { background: var(--gold); }
.cab-nudge-close {
  position: absolute; top: 8px; right: 10px; width: 24px; height: 24px; padding: 0;
  border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer;
}
.cab-nudge-close:hover { color: var(--ink); }

.cab-notif-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab-notif-badge { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); font-size: 12px; text-align: center; vertical-align: middle; }
.cab-notif-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* the email switches, sitting under the notification list they belong to */
.cab-mail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cab-mail-t { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.cab-mail-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; cursor: pointer; }
.cab-mail-row input { margin-top: 2px; flex: none; }
.cab-mail-note { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 10px 0 0; }

.cab-notif-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cab-notif-item:last-child { border-bottom: none; }
.cab-notif-item.is-unread { padding-left: 12px; border-left: 3px solid var(--gold); }
.cab-notif-from { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 2px; }
.cab-notif-t { font-weight: 700; font-size: 14px; color: var(--ink); }
.cab-notif-b { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.cab-notif-time { font-size: 11px; color: var(--muted); margin-top: 4px; }

.cab-stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-bottom: 16px; }
.cab-story { position: relative; aspect-ratio: 9/16; background-size: cover; background-position: center; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cab-story-ttl { position: absolute; left: 6px; bottom: 6px; font-size: 11px; padding: 2px 7px; border-radius: var(--r-pill); background: rgba(20,25,35,0.6); color: #fff; }
.cab-story-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: none; border-radius: 50%; background: rgba(20,25,35,0.6); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.cab-story-del:hover { background: var(--wine); }

/* cabinet promotion */
.cab-promo-current { font-size: 14px; margin: 4px 0 14px; color: var(--muted); }
.cab-promo-tier { padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 12px; }
.cab-promo-tier.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.cab-promo-vip .cab-promo-name { color: var(--gold-deep); }
.cab-promo-top .cab-promo-name { color: #111113; }
.cab-promo-name { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.cab-promo-active { font-size: 12px; font-weight: 500; color: var(--muted); }
.cab-promo-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cab-promo-premium .cab-promo-name { color: var(--gold-deep); }
.cab-promo-tag { font-size: 13px; color: var(--muted); margin: -6px 0 10px; }
.cab-promo-gives { margin: 0 0 14px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.cab-promo-gives li { margin-bottom: 4px; }
.cab-promo-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.cab-promo-slots { margin: 2px 0 8px; font-size: 13px; font-weight: 600; color: var(--gold, #c9a24d); }
.cab-promo-slots.is-full { color: var(--wine, #9b2c3a); font-weight: 500; }
.cab-promo-chip { display: inline-block; padding: 3px 10px; margin: 0 4px 4px 0; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; background: #111113; color: #fff; }
.cab-promo-chip.is-vip, .cab-promo-chip.is-premium { background: var(--gold); color: var(--on-gold); }
.cab-promo-note { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--surface-2, rgba(0,0,0,.04)); font-size: 14px; }
.cab-promo-note.is-err { color: var(--wine); }
.cab-promo-how { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cab-orders { margin-top: 18px; }
.cab-orders-title { font-size: 15px; margin: 0 0 8px; }
.cab-order { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cab-order-what { flex: 1 1 220px; }
.cab-order-state { font-weight: 600; }
.cab-order.is-paid .cab-order-state { color: var(--ok, #1f8a4c); }
.cab-order.is-rejected { opacity: .6; }
.cab-order-act { display: flex; flex-wrap: wrap; gap: 8px; }
.cab-renew-state { margin: 4px 0 10px; font-size: 14px; color: var(--muted); }
.cab-renew-state.is-expired { color: var(--wine); font-weight: 600; }
.cab-renew.is-expired { border-color: var(--wine); }
.cab-renew .cab-promo-opts { margin: 12px 0 4px; }
.cab-next.is-warn { border-color: #e0a100; background: rgba(224,161,0,0.09); }
.cab-host { display: contents; }

/* the shop: renewal and promotion in one card, picked into one basket */
.cab-shop.is-expired { border-color: var(--wine); }
.cab-shop.is-soon { border-color: #e0a100; }
.cab-shop-stat { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2, rgba(0,0,0,.04)); }
.cab-shop-stat b { font-size: 16px; }
.cab-shop-stat span { font-size: 14px; color: var(--muted); }
.cab-shop-stat.is-soon { background: rgba(224,161,0,0.12); }
.cab-shop-stat.is-soon span { color: inherit; font-weight: 600; }
.cab-shop-stat.is-expired { background: rgba(214,31,61,0.08); }
.cab-shop-stat.is-expired b { color: var(--wine); }
.cab-shop-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 4px; }
.cab-shop-item { padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); }
.cab-shop-item.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.cab-shop-item.is-urgent { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset; background: rgba(224,161,0,0.07); }
.cab-shop-head { margin-bottom: 8px; }
.cab-shop-head .cab-promo-name { margin-bottom: 2px; }
.cab-shop-head .cab-promo-tag { margin: 0; }
.cab-promo-renew .cab-promo-name { color: var(--gold-deep); }
.cab-shop-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cab-opt { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 104px; min-height: 52px; padding: 8px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: transparent; color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.cab-opt:hover:not(:disabled) { border-color: var(--gold); }
.cab-opt-span { font-size: 14px; font-weight: 600; }
.cab-opt-price { font-size: 13px; color: var(--muted); }
.cab-opt.is-picked { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.cab-opt.is-picked .cab-opt-price { color: inherit; opacity: .85; }
.cab-opt.is-waiting { opacity: .65; }
.cab-opt-note { font-size: 11px; font-style: normal; color: var(--muted); }
.cab-opt:disabled { cursor: default; opacity: .5; }
.cab-opt.is-waiting:disabled { opacity: .7; }
.cab-cart { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--gold); background: var(--surface, #fff); }
.cab-cart.is-empty { border-style: dashed; border-color: var(--line); background: transparent; }
.cab-cart.is-done { border-color: var(--ok, #1f8a4c); }
.cab-cart-title { display: block; margin-bottom: 6px; font-size: 15px; }
.cab-cart-done { display: block; margin-bottom: 4px; color: var(--ok, #1f8a4c); }
.cab-cart-lines, .cab-basket-lines { list-style: none; margin: 0; padding: 0; }
.cab-cart-lines li, .cab-basket-lines li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cab-cart-lines li:first-child, .cab-basket-lines li:first-child { border-top: 0; }
.cab-cart-lines li > span, .cab-basket-lines li > span { flex: 1; }
.cab-cart-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--surface-2, rgba(0,0,0,.06)); color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.cab-cart-foot, .cab-basket-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cab-cart-sum { font-size: 15px; }
.cab-cart-sum b { font-size: 18px; }
.cab-cart-go { min-width: 200px; }
.cab-cart-hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cab-cart.is-empty .cab-cart-hint { margin: 0; }
.cab-cart.is-done .cab-cart-go { display: inline-flex; margin-top: 10px; }
.cab-basket { padding: 14px 16px; margin-top: 12px; border-radius: var(--r-md); border: 1px solid var(--gold); }
.cab-basket-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
@media (max-width: 560px) {
  .cab-opt { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .cab-cart-go { width: 100%; }
}
.cab-cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface, #fff); border-top: 2px solid var(--gold); box-shadow: 0 -6px 24px rgba(0,0,0,.12); }
.cab-cartbar.is-hidden { display: none; }
.cab-cartbar-sum { font-size: 15px; }
.cab-cartbar-sum b { font-size: 18px; }
@media (max-width: 560px) { .cab-cartbar { justify-content: space-between; } }

/* cabinet self-analytics */
.cst-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.cst-tot { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; text-align: center; }
.cst-tot b { display: block; font-size: 22px; color: var(--ink); }
.cst-tot span { font-size: 11px; color: var(--muted); }
.cst-chart { margin-top: 14px; }
.cst-chart-h { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cst-bars { display: flex; align-items: flex-end; gap: 3px; height: 80px; }
.cst-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; }
.cst-bar-f { width: 68%; min-height: 2px; background: var(--gold); border-radius: 3px 3px 0 0; }
.cst-bar-v { font-size: 9px; color: var(--muted); height: 11px; }
.cst-bar-x { font-size: 8px; color: var(--muted); transform: rotate(-30deg); white-space: nowrap; }

/* manager cabinet */
.cab-mgr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cab-mgr-top .reg-card-title { margin-bottom: 4px; }
.mgr-add-btn { flex: none; }
.cab-mgr-stats { display: flex; gap: 10px; margin: 18px 0 6px; flex-wrap: wrap; }
.cab-stat { flex: 1; min-width: 92px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.cab-stat b { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--ink); font-weight: 800; }
.cab-stat span { font-size: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--ink-soft); }
.cab-mgr-hint { margin: 8px 0 0; font-size: 13px; color: var(--gold-deep); }
.mgr-editbar { display: flex; align-items: center; gap: 14px; margin: 16px 0 8px; }
.mgr-editbar-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mgr-editbar-info b { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.mgr-girls { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 16px 0 4px; }
.mgr-girl { position: relative; text-align: left; cursor: pointer; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; background: var(--surface); box-shadow: 0 1px 3px var(--shadow); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.mgr-girl:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 24px var(--shadow); }
.mgr-girl-cover { position: relative; aspect-ratio: 3/4; background-size: cover; background-position: center top; }
.mgr-girl-cover.is-empty { background: linear-gradient(135deg, var(--surface-2), var(--line)); }
.mgr-girl-st { position: absolute; left: 8px; top: 8px; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); background: rgba(20,25,35,0.62); color: #fff; }
.mgr-st-active { background: #34d058; color: #0c1a0f; }
.mgr-st-pending { background: var(--gold); color: var(--on-gold); }
.mgr-st-rejected { background: var(--wine); color: #fff; }
.mgr-st-suspended { background: #8a94a2; color: #fff; }
.mgr-st-expired { background: #8a8a8a; color: #fff; }
.mgr-st-draft, .mgr-st-profile { background: rgba(20,25,35,0.55); color: #fff; }
.mgr-girl-body { padding: 11px 13px 14px; display: flex; flex-direction: column; gap: 3px; }
.mgr-girl-body b { font-size: 14.5px; color: var(--ink); }
.mgr-girl-sub { font-size: 12px; color: var(--ink-soft); }
.mgr-girl-exp { font-size: 11px; color: var(--gold-deep); }
.mgr-girl-go { position: absolute; right: 11px; bottom: 12px; color: var(--gold); font-size: 16px; opacity: 0; transition: opacity 0.18s var(--ease); }
.mgr-girl:hover .mgr-girl-go { opacity: 1; }
.mgr-empty { grid-column: 1 / -1; text-align: center; padding: 36px 16px; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.mgr-empty-ico { display: block; font-size: 26px; color: var(--gold); margin-bottom: 8px; }

/* =========================================================
   LEGAL + 404
   ========================================================= */
.legal-page { padding: 48px 0 80px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.legal-tabs a { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 16px; transition: all 0.18s var(--ease); }
.legal-tabs a:hover { border-color: var(--gold); color: var(--gold-deep); }
.legal-tabs a.active { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.legal-back { display: inline-block; margin: -22px 0 28px; font-size: 13px; color: var(--muted); text-decoration: none; }
.legal-back:hover { color: var(--gold-deep); }
.legal-doc { max-width: 760px; }
.legal-title { font-size: clamp(26px, 4vw, 40px); color: var(--ink); font-weight: 800; margin: 12px 0 8px; }
.legal-updated { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 32px; }
.legal-h { font-size: 20px; color: var(--ink); font-weight: 700; margin: 30px 0 12px; }
.legal-p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }

.nf-page { min-height: 68vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 70px 0; }
.nf-code { font-family: var(--serif); font-size: clamp(72px, 15vw, 160px); line-height: 1; color: var(--gold-deep); font-weight: 800; }
.nf-title { font-size: clamp(24px, 4vw, 36px); color: var(--ink); font-weight: 700; margin: 8px 0 14px; }
.nf-text { font-size: 16px; color: var(--ink-soft); max-width: 420px; margin: 0 auto 30px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .admin-shell { grid-template-columns: 1fr; }
  .msg-layout { grid-template-columns: 1fr; }
  .msg-list { border-right: none; border-bottom: 1px solid var(--line); max-height: 240px; }
}
/* tablet band only: the sidebar lies down into a strip above the content.
   Below 900px it becomes a slide-out drawer, so these must not leak down. */
@media (max-width: 980px) and (min-width: 901px) {
  .admin-nav { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); padding: 10px; gap: 6px; }
  .admin-nav-item.active { box-shadow: inset 0 -2px 0 var(--gold); }
  .admin-nav-foot { margin: 0; padding: 0; }
  .admin-reset { width: auto; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 90; margin: 0; padding: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease), padding 0.25s var(--ease);
  }
  .site-header.nav-open .nav-links { max-height: 60vh; opacity: 1; visibility: visible; padding: 6px 0; }
  .nav-links a { padding: 14px 24px; font-size: 15px; border-top: 1px solid var(--line); }
  .nav-links a:first-child { border-top: none; }
}
@media (max-width: 860px) {
  .pp-hero { grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 22px; }
  .pp-cards { columns: 1; }
  .pp-stage { aspect-ratio: 4 / 5; }
  .pp-arrow { opacity: 1; width: 38px; height: 38px; }
  .profiles-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .reg-grid-2, .reg-grid-3, .plan-grid { grid-template-columns: 1fr; }
  .reg-card, .cab-card { padding: 24px 20px 30px; }
  .cab-cur { grid-template-columns: 1fr; }
  .chat2 { grid-template-columns: 1fr; }
  .chat2-list { max-height: 220px; border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .brand-sub { display: none; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .f-search, .f-age, .f-check { grid-column: span 2; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section { padding: 48px 0; }
  .hero-inner { padding: 64px 0 56px; }
  .steps-grid, .exp-grid, .tiers-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 30px; }
  .tier-featured { order: -1; }
  .pp { padding: 20px 0 88px; }
  .pp-card { padding: 20px 18px; }
  .pp-specs { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  body { overflow-wrap: anywhere; }
  .reg-field input, .reg-field select, .reg-field textarea,
  .admin-field input, .admin-input,
  .chat-form input, .chat2-form input, .msg-reply input,
  .filter-grid input[type="text"], .filter-grid select { font-size: 16px; }
  .catalog { padding: 24px 0 44px; }
  .filter-toggle { display: flex; }
  .filter-bar:not(.open) .filter-panel { display: none; }
  .filter-bar.open .filter-panel { padding-top: 14px; }
  .filter-head { flex-wrap: wrap; gap: 12px; }
  .filter-head-actions { width: 100%; justify-content: space-between; }
  .filter-grid { grid-template-columns: 1fr; gap: 12px; }
  .f-search, .f-age, .f-check { grid-column: span 1; }
  .hero-cta, .contact-channels, .reg-success-actions { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .contact-channels .btn, .reg-success-actions .btn { width: 100%; text-align: center; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cst-totals { grid-template-columns: repeat(2, 1fr); }
  .admin-main { padding: 20px 14px 44px; }
  .chat2-thread, .msg-thread { max-height: 50vh; }
  .pp-write { display: block; width: 100%; text-align: center; }
  .cab-grid, .cab-status { max-width: 100%; }
  .cab-status { flex-direction: column; align-items: flex-start; }
  .chat-panel { max-width: 100%; }
}
@media (max-width: 420px) {
  .header-actions { gap: 7px; }
  .lang-switch button { padding: 7px 8px; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-name { font-size: 17px; }
  .stat-grid { grid-template-columns: 1fr; }
  .reg-card, .cab-card { padding: 20px 14px 26px; }
  .cab-qr img { width: 150px; height: 150px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .profile { opacity: 1; transform: none; }
  /* The story countdown is deliberately left alone here. It is not motion for
     its own sake — it is how long the story has left — and the viewer sets
     its transition !important so it keeps running. */
  html.anim-ready .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   ENHANCEMENTS — motion layer, reworked profile, content pages
   ========================================================= */

/* ----- Scroll reveal (active only when anim.js adds .anim-ready) ----- */
html.anim-ready .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform;
}
html.anim-ready .reveal.in { opacity: 1; transform: none; }

/* ----- Micro-interactions ----- */
.btn { transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.16s var(--ease); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(227,10,23,0.26); }
.btn-outline:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.value-card, .exp-card, .tier-card, .profile { will-change: transform; }
.step-num { transition: transform 0.25s var(--ease); }
.step-card:hover .step-num { transform: translateY(-3px) rotate(-4deg); }
.pp-quick-item { transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.pp-quick-item:hover { transform: translateY(-2px); border-color: var(--gold); }
.pp-rate { transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.pp-rate:hover { transform: translateY(-2px); border-color: var(--gold); }
.qchip, .saved-chip, .pp-tags span { transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease); }
.pp-thumb { transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.pp-thumb:hover { transform: translateY(-2px); }

/* subtle sticky-header shadow when scrolled (toggled by script.js .scrolled) */
.site-header.scrolled { box-shadow: 0 2px 0 rgba(17,17,19,0.04); }

/* ----- Reworked profile (анкета) layout ----- */
.pp { padding: 28px 0 90px; }
.pp-hero {
  grid-template-columns: minmax(0, 452px) minmax(0, 1fr);
  gap: 46px; align-items: start; margin-bottom: 44px;
}
.pp-media { position: sticky; top: 92px; align-self: start; }
.pp-stage { border-radius: var(--r-lg); box-shadow: 0 2px 10px var(--shadow); }
.pp-intro { gap: 4px; }
.pp-name { letter-spacing: -0.02em; }
.pp-loc { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }

/* details switch from fragile masonry columns to a clean responsive grid */
.pp-cards {
  columns: auto; column-gap: normal;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; align-items: start; margin-bottom: 8px;
}
.pp-cards .pp-card { margin: 0; break-inside: auto; }
#ppAboutCard { grid-column: 1 / -1; }
.pp-card { border-radius: var(--r-lg); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.pp-card:hover { border-color: var(--line-gold); box-shadow: 0 6px 18px var(--shadow); }
.pp-h { color: var(--gold-deep); }

@media (max-width: 860px) {
  .pp-hero { grid-template-columns: 1fr; gap: 22px; }
  .pp-media { position: static; top: auto; }
  .pp-cards { grid-template-columns: 1fr; }
  #ppAboutCard { grid-column: auto; }
}

/* =========================================================
   CONTENT PAGES (About / Experiences / Pricing / For women / How)
   ========================================================= */
.np-hero { position: relative; border-bottom: 2px solid var(--ink); background: var(--surface); overflow: hidden; }
.np-hero-inner { max-width: 820px; padding: 84px 0 72px; border-left: 4px solid var(--gold); padding-left: 34px; }
.np-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.np-title { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); margin: 0; max-width: 20ch; }
.np-lead { font-size: clamp(16px, 1.8vw, 20px); color: var(--ink-soft); max-width: 640px; margin: 22px 0 0; line-height: 1.6; }

.np-section { padding: 66px 0; border-top: 1px solid var(--line); }
.np-section:first-of-type { border-top: none; }
.np-section.alt { background: var(--bg-2); }
.np-shead { max-width: 720px; margin: 0 0 34px; }
.np-shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.np-stitle { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 8px 0 0; }
.np-sublead { font-size: 16px; color: var(--ink-soft); margin: 14px 0 0; line-height: 1.65; max-width: 620px; }
.np-shead.center .np-sublead { margin-left: auto; margin-right: auto; }

/* ---- the guide -----------------------------------------------------------
   Long-form reading, which the rest of the site does not do anywhere else: the
   catalogue is scanned, this is read. Hence the narrow column — around 70
   characters a line, which is where the eye stops losing its place — and the
   larger, looser type. */
.guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
/* The reading list at the foot of /for-women. Each row is a title and the one
   line under it that says what the article answers, so the list can be skimmed
   without opening anything. */
.fw-reading { margin: 40px 0 0; max-width: 820px; }
.fw-reading-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.fw-reading-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.fw-reading-list a { font-family: var(--serif); font-size: 17px; color: var(--ink); text-decoration: none; display: block; }
.fw-reading-list a:hover { color: var(--gold); }
.fw-reading-list span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* Headings that split the index into who each half is written for. */
.guide-group { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 34px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.guide-group:first-child { margin-top: 0; }
.guide-group + .guide-list { margin-top: 14px; }
.guide-group-lead { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 8px 0 16px; max-width: 70ch; }
.guide-card {
  display: block; padding: 20px 22px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.guide-card:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.guide-card-t { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--ink); margin: 0 0 8px; }
.guide-card-d { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 12px; }
.guide-card-m { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.article { padding: 26px 0 10px; }
.article .container { max-width: 760px; }
.article-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.article-crumbs a { color: var(--ink-soft); text-decoration: none; }
.article-crumbs a:hover { color: var(--gold-deep); }
.article-title { font-family: var(--serif); font-size: clamp(27px, 4.6vw, 40px); line-height: 1.18; color: var(--ink); margin: 0 0 16px; }
.article-lead { font-size: 18px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; }
.article-meta { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-sec { margin-top: 30px; }
.article-sec h2 { font-family: var(--serif); font-size: 23px; line-height: 1.3; color: var(--ink); margin: 0 0 12px; }
.article-body p { font-size: 16.5px; line-height: 1.78; color: var(--ink-soft); margin: 0 0 15px; }
.article-body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.article-list { margin: 0 0 15px; padding: 0; list-style: none; }
.article-list li { position: relative; font-size: 16px; line-height: 1.7; color: var(--ink-soft); padding-left: 20px; margin-bottom: 9px; }
.article-list li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.article-foot { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-cta { margin: 0 0 34px; }
.article-next-t { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 0 0 14px; }
@media (max-width: 560px) {
  .article-body p { font-size: 16px; }
  .article-sec h2 { font-size: 21px; }
}

/* manifesto / prose */
.np-prose { max-width: 720px; }
.np-prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px; }
.np-prose p strong, .np-prose strong { color: var(--ink); font-weight: 700; }
.np-quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 22px; margin: 0 0 26px; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.45; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

/* feature/value grid */
.np-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.np-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.np-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.np-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: 0 1px 3px var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.np-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px var(--shadow); border-color: var(--line-gold); }
.np-card-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--gold); color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.np-card-t { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.np-card-d { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.np-card-meta { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.np-card-meta div { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.np-card-meta b { color: var(--ink); font-weight: 600; }

/* numbered steps */
.np-steps { display: grid; gap: 14px; max-width: 760px; }
.np-step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.np-step:hover { transform: translateX(4px); border-color: var(--line-gold); }
.np-step-n { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; font-weight: 800; }
.np-step-t { font-size: 18px; font-weight: 700; color: var(--ink); margin: 4px 0 6px; }
.np-step-d { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* check / bullet lists */
.np-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.np-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.np-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background: var(--gold); color: #fff; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.np-list.dash li::before { content: ""; top: 11px; width: 14px; height: 2px; border-radius: 0; background: var(--gold); }
.np-list li b { color: var(--ink); font-weight: 700; }

/* two-column split */
.np-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.np-split .np-prose { max-width: none; }

/* CTA strip */
.np-ctastrip { padding: 72px 0; border-top: 2px solid var(--ink); text-align: center; }
.np-ctastrip .np-stitle { margin-bottom: 10px; }
.np-ctastrip p { font-size: 16px; color: var(--ink-soft); max-width: 520px; margin: 0 auto 26px; }
.np-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* pricing tiers reuse .tiers-grid/.tier-card from landing */
.np-pricing { padding-top: 12px; }

@media (max-width: 900px) {
  .np-grid, .np-grid.cols-2, .np-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .np-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .np-hero-inner { padding: 60px 0 52px; }
  .np-section { padding: 48px 0; }
  .np-grid, .np-grid.cols-2, .np-grid.cols-4 { grid-template-columns: 1fr; }
  .np-step { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .np-step-n { width: 44px; height: 44px; font-size: 17px; }
  .np-ctastrip { padding: 52px 0; }
}

/* =========================================================
   PROFILE SETUP WIZARD + STORIES  (profile-setup.html, stories.html)
   Focus screens: no catalogue navigation, one task at a time.
   ========================================================= */
.setup-body { background: var(--bg); }
.setup-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.setup-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 0; }
.setup-header-side { display: flex; align-items: center; gap: 10px; flex: none; }
.setup-header .brand { min-width: 0; flex: 0 1 auto; }
.setup-exit { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.setup-exit:hover { color: var(--ink); border-color: var(--line-gold); }
.setup-main { padding: 30px 0 70px; }
.setup-container { max-width: 860px; }

.setup-top { margin-bottom: 20px; }
.setup-top-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.setup-title { font-family: var(--font-display, inherit); font-size: 26px; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.setup-who { color: var(--gold); }
.setup-count { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.setup-bar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 14px 0 16px; }
.setup-bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width 0.35s var(--ease); }

.setup-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.setup-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font: inherit; font-size: 13px; color: var(--ink-soft); cursor: pointer; white-space: nowrap; transition: border-color 0.15s var(--ease), color 0.15s var(--ease); }
.setup-tab:hover { border-color: var(--line-gold); color: var(--ink); }
.setup-tab-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.setup-tab.is-done .setup-tab-n { background: #2e9e5b; color: #fff; }
.setup-tab.is-current { border-color: var(--ink); background: var(--ink); color: #fff; }
.setup-tab.is-current .setup-tab-n { background: rgba(255,255,255,0.22); color: #fff; }

.setup-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: 0 1px 3px var(--shadow); }
.setup-card.center { text-align: center; }
.setup-h { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.setup-sub { font-size: 15px; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }
.setup-lead { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 20px; }
.setup-card .reg-field { margin-bottom: 16px; }
.setup-card .reg-grid { gap: 16px; }

/* ready-made descriptions — a starting point for the blank "about you" box */
.tpl-box { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 14px 16px 16px; margin-bottom: 16px; background: var(--surface-2); }
.tpl-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 11px; }
.tpl-head b { font-size: 13px; font-weight: 700; color: var(--ink); }
.tpl-head span { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.tpl-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.tpl-chip:hover { border-color: var(--gold); color: var(--ink); }
.tpl-chip:disabled { opacity: 0.6; cursor: progress; }
.tpl-note { margin: 11px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.tpl-note.is-warn { color: #b3261e; }
.tpl-chip.is-on { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }

.setup-notice { display: flex; flex-direction: column; gap: 4px; border-radius: var(--r-md); padding: 13px 16px; margin-bottom: 16px; font-size: 13px; line-height: 1.55; }
.setup-notice b { font-size: 14px; }
.setup-notice--lock { background: rgba(214, 31, 61, .06); border: 1px solid var(--line-wine, rgba(214, 31, 61, .3)); color: var(--ink-soft); }
.setup-notice--lock b { color: var(--wine); }
.setup-notice--info { background: var(--surface-2); border: 1px dashed var(--line-gold); color: var(--ink-soft); }
.setup-notice--info b { color: var(--gold-deep); }
.rates-row.is-invalid input[type="number"] { border-color: var(--wine); background: rgba(214, 31, 61, .05); }
.setup-card input:disabled, .setup-card select:disabled, .setup-card textarea:disabled,
.setup-card .btn:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }

.setup-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.setup-actions .btn { min-width: 130px; }
.setup-actions #nextBtn { margin-left: auto; }
.setup-save-state { font-size: 13px; color: var(--ink-soft); }
.setup-save-state.is-ok { color: #2e9e5b; }
.setup-progress-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 18px 0 0; }

.setup-drop { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 34px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-md); background: var(--bg-soft, transparent); margin-bottom: 16px; }
.setup-drop b { font-size: 15px; color: var(--ink); }
.setup-drop span { font-size: 13px; color: var(--ink-soft); }

.setup-summary { margin-bottom: 20px; }
.setup-verify { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 20px; }
.setup-verify .setup-sub { margin-top: 0; }
.setup-verify-how { display: block; margin: 10px 0 14px; padding-left: 18px; list-style: disc; }
.setup-verify-how li { display: list-item; font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 3px; }
/* Upload and Skip get the same weight on purpose — this is an offer, and a
   skip button styled as an afterthought would be a nudge dressed as a choice. */
.setup-verify-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.setup-verify-pick { cursor: pointer; }
.setup-verify.is-skipped, .setup-verify.is-sent { color: var(--ink-soft); }
.setup-publish { border-top: 1px solid var(--line); padding-top: 20px; }
.setup-publish .btn-block { margin-top: 14px; }
.cab-payfields { border: 0; padding: 0; margin: 0; }
.cab-payfields[disabled] { opacity: 0.55; }

.setup-done { text-align: center; padding: 18px 0 6px; }
.setup-done-mark { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.setup-done h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.setup-done p { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.setup-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* stories manager */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 18px; }
.story-tile { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); background: var(--line) center/cover no-repeat; margin: 0; overflow: hidden; }
.story-ttl { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(16,15,18,0.72); color: #fff; font-size: 11px; font-weight: 600; }
.story-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(16,15,18,0.68); color: #fff; font-size: 13px; cursor: pointer; }
.story-del:hover { background: #d61f3d; }

/* cabinet: listing summary card */
.cab-listing-top { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; }
.cab-listing-cover { width: 92px; aspect-ratio: 3 / 4; border-radius: var(--r-md); background: var(--line) center/cover no-repeat; }
.cab-listing-cover.is-empty { background: repeating-linear-gradient(135deg, var(--line) 0 8px, transparent 8px 16px); }
.cab-listing-info .cab-progress { margin: 12px 0 6px; }
.cab-listing-count { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.cab-card-missing { font-size: 13px; line-height: 1.55; color: var(--ink-soft); margin: 14px 0 0; }
.cab-listing-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* manager list rows now link straight into the wizard */
.mgr-girls .mgr-girl { cursor: default; }
.mgr-girls .mgr-girl:hover { transform: none; }
.mgr-girl-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding: 0 13px 13px; }
.mgr-girl-actions .btn { flex: 1 1 auto; justify-content: center; }
.mgr-girl-progress { display: block; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.mgr-girl-progress i { display: block; height: 100%; background: var(--gold); }

@media (max-width: 700px) {
  .setup-main { padding: 18px 0 54px; }
  .setup-card { padding: 20px 16px 22px; border-radius: var(--r-md); }
  .setup-title { font-size: 21px; }
  .setup-header-inner { min-height: 52px; gap: 10px; padding: 7px 0; flex-wrap: nowrap; }
  .setup-header-side { gap: 7px; }
  .setup-header-side .lang-switch { display: none; }
  .setup-exit { font-size: 11px; padding: 7px 11px; }
  .tpl-box { padding: 13px 13px 14px; }
  .tpl-chip { flex: 1 1 auto; text-align: center; padding: 10px 12px; }
  .setup-actions { flex-wrap: wrap; }
  .setup-actions .btn { flex: 1 1 auto; min-width: 0; }
  .setup-save-state { order: 3; width: 100%; text-align: center; }
  .cab-listing-top { grid-template-columns: 68px 1fr; gap: 14px; }
  .cab-listing-cover { width: 68px; }
  .cab-listing-actions .btn { flex: 1 1 100%; }
  .story-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
}

/* =========================================================
   ADMIN v2 — role-aware control room
   ========================================================= */

/* ---- topbar identity ---- */
.admin-whoami { font-size: 13px; font-weight: 600; color: var(--ink); }
.admin-tag.is-super { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.admin-burger { display: none; width: 38px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink-soft); cursor: pointer; align-items: center; justify-content: center; }
.admin-burger:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---- sidebar groups ---- */
.admin-nav-group { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 16px 13px 6px; }
.admin-nav-group:first-child { padding-top: 2px; }
.admin-nav-group[hidden], .admin-nav-item[hidden] { display: none; }
.admin-nav-scrim { position: fixed; inset: 0; z-index: 18; background: rgba(15,18,24,0.45); animation: navScrimIn 0.22s var(--ease); }
@keyframes navScrimIn { from { opacity: 0; } to { opacity: 1; } }
/* freeze the page behind the open drawer so a swipe scrolls the menu, not the table */
body.nav-locked { overflow: hidden; }

/* ---- segmented tabs (queue filters, user tabs) ---- */
.seg-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.seg-tab { display: inline-flex; align-items: center; gap: 7px; background: none; border: 1px solid transparent; border-radius: var(--r-pill); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 8px 14px; transition: 0.15s var(--ease); }
.seg-tab:hover { background: var(--surface-2); color: var(--ink); }
.seg-tab.active { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.seg-tab[hidden] { display: none; }
.seg-count { font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-soft); }
.seg-tab.active .seg-count { background: rgba(255,255,255,0.24); color: #fff; }
#queueFilters { border-bottom: 1px solid var(--line); padding-bottom: 12px; }

/* ---- task queue ---- */
.queue-list { display: flex; flex-direction: column; gap: 10px; }
.queue-card { display: grid; grid-template-columns: 104px 1fr auto auto; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.queue-card:hover { border-color: var(--gold); box-shadow: 0 4px 18px var(--shadow); }
.queue-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 6px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.queue-tag--gold   { background: var(--chip-bg); color: var(--gold-deep); border-color: var(--line-gold); }
.queue-tag--blue   { background: rgba(56,120,220,0.12); color: #2c62b8; border-color: rgba(56,120,220,0.3); }
.queue-tag--violet { background: rgba(130,80,220,0.12); color: #6b3fc0; border-color: rgba(130,80,220,0.3); }
.queue-tag--green  { background: rgba(40,170,90,0.13); color: #1e7f47; border-color: rgba(40,170,90,0.32); }
.queue-tag--red    { background: rgba(220,50,60,0.12); color: #b32530; border-color: rgba(220,50,60,0.3); }
.queue-tag--amber  { background: rgba(210,150,40,0.15); color: #8e6410; border-color: rgba(210,150,40,0.35); }
.queue-tag--cyan   { background: rgba(30,160,180,0.13); color: #14707f; border-color: rgba(30,160,180,0.32); }
[data-theme="dark"] .queue-tag--blue   { color: #8fb6ff; }
[data-theme="dark"] .queue-tag--violet { color: #c0a4ff; }
[data-theme="dark"] .queue-tag--green  { color: #74dfa1; }
[data-theme="dark"] .queue-tag--red    { color: #ff9098; }
[data-theme="dark"] .queue-tag--amber  { color: #ffcf7a; }
[data-theme="dark"] .queue-tag--cyan   { color: #74d9e6; }
.queue-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.queue-title { font-size: 15px; color: var(--ink); font-weight: 700; }
.queue-sub { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-note { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-time { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; }
.queue-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }

/* age pressure: nothing should quietly rot at the bottom of the queue */
.queue-card--warn { border-color: rgba(210,150,40,0.45); }
.queue-card--late { border-color: rgba(220,50,60,0.5); background: linear-gradient(90deg, rgba(220,50,60,0.05), transparent 40%); }
/* one photo on two live listings: red until somebody says it is fixed */
.queue-card--dup { border: 2px solid #d4323e; background: linear-gradient(90deg, rgba(220,50,60,0.14), rgba(220,50,60,0.04) 60%); box-shadow: 0 0 0 3px rgba(220,50,60,0.10); }
.queue-card--dup .queue-title { color: #b32530; }
.queue-card--dup .queue-tag--red { background: #d4323e; color: #fff; border-color: #d4323e; }
[data-theme="dark"] .queue-card--dup .queue-title { color: #ff9098; }
.dup-history { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 12px 16px; }
.dup-history summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dup-history .admin-table-wrap { margin-top: 12px; overflow-x: auto; }
.dup-fixed { color: #1f8a4c; font-weight: 600; }
.dup-kept { color: #b26a00; font-weight: 600; }
.queue-time--warn { color: #8e6410; font-weight: 700; }
.queue-time--late { color: var(--wine); font-weight: 800; }
[data-theme="dark"] .queue-time--warn { color: #ffcf7a; }
[data-theme="dark"] .queue-time--late { color: #ff9098; }
.queue-hint { font-size: 13px; margin: 0 0 14px; }
.queue-hint:empty { display: none; }
.queue-alert { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--wine); background: rgba(220,50,60,0.09); border: 1px solid rgba(220,50,60,0.28); border-radius: var(--r-pill); padding: 5px 13px; }
.queue-alert::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 11px; font-weight: 800; }
[data-theme="dark"] .queue-alert { color: #ff9098; }
.queue-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 64px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); text-align: center; }
.queue-empty-mark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(40,170,90,0.14); color: #1e7f47; font-size: 22px; font-weight: 700; }
.queue-empty b { font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* ---- showcase table extras ---- */
.col-check { width: 34px; }
.col-check input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--gold); }
.col-actions { white-space: nowrap; }
.col-actions > * + * { margin-left: 6px; }
.bulk-bar { position: sticky; top: 62px; z-index: 6; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--chip-bg); border: 1px solid var(--line-gold); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.bulk-bar[hidden] { display: none; }
.prof-thumb--sm { width: 34px; height: 44px; }
.tal-reason { font-size: 13px; line-height: 1.5; color: var(--wine); background: rgba(220,50,60,0.08); border-left: 3px solid var(--wine); border-radius: var(--r-sm); padding: 9px 12px; margin: 10px 0; }
.tal-ask { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--gold-deep); background: var(--chip-bg); border: 1px solid var(--line-gold); border-radius: var(--r-md); padding: 10px 13px; margin: 12px 0; }

/* ---- pre-publish checklist ---- */
.tal-check-section h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check-score { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: var(--r-pill); }
.check-score.ok { background: rgba(40,170,90,0.14); color: #1e7f47; }
.check-score.no { background: rgba(210,150,40,0.16); color: #8e6410; }
[data-theme="dark"] .check-score.ok { color: #74dfa1; }
[data-theme="dark"] .check-score.no { color: #ffcf7a; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 7px; }
.check-row { font-size: 13px; font-weight: 600; display: flex; align-items: baseline; gap: 8px; line-height: 1.45; }
.check-row i { font-style: normal; font-weight: 800; flex-shrink: 0; }
.check-row em { font-style: normal; font-weight: 500; color: var(--muted); }
.check-row.ok { color: #1e7f47; }
.check-row.no { color: var(--wine); }
[data-theme="dark"] .check-row.ok { color: #74dfa1; }
[data-theme="dark"] .check-row.no { color: #ff9098; }
.check-warn { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* ---- photo flags: new shots ride along with the listing decision ---- */
.photo-flag { position: absolute; left: 7px; bottom: 7px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-sm); }
.photo-flag--main { background: var(--gold); color: var(--on-gold); }
.photo-flag--new { background: #6b3fc0; color: #fff; }
.tal-modal-photo { position: relative; }
.tal-modal-photo--pending { box-shadow: 0 0 0 2px #6b3fc0 inset; }
.tal-pending-note { font-size: 13px; line-height: 1.5; color: #6b3fc0; background: rgba(130,80,220,0.09); border-left: 3px solid #6b3fc0; border-radius: var(--r-sm); padding: 9px 12px; margin: -8px 0 18px; }
[data-theme="dark"] .tal-pending-note { color: #c0a4ff; }
.cab-photo--pending { box-shadow: 0 0 0 2px #6b3fc0 inset; }
.cab-photo-tag--new { background: #6b3fc0; color: #fff; }
.tal-pending-badge { display: inline-block; font-size: 11px; font-weight: 700; vertical-align: middle; padding: 2px 7px; border-radius: var(--r-pill); background: rgba(130,80,220,0.12); color: #6b3fc0; border: 1px solid rgba(130,80,220,0.3); }
[data-theme="dark"] .tal-pending-badge { color: #c0a4ff; }

/* the district picker in the talents table: small and quiet, since it sits
   under the city on every row and is not what the eye is looking for */
.tal-district {
  margin-top: 3px; max-width: 150px; padding: 2px 4px;
  font-size: 11.5px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
.tal-district:disabled { opacity: 0.5; }

/* ---- side drawer ---- */
.adm-drawer { position: fixed; inset: 0; z-index: 130; }
.adm-drawer[hidden] { display: none; }
.adm-drawer-backdrop { position: absolute; inset: 0; background: rgba(15,18,24,0.5); }
.adm-drawer-card { position: absolute; top: 0; right: 0; height: 100%; width: min(660px, 100%); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line); box-shadow: -20px 0 60px var(--shadow); animation: drawerIn 0.22s var(--ease); }
@keyframes drawerIn { from { transform: translateX(28px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.adm-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line); }
.adm-drawer-title { display: flex; flex-direction: column; gap: 3px; font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--ink); min-width: 0; }
.adm-drawer-sub { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); }
.adm-drawer-head .tal-modal-close { position: static; flex-shrink: 0; }
.adm-drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 24px; }
.adm-drawer-foot { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); }
.adm-drawer-foot:empty { display: none; }
body.drawer-open { overflow: hidden; }
.drawer-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }

/* ---- mini list (account listings) ---- */
.mini-list { display: flex; flex-direction: column; gap: 6px; }
.mini-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; padding: 8px 12px; transition: 0.15s var(--ease); }
.mini-row:hover { border-color: var(--gold); }
.mini-main { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink); min-width: 0; }
.mini-go { color: var(--gold-deep); font-weight: 700; }

/* ---- account type switcher (admin user drawer) ---- */
.role-switch { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.role-opt {
  position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px 13px; cursor: pointer; transition: 0.15s var(--ease); font-family: var(--sans);
}
.role-opt:hover { border-color: var(--gold); }
.role-opt b { font-size: 14px; color: var(--ink); font-weight: 700; }
.role-opt span { font-size: 12px; color: var(--muted); line-height: 1.4; }
/* the account's present type is a label, not a choice */
.role-opt.is-current { border-color: var(--gold); background: var(--surface); cursor: default; }
.role-opt.is-current:hover { border-color: var(--gold); }
.role-now {
  position: absolute; top: 9px; right: 11px; font-size: 10px; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-deep);
}

/* ---- messages we sent this account ----
   Built out of the notes styling: they sit one above the other in the same
   drawer, and two kinds of card would read as two unrelated features rather
   than the record of one conversation. */
.sent-list { display: flex; flex-direction: column; gap: 8px; }
.sent-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; }
/* The unread ones are what the moderator is scanning for, so they carry the
   marker; a read message is a closed matter and needs no colour. */
.sent-item.is-waiting { border-left: 3px solid var(--gold); }
.sent-item p { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 5px 0 0; white-space: pre-wrap; }
.sent-meta { display: flex; align-items: baseline; gap: 10px; font-size: 12px; color: var(--muted); }
.sent-meta b { color: var(--ink); font-size: 13px; }
.sent-meta span { margin-left: auto; white-space: nowrap; }
.sent-foot { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-size: 12px; }
.sent-state { font-weight: 700; }
.sent-read { color: #2f9e44; }
.sent-waiting { color: var(--muted); }
.sent-gap { color: var(--muted); }

/* ---- internal notes ---- */
.note-add { display: flex; gap: 8px; margin-bottom: 12px; }
.note-add .admin-input { flex: 1; min-width: 0; }
.note-list { display: flex; flex-direction: column; gap: 8px; }
.note-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; }
.note-item p { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 5px 0 0; white-space: pre-wrap; }
.note-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.note-meta b { color: var(--ink); }
.note-del { margin-left: auto; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; line-height: 1; padding: 2px 4px; }
.note-del:hover { color: var(--wine); }

/* ---- permissions editor ----
   Every checkbox states its own consequence: whoever hands out access should
   not have to guess what "talents.moderate" means in practice. */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.perm-group { display: flex; flex-direction: column; gap: 2px; }
.perm-group-title { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.perm-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; transition: background 0.15s var(--ease), border-color 0.15s var(--ease); }
.perm-row:hover { background: var(--surface-2); border-color: var(--line); }
.perm-row input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.perm-row.is-disabled { opacity: 0.45; cursor: not-allowed; }
.perm-row.is-disabled:hover { background: none; border-color: transparent; }
.perm-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.perm-text b { font-size: 13.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.perm-text em { font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.perm-dep { display: block; font-size: 11.5px; text-decoration: none; color: var(--gold-deep); font-weight: 600; margin-top: 1px; }
.perm-risk { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--r-pill); background: rgba(220,50,60,0.1); color: var(--wine); border: 1px solid rgba(220,50,60,0.28); }
[data-theme="dark"] .perm-risk { color: #ff9098; }
.perm-row--risk:has(input:checked) { background: rgba(220,50,60,0.05); border-color: rgba(220,50,60,0.22); }
.perm-warn { color: var(--wine); background: rgba(220,50,60,0.07); border-left: 3px solid var(--wine); border-radius: var(--r-sm); padding: 10px 12px; }
[data-theme="dark"] .perm-warn { color: #ff9098; }

/* ready-made starting sets */
.preset-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.preset-btn { display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 13px; cursor: pointer; font-family: var(--sans); transition: 0.15s var(--ease); }
.preset-btn:hover { border-color: var(--gold); }
.preset-btn.active { border-color: var(--gold); background: var(--chip-bg); }
.preset-btn b { font-size: 13.5px; color: var(--ink); }
.preset-btn span { font-size: 12px; line-height: 1.45; color: var(--muted); }
.preset-btn--clear b { color: var(--muted); }

/* plain-language result of whatever is ticked right now */
.perm-summary-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.perm-summary-box h3 { margin-top: 0; }
.perm-summary { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.perm-summary li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.perm-summary li::before { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--gold-deep); }

.perm-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.perm-chip { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.perm-chip.is-on { background: var(--chip-bg); border-color: var(--line-gold); color: var(--gold-deep); }

/* ---- staff list ---- */
.role-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.role-chip.role-super { background: var(--chip-bg); border-color: var(--line-gold); color: var(--gold-deep); }
.state-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); }
.state-on { background: rgba(40,170,90,0.13); color: #1e7f47; }
.state-off { background: rgba(220,50,60,0.1); color: var(--wine); }
[data-theme="dark"] .state-on { color: #74dfa1; }
[data-theme="dark"] .state-off { color: #ff9098; }
.col-scope { display: flex; flex-wrap: wrap; gap: 6px; }
.perm-scope { font-size: 12px; font-weight: 600; color: var(--muted); }
.perm-scope--all { color: var(--gold-deep); font-weight: 700; }
.perm-scope--risk { color: var(--wine); font-weight: 700; cursor: help; }
[data-theme="dark"] .perm-scope--risk { color: #ff9098; }
.tag-you { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--r-pill); background: var(--chip-bg); color: var(--gold-deep); border: 1px solid var(--line-gold); }
tr.row-off { opacity: 0.6; }

/* ---- form clarity: hints and credential rows ---- */
.field-hint { display: block; font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 5px; font-weight: 400; }
.pass-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pass-row .admin-input { flex: 1; min-width: 180px; font-family: var(--mono, ui-monospace, "SF Mono", Menlo, monospace); }
.cred-box { display: block; margin: 8px 0; padding: 10px 12px; background: var(--surface-2); border: 1px dashed var(--line-gold); border-radius: var(--r-md); font-family: var(--mono, ui-monospace, "SF Mono", Menlo, monospace); font-size: 13px; color: var(--ink); user-select: all; }

/* ---- my profile ---- */
.profile-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px 24px; }
.admin-card .admin-h2 { margin-top: 0; }

/* ---- reason prompt modal ---- */
.tal-modal-card--sm { max-width: 460px; }
.ask-subject { width: 100%; margin-bottom: 8px; }
.ask-subject[hidden] { display: none; }
.reason-presets { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.reason-presets[hidden] { display: none; }
.reason-chip { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 6px 11px; transition: 0.15s var(--ease); }
.reason-chip:hover { border-color: var(--gold); color: var(--gold-deep); }
#askInput { width: 100%; resize: vertical; }
#askInput[hidden] { display: none; }
.btn-danger { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-danger:hover { background: var(--wine); border-color: var(--wine); filter: brightness(1.1); color: #fff; }

/* ---- toast ---- */
.admin-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; max-width: 90vw; background: var(--ink); color: var(--bg); border-radius: var(--r-md); padding: 12px 20px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 34px rgba(0,0,0,0.28); animation: toastIn 0.2s var(--ease); }
.admin-toast[hidden] { display: none; }
.admin-toast.is-error { background: var(--wine); color: #fff; }
@keyframes toastIn { from { transform: translate(-50%, 12px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ---- messages: search above the dialog list ---- */
.msg-list-wrap { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; }
.msg-list-wrap .admin-input { margin: 12px; min-width: 0; }
.msg-list-wrap .msg-list { border-right: none; flex: 1; }

/* ---- logs: who did it ---- */
.act-actor { color: var(--gold-deep); font-weight: 600; }
.log-staff { background: var(--chip-bg); color: var(--gold-deep); }
.log-review, .log-report { background: var(--surface-2); color: var(--ink-soft); }

@media (max-width: 1080px) {
  /* keep the waiting time visible — it is the whole point of the ordering */
  .queue-card { grid-template-columns: 96px 1fr auto; grid-template-areas: "tag main time" "acts acts acts"; row-gap: 12px; }
  .queue-tag { grid-area: tag; align-self: start; }
  .queue-main { grid-area: main; }
  .queue-time { grid-area: time; align-self: start; }
  .queue-actions { grid-area: acts; justify-content: flex-start; }
  .perm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* fixed bar height keeps the drawer offset below honest */
  .admin-top { height: var(--adm-top-h); padding: 0 12px; gap: 10px; }
  .admin-burger { display: inline-flex; flex: none; width: 40px; height: 40px; }
  .admin-burger[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-deep); background: var(--chip-bg); }
  .admin-top-brand { flex: 1 1 auto; gap: 8px; }
  .admin-top-brand .brand-mark { font-size: 17px; }
  .admin-top-actions { gap: 8px; }

  .admin-shell { grid-template-columns: 1fr; min-height: calc(100vh - var(--adm-top-h)); }
  /* drawer sits under the bar so the burger stays reachable to close it */
  .admin-nav {
    position: fixed; top: var(--adm-top-h); left: 0; z-index: 19;
    width: min(84vw, 280px);
    height: calc(100% - var(--adm-top-h));
    height: calc(100dvh - var(--adm-top-h));   /* survives the mobile URL bar sliding away */
    flex-direction: column; flex-wrap: nowrap; gap: 3px;
    padding: 12px 12px calc(20px + env(safe-area-inset-bottom));
    border-right: 1px solid var(--line); border-bottom: none;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-100%); visibility: hidden;
    box-shadow: 6px 0 24px var(--shadow);
    transition: transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .admin-nav.is-open { transform: none; visibility: visible; transition-delay: 0s, 0s; }
  .admin-nav-item { white-space: normal; min-height: 44px; padding: 11px 13px; }
  .admin-nav-item.active { box-shadow: inset 3px 0 0 var(--gold); }
  .admin-nav-group { padding: 14px 13px 5px; }
  .admin-nav-group:first-child { padding-top: 2px; }
  .admin-nav-scrim { top: var(--adm-top-h); }

  .admin-main { padding: 20px 16px 48px; }
  .admin-whoami, .admin-link-out { display: none; }
  .msg-layout { grid-template-columns: 1fr; }
  .msg-list-wrap { border-right: none; border-bottom: 1px solid var(--line); }
  .msg-list-wrap .msg-list { max-height: 260px; }
  .adm-drawer-card { width: 100%; }
  .bulk-bar { position: static; }
  /* thumb-sized controls and a drawer footer that never scrolls out of reach */
  .admin-btn-ghost, .admin-btn-mini { min-height: 38px; }
  .adm-drawer-foot { position: sticky; bottom: 0; gap: 7px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .adm-drawer-foot .btn, .adm-drawer-foot .admin-btn-ghost { flex: 1 1 auto; justify-content: center; text-align: center; }
  .adm-drawer-body { padding: 16px 16px 20px; }
  .adm-drawer-head { padding: 14px 16px 12px; }
  .admin-table { font-size: 13.5px; }
  .admin-table th, .admin-table td { padding: 11px 12px; }
  .preset-row { grid-template-columns: 1fr; }
  .queue-actions { width: 100%; }
  .queue-actions .admin-btn-mini, .queue-actions .admin-btn-ghost { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 560px) {
  .queue-card { grid-template-columns: 1fr auto; grid-template-areas: "tag time" "main main" "acts acts"; gap: 10px; padding: 13px 14px; }
  .queue-tag { justify-self: start; }
  .queue-sub, .queue-note { white-space: normal; }
  .admin-h1 { font-size: 24px; }
  .check-list { grid-template-columns: 1fr; }
  .tal-modal-photos { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
}

@media (max-width: 400px) {
  /* the role badge would squeeze the brand into an ellipsis; it is still on «Мой профиль» */
  .admin-top-brand .admin-tag { display: none; }
  .admin-top { padding: 0 10px; gap: 8px; }
  .admin-logout { padding: 8px 11px; }
}


/* =========================================================
   STORY COMPOSER  (story-composer.js)
   The row of live stories with an "add" tile, and the sheet that previews a
   pick before it is published.
   ========================================================= */
/* stories sit above the card grid rather than in it, but have to line up with
   it exactly, so they borrow the grid's own width and add the gap below */
.cab-grid-lead { margin-bottom: 20px; }
.sbx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sbx-count { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.sbx-lead { margin: 4px 0 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.sbx-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.sbx-locked { margin: 0; font-size: 13px; color: var(--ink-soft); }

.sbx-add, .sbx-item { flex: none; width: 92px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sbx-add-ring { display: flex; align-items: center; justify-content: center; width: 92px; height: 164px; border-radius: var(--r-md); border: 2px dashed var(--line); color: var(--gold); font-size: 30px; line-height: 1; background: var(--bg-soft); }
.sbx-add:hover .sbx-add-ring { border-color: var(--gold); }
.sbx-add[disabled] { opacity: 0.5; cursor: default; }
.sbx-add-label, .sbx-views { font-size: 11px; color: var(--ink-soft); text-align: center; line-height: 1.3; }

.sbx-thumb { position: relative; display: block; width: 92px; height: 164px; border-radius: var(--r-md); background: var(--line) center/cover no-repeat; overflow: hidden; }
.sbx-item:hover .sbx-thumb { outline: 2px solid var(--gold); outline-offset: 1px; }
.sbx-play { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(16,15,18,0.66); color: #fff; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.sbx-left { position: absolute; left: 5px; right: 5px; bottom: 5px; padding: 3px 0; border-radius: 999px; background: rgba(16,15,18,0.72); color: #fff; font-size: 10px; font-weight: 600; text-align: center; }

/* ---- the sheet ---- */
.sbx-sheet { position: fixed; inset: 0; z-index: 220; background: rgba(12,14,19,0.96); display: flex; align-items: center; justify-content: center; padding: 12px; }
.sbx-sheet[hidden] { display: none; }
.sbx-sheet-inner { width: min(420px, 100%); display: flex; flex-direction: column; gap: 10px; }
.sbx-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sbx-bar-title { color: #fff; font-weight: 600; font-size: 15px; }
.sbx-text-btn { background: none; border: 0; color: #fff; font-size: 14px; cursor: pointer; padding: 8px 2px; }

/* the same 9:16 the server produces: the picture contained, a blurred copy of
   it filling whatever is left, so the preview is not a flattering lie about
   how a landscape shot will sit in a phone-shaped frame */
/* the width is derived from the height the viewport can spare, not the other
   way round: a 9:16 box sized from the available width is taller than any
   phone screen, and the publish button ends up below the fold */
.sbx-stage { position: relative; width: min(100%, calc((100vh - 230px) * 9 / 16)); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: var(--r-md); overflow: hidden; background: #000; }
.sbx-blur { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; background-size: cover; background-position: center; filter: blur(22px); opacity: 0.85; }
.sbx-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.sbx-note { margin: 0; text-align: center; color: #f3c969; font-size: 12px; }
.sbx-queue { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.sbx-q { position: relative; flex: none; }
.sbx-q-pick { width: 46px; height: 62px; border-radius: 8px; border: 2px solid transparent; background: #222 center/cover no-repeat; color: #fff; font-size: 12px; cursor: pointer; }
.sbx-q.on .sbx-q-pick { border-color: var(--gold); }
.sbx-q-drop { position: absolute; top: -5px; right: -5px; width: 19px; height: 19px; border: 0; border-radius: 50%; background: #d61f3d; color: #fff; font-size: 12px; line-height: 1; cursor: pointer; }
.sbx-q-add { flex: none; width: 46px; height: 62px; border-radius: 8px; border: 2px dashed rgba(255,255,255,0.35); background: none; color: #fff; font-size: 20px; cursor: pointer; }

.sbx-bar-progress { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.22); overflow: hidden; }
.sbx-bar-progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 120ms linear; }
.sbx-step { margin: 0; text-align: center; color: #fff; font-size: 13px; }
.sbx-sheet .sbx-err { color: #ff8a9b; text-align: center; }

@media (max-width: 420px) {
  .sbx-add, .sbx-item { width: 80px; }
  .sbx-add-ring, .sbx-thumb { width: 80px; height: 142px; }
}

/* ---- the listing's video: on the profile page and in the model's wizard ---- */
/* her clip is a slide of the carousel (see profile.js): same frame as the photos */
.pp-slide-video { background: #000; cursor: default; display: flex; align-items: center; justify-content: center; }
.pp-slide-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* the corner ribbon, the badges and the heart would sit on the player's own controls */
.pp-stage.is-video .pp-dots, .pp-stage.is-video .pp-stage-fav, .pp-stage.is-video .pp-verified, .pp-stage.is-video .pp-badges { display: none; }
.pp-thumb-video { position: relative; background-color: #111; }
.pp-thumb-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(20,25,35,0.62) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6.5v11l9-5.5z' fill='white'/></svg>") center / 18px no-repeat; }
.setup-video { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.setup-video-title { margin: 0 0 6px; font-size: 16px; }
.setup-video-list { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; }
.setup-video-item { position: relative; width: 150px; aspect-ratio: 9 / 16; border-radius: var(--r-md, 12px); overflow: hidden; background: #000; border: 1px solid var(--line); }
.setup-video-item video { width: 100%; height: 100%; object-fit: contain; display: block; }
.setup-video-item.is-pending::after { content: ""; position: absolute; inset: 0; box-shadow: 0 0 0 2px var(--gold-deep) inset; pointer-events: none; border-radius: inherit; }
/* ---- admin: interest column in the showcase ---- */
.admin-toolbar .seg-tabs { margin: 0; padding: 0; border: 0; }
.stat-delta { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.stat-delta.is-up { color: #1f9d57; }
.stat-delta.is-down { color: #d64545; }
.tal-interest { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.tal-int-row { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.tal-int-row b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.tal-int-ico { font-size: 12px; width: 16px; text-align: center; }
.tal-int-main b { font-size: 17px; }
.tal-int-conv { margin-left: auto; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--ink); border-radius: var(--r-pill); font-size: 11px; font-weight: 700; padding: 2px 8px; }
.tal-interest.is-quiet .tal-int-main b { color: var(--ink-soft); font-weight: 600; }
.tal-int-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.tal-int-chip { border-radius: var(--r-pill); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; }
.tal-int-chip b { font-weight: 800; }
.tal-int-telegram { background: #229ed9; }
.tal-int-whatsapp { background: #25a755; }
.tal-int-viber { background: #7360f2; }
.tal-int-chat { background: var(--gold); color: var(--on-gold); }
/* ---- admin messages: a calmer, roomier dialog view ---- */
.msg-layout { grid-template-columns: 340px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: calc(100vh - 170px); min-height: 460px; }
.msg-list-wrap, .msg-thread-wrap { min-height: 0; }
.msg-list-wrap .msg-list { max-height: none; min-height: 0; }
.msg-thread { max-height: none; min-height: 0; padding: 18px 22px; gap: 4px; scroll-behavior: smooth; }
.msg-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.msg-filters .seg-tab { padding: 5px 9px; font-size: 12px; gap: 5px; }
.conv-item { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; }
.conv-ava { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.conv-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conv-top { justify-content: space-between; gap: 8px; }
.conv-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-item .conv-time { grid-row: auto; grid-column: auto; align-self: auto; flex: none; font-weight: 400; }
.conv-who { display: flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-prev, .conv-draft { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.conv-prev i { font-style: normal; color: var(--gold-deep); }
.conv-draft { color: #b45309; font-weight: 600; }
.conv-draft.is-live { color: #1f9d57; }
.conv-item.is-unread .conv-top b, .conv-item.is-unread .conv-prev { color: var(--ink); font-weight: 700; }
.msg-thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.msg-head-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.3; }
.msg-head-main b { font-size: 15px; }
.msg-head-link { margin-left: 6px; font-weight: 700; color: var(--gold-deep); text-decoration: none; }
.msg-back { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-pill); width: 34px; height: 34px; cursor: pointer; font-size: 16px; color: var(--ink); }
.msg-thread .cmsg { max-width: 78%; margin-top: 6px; }
.msg-thread .cmsg-bubble { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-thread .cmsg-day { margin: 14px 0 6px; }
/* what the visitor wrote and did not send: visibly not a message */
.msg-thread .cmsg-draft .cmsg-bubble { background: transparent; border: 1.5px dashed #d97706; color: var(--ink-soft); font-style: italic; }
.msg-thread .cmsg-draft .cmsg-meta { color: #b45309; font-weight: 600; }
.msg-thread .cmsg-draft.is-live .cmsg-bubble { border-color: #1f9d57; }
.msg-thread .cmsg-draft.is-live .cmsg-meta { color: #1f9d57; }
.msg-reply { align-items: flex-end; }
.msg-reply textarea { flex: 1; resize: none; max-height: 140px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); padding: 11px 14px; font-family: var(--sans); font-size: 14px; line-height: 1.4; }
.msg-reply textarea:focus { outline: none; border-color: var(--gold); }
@media (max-width: 900px) {
  /* one pane at a time: the list, or the dialog opened from it */
  .msg-layout { grid-template-columns: minmax(0, 1fr); height: calc(100vh - 150px); }
  .msg-layout .msg-thread-wrap { display: none; }
  .msg-layout.has-thread .msg-thread-wrap { display: flex; }
  .msg-layout.has-thread .msg-list-wrap { display: none; }
  .msg-list-wrap { border-bottom: none; }
  .msg-list-wrap .msg-list { max-height: none; }
  .msg-back { display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .msg-thread .cmsg { max-width: 88%; }
  .msg-thread { padding: 14px; }
}
.msg-head-name { display: flex; align-items: center; gap: 6px; }
.msg-head-link { margin-left: 0; }
.msg-filters .seg-tab { white-space: nowrap; }

/* ---- «Мой профиль»: шапка, личная статистика, команда ---- */
.me-hero { display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-bottom: 26px; border: 1px solid var(--line-gold); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--chip-bg), var(--surface)); }
.me-ava { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-family: var(--serif); font-size: 28px; font-weight: 800; }
.me-name { font-family: var(--serif); font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.me-sub { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.me-hero-main { min-width: 0; }
.me-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.me-head .admin-sub { margin: 2px 0 0; }
.me-head .seg-tabs { margin: 0; padding: 0; border: 0; }
.me-stats { margin-bottom: 26px; }
.me-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.me-card { position: relative; gap: 4px; }
.me-card-ico { font-size: 20px; line-height: 1; margin-bottom: 4px; }
.me-card .stat-val { font-size: 40px; }
.me-card-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.me-team { margin-bottom: 26px; }
.me-team .admin-sub { margin: 2px 0 12px; }
.me-team th.num, .me-team td.num { text-align: center; white-space: normal; }
.me-team td.num { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.me-team td.is-top { color: var(--gold-deep); background: var(--chip-bg); }
.me-team tr.is-off { opacity: 0.55; }
.me-team tr.me-total td { border-top: 2px solid var(--line-gold); }
@media (max-width: 700px) {
  .me-hero { padding: 16px; gap: 14px; }
  .me-ava { width: 52px; height: 52px; font-size: 22px; }
  .me-name { font-size: 20px; }
  .me-grid { grid-template-columns: repeat(2, 1fr); }
  .me-card .stat-val { font-size: 32px; }
  .me-head .seg-tabs { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .me-head .seg-tab { white-space: nowrap; }
}

/* staff contest (profile panel) */
.contest { margin-bottom: 26px; border-color: var(--line-gold); background: linear-gradient(135deg, var(--chip-bg), var(--surface)); }
.contest-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contest-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); margin-bottom: 4px; }
.contest-count { font-family: var(--serif); font-size: 18px; color: var(--muted, #8a8f9a); }
.contest-count b { font-size: 40px; color: var(--gold-deep); letter-spacing: -.02em; }
.contest-bar { height: 14px; border-radius: 999px; background: rgba(127,127,127,.2); overflow: hidden; margin: 14px 0 10px; }
.contest-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .4s; }
.contest.is-done .contest-bar i { background: linear-gradient(90deg, #1f9d55, #34c77b); }
.contest-line { margin: 0 0 4px; font-weight: 600; }
.contest-rule { font-size: 13px; margin: 0 0 10px; }
.contest-me { margin: 8px 0 4px; }
.contest-team { margin-top: 12px; }
.contest-team th.num, .contest-team td.num { text-align: center; }

/* ---------- agency: the cabinet card ---------- */
.cab-ag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cab-ag-top .reg-card-title { margin: 0; }
.cab-ag-st { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2, #f1ede6); color: var(--muted); white-space: nowrap; }
.cab-ag-st.is-live { background: rgba(47, 158, 68, 0.14); color: #2f9e44; }
.cab-ag-st.is-pending, .cab-ag-st.is-live_pending { background: rgba(217, 119, 6, 0.14); color: #b45309; }
.cab-ag-st.is-rejected, .cab-ag-st.is-hidden { background: rgba(179, 38, 30, 0.12); color: #b3261e; }
.cab-ag-logo { display: flex; align-items: center; gap: 16px; margin: 6px 0 18px; }
.cab-ag-logo-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cab-ag-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.ag-note { margin: 0 0 14px; }
.ag-avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2, #f1ede6); border: 1px solid var(--line); }
.ag-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ag-avatar-ph { font-family: var(--serif, inherit); font-size: 34px; font-weight: 700; color: var(--gold); }

/* ---------- agency: the public pages ---------- */
.ag-hero .np-hero-inner { max-width: none; border-left: 0; padding: 34px 0 40px; }
.ag-hero .na-crumbs { padding: 22px 0 0; }
.ag-head { display: flex; align-items: center; gap: 26px; padding: 22px 0 6px; }
.ag-head .ag-avatar { width: 124px; height: 124px; }
.ag-head .ag-avatar-ph { font-size: 52px; }
.ag-head-text { min-width: 0; }
.ag-title { margin: 6px 0 8px; overflow-wrap: anywhere; }
.ag-meta { margin: 0; color: var(--muted); font-size: 15px; }
.ag-prose p { margin: 0 0 14px; }
.ag-prose p:last-child { margin-bottom: 0; }
.ag-more { margin-top: 22px; }
.ag-more a { color: var(--gold); font-weight: 600; text-decoration: none; }
.ag-more a:hover { text-decoration: underline; }
.ag-cities { margin: 18px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ag-cities a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); text-decoration: none; }
.ag-cities a:hover { border-color: var(--gold); color: var(--gold); }
.ag-empty { color: var(--muted); padding: 18px 0; }
.ag-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ag-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 4px 16px var(--shadow); transition: transform 0.18s var(--ease), border-color 0.18s var(--ease); }
.ag-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.ag-card-top { display: flex; align-items: center; gap: 14px; }
.ag-card .ag-avatar { width: 64px; height: 64px; }
.ag-card .ag-avatar-ph { font-size: 26px; }
.ag-card-name { margin: 0; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.ag-card-sub { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.ag-card-about { margin: 0; color: var(--ink-2, var(--ink)); font-size: 14px; line-height: 1.55; }
.ag-card-thumbs { display: flex; gap: 8px; }
.ag-card-thumbs img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.pp-agency { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.pp-agency a { color: var(--gold); font-weight: 600; text-decoration: none; }
.pp-agency a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .ag-head { gap: 16px; }
  .ag-head .ag-avatar { width: 84px; height: 84px; }
  .ag-head .ag-avatar-ph { font-size: 36px; }
  .ag-list { grid-template-columns: 1fr; }
}

/* ---- admin: the checker (owner only) ---- */
.chk-wrap { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 24px; align-items: start; }
.chk-text { width: 100%; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.5; resize: vertical; min-height: 280px; }
.chk-bar { margin: 12px 0 0; align-items: center; }
.chk-msg { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.chk-msg.is-bad { color: var(--danger, #c0283d); }
.chk-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.chk-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 16px; min-width: 96px; }
.chk-stat b { display: block; font-size: 22px; font-weight: 700; color: var(--ink); }
.chk-stat span { font-size: 12px; color: var(--muted); }
.chk-stat.chk-ok b { color: #1d8a4a; }
.chk-stat.chk-no b { color: var(--danger, #c0283d); }
.chk-stat.chk-warn b { color: #b7791f; }
.chk-table tr.chk-bad td { color: #b7791f; }
@media (max-width: 860px) { .chk-wrap { grid-template-columns: 1fr; } }

/* ---- admin: domains (owner only) ---- */
.dom-now { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; margin: 4px 0 8px; }
.dom-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dom-primary { font-size: 24px; font-weight: 700; color: var(--ink); word-break: break-all; }
.dom-src { font-size: 13px; color: var(--muted); }
.dom-bar { margin: 0 0 8px; align-items: center; flex-wrap: wrap; }
.dom-bar .admin-input { min-width: 260px; flex: 1 1 260px; max-width: 420px; }
.dom-steps { margin: 0 0 14px; padding-left: 22px; line-height: 1.6; color: var(--ink-soft); max-width: 820px; }
.dom-steps li { margin-bottom: 8px; }
.dom-steps code, .admin-sub code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 13px; }
.admin-table-wrap + .dom-bar { margin-top: 12px; }
.dom-steps + .admin-sub { margin-top: 16px; }
.dom-ok { color: #1d8a4a; }
.dom-warn { color: #b7791f; }

/* extra services: the model's picker and the profile block */
.svc-list { display: grid; gap: 8px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line, rgba(128,128,128,.2)); }
.svc-row:last-child { border-bottom: 0; }
.svc-name { font-weight: 600; }
.svc-pay { grid-column: 1 / -1; display: flex; gap: 8px; }
.svc-pay[hidden] { display: none; }
.svc-price { width: 140px; }
.pp-extra-h { margin: 10px 0 6px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.pp-extras .pp-rate-table td:last-child { text-align: right; white-space: nowrap; }

/* free placement + paid promotion (October 2026) */
.cab-shop-stat .btn { align-self: flex-start; margin-top: 8px; }
.cab-shop-stat.is-bumps { background: rgba(31,138,76,0.08); }
.cab-shop-item.is-best { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset; background: rgba(224,161,0,0.06); }
.cab-promo-best { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; vertical-align: middle; }
.cab-promo-popular .cab-promo-name, .cab-promo-max .cab-promo-name { color: var(--gold-deep); }
.cab-promo-chip.is-bump { background: #1f8a4c; color: #fff; }
.cab-mgr-due { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-md); background: rgba(224,161,0,0.12); font-size: 14px; font-weight: 600; }
.cab-back { display: inline-block; margin-bottom: 8px; font-size: 14px; color: var(--muted); text-decoration: none; }
.cab-back:hover { color: var(--ink); }

/* admin showcase: the Porn Star toggle when it is on */
.tal-pornstar.is-on { color: #c2187a; border-color: #ff2e93; font-weight: 700; }

/* a task whose text is the point (an agency's request): wrapped whole, long words and links included */
.queue-card--full { align-items: start; }
.queue-card--full .queue-sub, .queue-card--full .queue-note { white-space: pre-wrap; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; word-break: break-word; }

/* admin showcase: "first on the home page" when it is on */
.tal-featured.is-on { color: #1f6fd0; border-color: #1f6fd0; font-weight: 700; }

/* the listing's place in its city's catalogue, in the cabinet */
.cab-pos .pos-down { color: var(--wine, #c0283d); font-weight: 600; }
.cab-pos .pos-up { color: #1f8a4c; font-weight: 600; }

/* the partner programme in the cabinet */
.cab-partner .ref-links { display: grid; gap: 12px; margin-bottom: 12px; }
.cab-partner .ref-link { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 6px; }
.cab-partner .ref-name { font-weight: 700; border: 0; border-bottom: 1px dashed var(--line); background: transparent; padding: 2px 0; }
.cab-partner .ref-url { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; }
.cab-partner .ref-url input { flex: 1 1 auto; min-width: 0; }
.cab-partner .ref-meta { font-size: 13px; color: var(--muted); }
.cab-partner .ref-payout textarea { width: 100%; }
.cab-partner .cab-mgr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.cab-partner .cab-stat span { overflow-wrap: normal; word-break: keep-all; hyphens: auto; }
.cab-partner input, .cab-partner textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--r-sm, 6px); font: inherit; background: var(--surface); color: var(--ink); }
.cab-partner .ref-name { padding: 2px 0; border-width: 0 0 1px; border-radius: 0; }

/* ---- paid services panel, report, big photo, services chips in the list ---- */
.svc-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 190px; }
.svc-chip { display: inline-block; font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: var(--r-pill); white-space: nowrap; color: var(--ink-soft); }
.svc-chip.svc-premium { border-color: var(--gold); color: var(--gold-deep); }
.svc-chip.svc-top { border-color: #339af0; color: #1c7ed6; }
.svc-chip.svc-vip { border-color: #be4bdb; color: #9c36b5; }
.svc-chip.svc-ps { border-color: #e64980; color: #c2255c; }
.svc-chip.svc-soft { border-style: dashed; opacity: .8; }
.svc-lead { margin: 0 0 12px; color: var(--ink-soft); font-size: 13.5px; }
.svc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r-md, 12px); background: var(--surface); }
.svc-row.is-on { border-color: #51cf66; background: color-mix(in srgb, #51cf66 8%, var(--surface)); }
.svc-row.is-on .svc-state { color: #2f9e44; }
.svc-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc-main b { font-size: 15px; }
.svc-main small, .svc-bundles small { color: var(--ink-soft); font-size: 12.5px; line-height: 1.35; }
.svc-state { font-size: 13px; font-weight: 600; color: var(--ink); }
.svc-row:not(.is-on) .svc-state { color: var(--ink-soft); font-weight: 500; }
.svc-bad { color: #e03131; }
.svc-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.svc-bundles { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--r-md, 12px); }
.svc-bundles-t { font-weight: 600; font-size: 14px; }
.svc-bundles .svc-acts { justify-content: flex-start; }
.tal-modal-photo[data-zoom], .prof-thumb.is-zoomable { cursor: zoom-in; }
.adm-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(8, 6, 7, .92); display: flex; flex-direction: column; }
.adm-lb-stage { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 56px 64px 8px; }
.adm-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; cursor: zoom-in; }
.adm-lb-stage img.is-zoomed { max-width: none; max-height: none; width: auto; cursor: zoom-out; margin: auto; }
.adm-lb-x { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; }
.adm-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; cursor: pointer; z-index: 2; }
.adm-lb-prev { left: 10px; } .adm-lb-next { right: 10px; }
.adm-lb-x:hover, .adm-lb-nav:hover { background: rgba(255,255,255,.28); }
.adm-lb-bar { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 10px 16px 16px; color: #cfc4c8; font-size: 13px; flex-wrap: wrap; }
.adm-lb-bar a { color: #fff; }
@media (max-width: 720px) {
  .svc-row { flex-direction: column; align-items: stretch; }
  .svc-acts { justify-content: flex-start; }
  .adm-lb-stage { padding: 56px 8px 8px; }
  .adm-lb-hint { display: none; }
}

/* the list of listings is wide: its actions stay in view while the rest scrolls */
/* the list is built to fit the screen, not to scroll sideways: tight cells, nothing pinned */
#talTable th, #talTable td { padding: 10px 8px; }
#talTable td { font-size: 13px; }
#talTable .prof-thumb { width: 44px; height: 56px; }
#talTable td.col-actions { white-space: normal; min-width: 96px; }
#talTable td.col-actions > * { margin: 0 4px 4px 0; }
#talTable .tal-district { max-width: 150px; }
@media (max-width: 1099px) {
  #talTable td.col-actions { min-width: 150px; white-space: normal; }
  #talTable td.col-actions > * { margin: 0 6px 6px 0; }
}

/* ---- AI read of a listing ---- */
.ai-chip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); vertical-align: middle; }
.ai-chip.ai-ok, .ai-score.ai-ok { color: #2f9e44; border-color: #51cf66; }
.ai-chip.ai-mid, .ai-score.ai-mid { color: #e67700; border-color: #fcc419; }
.ai-chip.ai-bad, .ai-score.ai-bad { color: #e03131; border-color: #ff8787; }
.ai-panel .ai-when { font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; }
.ai-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.ai-head p { margin: 2px 0 0; color: var(--ink-soft); font-size: 13.5px; }
.ai-score { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--line); display: flex; align-items: baseline; justify-content: center; padding-top: 14px; }
.ai-score b { font-size: 24px; line-height: 1; } .ai-score small { font-size: 11px; color: var(--ink-soft); }
.ai-verdict.ai-ok { color: #2f9e44; } .ai-verdict.ai-mid { color: #e67700; } .ai-verdict.ai-bad { color: #e03131; }
.ai-issues { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.ai-issues li { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px; border-left: 3px solid var(--line); }
.ai-issues li em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-right: 6px; }
.ai-sev-high { border-left-color: #e03131 !important; } .ai-sev-high em { color: #e03131; }
.ai-sev-medium { border-left-color: #fcc419 !important; } .ai-sev-medium em { color: #e67700; }
.ai-good { font-size: 13.5px; margin: 0 0 10px; color: var(--ink-soft); }
.ai-photos { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ai-photo i { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: #ffe3e3; color: #c92a2a; margin-left: 4px; }
.ai-photo small { color: var(--ink-soft); }
.ai-q-poor b { color: #e03131; }
.ai-foot { margin: 10px 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tal-modal-photo.is-flagged { outline: 3px solid #e03131; outline-offset: -3px; }

/* ---- the cabinet in tabs, the overview, the guide to the shop ---- */
.cab-tabs { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; max-width: 940px; margin: 0 auto 18px; padding: 6px; overflow-x: auto; scrollbar-width: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill, 999px); box-shadow: 0 4px 14px var(--shadow); -webkit-overflow-scrolling: touch; }
.cab-tabs::-webkit-scrollbar { display: none; }
.cab-tab { flex: 1 0 auto; position: relative; border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: var(--r-pill, 999px); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.cab-tab:hover { color: var(--ink); background: var(--surface-2); }
.cab-tab.is-on { background: var(--gold); color: #fff; }
.cab-tab-dot { font-style: normal; font-size: 11px; font-weight: 800; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fff; color: var(--gold-deep); }
.cab-tab:not(.is-on) .cab-tab-dot { background: var(--gold); color: #fff; }
.cab-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cab-kpi-tile { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md, 14px); background: var(--surface-2); font: inherit; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.cab-kpi-tile:hover { border-color: var(--gold); transform: translateY(-1px); }
.cab-kpi-tile b { font-size: 28px; line-height: 1; color: var(--gold-deep); }
.cab-kpi-tile span { font-size: 13px; color: var(--ink-soft); }
.cab-nudge-card { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-md, 14px); border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.cab-nudge-card > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cab-nudge-card b { font-size: 16px; } .cab-nudge-card span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }
.cab-nudge-card .btn { flex: none; }
.cab-now { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cab-now .reg-card-title { margin-bottom: 8px; }
.cab-now .cab-promo-current { margin: 0; }
.cab-guide-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cab-guide-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md, 14px); }
.cab-guide-steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.cab-guide-what { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.cab-guide-what dt { font-weight: 700; font-size: 14px; } .cab-guide-what dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 720px) {
  .cab-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .cab-guide-steps, .cab-guide-what { grid-template-columns: 1fr; }
  .cab-nudge-card { flex-direction: column; align-items: stretch; }
  .cab-tab { padding: 9px 13px; }
}

/* the guide to the shop sits under the services, folded: the services come first */
.cab-guide > summary { cursor: pointer; list-style: none; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab-guide > summary::-webkit-details-marker { display: none; }
.cab-guide > summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gold-deep); font-weight: 400; }
.cab-guide[open] > summary::after { content: "\2212"; }
.cab-guide[open] > summary { margin-bottom: 14px; }

.ag-chip, .who-chip { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 600; line-height: 1.5; padding: 0 8px; margin-left: 6px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.ag-chip { color: #1c7ed6; border-color: #74c0fc; background: color-mix(in srgb, #74c0fc 12%, var(--surface)); }
.who-chip { color: #2f9e44; border-color: #8ce99a; background: color-mix(in srgb, #8ce99a 12%, var(--surface)); }


/* narrower cells, so the whole list fits without going sideways */
#talTable .tal-interest { min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 4px 10px; }
#talTable .tal-int-lab { display: none; }
#talTable .tal-int-chips { width: 100%; }
#talTable .tal-verify-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; }
#talTable .tal-verify-actions .admin-btn-ghost { padding: 3px 8px; font-size: 12px; }
#talTable .svc-chips { max-width: 140px; }
#talTable .tal-district { max-width: 120px; }
#talTable td.col-actions .admin-btn-ghost { padding: 4px 8px; font-size: 12px; }
#talTable td.col-actions { min-width: 0; width: 1%; }
#talTable td.col-actions > * { display: block; margin: 0 0 4px; }
#talTable td.col-actions > .admin-btn-mini { display: inline-block; margin-right: 4px; }
#talTable td:nth-child(2) { width: 1%; padding-left: 4px; padding-right: 4px; }
#talTable .svc-chips { max-width: 120px; }
#talTable td:nth-child(3) { overflow-wrap: anywhere; }
#talTable td:nth-child(4), #talTable td:nth-last-child(2) { white-space: nowrap; }

#talTable .tal-interest { flex-direction: column; gap: 2px; min-width: 84px; max-width: 110px; }
#talTable .tal-int-row { gap: 4px; font-size: 12px; }
#talTable .tal-int-row b { font-size: 13px; }
#talTable .tal-int-conv { display: none; }
#talTable .tal-int-chips { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 2px; }
#talTable .tal-int-chip { font-size: 10.5px; padding: 1px 6px; }

/* the model book, a page at a time */
.lead-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 14px 0 4px; font-size: 13px; color: var(--ink-soft); }
.lead-pg-nav { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lead-pg { min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.lead-pg:hover:not([disabled]) { border-color: var(--gold); }
.lead-pg.is-on { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700; }
.lead-pg[disabled] { opacity: .4; cursor: default; }
.lead-pg-gap { padding: 0 4px; color: var(--muted); }
.lead-pg-size { display: inline-flex; align-items: center; gap: 8px; }
.lead-pg-size select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
@media (max-width: 700px) { .lead-pager { justify-content: center; } .lead-pg-info { width: 100%; text-align: center; } }

/* Telegram and mail next to an account */
.ct-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ct-chip { font-size: 11px; font-weight: 600; line-height: 1.5; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.ct-chip.ct-ok { color: #2f9e44; border-color: #8ce99a; background: color-mix(in srgb, #8ce99a 12%, var(--surface)); }
.ct-chip.ct-mid { color: #e67700; border-color: #ffd43b; background: color-mix(in srgb, #ffd43b 12%, var(--surface)); }
.ct-chip.ct-bad { color: #e03131; border-color: #ffa8a8; background: color-mix(in srgb, #ffa8a8 14%, var(--surface)); }
.ct-chip.ct-no { color: #868e96; border-style: dashed; }
.mc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mc-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mc-tile b { font-size: 24px; line-height: 1; } .mc-tile span { font-size: 12px; color: var(--ink-soft); }
.mc-tile.mc-ok b { color: #2f9e44; } .mc-tile.mc-bad b { color: #e03131; }
.mc-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.mc-bar i { display: block; height: 100%; background: var(--gold); transition: width .4s; }
.mc-letter { white-space: pre-wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font: 13px/1.5 var(--sans); }
.mc-test { display: flex; gap: 8px; } .mc-test input { flex: 1; min-width: 0; }
@media (max-width: 700px) { .mc-grid { grid-template-columns: repeat(2, 1fr); } }

/* the window that keeps asking for Telegram after a listing has been sent */
.tgp { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 10, 12, .55); backdrop-filter: blur(2px); }
.tgp-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 22px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.tgp-ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #2aabee; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.tgp-card h2 { margin: 0 0 8px; font-size: 21px; }
.tgp-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.tgp-act { display: flex; flex-direction: column; gap: 8px; }

.cab-promo-per { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* a model whose stories this browser has watched to the end */
.story-ava.is-seen .story-ring { background: var(--line); }
.story-ava.is-seen .story-ava-name { opacity: .7; }

/* the growth report on the overview */
.gr-box { margin-bottom: 24px; }
.gr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gr-tile { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.gr-tile b { font-size: 26px; line-height: 1.1; } .gr-tile span { font-size: 13px; color: var(--ink-soft); } .gr-tile small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.gr-tile.gr-ok b { color: #2f9e44; } .gr-tile.gr-bad b { color: #e03131; }
.gr-sub { margin: 18px 0 8px; font-size: 14px; }
.gr-kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gr-kinds li { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; }
.gr-kinds li span { flex: 1; } .gr-kinds li em { font-style: normal; color: #2f9e44; font-size: 12.5px; }
.gr-note { font-size: 12px; margin-top: 10px; }
@media (max-width: 900px) { .gr-grid { grid-template-columns: repeat(2, 1fr); } }

/* live figures above the stories strip */
.activity-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.act-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--ink-soft); }
.act-chip i { font-style: normal; font-size: 12px; } .act-chip b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* the green dot on a card: this listing's owner is on the site right now (seen within five minutes) */
.online-dot { position: absolute; left: 12px; bottom: 12px; z-index: 3; width: 14px; height: 14px; border-radius: 50%; background: #34d058; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.online-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #34d058; opacity: 0; animation: online-pulse 2s ease-out infinite; }
@keyframes online-pulse { 0% { transform: scale(.55); opacity: .75; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .online-dot::after { animation: none; } }
.vip-card-online { width: 12px; height: 12px; }


/* ---- paying in USDT: the buyer's window and the admin card ---- */
body.pay-open { overflow: hidden; }
.pay-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(9,9,11,0.62); }
.pay-box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--text, inherit); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.pay-x { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 6px 10px; }
.pay-title { margin: 0 28px 12px 0; font-size: 20px; }
.pay-lead, .pay-net-name { margin: 0 0 10px; }
.pay-nets { display: grid; gap: 10px; }
.pay-net { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; }
.pay-net small { color: var(--muted); font-weight: 400; }
.pay-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.pay-row > span { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.pay-val { font-size: 20px; font-weight: 700; word-break: break-all; }
.pay-addr { font-size: 13px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pay-notes { margin: 12px 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.pay-notes li { margin-bottom: 4px; }
.pay-wait { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.pay-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: pay-spin 0.9s linear infinite; flex: 0 0 auto; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pay-spin { animation: none; } }
.pay-done { font-size: 17px; font-weight: 700; color: #16a34a; margin: 8px 0 16px; }
.pay-expired { margin: 8px 0 12px; color: var(--muted); }
.crypto-card { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.crypto-nets { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 8px 0; }
.crypto-net { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.crypto-net code { font-size: 12px; word-break: break-all; }
.crypto-net.is-bad { border-color: rgba(190,24,60,0.5); }
.admin-h3 { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
.crypto-addr { font-size: 11px; word-break: break-all; color: var(--muted); }
.pay-qr { display: flex; justify-content: center; margin: 4px 0 12px; }
.pay-qr svg { width: 188px; height: 188px; background: #fff; border-radius: 10px; padding: 6px; box-sizing: content-box; }
.pay-qr:empty { display: none; }

/* ---- the promotion tab, picked out ---- */
.cab-tab-promo { color: var(--gold-deep); background: linear-gradient(135deg, rgba(227,10,23,0.10), rgba(240,165,0,0.16)); box-shadow: inset 0 0 0 1px rgba(227,10,23,0.32); }
.cab-tab-promo:hover { background: linear-gradient(135deg, rgba(227,10,23,0.16), rgba(240,165,0,0.24)); color: var(--gold-deep); }
.cab-tab-promo.is-on { background: linear-gradient(135deg, var(--gold), #f0a500); color: #fff; box-shadow: 0 4px 14px rgba(227,10,23,0.35); }
.cab-tab-star { margin-right: 5px; display: inline-block; animation: tab-star 2.4s ease-in-out infinite; }
@keyframes tab-star { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(18deg); } }
@media (prefers-reduced-motion: reduce) { .cab-tab-star { animation: none; } }

/* ---- the promotion page: a sales page with a live preview ---- */
.shop-hero { margin: 0 0 14px; padding: 18px 18px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(227,10,23,0.09), rgba(240,165,0,0.12)); border: 1px solid rgba(227,10,23,0.18); }
.shop-hero .reg-card-title { margin: 0 0 6px; font-size: 22px; }
.shop-hero .reg-card-text { margin: 0; max-width: 640px; }
.cab-shop-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.cab-shop-side { order: -1; }
@media (min-width: 900px) {
  .cab-shop-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .cab-shop-side { order: 0; position: sticky; top: 74px; }
}
.pv { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 14px; box-shadow: 0 8px 24px var(--shadow); }
.pv-title { font-weight: 800; font-size: 15px; margin: 0 0 10px; }
.pv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-col { margin: 0; min-width: 0; }
.pv-col figcaption { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pv-col.is-after figcaption { color: var(--gold-deep); }
.pv-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); transition: box-shadow .25s, border-color .25s, transform .25s; }
.pv-card.is-premium { border-color: #f0a500; box-shadow: 0 0 0 2px rgba(240,165,0,0.35), 0 8px 22px rgba(240,165,0,0.25); }
.pv-card.is-top { border-color: #f0a500; box-shadow: 0 0 0 2px rgba(240,165,0,0.45), 0 8px 22px rgba(240,165,0,0.3); }
.pv-card.is-vip { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(227,10,23,0.5), 0 10px 26px rgba(227,10,23,0.32); transform: translateY(-2px); }
.pv-photo { position: relative; aspect-ratio: 3 / 4; background: var(--surface-2); }
.pv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-noph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; color: var(--muted); }
.pv-badges { position: absolute; left: 6px; top: 6px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pv-b { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; padding: 3px 7px; border-radius: 5px; color: #fff; background: #111113; animation: pv-pop .35s ease-out; }
.pv-b-vip { background: var(--gold); }
.pv-b-top { background: #f0a500; color: #241c00; }
.pv-b-prem { background: linear-gradient(135deg, #f0a500, #ffd166); color: #241c00; }
.pv-b-bump { background: #2f6fd0; }
@keyframes pv-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pv-b { animation: none; } }
.pv-meta { padding: 8px 9px 9px; display: flex; flex-direction: column; gap: 1px; }
.pv-meta b { font-size: 13px; }
.pv-meta span { font-size: 11.5px; color: var(--muted); }
.pv-empty { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 190px; padding: 12px; border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.pv-rank { display: flex; gap: 3px; margin-top: 8px; }
.pv-rank i { flex: 1; font-style: normal; text-align: center; font-size: 9.5px; font-weight: 700; padding: 4px 0; border-radius: 5px; background: var(--surface-2); color: var(--muted); }
.pv-rank i.is-you { background: var(--gold); color: #fff; box-shadow: 0 2px 8px rgba(227,10,23,0.4); }
.pv-fx { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pv-fx li { font-size: 12.5px; line-height: 1.4; padding-left: 20px; position: relative; }
.pv-fx li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: #16a34a; }
.pv-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.pv-note { margin: 10px 0 0; font-size: 11px; line-height: 1.4; color: var(--muted); }

/* ---- the USDT button: a coin, the words, an arrow ---- */
.btn-usdt { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: inherit; text-align: left; color: #fff; padding: 9px 16px 9px 10px; border-radius: 14px; background: linear-gradient(135deg, #26a17b, #1a8764); box-shadow: 0 6px 18px rgba(38,161,123,0.35); transition: transform .15s, box-shadow .15s, filter .15s; }
.btn-usdt:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(38,161,123,0.45); filter: brightness(1.05); }
.btn-usdt:active { transform: translateY(0); }
.btn-usdt .usdt-ic { flex: 0 0 auto; background: #fff; border-radius: 50%; padding: 0; box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.btn-usdt .usdt-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.btn-usdt .usdt-txt b { font-size: 15px; font-weight: 800; }
.btn-usdt .usdt-txt small { font-size: 11px; opacity: .85; font-weight: 500; }
.btn-usdt .usdt-arr { margin-left: auto; font-size: 18px; opacity: .9; }
.btn-usdt.is-sm { padding: 6px 12px 6px 7px; border-radius: 12px; gap: 8px; }
.btn-usdt.is-sm .usdt-txt b { font-size: 13px; }
.btn-usdt:disabled { opacity: .6; cursor: default; }

/* ---- the payment window ---- */
.pay-title { display: flex; align-items: center; gap: 10px; }
.pay-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; counter-reset: ps; }
.pay-steps li { flex: 1; counter-increment: ps; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 4px; border-bottom: 3px solid var(--line); }
.pay-steps li::before { content: counter(ps) ". "; }
.pay-steps li.is-on { color: var(--ink); border-bottom-color: #26a17b; }
.pay-steps li.is-done { color: #26a17b; border-bottom-color: #26a17b; }
.pay-net { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; text-align: left; font: inherit; cursor: pointer; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pay-net:hover { border-color: #26a17b; box-shadow: 0 6px 18px rgba(38,161,123,0.2); transform: translateY(-1px); }
.pay-net-t { display: flex; flex-direction: column; min-width: 0; }
.pay-net-t b { font-size: 15px; }
.pay-net-t small { color: var(--muted); font-size: 12px; }
.pay-chain { margin-left: auto; font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex: 0 0 auto; }
.pay-chain-tron { background: #e5303b; }
.pay-chain-bsc { background: #f0b90b; color: #241c00; }
.pay-net-name .pay-chain { margin: 0 8px 0 0; vertical-align: middle; }
.pay-done-box { text-align: center; padding: 10px 0 4px; }
.pay-check { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #26a17b; color: #fff; font-size: 34px; font-weight: 800; box-shadow: 0 8px 22px rgba(38,161,123,0.4); animation: pv-pop .4s ease-out; }

/* ---- the promotion offer that opens the cabinet (own class names: .pp-* belong to the profile page) ---- */
.ppop-card { position: relative; max-width: 460px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; }
.ppop-ic { background: linear-gradient(135deg, var(--gold), #f0a500); }
.ppop-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.ppop-x:hover { background: var(--surface-2); color: var(--ink); }
.ppop-offers { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; text-align: left; }
.ppop-offers li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.ppop-offers li b { font-size: 14px; }
.ppop-offers li span { grid-column: 1; font-size: 12px; color: var(--muted); }
.ppop-offers li i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 800; color: var(--gold-deep); font-size: 14px; }
.cab-cart.is-done .btn-usdt { display: flex; width: 100%; max-width: 380px; margin-top: 12px; }
.cab-order-act .btn-usdt, .cab-basket-foot .btn-usdt { vertical-align: middle; }

/* ---- stories: the way to her listing, as on Instagram ---- */
.sv-who { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: #fff; text-decoration: none; cursor: pointer; }
.sv-who.is-plain { cursor: default; pointer-events: none; }
.sv-ava { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background-size: cover; background-position: center; background-color: #333; box-shadow: 0 0 0 2px rgba(255,255,255,0.9); }
.sv-who .sv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-who:hover .sv-name { text-decoration: underline; }
.sv-cta { position: absolute; left: 14px; right: 14px; bottom: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 4; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: #fff; color: #111113; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,0.45); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.sv-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.55); }
.sv-cta i { font-style: normal; font-size: 17px; }
.sv-cta[hidden] { display: none; }
.sv-stage:has(.sv-cta:not([hidden]))::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent); }

/* admin: an account's statistics in the user drawer */
#uStatsRange { margin: 6px 0 10px; flex-wrap: wrap; }
.ustats-charts { display: grid; gap: 12px; margin: 12px 0; min-width: 0; }
/* up to a month of days in a drawer: the bars shrink to fit, and with many of
   them only every few labels are kept so the dates do not run into each other */
.ustats-charts .ana-card { min-width: 0; overflow: hidden; }
.ustats-charts .ana-bars { gap: 2px; }
.ustats-charts .ana-bar { min-width: 0; }
.ustats-charts .ana-bar-val { font-size: 8px; }
.ustats-charts.is-dense .ana-bar:not(:nth-child(5n+1)) .ana-bar-x { visibility: hidden; }
.ustats-charts.is-dense .ana-bar-val { display: none; }
#uStats .admin-table-wrap { overflow-x: auto; }
#uRepActs { margin-top: 14px; }
#uStats .admin-table-wrap { margin-top: 10px; }

/* admin: the model base — the rule line, the chips under a row's date, the queue's answers */
.lead-rule { margin: -4px 0 12px; font-size: 13px; color: var(--muted); }
.lead-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.lead-chips .pay-chip { font-size: 10px; white-space: nowrap; }
.rc-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* admin: a listing's change history */
.chg-group { border-left: 3px solid var(--gold); padding: 4px 0 4px 10px; margin: 6px 0 10px; }
.chg-head { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.chg-head b { color: var(--ink); }
.chg-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 13px; padding: 2px 0; }
.chg-f { font-weight: 700; min-width: 110px; }
.chg-old { color: var(--muted); text-decoration: line-through; }
.chg-arrow { color: var(--muted); }
.chg-new { color: var(--ink); }
.chg-more summary { cursor: pointer; font-size: 12px; color: var(--muted); }

/* admin: what staff earned */
.me-earn { margin: 16px 0; }
.me-earn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.me-earn-head select { width: auto; }
.earn-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: var(--r-lg); background: var(--gold); color: #fff; margin: 12px 0 8px; }
.earn-total b { font-size: 28px; }
.earn-lines { display: grid; gap: 4px; margin-bottom: 8px; }
.earn-line { display: flex; justify-content: space-between; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.earn-who summary { cursor: pointer; color: var(--muted); font-size: 13px; margin: 6px 0; }
.earn-who .pay-chip { margin: 2px 2px 2px 0; }
.earn-team-h { margin: 20px 0 8px; font-size: 15px; }
.earn-table .pay-in { width: 80px; padding: 6px 8px; text-align: right; }

/* admin: the AI message box takes the drawer's width */
.ai-msg .ai-out { display: block; width: 100%; margin-top: 10px; font: inherit; line-height: 1.5; }
.ai-msg .ai-out[hidden] { display: none; }
.ai-msg .ai-lang { width: auto; }
.ai-msg .svc-acts { justify-content: flex-start; flex-wrap: wrap; }
.earn-item { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.earn-item.is-lost s { color: var(--muted); }
.earn-item.is-lost > span:first-child { color: var(--gold-deep); }
.earn-line.is-lost { color: var(--gold-deep); }
.earn-who h4 { margin: 10px 0 2px; font-size: 13px; }

/* admin: picking the listing a row of the model base became */
.lp-list { display: grid; gap: 6px; margin-top: 10px; }
.lp-item { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md, 10px); background: var(--surface); cursor: pointer; font: inherit; color: inherit; }
.lp-item:hover { border-color: var(--gold); }
.lp-item.is-taken { opacity: .55; cursor: not-allowed; }
.lp-ph { width: 44px; height: 56px; flex: 0 0 44px; border-radius: 6px; background: #3d3d43 center/cover no-repeat; }
.lp-main { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
/* a <button> keeps the browser's own light background, which in the dark theme
   left the light text unreadable: the colours are set here for both themes */
.lead-link-btn { cursor: pointer; font: inherit; font-size: 10px; font-weight: 700; line-height: 1.4;
  background: color-mix(in srgb, var(--gold) 14%, transparent); border: 1px solid var(--gold); color: var(--gold-deep); }
[data-theme="dark"] .lead-link-btn { color: #ffb3c1; }
.lead-link-btn:hover { background: var(--gold); color: #fff; }
.earn-note { margin: 0 0 8px; font-size: 13px; color: var(--muted); }

/* ---- the agency page, v2: a hero card with the contacts, the numbers, why,
   the listings with a city filter, and the contacts again at the end ---- */
.ag-hero2 { padding: 8px 0 28px; background:
  radial-gradient(1200px 380px at 15% -10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
  linear-gradient(180deg, var(--surface-2, #f6f3ee), var(--bg, #fff)); }
.ag-hero2 .na-crumbs { padding: 18px 0 14px; }
.ag-hero-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 40px var(--shadow); }
.ag-hero-main { display: flex; align-items: center; gap: 22px; min-width: 0; }
.ag-hero-main .ag-avatar { width: 116px; height: 116px; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold), 0 8px 24px var(--shadow);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep, #9f1239)); }
.ag-hero-main .ag-avatar-ph { color: #fff; font-size: 48px; }
.ag-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ag-hero2 .ag-title { margin: 4px 0 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-chip-lg { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2, #f4f4f5); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.ag-chip-lg.is-ok { background: color-mix(in srgb, #16a34a 12%, var(--surface)); border-color: color-mix(in srgb, #16a34a 40%, var(--line)); color: #15803d; font-weight: 600; }
.ag-hero-cta { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.ag-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease); }
.ag-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--shadow); }
.ag-btn-wa { background: #25d366; color: #fff; }
.ag-btn-tg { background: #229ed9; color: #fff; }
.ag-btn-call { background: var(--ink); color: var(--surface); }
.ag-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.ag-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.ag-stat { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ag-stat b { display: block; font-size: 28px; line-height: 1.1; color: var(--gold); }
.ag-stat span { font-size: 13px; color: var(--muted); }
.ag-about { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 24px; align-items: start; }
.ag-about-text h2 { margin-top: 0; }
.ag-about-text p { margin: 0 0 14px; line-height: 1.7; }
.ag-why { padding: 22px; border-radius: 18px; background: var(--surface-2, #f6f3ee); border: 1px solid var(--line); }
.ag-why h3 { margin: 0 0 12px; font-size: 16px; }
.ag-why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ag-why li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; }
.ag-why li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.ag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ag-fbtn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.ag-fbtn:hover { border-color: var(--gold); }
.ag-fbtn.is-on { background: var(--gold); border-color: var(--gold); color: #fff; }
.ag-contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep, #9f1239)); color: #fff; }
.ag-contact h2 { margin: 0 0 6px; color: #fff; }
.ag-contact p { margin: 0; max-width: 560px; opacity: .92; }
.ag-contact-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* white on the red block in both themes; the text is dark always (var(--ink) turns light in the dark theme) */
.ag-contact .ag-btn-call { background: #fff; color: #111113; }
@media (max-width: 760px) {
  .ag-hero-card { padding: 20px; }
  .ag-hero-main { gap: 14px; }
  .ag-hero-main .ag-avatar { width: 80px; height: 80px; }
  .ag-hero-main .ag-avatar-ph { font-size: 34px; }
  .ag-hero-cta { width: 100%; min-width: 0; }
  .ag-about { grid-template-columns: 1fr; }
  .ag-stats { grid-template-columns: repeat(2, 1fr); }
  .ag-contact { padding: 22px; }
  .ag-contact-btns { width: 100%; flex-direction: column; }
}
/* the thank-you bump for linking Telegram, under the bar's text */
.cab-tgbar-gift { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold-deep); }
[data-theme="dark"] .cab-tgbar-gift { color: #ffb3c1; }
/* a deal under a price: the bump pack's saving, Premium's first month */
.cab-opt-deal { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: #15803d; }
[data-theme="dark"] .cab-opt-deal { color: #74dfa1; }
.cab-opt-price s { color: var(--muted); font-weight: 400; }

/* ---- the advertising place above the catalogue ---- */
.ad-slot { margin: 6px 0 22px; }
.ad-slot a { position: relative; text-decoration: none; color: inherit; }
.ad-slot .ad-image { display: block; }
.ad-label { position: absolute; top: 8px; right: 10px; z-index: 2; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; }
.ad-image { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ad-image img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: cover; }
.ad-slot .ad-agency { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 12%, var(--surface)), var(--surface) 60%); }
.ad-agency .ad-label { background: var(--gold); }
.ad-ag-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ad-ag-logo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; font-size: 26px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--gold); }
.ad-ag-logo img { width: 100%; height: 100%; object-fit: cover; }
.ad-ag-text { display: flex; flex-direction: column; min-width: 0; }
.ad-ag-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ad-ag-name { font-size: 20px; line-height: 1.2; color: var(--ink); }
.ad-ag-meta { font-size: 13px; color: var(--muted); }
.ad-ag-about { font-size: 13px; color: var(--ink-soft); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-ag-photos { display: flex; gap: 6px; }
.ad-ag-photos img { width: 52px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ad-ag-cta { padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ad-agency:hover .ad-ag-cta { background: var(--gold-deep); }
@media (max-width: 760px) {
  .ad-slot .ad-agency { grid-template-columns: 1fr; gap: 12px; }
  .ad-ag-photos { display: none; }
  .ad-ag-cta { text-align: center; }
}

/* admin: advertising */
.ad-admin-list { display: grid; gap: 12px; }
.ad-admin-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ad-admin-card.is-live { border-color: color-mix(in srgb, #16a34a 55%, var(--line)); }
.ad-admin-pic img { width: 220px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.ad-admin-ag { width: 220px; height: 72px; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; padding: 0 12px; box-sizing: border-box;
  background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 18%, var(--surface)), var(--surface)); font-weight: 700; }
.ad-admin-ag span { font-weight: 400; font-size: 12px; color: var(--muted); }
.ad-admin-title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ad-admin-link { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-admin-stats { display: flex; gap: 16px; align-items: flex-end; }
.ad-admin-stats > div:not(.ad-spark) { display: flex; flex-direction: column; align-items: center; }
.ad-admin-stats b { font-size: 18px; }
.ad-admin-stats span { font-size: 11px; color: var(--muted); }
.ad-spark { display: flex; align-items: flex-end; gap: 2px; height: 34px; width: 90px; }
.ad-spark i { flex: 1; background: var(--gold); border-radius: 2px 2px 0 0; min-height: 2px; }
.ad-admin-acts { display: flex; flex-direction: column; gap: 6px; }
.ad-admin-preview { max-width: 100%; border-radius: 8px; margin: 6px 0 10px; }
.ad-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; max-height: 220px; overflow: auto; margin: 6px 0 12px; font-size: 13px; }
@media (max-width: 900px) { .ad-admin-card { grid-template-columns: 1fr; } }

/* the site's own banners: our Telegram channel, "your advertising could be here" */
.ad-slot .ad-house { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); }
.ad-house-tg { background: linear-gradient(110deg, color-mix(in srgb, #229ed9 18%, var(--surface)), var(--surface) 70%); border-color: color-mix(in srgb, #229ed9 45%, var(--line)) !important; }
.ad-house-ad { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 14px, color-mix(in srgb, var(--gold) 6%, var(--surface)) 14px, color-mix(in srgb, var(--gold) 6%, var(--surface)) 28px); border-style: dashed !important; border-color: color-mix(in srgb, var(--gold) 55%, var(--line)) !important; }
.ad-house-ic { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.ad-house-tg .ad-house-ic { background: #229ed9; color: #fff; }
.ad-house-ad .ad-house-ic { background: color-mix(in srgb, var(--gold) 16%, var(--surface)); }
.ad-house-text { display: flex; flex-direction: column; min-width: 0; }
.ad-house-text b { font-size: 18px; color: var(--ink); }
.ad-house-text span { font-size: 13px; color: var(--muted); }
.ad-house-cta { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; color: #fff; }
.ad-house-tg .ad-house-cta { background: #229ed9; }
.ad-house-ad .ad-house-cta { background: var(--gold); }
@media (max-width: 760px) {
  .ad-slot .ad-house { grid-template-columns: auto minmax(0, 1fr); }
  .ad-house-cta { grid-column: 1 / -1; text-align: center; }
}
.ad-house-stats { margin: 0 0 12px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---- paying with Telegram Stars ---- */
.pay-btns { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-stars { background: linear-gradient(135deg, #2aabee, #1d8fd0); box-shadow: 0 6px 18px rgba(34,158,217,0.35); text-decoration: none; }
.btn-stars:hover { box-shadow: 0 10px 24px rgba(34,158,217,0.45); }
.btn-stars .stars-ic { flex: 0 0 auto; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.stars-price { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 4px 0 14px; }
.stars-price b { font-size: 34px; font-weight: 800; color: var(--ink); }
.stars-price span { font-size: 13px; color: var(--muted); }
.stars-go { display: flex; width: 100%; box-sizing: border-box; justify-content: flex-start; padding: 12px 16px; }
.stars-go .usdt-txt b { font-size: 16px; }
.stars-admin { margin: 0 0 18px; }
.stars-admin-set { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 8px 0 12px; }
.stars-admin-set label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.stars-admin-set input[type=number] { width: 110px; }
.btn-paychoose { background: linear-gradient(135deg, #26a17b 0%, #1f9bc4 100%); }
.paychoose-ics { display: inline-flex; flex: none; }
.paychoose-ics svg + svg { margin-left: -8px; }
.pay-ways { display: flex; flex-direction: column; gap: 10px; }
.pay-way { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.pay-way .pay-net-t { flex: 1; }
.pay-way .usdt-arr { color: var(--muted); font-size: 18px; }
.pay-way-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; background: var(--surface-2, rgba(127,127,127,.15)); color: var(--text, inherit); }
.pay-back { border: 0; background: none; padding: 0; margin: 0 0 8px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.pay-back:hover { color: var(--ink); }

/* ---------- the account's balance (cabinet) ---------- */
.cab-bal .bal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cab-bal .reg-card-title { margin-bottom: 4px; }
.bal-sum { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--ink); font-weight: 700; }
.cab-bal .btn .wallet-ic { vertical-align: -5px; margin-right: 4px; }
.bal-note { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; }
.bal-bonus { color: var(--gold-deep); font-weight: 600; }
.bal-sub { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.bal-renew { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bal-renew-hint { margin: 0 0 10px; font-size: 13px; }
.bal-renew-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.bal-renew-row + .bal-renew-row { border-top: 1px dashed var(--line); }
.bal-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.bal-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bal-switch-ui { width: 38px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); position: relative; transition: background .2s var(--ease); flex: none; }
.bal-switch-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s var(--ease), background .2s var(--ease); }
.bal-switch input:checked + .bal-switch-ui { background: var(--gold); border-color: var(--gold); }
.bal-switch input:checked + .bal-switch-ui::after { transform: translateX(16px); background: var(--on-gold, #fff); }
.bal-switch input:focus-visible + .bal-switch-ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.bal-renew-days { font: inherit; font-size: 14px; padding: 6px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 100%; }
.bal-hist { margin-top: 14px; }
.bal-hist summary { cursor: pointer; color: var(--ink-soft); font-size: 14px; }
.bal-hist-list { list-style: none; margin: 10px 0 0; padding: 0; max-height: 280px; overflow: auto; }
.bal-hist-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bal-h-d { color: var(--muted); font-size: 12px; }
.bal-hist-list .is-in .bal-h-a { color: #1f9a6a; }
.bal-hist-list .is-out .bal-h-a { color: var(--ink); }
/* the top-up window */
.bal-amt { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.bal-amt input { font: inherit; font-size: 22px; font-weight: 700; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.bal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.bal-chip { font: inherit; font-size: 14px; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.bal-chip i { font-style: normal; color: var(--gold-deep); font-weight: 600; font-size: 12px; }
.bal-chip:hover { border-color: var(--gold); }
.bal-amt-hint { min-height: 20px; margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.bal-amt-hint.is-bonus { color: #1f9a6a; font-weight: 600; }
.bal-amt-hint.is-err { color: var(--wine); }
.pay-way-bal { border-color: var(--line-gold, var(--gold)); }
.bal-pay-go { width: 100%; margin-top: 14px; }

/* ---------- promoting from the cabinet (Nov 2026) ---------- */
/* status on an agency's card */
.ps-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 2px; }
.ps-chip { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); white-space: nowrap; }
.ps-chip.is-vip { background: #f5c25b; color: #2a1d00; }
.ps-chip.is-top { background: #e8425c; color: #fff; }
.ps-chip.is-premium { background: #efe3ff; color: #5b2bb5; }
[data-theme="dark"] .ps-chip.is-premium { background: #3a2b55; color: #e4d4ff; }
/* the big promote button and the "⋯" menu */
.mgr-girl-actions .mgr-promo-btn { flex: 1 1 100%; font-size: 14px; padding-top: 11px; padding-bottom: 11px; }
.mgr-more { position: relative; flex: 0 0 auto; }
.mgr-more > summary { list-style: none; cursor: pointer; min-width: 40px; text-align: center; }
.mgr-more > summary::-webkit-details-marker { display: none; }
.mgr-more-pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30; display: flex; flex-direction: column; min-width: 170px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mgr-more-pop a, .mgr-more-pop button { display: block; text-align: left; padding: 10px 12px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); text-decoration: none; border-radius: 8px; cursor: pointer; }
.mgr-more-pop a:hover, .mgr-more-pop button:hover { background: var(--surface-2); }
.mgr-more-pop .mgr-del { color: var(--wine); }
/* picking several */
.mgr-pick { position: absolute; top: 8px; left: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.92); border: 2px solid rgba(0,0,0,.18); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mgr-pick input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mgr-pick span { color: transparent; font-weight: 900; font-size: 16px; line-height: 1; }
.mgr-pick:has(input:checked) { background: var(--gold); border-color: var(--gold); }
.mgr-pick:has(input:checked) span { color: var(--on-gold, #fff); }
.mgr-girl-cover .mgr-girl-st { z-index: 2; }
.mgr-pickbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; font-size: 13px; }
.mgr-bulk { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: var(--ink); color: var(--surface); border-radius: 999px; box-shadow: 0 14px 34px rgba(0,0,0,.35); max-width: calc(100% - 24px); }
.mgr-bulk-n { font-weight: 700; white-space: nowrap; }
.mgr-bulk .btn { white-space: nowrap; }
.mgr-bulk-x { border: 0; background: rgba(255,255,255,.14); color: inherit; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; flex: none; }
/* the promote window */
.ps-box { max-width: 520px; }
.ps-credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 16px; }
.ps-credit { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: var(--r-md); border: 2px solid #1f9a6a; background: rgba(31,154,106,.08); color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.ps-credit small { color: var(--muted); font-size: 12px; }
.ps-credit:disabled { opacity: .45; cursor: not-allowed; border-color: var(--line); background: var(--surface-2); }
.ps-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; max-height: 46vh; overflow: auto; }
.ps-opt { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 13px 14px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ps-opt.is-on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.ps-opt-name { font-weight: 700; }
.ps-opt-span { color: var(--muted); font-size: 13px; }
.ps-opt-price { font-size: 16px; }
.ps-go { width: 100%; padding-top: 14px; padding-bottom: 14px; font-size: 15px; }
.ps-res { margin-top: 12px; }
.ps-res .btn { width: 100%; margin-top: 10px; }
.ps-fail { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-soft); }
/* the model's quick card */
.qb-card .reg-card-text { margin-bottom: 12px; }
.qb-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qb-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: center; transition: transform .1s, border-color .15s; }
.qb-btn:active { transform: scale(.97); }
.qb-btn b { font-size: 15px; }
.qb-btn span { font-size: 12px; color: var(--muted); }
.qb-btn em { font-style: normal; font-weight: 800; font-size: 18px; margin-top: 4px; color: var(--gold-deep); }
.qb-btn.is-vip { border-color: #f5c25b; background: linear-gradient(160deg, #fff7e3, var(--surface)); }
[data-theme="dark"] .qb-btn.is-vip { background: linear-gradient(160deg, #3a2e12, var(--surface)); }
.qb-btn.is-bump { border-color: var(--gold); }
.qb-more { margin-top: 12px; }
/* the bottom bar on phones */
.cab-bnav { display: none; }
@media (max-width: 720px) {
  .cab-bnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; justify-content: space-around; align-items: flex-end; gap: 2px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
  .cab-bnav-i { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 10.5px; font-weight: 600; cursor: pointer; }
  .cab-bnav-i span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cab-bnav-i.is-on { color: var(--gold-deep); }
  .cab-bnav-i.is-star { color: var(--ink); }
  .cab-bnav-star { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: linear-gradient(135deg, #e8425c, #f08a4b); color: #fff; font-size: 26px; box-shadow: 0 8px 18px rgba(232,66,92,.45); border: 4px solid var(--surface); }
  .cab-bnav-i.is-star .cab-tab-dot { top: -22px; right: calc(50% - 30px); }
  #cabRoot { padding-bottom: 86px; }
  .mgr-bulk { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .qb-btns { gap: 8px; }
  .qb-btn { padding: 12px 4px; }
  .qb-btn em { font-size: 17px; }
}
.cab-bnav .cab-tab-dot { position: absolute; margin: 0; background: var(--gold); color: #fff; }
.mgr-pick { left: auto; right: 8px; }
@media (max-width: 720px) { .cab-bnav-i.is-star { flex: 1.35 1 0; } }
/* on a phone an agency's listings are a compact list, not a column of posters:
   a small photo on the left, the name, the status and the promote button */
@media (max-width: 720px) {
  .mgr-girls { grid-template-columns: 1fr; gap: 12px; }
  .mgr-girls .mgr-girl { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "cover body" "act act"; align-items: start; }
  .mgr-girls .mgr-girl-cover { grid-area: cover; width: 96px; aspect-ratio: 3/4; margin: 10px 0 0 10px; border-radius: 10px; overflow: hidden; }
  .mgr-girls .mgr-girl-cover .mgr-girl-st { font-size: 9.5px; padding: 2px 6px; top: 4px; left: 4px; }
  .mgr-girls .mgr-pick { top: 4px; right: 4px; width: 26px; height: 26px; }
  .mgr-girls .mgr-girl-body { grid-area: body; padding: 10px 12px 6px; }
  .mgr-girls .mgr-girl-actions { grid-area: act; padding: 8px 10px 10px; }
}
@media (max-width: 720px) { .mgr-girls .mgr-girl-cover .mgr-girl-st { top: auto; bottom: 4px; left: 4px; right: 4px; text-align: center; } }
/* the "⋯" menu must not be clipped by the card */
.mgr-girls .mgr-girl { overflow: visible; }
.mgr-girls .mgr-girl-cover { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.mgr-more[open] > summary { border-color: var(--gold); }
@media (max-width: 720px) { .mgr-girls .mgr-girl-cover { border-radius: 10px; } }
#uLogins .who-chip { max-width: none; white-space: nowrap; display: inline-block; margin: 0 4px 4px 0; } #uLogins .login-same { margin: 4px 0 10px; padding-left: 18px; }

.price-news { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 14px; }
.price-news .muted { font-size: 12px; }

/* ---------- confirming the e-mail ---------- */
.mc-box { max-width: 460px; }
.mc-text { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.mc-email { margin: 0 0 14px; font-size: 17px; word-break: break-all; }
.mc-send { width: 100%; padding-top: 13px; padding-bottom: 13px; }
.mc-msg { min-height: 18px; margin: 8px 0 4px; font-size: 13px; }
.mc-msg.is-ok { color: #1f9a6a; }
.mc-msg.is-err { color: var(--wine); }
.mc-change { margin: 8px 0 4px; }
.mc-change summary { cursor: pointer; font-size: 14px; color: var(--gold-deep); }
.mc-change-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mc-input { flex: 1 1 200px; min-width: 0; }
.mc-wait { margin: 14px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mc-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-left: 4px solid var(--gold); }
.mc-banner div { display: flex; flex-direction: column; gap: 3px; }
.mc-banner span { color: var(--ink-soft); font-size: 14px; }
.mail-mark { font-weight: 800; margin-left: 4px; } .mail-mark.is-ok { color: #1f9a6a; } .mail-mark.is-no { color: var(--wine); }

/* ---------- the partner programme page (cabinet) ---------- */
.prt-page { display: flex; flex-direction: column; gap: 16px; }
.prt-page > .cab-card { margin: 0; }
.prt-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, var(--surface)), var(--surface)); }
.prt-lead { margin: 6px 0 0; color: var(--ink-soft); max-width: 560px; }
.prt-pct { display: flex; flex-direction: column; align-items: center; padding: 12px 20px; border-radius: 16px; background: var(--gold); color: var(--on-gold, #fff); text-align: center; }
.prt-pct b { font-size: 34px; line-height: 1; }
.prt-pct span { font-size: 12px; max-width: 150px; margin-top: 4px; }
.prt-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.prt-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--surface-2); text-align: center; }
.prt-tile b { font-size: 22px; color: var(--ink); }
.prt-tile span { font-size: 12px; color: var(--muted); }
.prt-tile.is-main { background: color-mix(in srgb, #1f9a6a 14%, var(--surface)); }
.prt-tile.is-main b { color: #1f9a6a; }
.prt-h { margin: 0 0 12px; font-size: 17px; }
.prt-links { display: flex; flex-direction: column; gap: 12px; }
.prt-link { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.prt-link-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.prt-link-head .ref-name { font: inherit; font-weight: 700; border: 0; border-bottom: 1px dashed var(--line); background: none; color: var(--ink); padding: 2px 0; min-width: 0; flex: 1 1 160px; }
.prt-link-stats { font-size: 12px; color: var(--muted); }
.prt-link-url { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.prt-link-url input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 14px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.prt-new { margin-top: 12px; }
.prt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prt-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.prt-steps li b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold, #fff); display: inline-flex; align-items: center; justify-content: center; }
.prt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prt-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.prt-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prt-note { margin: 0; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 720px) {
  .prt-tiles { grid-template-columns: repeat(3, 1fr); }
  .prt-steps { grid-template-columns: 1fr; }
  .prt-pct { width: 100%; }
}

/* ---------- partners (admin) ---------- */
.ref-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin-bottom: 14px; }
.ref-terms-edit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ref-terms-edit[hidden] { display: none; }
.ref-terms-edit label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.ref-terms-edit input { width: 80px; }
.ref-stats { margin-bottom: 8px; }
.ref-badge { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--wine); color: #fff; font-size: 12px; vertical-align: middle; }
.ref-paylist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ref-paycard { padding: 14px; border-radius: var(--r-md); border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--surface)); display: flex; flex-direction: column; gap: 8px; }
.ref-pay-sum { font-size: 20px; }
.ref-pay-details { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px dashed var(--line); }
.ref-history { margin: 10px 0 4px; }
.ref-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ref-pcard { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, transform .1s; }
.ref-pcard:hover { border-color: var(--gold); }
.ref-pcard-top { display: flex; flex-direction: column; gap: 2px; }
.ref-pcard-top b { font-size: 16px; }
.ref-pcard-top .muted { font-size: 12px; }
.ref-owner { font-size: 13px; }
.ref-pcard-nums { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-soft); }
.ref-pcard-money { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); }
.ref-owed { color: #1f9a6a; }
.ref-owner-box { background: color-mix(in srgb, var(--gold) 6%, var(--surface)); border-radius: var(--r-md); padding: 12px 14px; }
.ref-h { margin: 22px 0 10px; }
.prt-h { font-weight: 700; color: var(--ink); }

/* ---------- answering a message from the team; reply speed ---------- */
.cab-notif-reply { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 10%, var(--surface)); font-size: 13px; color: var(--ink); white-space: pre-wrap; }
.cab-notif-reply .cab-notif-time { display: block; }
.cab-notif-answer { margin-top: 8px; }
.cab-notif-answer textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); resize: vertical; }
.cab-notif-answer-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cab-notif-answer-err { font-size: 12px; color: #c0392b; }
.sent-reply { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #eaf6ee; border-left: 3px solid #2f9e44; font-size: 12px; }
.sent-reply span { color: var(--muted); margin-left: 6px; }
.sent-reply p { margin: 4px 0 0; color: var(--ink); }
.pp-reply { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-soft); font-weight: 600; }

/* ---------- one IP, several accounts (admin) ---------- */
.ip-warn-chip { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 700; line-height: 1.5; padding: 0 8px; margin-left: 6px; border-radius: 999px; color: #b02a37; border: 1px solid #f1aeb5; background: #fdecee; white-space: nowrap; }
.ip-warn-box { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fdecee; border: 1px solid #f1aeb5; color: #6b1a22; font-size: 13px; line-height: 1.6; }
.ip-warn-box a { color: #b02a37; font-weight: 600; }

/* ---- admin: payments page (balance-only) ---- */
.stat-card .stat-sub { font-size: 12px; }
.stat-card.is-alert { border-color: #e0794b; box-shadow: 0 0 0 1px #e0794b inset; }
.attn-card { border-color: #e0794b; background: color-mix(in srgb, #e0794b 7%, var(--surface)); }
.attn-card ul { margin: 6px 0 0; padding-left: 18px; }
.money-feed .admin-toolbar { flex-wrap: wrap; gap: 10px; }
.money-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.money-tab { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.money-tab.is-on { background: var(--gold, #c9a24b); border-color: var(--gold, #c9a24b); color: #fff; }
.money-kind { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(127,127,127,.14); margin-right: 4px; }
.money-kind.is-topup, .money-kind.is-bonus { background: rgba(31,154,106,.15); color: #1f9a6a; }
.money-kind.is-spend, .money-kind.is-renew { background: rgba(201,162,75,.18); color: #a07a22; }
.money-kind.is-refund { background: rgba(80,120,220,.15); color: #3f63c4; }
.money-amt.is-in b { color: #1f9a6a; }
.money-more { margin-top: 10px; }
.pay-extra > summary { cursor: pointer; font-size: 16px; margin: 0; }
.pay-extra[open] > summary { margin-bottom: 14px; }

/* «Подпишитесь на канал» on a listing page — a card at the bottom, never over the
   listing; above the sticky «write» bar on phones. */
.tgsub { position: fixed; z-index: 95; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 14px 40px 14px 14px; border-radius: 16px; background: linear-gradient(110deg, color-mix(in srgb, #229ed9 16%, var(--surface)), var(--surface) 75%); border: 1px solid color-mix(in srgb, #229ed9 45%, var(--line)); box-shadow: 0 10px 30px var(--shadow); color: var(--ink); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.tgsub.on { opacity: 1; transform: none; }
.tgsub-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #229ed9; color: #fff; }
.tgsub-text { display: grid; gap: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.tgsub-text b { font-size: 15px; color: var(--ink); }
.tgsub-cta { grid-column: 1 / -1; display: block; text-align: center; padding: 10px 14px; border-radius: 10px; background: #229ed9; color: #fff; font-weight: 700; text-decoration: none; }
.tgsub-cta:hover { filter: brightness(1.08); }
.tgsub-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 15px; cursor: pointer; }
.tgsub-x:hover { background: var(--chip-bg); color: var(--ink); }
@media (max-width: 860px) {
  .tgsub { left: 16px; right: 16px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* admin: the same photo on another listing */
#photoDupPanel { border: 1px solid color-mix(in srgb, #e03131 45%, var(--line)); border-radius: 12px; padding: 12px; background: color-mix(in srgb, #e03131 6%, var(--surface)); }
.pdup-list { display: grid; gap: 10px; }
.pdup-row { display: grid; grid-template-columns: 72px auto 72px minmax(0, 1fr); gap: 10px; align-items: center; }
.pdup-row img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.pdup-mid, .pdup-who { display: grid; gap: 2px; font-size: 12.5px; }
.pdup-open { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-weight: 700; }

/* ---- a sale on top-ups (Black Friday): promo.js ---- */
.nap-slot[hidden] { display: none !important; }
.nap { position: relative; display: flex; align-items: center; gap: 18px; color: #fff; border-radius: 18px; overflow: hidden;
  background: radial-gradient(520px 260px at 85% 30%, rgba(227,10,23, .45), transparent 65%), linear-gradient(135deg, #111117 0%, #050507 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); isolation: isolate; }
.nap::before { content: ""; position: absolute; inset: -40% -10% -40% 55%; z-index: -1; transform: rotate(18deg);
  background: repeating-linear-gradient(90deg, rgba(227,10,23, .14) 0 16px, transparent 16px 36px); }
.nap-bf { display: flex; flex-direction: column; font-family: "Arial Black", "Space Grotesk", Arial, sans-serif; font-weight: 900; line-height: .9; letter-spacing: -.5px; }
.nap-bf b:last-child { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.nap-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.nap-kick { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #f5c46b; }
.nap-title { font-size: 20px; font-weight: 800; line-height: 1.15; }
.nap-title small { font-size: 13px; font-weight: 600; color: #c9c5d3; margin-left: 4px; }
.nap-ex { font-size: 14px; color: #dcd8e4; }
.nap-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 0 0 auto; }
.nap-left { font-size: 12px; color: #b9b5c4; white-space: nowrap; }
.nap-left b { font-family: "Space Grotesk", monospace; font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .5px; margin-left: 4px; }
.nap-cta { white-space: nowrap; }
.nap-x { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.nap-x:hover { background: rgba(255, 255, 255, .18); }

.nap-slot[data-na-promo="home"] { margin: 0 0 16px; }
.nap-home { padding: 16px 52px 16px 20px; }
.nap-home .nap-bf { font-size: 22px; flex: 0 0 auto; padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .15); }

.nap-slot[data-na-promo="cab"] { margin: 0 0 16px; }
.nap-cab { padding: 22px 24px; gap: 26px; }
.nap-art { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nap-art .nap-bf { font-size: 30px; text-align: center; }
.nap-tag { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; font-size: 40px; padding: 8px 18px 8px 26px; border-radius: 14px; transform: rotate(-6deg);
  background: linear-gradient(145deg, #E30A17, #7a0c1d); box-shadow: 0 10px 30px rgba(227,10,23, .45); position: relative; }
.nap-tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #07070a; }
.nap-cab .nap-title { font-size: 24px; }
.nap-ex-big { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 2px; font-family: "Arial Black", Arial, sans-serif; font-weight: 900; font-size: 26px; color: #fff; }
.nap-ex-big i { font-style: normal; color: #f5c46b; font-family: Arial, sans-serif; }
.nap-ex-big b { color: #f5c46b; text-shadow: 0 0 18px rgba(245, 196, 107, .45); }
.nap-note { font-size: 13px; color: #b9b5c4; }
.nap-extras { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.nap-extras b { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: rgba(245, 196, 107, .14); color: #f5c46b; }

@media (max-width: 760px) {
  .nap-home { flex-wrap: wrap; gap: 10px 14px; padding: 14px 44px 14px 14px; }
  .nap-home .nap-bf { font-size: 16px; padding-right: 12px; }
  .nap-home .nap-main { flex: 1 1 60%; }
  .nap-home .nap-title { font-size: 16px; }
  .nap-home .nap-ex { font-size: 13px; }
  .nap-home .nap-side { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .nap-cab { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px; text-align: left; }
  .nap-art { flex-direction: row; justify-content: space-between; }
  .nap-art .nap-bf { font-size: 22px; text-align: left; }
  .nap-tag { font-size: 30px; }
  .nap-cab .nap-title { font-size: 19px; }
  .nap-cab .nap-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .nap-side { flex-wrap: wrap; row-gap: 10px; }
  .nap-side .nap-cta { flex: 1 1 100%; justify-content: center; text-align: center; white-space: normal; }
}

/* the office: the sale's settings and the broadcast preview */
.promo-admin.is-live { border-color: #E30A17; }
.promo-set { flex-wrap: wrap; }
.promo-prev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 10px; }
.promo-prev-grid figure { margin: 0; border: 1px solid rgba(127, 127, 127, .25); border-radius: 12px; overflow: hidden; }
.promo-prev-grid img { display: block; width: 100%; }
.promo-prev-grid figcaption { padding: 10px 12px; font-size: 13px; }
.promo-prev-grid pre { white-space: pre-wrap; font-family: inherit; margin: 6px 0 8px; }

/* the office: a member of staff's sign-up link */
.staff-link { margin: 8px 0 12px; }
.staff-link.is-own { padding: 14px 16px; border: 1px solid rgba(227,10,23, .35); border-radius: 12px; background: rgba(227,10,23, .05); }
.staff-link-h { font-weight: 700; margin-bottom: 8px; }
.staff-link-row { display: flex; gap: 8px; align-items: center; }
.staff-link-url { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 13px; }
.staff-link-stat { font-size: 12px; margin-top: 6px; }
.earn-table .staff-link { max-width: 360px; }

/* the office: the staff guide, shown once on entering */
.sg-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(10, 10, 14, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sg-box { background: var(--bg, #fff); color: var(--ink, #16181c); width: 100%; max-width: 680px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); overflow: hidden; }
.sg-head { padding: 18px 22px 12px; border-bottom: 1px solid rgba(127, 127, 127, .2); }
.sg-head h2 { margin: 0; font-size: 21px; }
.sg-head p { margin: 4px 0 0; font-size: 13px; opacity: .7; }
.sg-body { padding: 14px 22px; overflow-y: auto; font-size: 14.5px; line-height: 1.55; }
.sg-body h3 { font-size: 16px; margin: 18px 0 6px; }
.sg-body h3:first-child { margin-top: 4px; }
.sg-body ul { margin: 4px 0 8px; padding-left: 20px; }
.sg-body li { margin: 3px 0; }
.sg-ok { color: #15803d; } .sg-no { color: #B30812; }
.sg-box .sg-tip { padding: 10px 12px; border-radius: 10px; background: rgba(227,10,23, .07); margin: 10px 0; }
.sg-link { display: flex; gap: 8px; margin: 6px 0; } .sg-link input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 13px; }
.sg-foot { padding: 12px 22px 18px; border-top: 1px solid rgba(127, 127, 127, .2); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sg-foot label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.sg-foot .sg-hint { font-size: 12px; opacity: .65; flex-basis: 100%; }

/* two photos side by side: one photo found on two listings */
.adm-cmp { position: fixed; inset: 0; z-index: 9000; background: rgba(8,8,10,0.92); display: flex; flex-direction: column; padding: 16px; gap: 12px; }
.adm-cmp-head { display: flex; align-items: center; justify-content: space-between; color: #f4f4f5; font-weight: 700; font-size: 15px; gap: 12px; }
.adm-cmp-x { background: rgba(255,255,255,0.12); color: #fff; border: 0; border-radius: 50%; width: 38px; height: 38px; font-size: 18px; cursor: pointer; flex: 0 0 auto; }
.adm-cmp-x:hover { background: rgba(255,255,255,0.22); }
.adm-cmp-row { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adm-cmp-col { min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.adm-cmp-cap { color: #f4f4f5; font-size: 14px; font-weight: 600; text-align: center; }
.adm-cmp-cap span { color: #a1a1aa; font-weight: 400; }
.adm-cmp-img { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border-radius: 12px; overflow: hidden; }
.adm-cmp-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.adm-cmp-open { color: #a1a1aa; font-size: 12px; text-align: center; text-decoration: none; }
.adm-cmp-open:hover { color: #fff; }
@media (max-width: 700px) {
  .adm-cmp { padding: 10px; }
  .adm-cmp-row { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
}

/* the queue asking a member of staff to link their Telegram */
.staff-tg { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; padding: 12px 16px; border: 1px solid rgba(42,171,238,0.45); background: rgba(42,171,238,0.08); border-radius: var(--r-lg); }
.staff-tg[hidden] { display: none; }
.staff-tg-text { font-size: 13px; color: var(--ink); line-height: 1.45; }
.staff-tg-btn { background: #229ed9; border-color: #229ed9; color: #fff; font-weight: 600; }
.staff-tg-btn:hover { background: #1c8bc0; border-color: #1c8bc0; }

/* ---------- the site as an app: the offer bar and the iPhone steps ---------- */
.na-inst-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: #121216; color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); animation: naInstIn .3s ease both;
}
@keyframes naInstIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.na-inst-bar img { flex: 0 0 40px; border-radius: 12px; background: #fff; padding: 4px; box-sizing: border-box; }
.na-inst-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.na-inst-t b { font-size: 14px; }
.na-inst-t small { font-size: 12px; opacity: .7; }
.na-inst-go { flex: 0 0 auto; height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--gold); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.na-inst-no { flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.na-inst-sheet { position: fixed; inset: 0; z-index: 1300; }
.na-inst-back { position: absolute; inset: 0; background: rgba(8, 8, 10, .5); }
.na-inst-box { position: absolute; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); padding: 22px 18px 18px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.na-inst-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--ink-soft); font-size: 20px; cursor: pointer; }
.na-inst-h { display: block; font-size: 18px; margin: 0 40px 14px 0; }
.na-inst-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.na-inst-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.na-inst-steps i { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); }
/* «Свободны сейчас» leads the row and stands out in green */
.qchip-now { border-color: rgba(22, 163, 74, .45); color: #15803d; font-weight: 800; }
.qchip-now .qchip-dot { background: #16a34a; animation: badgeNowPulse 1.6s ease-in-out infinite; }
.qchip-now.active, .qchip-now.is-on { background: #16a34a; border-color: #16a34a; color: #fff; }
.qchip-now.active .qchip-dot, .qchip-now.is-on .qchip-dot { background: #fff; }
[data-theme="dark"] .qchip-now { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
@media (prefers-reduced-motion: reduce) { .qchip-now .qchip-dot { animation: none; } }
.quick-chips .qchip.qchip-now.is-on, .quick-chips .qchip.qchip-now.active { background: #16a34a; border-color: #16a34a; color: #fff; }
.quick-chips .qchip.qchip-now.is-on .qchip-dot, .quick-chips .qchip.qchip-now.active .qchip-dot { background: #fff; }
