/* =========================================================
   NIGHT ANGELS — MODERN redesign (v2)
   Soft editorial · rounded · airy · readable type
   Toggle to "classic" via ?design=classic
   ========================================================= */

/* ---------- Theme tokens ---------- */
/* MODERN = dark-first members-club identity (light is an alternate) */
:root,
[data-theme="dark"] {
  --bg:        #0c0b0e;   /* near-black canvas */
  --bg-2:      #08070a;   /* deeper sections */
  --surface:   #141319;   /* raised cards */
  --surface-2: #1c1b22;
  --ink:       #f4f2ee;   /* warm off-white text */
  --ink-soft:  #b6b2ac;
  --muted:     #79767f;
  --gold:      #e4b878;   /* champagne accent */
  --gold-2:    #f2d29b;
  --gold-deep: #caa063;
  --wine:      #d06a7e;
  --line:      rgba(255, 255, 255, 0.10);
  --line-gold: rgba(228, 184, 120, 0.32);
  --shadow:    rgba(0, 0, 0, 0.7);
  --on-gold:   #18120a;
  --photo-filter: saturate(1.02) contrast(1.03);
  --select-arrow: %23e4b878;
  --header-bg: rgba(12, 11, 14, 0.72);
  --chip-bg: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
  --bg:        #eeeae3;   /* warm paper */
  --bg-2:      #e3ddd3;
  --surface:   #ffffff;
  --surface-2: #f3efe9;
  --ink:       #14131a;
  --ink-soft:  #4a4853;
  --muted:     #8a8790;
  --gold:      #a9763a;
  --gold-2:    #c4923f;
  --gold-deep: #855a26;
  --wine:      #9a3a52;
  --line:      rgba(20, 19, 26, 0.12);
  --line-gold: rgba(169, 118, 58, 0.32);
  --shadow:    rgba(40, 30, 20, 0.22);
  --on-gold:   #ffffff;
  --photo-filter: saturate(1.03) contrast(1.02);
  --select-arrow: %235b5346;
  --header-bg: rgba(238, 234, 227, 0.8);
  --chip-bg: rgba(20, 19, 26, 0.04);
}

:root {
  --serif: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --maxw: 1480px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }   /* always honour the hidden attribute */
html { scroll-behavior: smooth; }
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;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.center { text-align: center; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
::selection { background: var(--gold); color: var(--on-gold); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before,
.eyebrow::after {
  content: ""; display: inline-block; width: 30px; height: 1px;
  background: var(--gold); vertical-align: middle; opacity: 0.6;
}
.eyebrow::before { margin-right: 14px; }
.eyebrow::after  { margin-left: 14px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 15px 34px; border: 1.5px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; background: none; transition: all 0.35s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); box-shadow: 0 10px 26px -12px var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; box-shadow: 0 14px 30px -12px var(--gold); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-gold); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--chip-bg); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 11px; letter-spacing: 0.12em; }
.btn-block { display: flex; width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%; padding: 18px 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark {
  font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--ink); text-transform: none;
}
.brand-sub { font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang-switch { display: flex; border: 1px solid var(--line); }
.lang-switch button {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: 0.14em;
  padding: 8px 12px; transition: all 0.3s var(--ease); position: relative;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--ink); }
.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: 40px; height: 38px; border: 1px solid var(--line); background: none;
  color: var(--ink-soft); cursor: pointer; transition: all 0.3s 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; }

/* ---------- Filter bar ---------- */
.filter-bar {
  position: relative; z-index: 5;
  padding: 0 0 36px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-toggle {
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; margin-top: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 16px; cursor: pointer; transition: border-color 0.25s var(--ease);
}
.filter-toggle:hover { border-color: var(--line-gold); }
.filter-toggle svg { color: var(--gold); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.filter-bar.open .filter-toggle svg { transform: rotate(180deg); }

.filter-panel { padding-top: 28px; }
.filter-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.filter-head-label {
  font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
}
.filter-head-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.filter-count {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.filter-count #resultsCount {
  color: var(--gold); font-family: var(--serif); font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; margin-right: 4px;
}
.filter-reset {
  background: none; border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 18px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.filter-reset:hover { border-color: var(--gold); color: var(--gold); }

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 20px;
}
.filter-grid label { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.filter-grid label > span {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.filter-grid select,
.filter-grid input[type="text"] {
  width: 100%; height: 42px; padding: 0 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: 400;
  appearance: none; cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.filter-grid select {
  padding-right: 34px;
  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='%23e4b878' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
[data-theme="light"] .filter-grid select {
  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='%23a9763a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
}
.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(228, 184, 120, 0.12);
}
.filter-grid select:hover,
.filter-grid input:hover { border-color: var(--line-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: 42px; padding: 0 34px 0 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: 400;
  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='%23e4b878' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
[data-theme="light"] .fsel-btn {
  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='%23a9763a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
}
.fsel-btn.is-placeholder { color: var(--muted); }
.fsel-btn:hover { border-color: var(--line-gold); }
.fsel.is-open .fsel-btn {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(228, 184, 120, 0.12);
}
.fsel-menu {
  position: absolute; top: calc(100% + 6px); 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 18px 44px -14px var(--shadow);
  padding: 6px;
}
.fsel-opt {
  display: block; width: 100%; text-align: left;
  background: none; border: none; border-radius: calc(var(--r-md) - 4px);
  color: var(--ink); font-family: var(--sans); font-size: 14px;
  padding: 10px 12px; cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.fsel-opt:hover { background: var(--chip-bg); color: var(--gold); }
.fsel-opt.is-active { background: var(--gold); color: var(--on-gold); font-weight: 600; }

/* themed scrollbars (filter lists + panel) */
.na-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.na-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.na-scroll::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
.na-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  border-radius: 99px;
}
.na-scroll::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.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: 10px !important;
  align-self: end; min-height: 42px; padding-top: 4px; cursor: pointer;
}
.f-check input { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.f-check span { font-size: 13px; letter-spacing: 0.02em; 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: 52px 0 72px; }
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 30px 26px;
}
.catalog-empty { text-align: center; color: var(--muted); padding: 80px 0; font-family: var(--serif); font-size: 24px; font-style: italic; }
.catalog-note { margin: 64px auto 0; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); max-width: 640px; }

/* ---------- Profile 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 8px 24px -18px var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  opacity: 0; transform: translateY(20px);
}
.profile.in { opacity: 1; transform: none; }
.profile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--r-lg);
  border: 1.5px solid transparent; transition: border-color 0.5s var(--ease);
}
.profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 60px -26px var(--shadow);
}
.profile:hover::after { border-color: var(--line-gold); }

.profile-photo {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background-size: cover; background-position: center top;
  filter: var(--photo-filter);
  transition: transform 0.7s var(--ease);
}
.profile:hover .profile-photo { transform: scale(1.04); }
.profile-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,10,0.74) 0%, rgba(20,16,10,0.12) 38%, transparent 60%);
}

.profile-verified {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(20,16,10,0.42); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  color: #f4ecdc; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px;
}
.profile-badges { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; backdrop-filter: blur(8px); }
.badge-premium { background: var(--gold); color: #1a140a; font-weight: 500; }
.badge-online { background: rgba(20,16,10,0.42); border: 1px solid rgba(120,200,140,0.55); color: #bfe9c7; }
.badge-online::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5fc16f; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 7px #5fc16f; }

.profile-hoverbtn {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; text-align: center;
  background: var(--gold); color: var(--on-gold); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 12px; opacity: 0; transform: translateY(10px); border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -8px var(--gold);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.profile:hover .profile-hoverbtn { opacity: 1; transform: none; }

.profile-body { padding: 18px 18px 22px; position: relative; }
.profile-name { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; }
.profile-loc { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 8px; }
.profile-divider { height: 1px; background: var(--line); margin: 13px 0; }
.profile-phys { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.02em; }
.profile-travel { display: inline-block; margin-top: 9px; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.profile-travel::before { content: "✈ "; color: var(--gold-deep); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.profile-tags span {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--chip-bg); padding: 4px 10px; border-radius: 999px;
}
.is-premium { border-color: var(--line-gold); }

/* ---------- Contact strip ---------- */
.contact-strip {
  padding: 110px 0; border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, var(--line-gold), transparent 65%),
    var(--bg-2);
}
.strip-title { font-size: clamp(32px, 5vw, 56px); margin: 20px 0 18px; color: var(--ink); font-weight: 500; }
.strip-text { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin: 0 auto 36px; }
.contact-channels { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-bottom { padding: 52px 0; text-align: center; }
.footer-bottom .brand-mark { display: inline-block; margin-bottom: 18px; }
.footer-bottom p { font-size: 12px; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.02em; }
.footer-disclaimer { opacity: 0.75; max-width: 720px; margin: 8px auto 0; }
.footer-admin { display: inline-block; margin-top: 16px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); text-decoration: none; opacity: 0.5; transition: 0.3s var(--ease); }
.footer-admin:hover { opacity: 1; color: var(--gold-deep); }

/* ---------- Profile page ---------- */
/* ============================================================
   PROFILE PAGE — rebuilt
   ============================================================ */
.pp { padding: 28px 0 96px; }
.pp-back {
  display: inline-block; margin-bottom: 26px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease);
}
.pp-back::before { content: "← "; color: var(--gold-deep); }
.pp-back:hover { color: var(--gold-deep); }

.pp-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 52px; align-items: start; }

/* ---------- media / carousel ---------- */
.pp-media { position: sticky; top: 92px; }
.pp-stage {
  position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card-bg); filter: var(--photo-filter);
  touch-action: pan-y;
}
.pp-track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.22,0.61,0.36,1); }
.pp-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center top; cursor: zoom-in; }
.pp-stage::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-gold); pointer-events: none; border-radius: 20px; }

.pp-verified {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(20,16,10,0.42); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.28);
  color: #f4ecdc; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.pp-badges { position: absolute; top: 14px; right: 14px; 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: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15,12,16,0.45); backdrop-filter: blur(6px); color: #fff;
  font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
}
.pp-stage:hover .pp-arrow { opacity: 1; }
.pp-arrow:hover { background: rgba(15,12,16,0.7); }
.pp-arrow-prev { left: 12px; }
.pp-arrow-next { right: 12px; }

.pp-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 7px; }
.pp-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,0.45); transition: all 0.25s var(--ease);
}
.pp-dot.active { background: var(--gold); width: 22px; border-radius: 999px; }

.pp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 11px; }
.pp-thumb {
  aspect-ratio: 1 / 1; background-size: cover; background-position: center; border: 1px solid var(--line);
  cursor: pointer; padding: 0; filter: var(--photo-filter); opacity: 0.6; border-radius: 11px;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pp-thumb:hover { opacity: 1; }
.pp-thumb.active { opacity: 1; border-color: var(--gold); }

/* ---------- body ---------- */
.pp-body { min-width: 0; }
.pp-header { margin-bottom: 30px; }
.pp-name { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); color: var(--ink); font-weight: 600; line-height: 1.02; letter-spacing: -0.015em; }
.pp-loc { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin: 12px 0 0; }

.pp-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pp-quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px;
  padding: 11px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--chip-bg);
}
.pp-quick-item b { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.pp-quick-item i { font-style: normal; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.pp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pp-tags span {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line-gold); background: var(--chip-bg); padding: 6px 13px; border-radius: 999px;
}
.pp-actions { margin-top: 26px; }
.pp-write { width: 100%; }

/* cards */
.pp-card { margin-top: 16px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--card-bg); }
.pp-card[hidden] { display: none; }
.pp-h {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 16px;
}
.pp-about { font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.6; color: var(--ink-soft); font-style: italic; margin: 0; }

.pp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.pp-specs .spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pp-specs dt { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); align-self: center; }
.pp-specs dd { font-size: 14px; color: var(--ink); text-align: right; margin: 0; }

.pp-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.pp-chips span {
  font-size: 11px; letter-spacing: 0.06em; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--chip-bg); padding: 8px 15px; border-radius: 999px;
}
.pp-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.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.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease);
}
.pp-social:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.28); }
.pp-social--instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 70%, #285AEB 100%); }
.pp-social--telegram { background: linear-gradient(180deg, #37bbfe, #007dbb); }
.pp-social--tiktok { background: #010101; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }
.pp-social--whatsapp { background: #25D366; }
.pp-social--website { background: var(--gold); color: var(--on-gold); }

/* compact detail rows */
.pp-drow { display: flex; align-items: flex-start; gap: 14px; padding: 13px 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: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding-top: 8px;
}
.pp-drow .pp-chips { flex: 1; min-width: 0; }
.pp-note { margin: 22px 0 0; font-size: 11px; letter-spacing: 0.03em; color: var(--muted); text-align: center; line-height: 1.6; }

.pp-notfound { text-align: center; padding: 80px 0 120px; }
.pp-notfound .pp-name { font-size: clamp(34px, 5vw, 52px); }
.pp-notfound .pp-about { max-width: 460px; margin: 18px auto 32px; font-style: normal; font-size: 18px; }

/* mobile sticky CTA bar */
.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(--card-bg); border-top: 1px solid var(--line-gold);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.28); backdrop-filter: blur(12px);
}
.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: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-sticky-price { font-size: 12px; color: var(--gold-deep); }
.pp-sticky .btn { flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .profiles-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px 20px; }
}
@media (max-width: 860px) {
  .pp-layout { grid-template-columns: 1fr; gap: 26px; }
  .pp-media { position: static; }
  .pp-stage { aspect-ratio: 4 / 5; border-radius: 16px; }
  .pp-arrow { opacity: 1; width: 38px; height: 38px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .brand-sub { display: none; }
  .filter-bar { padding: 0 0 28px; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .f-search, .f-age, .f-check { grid-column: span 2; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .contact-strip { padding: 72px 0; }
  .pp { padding: 22px 0 92px; }
  .pp-thumbs { grid-template-columns: repeat(5, 1fr); }
  .pp-card { padding: 20px 18px; }
  .pp-specs { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 420px) {
  .header-actions { gap: 8px; }
  .lang-switch button { padding: 7px 8px; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-name { font-size: 21px; }
}

/* =========================================================
   CHAT DRAWER
   ========================================================= */
.chat { position: fixed; inset: 0; z-index: 300; }
.chat[hidden] { display: none; }
.chat-backdrop { position: absolute; inset: 0; background: rgba(15,11,6,0.5); backdrop-filter: blur(4px); animation: fade 0.3s 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-gold); box-shadow: -30px 0 80px -30px var(--shadow);
  animation: slideIn 0.4s var(--ease);
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.chat-head { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat-head-photo { width: 46px; height: 46px; border-radius: 50%; background-size: cover; background-position: center top; border: 1px solid var(--line-gold); flex-shrink: 0; filter: var(--photo-filter); }
.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: 20px; color: var(--ink); font-weight: 500; }
.chat-head-sub { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }
.chat-close { background: none; border: none; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; transition: 0.3s var(--ease); padding: 0 4px; }
.chat-close:hover { color: var(--gold-deep); }
.chat-thread { flex: 1; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.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: 11px 15px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); }
.cmsg-them .cmsg-bubble { background: var(--surface-2); color: var(--ink); border-top-left-radius: 2px; }
.cmsg-me .cmsg-bubble { background: var(--gold); color: var(--on-gold); border-color: var(--gold); border-top-right-radius: 2px; }
.cmsg-meta { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.chat-form { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 12px 14px; font-family: var(--sans); font-size: 14px; transition: border-color 0.3s 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: 46px; border: 1px solid var(--gold); background: var(--gold);
  color: var(--on-gold); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: 0.3s var(--ease);
}
.chat-send:hover { background: transparent; 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 20px 14px; min-height: 16px;
}
.chat-count { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.chat-warn { color: #c0392b; font-size: 12px; opacity: 0; transition: opacity .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; }

/* cabinet chat meta */
.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; letter-spacing: .04em; }
.chat2-warn { color: #c0392b; font-size: 12px; }

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.admin-body { background: var(--bg-2); }

/* login */
.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-gold);
  padding: 46px 38px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  box-shadow: 0 40px 90px -30px var(--shadow);
}
.admin-login-card .brand-mark { font-size: 30px; }
.admin-login-sub { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.admin-field { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.admin-field > span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.admin-field input {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 13px 14px; font-family: var(--sans); font-size: 15px;
}
.admin-field input:focus { outline: none; border-color: var(--gold); }
.admin-login-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.admin-login-hint.error { color: var(--wine); }
[data-theme="dark"] .admin-login-hint.error { color: #e98aa0; }

/* app shell */
.admin-app[hidden] { display: none; }
.admin-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.admin-top-brand { display: flex; align-items: baseline; gap: 12px; }
.admin-top-brand .brand-mark { font-size: 22px; }
.admin-tag { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line-gold); padding: 3px 8px; }
.admin-top-actions { display: flex; align-items: center; gap: 12px; }
.admin-link-out { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.admin-link-out:hover { color: var(--gold-deep); }
.admin-logout {
  background: none; border: 1px solid var(--line); color: var(--ink-soft); cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 16px; transition: 0.3s var(--ease);
}
.admin-logout:hover { border-color: var(--gold); color: var(--gold-deep); }

.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 61px); }
.admin-nav { border-right: 1px solid var(--line); padding: 24px 14px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left;
  background: none; border: none; color: var(--ink-soft); cursor: pointer; font-family: var(--sans);
  font-size: 13px; letter-spacing: 0.04em; padding: 12px 14px; transition: 0.25s var(--ease);
}
.admin-nav-item:hover { background: var(--surface); color: var(--ink); }
.admin-nav-item.active { background: var(--surface); color: var(--gold-deep); box-shadow: inset 2px 0 0 var(--gold); }
.nav-badge { font-size: 10px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; background: var(--gold); color: var(--on-gold); border-radius: 9px; }
.nav-badge:empty { display: none; }
.nav-badge-alert { background: var(--wine); color: #fff; }
.admin-nav-foot { margin-top: auto; padding-top: 16px; }
.admin-reset { width: 100%; background: none; border: 1px dashed var(--line); color: var(--muted); cursor: pointer; font-size: 11px; letter-spacing: 0.1em; padding: 10px; transition: 0.3s var(--ease); }
.admin-reset:hover { border-color: var(--wine); color: var(--wine); }

.admin-main { padding: 32px 36px 60px; min-width: 0; }
.admin-panel { animation: fade 0.3s var(--ease); }
.admin-panel[hidden] { display: none; }
.admin-h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--ink); margin-bottom: 26px; }
.admin-h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin: 38px 0 18px; }
.admin-empty { color: var(--muted); font-size: 14px; padding: 24px 0; text-align: center; }

/* stat cards */
.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); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.stat-val { font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--gold-deep); line-height: 1; }
.stat-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* recent activity */
.admin-activity { display: flex; flex-direction: column; border: 1px solid var(--line); }
.act-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.act-row:last-child { border-bottom: none; }
.act-type { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.act-msg { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-time { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* toolbar + inputs */
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-input { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 10px 12px; font-family: var(--sans); font-size: 13px; min-width: 160px; }
.admin-input:focus { outline: none; border-color: var(--gold); }
.admin-btn-ghost { background: none; border: 1px solid var(--line); color: var(--ink-soft); cursor: pointer; font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 14px; text-decoration: none; display: inline-block; transition: 0.3s var(--ease); }
.admin-btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

/* tables */
.admin-table-wrap { border: 1px solid var(--line); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--surface); }
.prof-thumb { display: block; width: 44px; height: 56px; background-size: cover; background-position: center top; border: 1px solid var(--line); filter: var(--photo-filter); }
.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: #5fc16f; }
.status-pending { background: var(--gold); }
.status-paused { background: #c9913f; }
.status-rejected { background: #c0556b; }

/* splash while restoring admin session */
.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: 26px; }
.admin-splash-sub { font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.admin-spinner { width: 26px; height: 26px; border: 2px 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); } }

/* paid-service chips */
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chip { display: inline-block; font-size: 11px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; color: var(--ink-soft); }
.pay-chip.pay-paid { border-color: #5fc16f; color: #3f9d52; }
.pay-chip.pay-pending { border-color: var(--gold); color: var(--gold-deep); }
.pay-chips-lg .pay-chip { font-size: 12px; padding: 5px 12px; }

/* mini decision buttons in the talents table */
.admin-btn-mini { cursor: pointer; font-family: var(--sans); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); background: none; margin: 2px 4px 2px 0; transition: 0.25s var(--ease); }
.admin-btn-ok { border-color: #5fc16f; color: #3f9d52; }
.admin-btn-ok:hover { background: #5fc16f; color: #fff; }
.admin-btn-no { border-color: #c0556b; color: #c0556b; }
.admin-btn-no:hover { background: #c0556b; color: #fff; }
.tal-view { margin-bottom: 6px; }

/* talent preview / moderation 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(12, 10, 14, 0.6); backdrop-filter: blur(3px); }
.tal-modal-card { position: relative; z-index: 1; width: 100%; max-width: 720px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.tal-modal-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.tal-modal-close:hover { border-color: var(--gold); color: var(--gold-deep); }
.tal-modal-body { padding: 26px 28px 8px; }
.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: 12px; color: var(--ink-soft); }
.tal-modal-tag { font-family: var(--sans); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--line); 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: #5fc16f; color: #3f9d52; }
.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); filter: var(--photo-filter); }
.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: 11px; letter-spacing: 0.14em; 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: 11px; color: var(--muted); letter-spacing: 0.04em; }
.tal-kv b { font-size: 14px; color: var(--ink); font-weight: 500; 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: 999px; color: var(--ink-soft); }
.tal-modal-text { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; white-space: pre-wrap; }
.tal-modal-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--surface); }
.tal-modal-foot .tal-danger { border-color: #c0556b; color: #c0556b; }
.tal-modal-foot .tal-danger:hover { background: #c0556b; color: #fff; }

/* log types */
.log-type { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.log-message { border-color: var(--line-gold); color: var(--gold-deep); }
.log-moderation { border-color: #c9913f; color: #c9913f; }
.log-auth { border-color: var(--line); }
.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); min-height: 540px; }
.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.2s var(--ease); }
.conv-item:hover { background: var(--surface); }
.conv-item.active { background: var(--surface); box-shadow: inset 2px 0 0 var(--gold); }
.conv-top { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.conv-unread { font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; text-align: center; background: var(--wine); color: #fff; border-radius: 9px; }
.conv-who { font-size: 11px; color: var(--gold-deep); letter-spacing: 0.06em; }
.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: 10px; 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); }
.msg-thread-head .muted { color: var(--muted); font-size: 11px; }
.msg-thread { flex: 1; overflow-y: auto; max-height: 56vh; padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.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: transparent; border: 1px solid var(--line); color: var(--ink); padding: 11px 14px; font-family: var(--sans); font-size: 14px; }
.msg-reply input:focus { outline: none; border-color: var(--gold); }

/* =========================================================
   RESPONSIVE — chat + admin
   ========================================================= */
@media (max-width: 980px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); padding: 12px; 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; }
  .msg-layout { grid-template-columns: 1fr; }
  .msg-list { border-right: none; border-bottom: 1px solid var(--line); max-height: 240px; }
}
@media (max-width: 560px) {
  .chat-panel { max-width: 100%; }
  .admin-main { padding: 24px 18px 50px; }
  .act-row { grid-template-columns: 1fr; gap: 4px; }
  .act-time { justify-self: start; }
}

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */
.reg-page { padding: 56px 0 90px; }
.reg-head { max-width: 720px; margin: 0 auto 34px; }
.reg-title { font-size: clamp(30px, 5vw, 50px); margin: 16px 0 10px; }
.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); background: var(--surface); font-size: 13px; color: var(--ink-soft);
}

.reg-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.reg-tab {
  background: none; border: 1px solid var(--line); color: var(--ink-soft); cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 24px; transition: 0.3s 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); }

.reg-body { display: flex; justify-content: center; }
.reg-card {
  width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--line);
  padding: 34px 34px 40px; box-shadow: 0 30px 70px -50px var(--shadow); border-radius: 18px;
}
.reg-card-narrow { max-width: 460px; }
.reg-card-wide { max-width: 880px; }
.reg-card-title { font-size: 26px; margin-bottom: 8px; }
.reg-card-text { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }

.reg-section {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep); margin: 28px 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.reg-section em { font-style: normal; color: var(--muted); font-weight: 400; letter-spacing: 0.06em; 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); }

/* telegram linking (gates social networks) */
.tg-gate-note { margin: 0 0 14px; }
.tg-box {
  border: 1px solid var(--line-gold); background: var(--chip-bg);
  border-radius: 14px; 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;
  letter-spacing: 0.04em; color: #fff; background: linear-gradient(180deg, #37bbfe, #007dbb);
  padding: 6px 12px; border-radius: 999px;
}
.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: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.reg-label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.8; }
.reg-field input,
.reg-field select,
.reg-field textarea {
  background: var(--bg); border: 1px solid var(--line); color: var(--ink); border-radius: 10px;
  padding: 11px 13px; font-family: var(--sans); font-size: 14px; width: 100%; transition: border-color 0.3s var(--ease);
}
.reg-field input:focus,
.reg-field select:focus,
.reg-field textarea:focus { outline: none; border-color: var(--gold); }
.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 15px; border: 1px solid var(--line); font-size: 13px; border-radius: 999px;
  color: var(--ink-soft); transition: 0.2s 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; filter: var(--photo-filter); transition: 0.2s var(--ease);
}
.reg-photo:hover span { border-color: var(--line-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); }

/* plans */
.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);
  height: 100%; transition: 0.25s 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; }
.plan-save { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-gold); background: var(--wine); padding: 3px 8px; }
.plan-price { font-family: var(--serif); font-size: 30px; color: var(--gold-deep); }
.plan-desc { font-size: 13px; color: var(--muted); }

/* add-ons */
.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); transition: 0.25s 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; }
.addon-price { color: var(--gold-deep); font-weight: 600; }
.addon-desc { font-size: 13px; color: var(--muted); }

.reg-summary { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.reg-total-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.reg-total { font-family: var(--serif); font-size: 38px; color: var(--gold-deep); }
.reg-note { font-size: 12px; color: var(--muted); margin-bottom: 20px; }

.reg-err { color: var(--wine); font-size: 13px; margin-bottom: 14px; }
.reg-err.ok { color: #3a8f54; }
[data-theme="dark"] .reg-err { color: #e98ca0; }
.reg-mini { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.reg-mini a { color: var(--gold-deep); }

.reg-success { padding-top: 44px; }
.reg-success-mark {
  width: 64px; height: 64px; line-height: 60px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold-deep); font-size: 30px; text-align: center;
}
.reg-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* admin: talents + payments extras */
.admin-sub { color: var(--muted); font-size: 13px; margin: -14px 0 22px; }
.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: #3a8f54; font-weight: 600; }
[data-theme="dark"] .tal-verified { color: #6fd089; }
.tal-expired { color: var(--wine); }
.tal-status { min-width: 130px; margin-right: 8px; margin-bottom: 6px; }
.log-payment { border-color: var(--line-gold); color: var(--gold-deep); }
.log-register { border-color: #4a89c0; color: #4a89c0; }
.muted { color: var(--muted); }

/* ---------- submit spacing (fix: button no longer touches the form) ---------- */
.reg-submit { margin-top: 22px; }
.reg-ok { color: #3a8f54; font-size: 13px; margin: 12px 0 0; }
[data-theme="dark"] .reg-ok { color: #6fd089; }
.reg-account-actions { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* registration step indicator */
.reg-steps {
  display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0;
  margin: 0 0 24px; counter-reset: step;
}
.reg-steps li {
  display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); 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);
}

/* =========================================================
   MODEL 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 22px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 14px;
}
.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.06em; text-transform: uppercase; 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: #3a8f54; }
.cab-status.is-active   .cab-status-dot { background: #3a8f54; }
.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: 22px; max-width: 940px; margin: 0 auto; }
.cab-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 30px 36px; box-shadow: 0 30px 70px -50px var(--shadow);
}
.cab-empty { color: var(--muted); font-size: 14px; padding: 8px 0 14px; }
.cab-lock {
  font-size: 13px; color: var(--gold-deep); background: var(--surface-2);
  border: 1px dashed var(--line-gold); padding: 12px 14px; margin: 0 0 18px;
}

/* photo manager */
.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); 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.08em;
  text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: 3px 8px;
}
.cab-photo-set {
  position: absolute; left: 8px; bottom: 8px; font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; background: rgba(0,0,0,0.55); color: #fff; border: none;
  padding: 5px 9px; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.2s;
}
.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(0,0,0,0.55); color: #fff; border: none; cursor: pointer; font-size: 12px;
  line-height: 1; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.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); }

/* crypto payment */
.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: 13px 8px; font-size: 12px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--line); transition: 0.25s 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); 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: 11px; letter-spacing: 0.1em; 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); 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; }

/* cabinet chat (model & guest) */
.chat2 { display: grid; grid-template-columns: 280px 1fr; gap: 0; border: 1px solid var(--line); 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.2s 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;
}
.chat2-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat2-name { font-size: 14px; font-weight: 600; 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: 10px; 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: 17px; color: var(--ink);
}
.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 14px; border: 1px solid var(--line); 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; }

@media (max-width: 860px) {
  .reg-grid-2, .reg-grid-3, .plan-grid { grid-template-columns: 1fr; }
  .reg-card, .cab-card { padding: 26px 20px 34px; }
  .cab-cur { grid-template-columns: 1fr; }
  .cab-invoice-grid { gap: 18px; }
  .cab-qr { margin: 0 auto; }
  .chat2 { grid-template-columns: 1fr; }
  .chat2-list { max-height: 220px; border-right: none; border-bottom: 1px solid var(--line); }
}

/* ===== cabinet: active hero, notifications, stories ===== */
.cab-hero {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 4px;
  padding: 12px 18px; border: 1px solid #5fc16f; border-left-width: 3px;
  background: linear-gradient(90deg, rgba(95,193,111,0.10), transparent);
}
.cab-hero-dot { width: 9px; height: 9px; border-radius: 50%; background: #5fc16f; box-shadow: 0 0 0 3px rgba(95,193,111,0.22); 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: 600; }
.cab-hero-main span { color: var(--muted); }

.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: 999px; background: var(--gold); color: #1a1410; font-size: 12px; text-align: center; vertical-align: middle; }
.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-t { font-weight: 600; 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: 10px; overflow: hidden; }
.cab-story-ttl { position: absolute; left: 6px; bottom: 6px; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; }
.cab-story-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: none; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.cab-story-del:hover { background: #c0556b; }

/* ===== agency manager cabinet ===== */
.cab-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab-chip { flex: none; font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }

.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: 12px; 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); }
.cab-stat span { font-size: 11px; letter-spacing: .05em; 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: 19px; 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: 14px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.mgr-girl:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mgr-girl-cover { position: relative; aspect-ratio: 3/4; background-size: cover; background-position: center top; filter: var(--photo-filter); }
.mgr-girl-cover.is-empty { background: linear-gradient(135deg, var(--surface), var(--line)); }
.mgr-girl-st { position: absolute; left: 8px; top: 8px; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,0.62); color: #fff; letter-spacing: .02em; }
.mgr-st-active { background: #5fc16f; color: #0c1a0f; }
.mgr-st-pending { background: var(--gold); color: #1a1410; }
.mgr-st-rejected { background: #c0556b; color: #fff; }
.mgr-st-suspended { background: #6c7a89; color: #fff; }
.mgr-st-expired { background: #8a8a8a; color: #fff; }
.mgr-st-draft, .mgr-st-profile { background: rgba(0,0,0,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 .2s 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: 14px; }
.mgr-empty-ico { display: block; font-size: 26px; color: var(--gold); margin-bottom: 8px; }

.chat2-for { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #1a1410; font-size: 10px; font-weight: 600; vertical-align: middle; letter-spacing: 0.02em; }
.chat2-head .chat2-for { font-size: 11px; }

.admin-h2 { font-family: var(--serif); font-size: 19px; margin: 22px 0 12px; color: var(--ink); }
.tal-modal-title { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }

/* ===== photo lightbox (profile page) ===== */
.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(8,7,9,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); }
.lightbox-close { position: absolute; top: 18px; right: 22px; z-index: 2; width: 42px; height: 42px; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 26px; cursor: pointer; border-radius: 50%; }
.lightbox-close:hover { background: rgba(255,255,255,0.24); }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 50%; }
.lightbox-nav:hover { background: rgba(255,255,255,0.24); }
.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.8); font-size: 13px; letter-spacing: 0.1em; }

/* ===== stories rail (home page) ===== */
.stories-rail { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 22px; margin-bottom: 6px; }
.story-ava { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: none; width: 76px; }
.story-ring { width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: conic-gradient(from 220deg, var(--gold), #c0556b, var(--gold-deep), 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); filter: var(--photo-filter); }
.story-ava-name { font-size: 12px; color: var(--ink-soft); max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 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(8,7,9,0.94); }
.sv-stage { position: relative; z-index: 1; width: min(420px, 96vw); height: min(86vh, 760px); background: #000; border-radius: 14px; 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%; }
.sv-bar.active i { width: 100%; transition: width 5s linear; }
.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-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; }

@media (max-width: 860px) {
  .reg-grid-2, .reg-grid-3, .plan-grid { grid-template-columns: 1fr; }
  .reg-card, .cab-card { padding: 26px 20px 34px; }
  .cab-cur { grid-template-columns: 1fr; }
  .cab-invoice-grid { gap: 18px; }
  .cab-qr { margin: 0 auto; }
  .chat2 { grid-template-columns: 1fr; }
  .chat2-list { max-height: 220px; border-right: none; border-bottom: 1px solid var(--line); }
  .cab-hero { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   LANDING SECTIONS (home page brand experience)
   ========================================================= */

/* header nav links */
.nav-links { display: flex; gap: 28px; margin-left: auto; margin-right: 8px; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; padding: 6px 0; position: relative; transition: color 0.3s var(--ease); white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right 0.35s var(--ease);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after { right: 0; }

/* mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 38px; border: 1px solid var(--line); background: none;
  cursor: pointer; padding: 0; flex-direction: column; gap: 4px;
  transition: border-color 0.3s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink-soft);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) 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(-5.5px) rotate(-45deg); }

/* generic section scaffolding */
section[id] { scroll-margin-top: 88px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0 14px; }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(28px, 4.2vw, 46px); margin: 18px 0 16px; color: var(--ink); font-weight: 500; }
.section-lead { font-size: 17px; 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: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% -10%, var(--line-gold), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 110%, rgba(110,31,51,0.10), transparent 60%),
    var(--bg-2);
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 132px 0 120px; }
.hero-eyebrow { margin-bottom: 26px; }
.hero-title { font-size: clamp(46px, 8vw, 104px); line-height: 1.0; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; max-width: 14ch; margin: 0 auto; }
.hero-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--ink-soft); max-width: 600px; margin: 28px auto 38px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-micro { margin-top: 26px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* value props */
.values { background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-card {
  border: 1px solid var(--line); background: var(--surface); padding: 36px 28px 32px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.value-card:hover { border-color: var(--line-gold); transform: translateY(-5px); }
.value-num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; color: var(--gold-deep); }
.value-t { font-size: 22px; color: var(--ink); margin: 18px 0 12px; font-weight: 500; }
.value-d { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* gallery intro */
.gallery-intro { background: var(--bg); padding-top: 56px; }

/* 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: 30px; max-width: 1000px; margin: 0 auto; }
.step-card { text-align: center; padding: 20px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  border: 1px solid var(--line-gold); border-radius: 50%; font-family: var(--serif);
  font-size: 24px; color: var(--gold-deep); margin-bottom: 22px;
}
.step-t { font-size: 22px; color: var(--ink); margin-bottom: 12px; font-weight: 500; }
.step-d { font-size: 14px; color: var(--ink-soft); line-height: 1.7; 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: 24px; }
.exp-card {
  border: 1px solid var(--line); background: var(--surface); padding: 30px 26px;
  position: relative; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.exp-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--gold);
  transition: height 0.4s var(--ease);
}
.exp-card:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.exp-card:hover::before { height: 100%; }
.exp-t { font-size: 20px; color: var(--ink); margin-bottom: 10px; font-weight: 500; }
.exp-d { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.exp-cta { margin-top: 50px; }

/* membership */
.membership { background: var(--bg-2); border-top: 1px solid var(--line); }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier-card {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--line);
  background: var(--surface); padding: 40px 32px; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tier-card:hover { border-color: var(--line-gold); transform: translateY(-5px); }
.tier-featured { border-color: var(--gold); box-shadow: 0 30px 60px -34px var(--shadow); }
.tier-badge {
  position: absolute; top: -1px; right: 24px; background: var(--gold); color: var(--on-gold);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px;
}
.tier-name { font-size: 28px; color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
.tier-pos { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-top: 8px; }
.tier-price { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 22px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tier-list { list-style: none; margin: 0 0 30px; flex: 1; }
.tier-list li { font-size: 14px; color: var(--ink-soft); line-height: 1.55; padding: 9px 0 9px 24px; position: relative; }
.tier-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-deep); }
.mem-note { margin: 48px auto 0; max-width: 640px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }

/* for women */
.forwomen {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, var(--line-gold), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.forwomen .section-lead { margin-bottom: 34px; }

/* faq */
.faq { background: var(--bg); border-top: 1px solid var(--line); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 500;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--gold-deep); font-family: var(--sans); font-weight: 300; transition: transform 0.3s var(--ease);
}
.faq-item[open] summary { color: var(--gold-deep); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; padding: 0 40px 26px 0; max-width: 680px; }

/* contact additions */
.contact-hours { margin-top: 26px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* footer top */
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding: 64px 0 48px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand-mark { display: block; margin-bottom: 12px; }
.footer-brand .brand-sub { display: block; }
.footer-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 13px; color: var(--ink-soft); text-decoration: none;
  margin-bottom: 11px; letter-spacing: 0.02em; transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold-deep); }
.footer-hours { color: var(--muted) !important; }

/* legal page */
.legal-page { padding: 64px 0 96px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.legal-tabs a {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; border: 1px solid var(--line); padding: 11px 18px; transition: all 0.3s var(--ease);
}
.legal-tabs a:hover { border-color: var(--line-gold); color: var(--gold-deep); }
.legal-tabs a.active { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.legal-doc { max-width: 760px; }
.legal-title { font-size: clamp(30px, 4.4vw, 48px); color: var(--ink); font-weight: 500; margin: 16px 0 8px; }
.legal-updated { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.legal-h { font-size: 21px; color: var(--ink); font-weight: 500; margin: 34px 0 12px; }
.legal-p { font-size: 15px; color: var(--ink-soft); line-height: 1.78; margin-bottom: 14px; }

/* 404 */
.nf-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 0; }
.nf-code { font-family: var(--serif); font-size: clamp(80px, 16vw, 180px); line-height: 1; color: var(--gold-deep); font-weight: 500; }
.nf-title { font-size: clamp(26px, 4vw, 40px); color: var(--ink); font-weight: 500; margin: 8px 0 16px; }
.nf-text { font-size: 16px; color: var(--ink-soft); max-width: 420px; margin: 0 auto 32px; }

/* landing responsive */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@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(--header-bg); backdrop-filter: blur(14px) saturate(1.1);
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 24px 40px -28px var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease);
  }
  .site-header.nav-open .nav-links {
    max-height: 60vh; opacity: 1; visibility: visible; padding: 6px 0;
  }
  .nav-links a {
    padding: 15px 40px; font-size: 12px; letter-spacing: 0.16em;
    border-top: 1px solid var(--line);
  }
  .nav-links a:first-child { border-top: none; }
  .nav-links a::after { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 92px 0 80px; }
  .steps-grid, .exp-grid, .tiers-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .tier-featured { order: -1; }
}

/* ---- mobile header: CTA must never overflow the screen ---- */
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; row-gap: 12px; column-gap: 12px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-mark { font-size: 20px; letter-spacing: 0.08em; white-space: nowrap; }
  /* controls drop to their own right-aligned row under the brand */
  .header-actions {
    flex: 0 0 100%; justify-content: flex-end; flex-wrap: wrap;
    gap: 8px; min-width: 0;
  }
  .lang-switch button { padding: 7px 9px; font-size: 9px; letter-spacing: 0.1em; }
  .theme-toggle { width: 36px; height: 34px; }
  .btn-sm { padding: 10px 16px; font-size: 10px; letter-spacing: 0.12em; max-width: 100%; }
  #navCabinet, #navJoin { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .brand-mark { font-size: 18px; }
  .header-actions { gap: 6px; }
  .lang-switch button { padding: 6px 7px; letter-spacing: 0.06em; }
  .theme-toggle { width: 34px; height: 32px; }
  .btn-sm { padding: 9px 12px; }
}

/* =========================================================
   GLOBAL MOBILE POLISH (whole-site adaptation)
   ========================================================= */
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }

@media (max-width: 600px) {
  /* never let a long word break the layout */
  body { word-break: normal; overflow-wrap: anywhere; }

  /* 16px form fields prevent iOS auto-zoom on focus */
  .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; }

  /* tighter vertical rhythm */
  .catalog { padding: 28px 0 48px; }
  .gallery-intro { padding-top: 32px; }
  .gallery-intro.section-tight { padding-bottom: 6px; }
  .contact-strip { padding: 56px 0; }
  .catalog-note { margin-top: 40px; }

  /* filter bar — collapsible on phones */
  .filter-bar { padding: 0 0 20px; }
  .filter-toggle { display: flex; }
  .filter-bar:not(.open) .filter-panel { display: none; }
  .filter-bar.open .filter-panel { padding-top: 14px; }
  .filter-bar.open .filter-grid {
    max-height: min(58vh, 480px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-deep) transparent;
  }
  .filter-bar.open .filter-grid::-webkit-scrollbar { width: 6px; }
  .filter-bar.open .filter-grid::-webkit-scrollbar-track { background: transparent; }
  .filter-bar.open .filter-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
    border-radius: 99px;
  }
  .filter-head { flex-wrap: wrap; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; }
  .filter-head-label { font-size: 18px; }
  .filter-head-actions { width: 100%; justify-content: space-between; }
  .filter-grid { grid-template-columns: 1fr; gap: 14px; }
  .f-search, .f-age, .f-check { grid-column: span 1; }

  /* registration */
  .reg-page { padding: 36px 0 60px; }
  .reg-card, .reg-card-narrow, .reg-card-wide { max-width: 100%; }
  .reg-tab { padding: 10px 15px; font-size: 11px; letter-spacing: 0.08em; }
  .reg-account-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .reg-account-actions { width: 100%; }
  .reg-total { font-size: 30px; }
  .plan-price { font-size: 26px; }

  /* cabinet */
  .cab-card { padding: 22px 16px 28px; }
  .cab-status { padding: 13px 15px; }
  .cab-grid, .cab-status { max-width: 100%; }
  .cab-invoice-grid { gap: 16px; }
  .cab-qr img { width: 160px; height: 160px; }
  .chat2-thread, .msg-thread { max-height: 50vh; }

  /* profile page */
  .pp-write { display: block; width: 100%; text-align: center; }
  .pp-socials { gap: 8px; }

  /* admin: comfortable on phones */
  .admin-top { padding: 12px 16px; }
  .admin-h1 { font-size: 26px; margin-bottom: 18px; }
  .admin-main { padding: 20px 14px 44px; }
  .admin-toolbar { gap: 8px; }
  .admin-input { min-width: 0; width: 100%; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .tal-modal { padding: 16px 10px; }
  .tal-modal-body { padding: 22px 18px 8px; }
  .tal-modal-foot { padding: 14px 18px; }
  .tal-modal-photos { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }

  /* generic buttons easier to tap */
  .btn { padding: 13px 22px; }
}

@media (max-width: 400px) {
  .profile-name { font-size: 20px; }
  .reg-card, .cab-card { padding: 20px 14px 26px; }
  .stat-grid { grid-template-columns: 1fr; }
  .cab-qr img { width: 140px; height: 140px; }
}

/* =========================================================
   EXTENDED MOBILE / TABLET ADAPTATION (every element)
   ========================================================= */

/* safe-area for notched phones on sticky/fixed surfaces */
.chat-form { padding-bottom: max(16px, env(safe-area-inset-bottom)); }

/* tablet portrait */
@media (max-width: 860px) {
  .profiles-grid { grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); }
  .contact-strip { padding: 84px 0; }
  .tal-modal-head h2 { font-size: 21px; }
  .reg-success-actions { gap: 10px; }
}

/* align mobile nav dropdown links with the container padding */
@media (max-width: 768px) {
  .nav-links a { padding-left: 20px; padding-right: 20px; }
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}

/* phones — wide */
@media (max-width: 600px) {
  /* tighter landing rhythm */
  .section { padding: 52px 0; }
  .section-tight { padding: 40px 0 10px; }
  .section-head { margin-bottom: 36px; }
  .hero-inner { padding: 72px 0 64px; }
  .hero-cta { gap: 10px; }

  /* button groups: full-width & stacked for easy tapping */
  .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;
  }

  /* landing cards */
  .step-card { padding: 12px; }
  .value-card { padding: 28px 22px 26px; }
  .tier-card { padding: 32px 24px; }
  .exp-card { padding: 26px 22px; }
  .step-num { width: 52px; height: 52px; font-size: 22px; margin-bottom: 18px; }

  /* faq */
  .faq-item summary { font-size: 18px; padding-right: 34px; }
  .faq-item summary::after { font-size: 24px; }
  .faq-item p { padding-right: 0; }

  /* legal */
  .legal-page { padding: 40px 0 64px; }
  .legal-tabs { gap: 8px; margin-bottom: 30px; }
  .legal-tabs a { padding: 9px 13px; font-size: 10px; }
  .legal-h { font-size: 19px; }

  /* profile page details */
  .pp-specs .spec-row { gap: 12px; }
  .pp-drow { flex-direction: column; gap: 8px; }
  .pp-dlabel { flex: none; padding-top: 0; }

  /* admin sidebar -> horizontally scrollable strip */
  .admin-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-nav-item { white-space: nowrap; flex: 0 0 auto; }
  .admin-nav-foot { flex: 0 0 auto; margin-left: auto; }
  .admin-table th, .admin-table td { padding: 10px 12px; }

  /* footer columns slightly tighter */
  .footer-bottom { padding: 40px 0; }
}

/* phones — narrow */
@media (max-width: 480px) {
  .contact-channels { gap: 10px; }
  .reg-steps { gap: 6px; }
  .reg-steps li { padding: 6px 10px; font-size: 11px; }
  .tier-name { font-size: 24px; }
  .strip-title { font-size: clamp(26px, 8vw, 40px); }
  .pp-name { font-size: clamp(32px, 9vw, 44px); }
  .reg-title { font-size: clamp(26px, 8vw, 40px); }
  .cab-status { flex-direction: column; align-items: flex-start; }
  .cab-status-side { width: 100%; }
}

/* very small phones */
@media (max-width: 360px) {
  .profiles-grid { gap: 12px 10px; }
  .nav-links a { padding-left: 14px; padding-right: 14px; }
  .container { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .brand-sub { font-size: 8px; }
  .profile-body { padding: 14px 13px 18px; }
  .profile-name { font-size: 19px; }
}

/* landscape phones — keep hero & overlays usable */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-inner { padding: 48px 0 40px; }
  .nf-page { min-height: auto; padding: 48px 0; }
  .admin-login { min-height: auto; padding: 40px 24px; }
  .sv-stage { height: 92vh; width: min(380px, 60vw); }
  .chat-thread, .chat2-thread, .msg-thread { max-height: 58vh; }
  .lightbox-img { max-height: 84vh; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .profile { opacity: 1; transform: none; }
  .sv-bar.active i { transition: none; width: 100%; }
}

/* =========================================================
   MODERN REDESIGN — bold override layer (v2)
   Editorial hero · lookbook overlay cards · oversized type
   ========================================================= */

/* Header — airier, modern uppercase wordmark, soft hairline */
.site-header { border-bottom: none; box-shadow: 0 1px 0 var(--line); padding: 20px 0; }
.brand-mark { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }
.brand-sub { letter-spacing: 0.3em; }
.nav-links a { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }

/* Hero — editorial, left-aligned, oversized display */
.hero { border-bottom: none; }
.hero-inner {
  text-align: left;
  padding: clamp(96px, 14vw, 178px) 0 clamp(82px, 12vw, 148px);
  max-width: 1080px;
}
.hero-eyebrow { margin-bottom: 30px; }
.hero-eyebrow.eyebrow::before { display: none; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 11.5vw, 150px);
  line-height: 0.92; letter-spacing: -0.045em; font-weight: 700;
  max-width: 15ch; margin: 0;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { margin: 32px 0 42px; max-width: 540px; font-size: clamp(16px, 1.7vw, 21px); }
.hero-cta { justify-content: flex-start; }
.hero-micro { text-align: left; }

/* Section heads — left, oversized */
.section-head { max-width: var(--maxw); margin: 0 0 50px; text-align: left; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }
.section-title { font-family: var(--serif); font-size: clamp(36px, 6vw, 76px); letter-spacing: -0.03em; font-weight: 700; margin: 16px 0 16px; }

/* Catalogue — lookbook overlay cards (image-forward, text over photo) */
.profiles-grid { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 26px 22px; }
.profile {
  background: #0e0a07; border: none; border-radius: 18px;
  box-shadow: 0 16px 36px -24px var(--shadow);
}
.profile::after { border: none; }
.profile:hover { transform: translateY(-8px); box-shadow: 0 44px 74px -32px var(--shadow); }
.profile:hover::after { border: none; }
.profile-photo { aspect-ratio: 3 / 4.15; }
.profile-photo::after {
  background: linear-gradient(to top,
    rgba(8,5,3,0.95) 0%, rgba(8,5,3,0.64) 26%, rgba(8,5,3,0.08) 52%, transparent 70%);
}
.profile-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 22px 20px; background: transparent;
}
.profile-name {
  color: #fff; font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.012em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
.profile-loc { color: var(--gold-2); margin-top: 7px; }
.profile-divider { display: none; }
.profile-phys { color: rgba(255,255,255,0.80); margin-top: 8px; }
.profile-travel { color: rgba(255,255,255,0.64); }
.profile-travel::before { color: var(--gold-2); }
.profile-tags { margin-top: 13px; }
.profile-tags span {
  color: #f4ece0; border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.10); backdrop-filter: blur(6px);
}
.profile-hoverbtn { display: none; }
.profile-verified { background: rgba(8,5,3,0.5); }

/* Contact strip — bolder */
.strip-title { font-size: clamp(36px, 6vw, 66px); letter-spacing: -0.02em; }

/* Mobile re-tune for the new overlay cards & oversized type */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(42px, 13vw, 74px); }
  .section-title { font-size: clamp(30px, 9vw, 46px); }
  .profile-name { font-size: 22px; }
  .profile-body { padding: 17px 15px; }
}
@media (max-width: 360px) {
  .profile-name { font-size: 20px; }
  .profile-body { padding: 14px 13px; }
}

/* ---------- Profile form: lang stars + rates ---------- */
.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: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rates-row + .rates-row { margin-top: 8px; }
.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;
  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='%23e4b878' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.rates-del {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1;
}
.rates-del:hover { border-color: var(--wine); color: var(--wine); }
.rates-add { margin-top: 12px; }

/* Profile page: langs + rates */
.pp-langs { display: grid; gap: 10px; }
.pp-lang-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 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: 12px; }
.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.12em; text-transform: uppercase; color: var(--gold); }
.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: 22px; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; }
.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.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }

@media (max-width: 760px) {
  .rates-head { display: none; }
  .rates-row { grid-template-columns: 1fr 1fr; }
  .rates-row .rate-duration, .rates-row .rate-service { grid-column: span 1; }
  .rates-row .rate-price, .rates-row .rate-currency { grid-column: span 1; }
  .rates-del { grid-column: 2; justify-self: end; }
  .pp-rate { flex-direction: column; align-items: flex-start; }
  .pp-rate-side { text-align: left; width: 100%; }
  .pp-rate-tags { justify-content: flex-start; }
}
