﻿/* ============================================================
   KIZDAR TYT вЂ” flat dark theme
   neutral grays · red accent · system fonts
   ============================================================ */

:root {
  --bg: #111111;
  --bg-soft: #171717;
  --bg-card: #1c1c1c;
  --bg-card-2: #212121;
  --bg-inset: #161616;
  --line: #2b2b2b;
  --line-soft: #242424;
  --text: #ececec;
  --text-2: #adadad;
  --muted: #858585;
  --rose: #d94f43;
  --rose-2: #e4665c;
  --rose-soft: rgba(217, 79, 67, 0.13);
  --gold: #b3924f;
  --gold-2: #cbaa68;
  --gold-soft: rgba(179, 146, 79, 0.13);
  --green: #4c9a74;
  --green-soft: rgba(76, 154, 116, 0.13);
  --red: #cf4437;
  --red-soft: rgba(207, 68, 55, 0.13);
  --blue: #4f7ec2;
  --violet: #8b74c9;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-xs: 7px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.45);
  --ring: 0 0 0 2px rgba(217, 79, 67, 0.3);
  --font: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: var(--font);
  --t: 0.15s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--rose-2); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-2); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 0.4em; }
h1 { font-size: 26px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; font-family: var(--font); font-weight: 700; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.page { padding: 26px 0 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head-actions { display: flex; gap: 10px; align-items: center; }
.page-head p { margin: 4px 0 0; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.muted.small, .small.muted { font-size: 12.5px; color: var(--muted); }
p { margin: 0 0 0.8em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- back link ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 13px; margin-bottom: 14px;
}
.back-link:hover { color: var(--rose-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--font);
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { border-color: #3d3d3d; background: var(--bg-card-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--rose);
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover { background: var(--rose-2); color: #fff; }

.btn-vip {
  background: var(--gold);
  border-color: transparent;
  color: #14100a;
}
.btn-vip:hover { background: var(--gold-2); color: #14100a; }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-card); border-color: #3d3d3d; }

.btn-danger {
  background: transparent; border-color: rgba(207, 68, 55, 0.4); color: var(--red);
}
.btn-danger:hover { background: var(--red-soft); border-color: var(--red); color: #ef8577; }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-btns form { margin: 0; }
.inline { display: inline-flex; }

.x-btn {
  width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--bg-inset); color: var(--muted); cursor: pointer; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.x-btn:hover { color: var(--red); border-color: var(--red); }

/* ---------- badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font: 700 10.5px/1 var(--font); letter-spacing: 0.4px;
  padding: 4px 8px; border-radius: 6px; text-transform: uppercase;
}
.badge-vip { background: var(--gold); color: #14100a; }
.badge-top { background: var(--rose); color: #fff; }
.badge-new { background: var(--green-soft); color: var(--green); border: 1px solid rgba(76, 154, 116, 0.3); }
.badge-dark { background: rgba(17, 17, 17, 0.72); color: var(--text-2); backdrop-filter: blur(6px); }
.badge-boost { background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(179, 146, 79, 0.3); }
.badge .badge-icon, .badge svg { flex: 0 0 auto; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 13px/1 var(--font);
  padding: 8px 14px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text-2);
  cursor: pointer;
}
.chip:hover { border-color: #3d3d3d; color: var(--text); }
.chip.active { background: var(--rose-soft); border-color: rgba(217, 79, 67, 0.5); color: var(--rose-2); }
.chip-count { font-size: 11px; color: var(--muted); background: var(--bg-inset); border-radius: 6px; padding: 2px 7px; }
.chip.active .chip-count { background: rgba(217, 79, 67, 0.2); color: var(--rose-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.count-pill {
  font: 700 11px/1 var(--font); color: var(--rose-2);
  background: var(--rose-soft); border: 1px solid rgba(217, 79, 67, 0.3);
  border-radius: 6px; padding: 3px 8px;
}

/* ---------- toggles (chip-toggle) ---------- */
.chip-toggle { position: relative; display: inline-flex; cursor: pointer; }
.chip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.chip-toggle span {
  font: 600 13px/1 var(--font);
  padding: 8px 14px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text-2);
  transition: all var(--t);
}
.chip-toggle:hover span { border-color: #3d3d3d; color: var(--text); }
.chip-toggle input:checked + span {
  background: var(--rose-soft); border-color: rgba(217, 79, 67, 0.55); color: var(--rose-2);
}

/* ---------- quick toggles «С фото / Проверенные» ---------- */
.quick-toggles { gap: 10px; }
.quick-toggle { position: relative; display: block; flex: 1; min-width: 45%; cursor: pointer; }
.quick-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.qt-face {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 14px; border-radius: 10px;
  background: var(--bg-inset); border: 1px solid var(--line);
  color: var(--text-2);
  transition: all var(--t);
}
.qt-ico { flex: 0 0 auto; opacity: 0.85; transition: all var(--t); }
.qt-label { font: 700 13px/1 var(--font); letter-spacing: 0.2px; }
.qt-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--line); background: transparent; color: transparent;
  font-size: 0; transition: all var(--t);
}
.quick-toggle:hover .qt-face { border-color: #3d3d3d; color: var(--text); }
/* активное состояние: «С фото» — розовый акцент */
.quick-toggle input:checked ~ .qt-photo {
  background: var(--rose-soft);
  border-color: rgba(217, 79, 67, 0.55);
  color: var(--rose-2);
  box-shadow: 0 0 0 3px rgba(217, 79, 67, 0.07);
}
.quick-toggle input:checked ~ .qt-photo .qt-check {
  background: var(--rose); border-color: var(--rose); color: #fff;
}
/* активное состояние: «Проверенные» — золотой акцент */
.quick-toggle input:checked ~ .qt-verified {
  background: var(--gold-soft);
  border-color: rgba(179, 146, 79, 0.55);
  color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(179, 146, 79, 0.08);
}
.quick-toggle input:checked ~ .qt-verified .qt-check {
  background: var(--gold); border-color: var(--gold); color: #14100a;
}

/* ---------- fields ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; }
.field > span { font: 600 13px/1 var(--font); color: var(--text-2); }
.field input, .field select, .field textarea,
.auction-input input, .report-form select, .report-form textarea,
.interest-add input, .admin-search input, .balance-form input {
  font: 500 14px/1.4 var(--font);
  color: var(--text);
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 11px 13px;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus,
.report-form select:focus, .report-form textarea:focus, .auction-input input:focus {
  outline: none; border-color: var(--rose); box-shadow: var(--ring);
}
.field textarea { resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--rose); width: auto; }
input[type='search'] { -webkit-appearance: none; }
input::placeholder, textarea::placeholder { color: #7a7a7a; }
input[type='file'] { font-size: 13px; color: var(--text-2); background: var(--bg-card); border: 1px dashed var(--line); border-radius: var(--radius-xs); padding: 10px 13px; width: 100%; cursor: pointer; }
input[type='file']:hover { border-color: var(--rose); }

/* ---------- flash ---------- */
.flash {
  margin: 0 0 18px; padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 14px; border: 1px solid;
}
.flash-success { background: var(--green-soft); border-color: rgba(76, 154, 116, 0.4); color: var(--green); }
.flash-error { background: var(--red-soft); border-color: rgba(207, 68, 55, 0.4); color: #ef8577; }
.flash-warning { background: var(--gold-soft); border-color: rgba(179, 146, 79, 0.4); color: var(--gold-2); }
.flash-info { background: var(--bg-card); border-color: var(--line); color: var(--text-2); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { width: 26px; height: 26px; color: var(--rose); }
.logo-text { font-weight: 800; font-size: 19px; letter-spacing: -0.2px; color: var(--text); }
.logo:hover .logo-text { color: var(--text); }
.logo-sm .logo-text { font-size: 17px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  font: 500 14px/1 var(--font); color: var(--text-2);
  padding: 9px 13px; border-radius: 6px;
  transition: all var(--t);
}
.nav > a:hover { color: var(--text); background: var(--bg-card); }
.nav > a.active { color: var(--rose-2); background: var(--rose-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav-actions form { margin: 0; }

.balance-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 13px/1 var(--font); color: var(--gold-2);
  padding: 8px 13px; border-radius: 6px;
  background: var(--gold-soft); border: 1px solid rgba(179, 146, 79, 0.35);
}
.balance-chip:hover { border-color: var(--gold); color: var(--gold-2); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: all var(--t); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-soft); padding: 38px 0 26px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 30px; }
.footer-title { font: 700 12px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; color: var(--text-2); margin-bottom: 12px; }
.footer-links, .footer-cities { display: flex; flex-direction: column; gap: 7px; }
.footer-links a, .footer-cities a { color: var(--muted); font-size: 13px; }
.footer-links a:hover, .footer-cities a:hover { color: var(--rose-2); }
.footer-cities--many { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
.footer-all-cities { font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.age-badge { font: 700 11px/1 var(--font); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; color: var(--muted); }

/* ---------- main ---------- */
.main { min-height: 60vh; }

/* ---------- empty ---------- */
.empty {
  text-align: center; padding: 60px 20px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
}
.empty h3 { font-size: 18px; }
.empty .btn { margin-top: 14px; }
.empty-art { max-width: 180px; margin: 0 auto 14px; opacity: 0.9; }

/* ---------- cta ---------- */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin: 26px 0;
  flex-wrap: wrap;
}
.cta h2, .cta h3 { margin: 0 0 4px; }
.cta p { margin: 0; }
.cta-sm { padding: 18px 22px; margin: 18px 0 0; }

/* ---------- auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 64px); }
.auth-art {
  position: relative; overflow: hidden;
  background: var(--bg-soft);
  display: flex; align-items: flex-end; padding: 48px;
}
.auth-quote p { font-family: var(--font-display); font-size: 34px; color: var(--text); margin: 0 0 8px; }
.auth-quote span { color: var(--muted); font-size: 15px; }
.auth-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-alt { text-align: center; color: var(--muted); margin-top: 18px; font-size: 14px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--muted); padding: 13px 14px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255, 255, 255, 0.015); }
.table .num { text-align: right; }
.table .nowrap { white-space: nowrap; }
.table a { color: var(--text); font-weight: 600; }
.table a:hover { color: var(--rose-2); }
.table-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.tp-person { display: flex; align-items: center; gap: 10px; }
.tp-name { display: block; }
.tp-email { font-size: 11.5px; }
.amount-plus { color: var(--green); font-weight: 700; }
.amount-minus { color: var(--red); font-weight: 700; }
.table input[type='text'], .table input[type='number'], .table input[type='search'] {
  font: 500 13px/1.3 var(--font); color: var(--text);
  background: var(--bg-inset); border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 10px; max-width: 220px;
}
.table input:focus { outline: none; border-color: var(--rose); }
.balance-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.balance-form input[type='number'] { max-width: 110px; }
.reject-form input[type='text'] { max-width: 260px; }

/* ---------- status ---------- */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 11px/1 var(--font); letter-spacing: 0.5px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; border: 1px solid;
}
.status-approved { color: var(--green); background: var(--green-soft); border-color: rgba(76, 154, 116, 0.35); }
.status-pending { color: var(--gold-2); background: var(--gold-soft); border-color: rgba(179, 146, 79, 0.35); }
.status-rejected, .status-expired { color: var(--red); background: var(--red-soft); border-color: rgba(207, 68, 55, 0.35); }
.status-hidden { color: var(--muted); background: var(--bg-inset); border-color: var(--line); }
.status-draft { color: var(--blue); background: rgba(79, 126, 194, 0.12); border-color: rgba(79, 126, 194, 0.35); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.status-dot-approved { background: var(--green); }
.status-dot-pending { background: var(--gold); }
.status-dot-rejected, .status-dot-expired { background: var(--red); }
.status-dot-hidden { background: var(--muted); }
.status-dot-draft { background: var(--blue); }

/* ---------- tabs (admin) ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.tabs .chip { font-size: 13px; }
.admin-stats { margin-bottom: 6px; }
.admin-search { display: flex; gap: 10px; margin-bottom: 16px; }
.admin-search input { flex: 1; max-width: 380px; }
.interest-add { display: flex; gap: 10px; margin-bottom: 16px; }
.interest-add input { flex: 1; max-width: 480px; }

/* ---------- mod cards ---------- */
.mod-card, .verify-mod {
  display: flex; gap: 18px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 14px;
}
.mod-photos { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.mod-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.mod-photos span { align-self: center; }
.mod-body { flex: 1; min-width: 260px; }
.mod-body h3 { margin-bottom: 6px; }
.mod-body h3 a { color: var(--text); }
.mod-body h3 a:hover { color: var(--rose-2); }
.mod-body .row-btns { margin-top: 10px; }
.verify-mod-selfie img { width: 150px; height: 150px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--gold); }
.verify-mod-selfie span { display: block; text-align: center; margin-top: 6px; }
.verify-mod-photos { display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; }
.verify-mod-photos img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.verify-code { font: 700 15px/1 var(--font-mono, monospace); letter-spacing: 3px; color: var(--gold-2); background: var(--gold-soft); border: 1px solid rgba(179, 146, 79, 0.4); padding: 4px 10px; border-radius: 6px; }

/* ---------- promo chips (admin) ---------- */
.promo-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.promo-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 12px/1 var(--font); padding: 5px 9px; border-radius: 7px;
  background: var(--bg-inset); border: 1px solid var(--line); color: var(--text-2);
}
.promo-chip b { color: var(--rose-2); font-weight: 800; }
.promo-chip form { display: inline-flex; margin: 0; }
.promo-chip-top { border-color: rgba(217, 79, 67, 0.4); background: var(--rose-soft); }
.promo-chip-top b { color: var(--rose-2); }
.promo-chip-boost b { color: var(--gold-2); }
.promo-chip .x-btn { width: 18px; height: 18px; font-size: 9px; }

.mini-menu { position: relative; display: inline-flex; }
.mini-menu summary {
  list-style: none; cursor: pointer;
  font: 600 12px/1 var(--font); color: var(--gold-2);
  padding: 5px 9px; border-radius: 7px; border: 1px solid rgba(179, 146, 79, 0.4); background: var(--gold-soft);
}
.mini-menu summary::-webkit-list-marker { display: none; }
.mini-menu[open] summary { border-color: var(--gold); }
.mini-menu-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; min-width: 200px;
}
.mini-menu-days { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- error page ---------- */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 30px; }
.error-page .btn { margin-top: 16px; }

/* ---------- rules / prose ---------- */
.prose h1 { margin-bottom: 18px; }
.prose h2 { margin-top: 28px; font-size: 19px; }
.prose p, .prose li { color: var(--text-2); font-size: 14.5px; }
.prose ul { padding-left: 20px; }/* ---------- catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }

.catalog-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; }

.city-picker { position: relative; z-index: 30; }
.city-picker summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 14px/1 var(--font); color: var(--text);
  padding: 11px 16px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: border-color var(--t);
}
.city-picker summary::-webkit-list-marker { display: none; }
.city-picker summary:hover { border-color: #3d3d3d; }
.city-picker summary svg { color: var(--gold-2); flex: 0 0 auto; }
.city-picker .chevron { transition: transform var(--t); color: var(--muted); }
.city-picker[open] .chevron { transform: rotate(180deg); }
.city-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 31;
  min-width: 250px; max-height: 380px; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px; box-shadow: var(--shadow-lg);
}
.city-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 7px; color: var(--text-2); font-size: 14px;
}
.city-option:hover { background: var(--bg-inset); color: var(--text); }
.city-option.active { background: var(--rose-soft); color: var(--rose-2); font-weight: 700; }
.city-option-count { font-size: 11.5px; color: var(--muted); background: var(--bg-inset); border-radius: 6px; padding: 2px 8px; }
.city-option.active .city-option-count { background: rgba(217, 79, 67, 0.2); color: var(--rose-2); }

.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 14px/1 var(--font); color: var(--text-2);
  padding: 11px 16px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: all var(--t);
}
.cat-tab:hover { color: var(--text); border-color: #3d3d3d; }
.cat-tab.active { background: var(--rose-soft); border-color: rgba(217, 79, 67, 0.55); color: var(--rose-2); }
.cat-tab .chip-count { font-size: 11px; color: var(--muted); background: var(--bg-inset); border-radius: 6px; padding: 2px 7px; }
.cat-tab.active .chip-count { background: rgba(217, 79, 67, 0.2); color: var(--rose-2); }

.filters-toggle { font-weight: 700; }

/* ---------- filters (sidebar) ---------- */
.filters {
  position: sticky; top: 80px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.filters-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.filters-title { font: 700 16px/1 var(--font); margin: 0; flex: 1; }
.filters-head-count { margin-left: auto; }
.filters-close {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 17px; color: var(--muted); padding: 4px 8px; border-radius: 6px;
}
.filters-close:hover { color: var(--text); background: var(--bg-inset); }

.filters-form { display: flex; flex-direction: column; gap: 12px; }
.filters-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.f-group { border: 0; padding: 0; margin: 0; }
.f-card--top { display: flex; flex-direction: column; gap: 12px; }

.f-sort { margin: 0; }
.f-sort > span { font: 600 13px/1 var(--font); color: var(--text-2); display: block; margin-bottom: 7px; }
.field-flush { gap: 7px; margin: 0; }

/* expansion */
.expansion-item { border-bottom: 1px solid var(--line-soft); padding: 4px 0 10px; }
.expansion-item[open] { padding-bottom: 14px; }
.expansion-title {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 9px;
  font: 600 14px/1 var(--font); color: var(--text-2);
  padding: 9px 2px;
  border-radius: 7px;
  transition: color var(--t);
  user-select: none;
}
.expansion-title::-webkit-list-marker { display: none; }
.expansion-title:hover { color: var(--text); }
.expansion-title .count-pill { margin-left: auto; }
.f-ico { color: var(--muted); flex: 0 0 auto; }
.expansion-item[open] .f-ico { color: var(--gold-2); }
.f-caret {
  margin-left: auto; position: relative; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t);
}
.expansion-item[open] .f-caret { transform: rotate(-135deg) translate(-2px, -2px); }
.expansion-item[open] .expansion-title .f-caret { margin-left: 4px; }
.expansion-item[open].count-pill, .expansion-title .count-pill { margin-left: 0; }
.expansion-title > .count-pill { margin-left: auto; }
.expansion-title > .count-pill + .f-caret { margin-left: 0; }
.expansion-content { padding: 6px 0 4px; display: flex; flex-direction: column; gap: 12px; }

.f-choice { display: flex; flex-direction: column; gap: 7px; }
.f-choice-label { font: 600 13px/1 var(--font); color: var(--text-2); }

/* ---------- swatch (hair colors etc.) ---------- */
.swatch-row { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch2 { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; padding: 6px 7px 5px; border-radius: 9px; border: 1px solid transparent; transition: all var(--t); }
.swatch2:hover { border-color: var(--line); background: var(--bg-inset); }
.swatch2 input { position: absolute; opacity: 0; pointer-events: none; }
.swatch2 input:checked ~ .swatch-dot { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--rose); }
.swatch-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-inset); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.swatch-dot i { position: absolute; inset: 2px; border-radius: 50%; }
.swatch-dot span { font-size: 11px; color: var(--muted); font-weight: 700; }
.swatch-name { font: 600 11px/1.2 var(--font); color: var(--text-2); white-space: nowrap; }
.swatch2 input:checked ~ .swatch-name { color: var(--rose-2); }

/* ---------- seg pair (РЎ С„РѕС‚Рѕ / РџСЂРѕРІРµСЂРµРЅРЅС‹Рµ) ---------- */
.seg-pair { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-pair label { flex: 1; min-width: 45%; }

/* ---------- active chips ---------- */
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.active-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 12.5px/1 var(--font); color: var(--text-2);
  padding: 7px 12px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: all var(--t);
}
.active-chip:hover { color: var(--red); border-color: rgba(207, 68, 55, 0.5); background: var(--red-soft); }
.active-chip span { font-size: 11px; color: var(--muted); }
.active-chip:hover span { color: var(--red); }
.active-chip-clear { border-style: dashed; color: var(--muted); }
.active-chip-clear:hover { color: var(--red); }

/* ---------- grid & cards ---------- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 14px;
}
.catalog-results { min-width: 0; }

.card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t);
  display: flex; flex-direction: column;
}
.card:hover { border-color: #3d3d3d; }

.card-link { display: flex; flex-direction: column; flex: 1; color: var(--text); }
.card-link:hover { color: var(--text); }

.card-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-inset); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { filter: saturate(0.8) brightness(0.85); }

.card-badges { position: absolute; top: 10px; left: 10px; right: 44px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-badges .badge { backdrop-filter: blur(4px); }

.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-title { font: 700 15.5px/1.25 var(--font); color: var(--text); }
.price-from { font: 700 12px/1 var(--font); color: var(--gold-2); white-space: nowrap; background: var(--gold-soft); border-radius: 6px; padding: 4px 7px; }

.card-params { display: flex; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.card-params span { display: inline-flex; align-items: center; gap: 4px; }

.card-kicker--body {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  font: 700 10px/1 var(--font); text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--gold-2); background: var(--gold-soft); border: 1px solid rgba(179, 146, 79, 0.3);
  padding: 3px 7px; border-radius: 5px;
}
.card-kicker--body svg { color: var(--gold-2); }

.price-chips { display: flex; flex-direction: column; gap: 5px; margin-top: auto; }
.price-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12px; color: var(--text-2);
  background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: 7px;
  padding: 6px 10px;
}
.pc-name { font-weight: 600; color: var(--muted); white-space: nowrap; }
.pc-sum { color: var(--text); font-weight: 700; letter-spacing: 0.2px; }

/* fav button on card */
.fav-form { position: absolute; top: 8px; right: 8px; z-index: 5; margin: 0; }
.fav-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17, 17, 17, 0.65); backdrop-filter: blur(6px);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--t); padding: 0;
}
.fav-btn svg { fill: currentColor; opacity: 0.85; }
.fav-btn:hover { background: rgba(17, 17, 17, 0.85); }
.fav-btn.active { color: var(--rose-2); }
.fav-btn.active svg { fill: var(--rose-2); opacity: 1; }
.fav-btn.pop { animation: fav-pop 0.4s ease; }
@keyframes fav-pop { 40% { transform: scale(1.3); } }
.fav-btn.big { width: 44px; height: 44px; background: var(--bg-card); border: 1px solid var(--line); }
.fav-btn.big:hover { border-color: var(--rose); }

/* card states */
.card-vip { border-color: var(--gold); }
.card-vip:hover { border-color: var(--gold); }
.card-hl { border-width: 1.5px; }
.card-hl-rose { border-color: var(--rose); }
.card-hl-gold { border-color: var(--gold); }
.card-hl-blue { border-color: var(--blue); }
.card-hl-violet { border-color: var(--violet); }
.card-hl-green { border-color: var(--green); }
.hl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.hl-dot-rose { background: var(--rose); }
.hl-dot-gold { background: var(--gold); }
.hl-dot-blue { background: var(--blue); }
.hl-dot-violet { background: var(--violet); }
.hl-dot-green { background: var(--green); }

/* ---------- VIP hero (winner block above catalog) ---------- */
.vip-hero {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 0; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(179, 146, 79, 0.45); border-radius: var(--radius);
  margin-bottom: 18px; position: relative;
  transition: border-color var(--t);
}
.vip-hero:hover { box-shadow: none; }
.vip-hero-media { position: relative; min-height: 210px; }
.vip-hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.vip-hero-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.vip-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 11.5px/1 var(--font); text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--gold-2);
}
.vip-kicker svg { color: var(--gold-2); }
.vip-name { font-family: var(--font-display); font-size: 25px; margin: 0; color: var(--text); }
.vip-params { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.vip-verified { color: var(--green); font-weight: 700; }
.vip-about { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 560px; }
.vip-hero .btn-vip { margin-top: 4px; }

.vip-free {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px dashed rgba(179, 146, 79, 0.4); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 18px; color: var(--text);
  transition: border-color var(--t);
}
.vip-free:hover { border-color: var(--gold); color: var(--text); }
.vip-free-icon { color: var(--gold-2); display: flex; flex: 0 0 auto; }
.vip-free-text { flex: 1; min-width: 0; }
.vip-free-text strong { display: block; font-size: 14.5px; color: var(--text); }
.vip-free-text .muted.small { display: block; margin-top: 2px; }

/* ---------- verified badge ---------- */
.verified-badge, .badge-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font: 700 10.5px/1 var(--font); letter-spacing: 0.3px; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  border: 1px solid rgba(76, 154, 116, 0.35); border-radius: 6px; padding: 4px 8px;
}
.verified-badge svg { color: var(--green); }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 26px 0 6px; flex-wrap: wrap; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  font: 600 14px/1 var(--font); color: var(--text-2);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
  transition: all var(--t);
}
.page-link:hover { color: var(--text); border-color: #3d3d3d; }
.page-link.active { background: var(--rose-soft); border-color: rgba(217, 79, 67, 0.55); color: var(--rose-2); font-weight: 700; }
.page-gap { color: var(--muted); padding: 0 4px; }/* ---------- dual-range sliders (r2) ---------- */
.r2 { display: flex; flex-direction: column; gap: 9px; padding: 4px 0; }
.r2-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.r2-label { font: 600 13px/1 var(--font); color: var(--text-2); }
.r2-inputs { display: flex; align-items: center; gap: 7px; }
.r2-inputs input {
  width: 74px; font: 600 12.5px/1 var(--font); color: var(--text);
  background: var(--bg-inset); border: 1px solid var(--line); border-radius: 7px;
  padding: 7px 9px; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.r2-inputs input::-webkit-outer-spin-button, .r2-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.r2-inputs input:focus { outline: none; border-color: var(--rose); box-shadow: var(--ring); }
.r2-sep { width: 4px; height: 2px; background: var(--muted); border-radius: 2px; flex: 0 0 auto; }

.r2-track { position: relative; height: 22px; display: flex; align-items: center; }
.r2-fill { position: absolute; left: 0; right: 0; height: 4px; background: var(--rose); border-radius: 3px; opacity: 0.85; z-index: 0; transition: left 0.08s linear, right 0.08s linear; }
.r2-in {
  -webkit-appearance: none; appearance: none;
  position: relative; z-index: 2; width: 100%; margin: 0; background: transparent; height: 22px; cursor: pointer; pointer-events: none;
}
.r2-in::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text); border: 2px solid var(--rose);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); cursor: grab;
  transition: transform var(--t);
}
.r2-in::-webkit-slider-thumb:hover { transform: scale(1.15); }
.r2-in::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.r2-in::-moz-range-thumb {
  pointer-events: auto; width: 14px; height: 14px; border-radius: 50%;
  background: var(--text); border: 2px solid var(--rose); cursor: grab;
}
.r2-in--lo { position: absolute; left: 0; width: 100%; top: 16px; z-index: 2; }
.r2-in--lo::-webkit-slider-runnable-track, .r2-in--hi::-webkit-slider-runnable-track { background: transparent; }
.r2-in--hi { position: absolute; left: 0; width: 100%; top: 16px; z-index: 3; }
.r2-track { margin-top: 12px; }
.r2-track::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: var(--line); border-radius: 3px; }
.r2 .r2-in--lo, .r2 .r2-in--hi { top: 0; }
.r2-pop {
  position: absolute; top: 26px; z-index: 4;
  font: 700 10.5px/1 var(--font); color: var(--text);
  background: var(--bg-card-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 7px; pointer-events: none;
  opacity: 0; transform: translate(-50%, 2px) scale(0.9);
  transition: opacity var(--t), transform var(--t);
  white-space: nowrap;
}
.r2-pop--lo { left: var(--pop-lo, 0%); }
.r2-pop--hi { left: var(--pop-hi, 100%); }
.r2.dragging .r2-pop, .r2-in:hover ~ .r2-pop, .r2.is-active .r2-pop { opacity: 0; }
.r2.dragging .r2-pop { opacity: 1; transform: translate(-50%, 0) scale(1); }
.r2.is-active .r2-label { color: var(--rose-2); }
.r2.is-active .r2-fill { opacity: 1; }

/* ---------- place segment (РЈ СЃРµР±СЏ / РќР° РІС‹РµР·Рґ) ---------- */
.place-seg { display: flex; gap: 6px; padding: 3px; background: var(--bg-inset); border: 1px solid var(--line); border-radius: 6px; width: fit-content; }
.place-seg-btn {
  font: 600 12.5px/1 var(--font); color: var(--muted);
  padding: 8px 15px; border-radius: 6px; border: 0; background: transparent; cursor: pointer;
  transition: all var(--t);
}
.place-seg-btn:hover { color: var(--text); }
.place-seg-btn.active { background: var(--bg-card); color: var(--rose-2); }
.prices-group { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }

/* ---------- profile page ---------- */
.profile { display: grid; grid-template-columns: minmax(320px, 460px) 1fr; gap: 26px; align-items: start; }

.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 80px; }
.gallery-main {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main[data-gallery] img[data-gallery-main] { cursor: zoom-in; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17, 17, 17, 0.62); backdrop-filter: blur(6px); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: all var(--t);
}
.gallery-nav:hover { background: rgba(17, 17, 17, 0.85); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-counter {
  position: absolute; bottom: 12px; right: 12px; z-index: 5;
  font: 700 12px/1 var(--font); color: var(--text);
  background: rgba(17, 17, 17, 0.65); backdrop-filter: blur(6px);
  border-radius: 6px; padding: 6px 11px;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumb {
  aspect-ratio: 3/4; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: var(--bg-inset); padding: 0;
  transition: border-color var(--t);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: #3d3d3d; }
.thumb.active { border-color: var(--rose); }

.profile-info { min-width: 0; }
.profile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.profile-head h1 { margin: 0 0 6px; font-size: 28px; }
.profile-age { color: var(--rose-2); }
.profile-sub { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.meta-item { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.meta-item svg { color: var(--gold-2); }

.params { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 18px; margin: 0 0 20px; }
.param { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.param dt { font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
.param dd { margin: 0; font: 600 14.5px/1.3 var(--font); color: var(--text); }

.block { margin-bottom: 22px; padding: 20px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.block h3 { margin-bottom: 14px; }
.about { color: var(--text-2); white-space: pre-line; margin: 0; }

/* ---------- price table (profile) ---------- */
.price-table { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.price-table-head, .price-table-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px;
  padding: 11px 15px;
}
.price-table-head { background: var(--bg-inset); font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted); }
.price-table-row { border-top: 1px solid var(--line-soft); font-size: 14px; }
.price-table-row + .price-table-row { border-top: 1px solid var(--line-soft); }
.price-name { font-weight: 600; color: var(--text-2); }
.price-table-row span:not(.price-name) { font-weight: 700; color: var(--text); }
.price-table-row span:nth-child(2):empty::after, .price-table-row span:not(.price-name):contains('') { color: var(--muted); }

/* ---------- tags (services on profile) ---------- */
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  font: 600 12.5px/1 var(--font); color: var(--text-2);
  background: var(--bg-inset); border: 1px solid var(--line);
  border-radius: 6px; padding: 7px 13px;
}
.tag:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- contacts ---------- */
.contacts .locked {
  text-align: center; padding: 26px 18px;
  background: var(--bg-inset); border: 1px dashed var(--line); border-radius: var(--radius-sm);
}
.contacts .locked p { color: var(--muted); margin-bottom: 14px; }
.btn-contact {
  font: 700 15px/1 var(--font); padding: 14px 26px; border: 0; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 10px; color: #fff;
  transition: filter var(--t);
}
.btn-contact:hover { color: #fff; filter: brightness(1.08); }
.btn-contact.tg { background: #227e97; }
.btn-contact.wa { background: #269346; }
.safety { margin-top: 12px; }
.block .row-btns { margin-top: 4px; }

/* ---------- report ---------- */
.report { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.report summary { cursor: pointer; color: var(--muted); font-size: 13px; list-style: none; }
.report summary::-webkit-list-marker { display: none; }
.report summary:hover { color: var(--red); }
.report-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; max-width: 420px; }
.report-form select, .report-form textarea { flex: 1; min-width: 180px; }

/* ---------- sections (similar profiles) ---------- */
.section { margin-top: 34px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.link-more { font-size: 14px; font-weight: 600; color: var(--muted); }
.link-more:hover { color: var(--rose-2); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17, 17, 17, 0.7); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--rose); }/* ---------- my cabinet ---------- */
.my-profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 20px; }
.my-profile-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text);
  transition: all var(--t);
}
.my-profile-tab:hover { border-color: #3d3d3d; }
.my-profile-tab.active { border-color: rgba(217, 79, 67, 0.55); background: var(--rose-soft); }
.my-profile-tab img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.my-profile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.my-profile-text strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-profile-add { border-style: dashed; color: var(--muted); }
.my-profile-add:hover { border-color: var(--rose); color: var(--text); }
.my-profile-plus {
  width: 46px; height: 46px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font: 700 22px/1 var(--font); color: var(--gold-2); background: var(--gold-soft);
}

.dash { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-bottom: 18px; align-items: stretch; }
.dash-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dash-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-inset); position: relative; }
.dash-cover img { width: 100%; height: 100%; object-fit: cover; }
.dash-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dash-body h2 { margin: 0; font-size: 22px; }
.dash-body .row-btns { margin-top: auto; padding-top: 10px; }

.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  display: flex; flex-direction: column; gap: 3px; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat strong { font: 700 21px/1 var(--font); color: var(--text); }
.stat .muted { font-size: 12px; }

/* ---------- stats gate card (cabinet) ---------- */
.stats-card {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--radius); margin-bottom: 18px;
  border: 1px solid var(--line); background: var(--bg-card);
}
.stats-card--on { border-color: rgba(179, 146, 79, 0.45); }
.stats-card--locked { border-style: dashed; }
.stats-card-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 260px; }
.stats-card-icon {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--rose-soft); color: var(--rose-2);
}
.stats-card--on .stats-card-icon { background: var(--gold-soft); color: var(--gold-2); }
.stats-card-main h3 { margin: 0 0 3px; }
.stats-card-main p { margin: 0; }
.stats-card > .btn { margin-left: auto; }
.stats-card-cta { margin-left: auto; }

/* ---------- /my/stats dashboard ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.stat-card-label { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); }
.stat-card-num { font: 700 26px/1.1 var(--font); color: var(--text); }
.stat-card-sub { font-size: 12px; }

.stats-locked {
  text-align: center; padding: 60px 26px; max-width: 560px; margin: 0 auto;
  background: var(--bg-card); border: 1px dashed var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.stats-locked-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--gold-soft); color: var(--gold-2); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.stats-locked h2 { margin: 0; font-size: 22px; }
.stats-locked .btn { margin-top: 8px; }

.stats-section { margin-bottom: 26px; }
.stats-section h3 { margin-bottom: 6px; }
.stats-section > .muted.small { margin-bottom: 12px; }

.income-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.income-card {
  border-radius: var(--radius); padding: 20px 22px;
  border: 1px solid var(--line); background: var(--bg-card);
  display: flex; flex-direction: column; gap: 12px;
}
.income-7 { border-color: rgba(217, 79, 67, 0.4); }
.income-30 { border-color: rgba(179, 146, 79, 0.4); }
.income-label { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.9px; color: var(--muted); }
.income-7 .income-label { color: var(--rose-2); }
.income-30 .income-label { color: var(--gold-2); }
.income-num { font: 700 30px/1.1 var(--font-display); color: var(--text); }
.income-funnel { display: flex; flex-direction: column; gap: 8px; }
.funnel-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 9px 13px; font-size: 13.5px;
}
.funnel-label { color: var(--muted); font-weight: 600; }
.funnel-row strong { color: var(--text); }

.stats-bars { display: flex; gap: 4px; align-items: flex-end; height: 140px; padding: 12px; background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow-x: auto; }
.stats-bar { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 26px; height: 100%; justify-content: flex-end; }
.stats-bar-fill { width: 100%; min-height: 3px; background: var(--rose); border-radius: 3px 3px 0 0; transition: height 0.3s ease; }
.stats-bar-num { font: 700 9.5px/1 var(--font); color: var(--muted); }
.stats-bar-day { font: 600 9px/1 var(--font); color: var(--muted); opacity: 0.7; white-space: nowrap; }
.stats-grid--total { max-width: 460px; }

/* ---------- verify card ---------- */
.verify-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 18px;
}
.verify-card.done { border-color: rgba(76, 154, 116, 0.4); }
.verify-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.verify-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.verify-head h3 svg { color: var(--gold-2); }
.verify-steps { margin: 12px 0 14px; padding-left: 20px; color: var(--text-2); font-size: 14px; }
.verify-steps li { margin-bottom: 6px; }
.verify-steps strong { color: var(--text); }
.verify-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.verify-form input[type='file'] { flex: 1; min-width: 240px; max-width: 380px; }

/* ---------- promo card (cabinet) ---------- */
.promo-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 18px;
}
.promo-card.active { border-color: rgba(179, 146, 79, 0.4); }
.promo-card > div { flex: 1; min-width: 260px; }
.promo-card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.promo-card h3 svg { color: var(--gold-2); flex: 0 0 auto; }
.promo-card .small.muted { margin: 8px 0 0; }
.promo-card > .btn, .promo-card > form { margin-left: auto; }
.promo-active { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 8px; }
.promo-active li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-2); }

/* ---------- pay card (extra profile) ---------- */
.pay-card {
  display: flex; align-items: stretch; gap: 18px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 18px;
}
.pay-info { flex: 1; min-width: 260px; }
.pay-kicker { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; color: var(--gold-2); display: block; margin-bottom: 7px; }
.pay-card h3 { margin-bottom: 7px; }
.pay-card > form { display: flex; align-items: center; }
.pay-card .small.muted { margin-top: 10px; }
.pay-notice { border-style: dashed; }
.pay-hold { border-color: rgba(179, 146, 79, 0.4); }
.pay-renew { border-color: var(--line); }
.pay-draft { border-color: rgba(207, 68, 55, 0.35); border-style: dashed; }

/* ---------- danger zone ---------- */
.danger-zone { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); }

/* ---------- balance page ---------- */
.balance-hero {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--radius); margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(179, 146, 79, 0.4);
}
.balance-hero .muted { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; }
.balance-hero strong { font: 700 34px/1.1 var(--font-display); color: var(--gold-2); display: block; margin: 4px 0 10px; }
.topup { margin-bottom: 24px; }
.section-title { font-family: var(--font-display); font-size: 20px; margin: 8px 0 14px; }

/* ---------- promote page ---------- */
.promote-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.wallet {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-end;
  padding: 13px 18px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid rgba(179, 146, 79, 0.4);
  transition: border-color var(--t); color: var(--text);
}
.wallet:hover { border-color: var(--gold); color: var(--text); }
.wallet-label { font: 700 10px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.wallet-sum { font: 700 20px/1.2 var(--font); color: var(--gold-2); }
.wallet-action { font-size: 11.5px; color: var(--gold-2); opacity: 0.85; }

.active-strip {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 20px;
}
.active-title { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.active-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 12.5px/1 var(--font); color: var(--text-2);
  background: var(--bg-inset); border: 1px solid var(--line); border-radius: 6px;
  padding: 6px 12px;
}
.active-chip.is-vip { border-color: rgba(179, 146, 79, 0.5); color: var(--gold-2); background: var(--gold-soft); }
.active-chip.is-top { border-color: rgba(217, 79, 67, 0.45); color: var(--rose-2); background: var(--rose-soft); }
.active-chip.is-boost { border-color: rgba(179, 146, 79, 0.4); color: var(--gold-2); }
.active-chip.is-hl .hl-dot { width: 9px; height: 9px; }

/* ---------- builder ---------- */
.builder {
  display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start;
  margin-bottom: 28px;
}
.builder-preview { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }
.builder-label { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); display: block; margin-bottom: 8px; }
.preview-card .card { box-shadow: none; }
.preview-card .card:hover { transform: none; box-shadow: none; }

.pos-box {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.pos-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.pos-row strong { color: var(--text); font-size: 13px; }
.pos-with-top strong { color: var(--rose-2); }
.pos-boost strong { color: var(--gold-2); }
.pos-box .small.muted { margin: 4px 0 0; }

.builder-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.preset {
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start; text-align: left;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; cursor: pointer; color: var(--text);
  transition: all var(--t); font-family: var(--font);
}
.preset:hover { border-color: #3d3d3d; background: var(--bg-card-2); }
.preset.active { border-color: rgba(217, 79, 67, 0.55); background: var(--rose-soft); }
.preset strong { font-size: 14.5px; color: var(--text); }
.preset.active strong { color: var(--rose-2); }
.preset .small.muted { margin: 0; }

.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 17px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color var(--t), background var(--t);
}
.svc.is-on { border-color: rgba(217, 79, 67, 0.45); }
.svc-toggle { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; }
.svc-top { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; }
.svc-check {
  width: 21px; height: 21px; border-radius: 7px; flex: 0 0 auto; margin-top: 2px;
  border: 2px solid var(--line); background: var(--bg-inset);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t); position: relative;
}
.svc-check::after {
  content: 'вњ“'; font-size: 12px; font-weight: 800; color: #fff;
  opacity: 0; transform: scale(0.5); transition: all var(--t);
}
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc input:checked ~ .svc-check, .svc-toggle input:checked ~ .svc-check {
  background: var(--rose);
  border-color: transparent;
}
.svc input:checked ~ .svc-check::after, .svc-toggle input:checked ~ .svc-check::after { opacity: 1; transform: scale(1); }
.svc-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.svc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-head strong { font-size: 15px; color: var(--text); }
.svc-price { font: 700 13px/1 var(--font); color: var(--gold-2); background: var(--gold-soft); border-radius: 6px; padding: 5px 9px; white-space: nowrap; }
.svc-body .small.muted { margin: 0; }
.svc-on { font: 700 11px/1 var(--font); color: var(--green); margin-top: 2px; }
.svc-extra { padding-left: 34px; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; cursor: pointer; padding: 3px; border-radius: 50%; border: 2px solid var(--line); transition: border-color var(--t); }
.swatch:hover { border-color: #3d3d3d; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch input:checked ~ .swatch-dot { box-shadow: 0 0 0 3px var(--bg-card), 0 0 0 5px var(--rose); }
.swatch-dot { width: 26px; height: 26px; border-radius: 50%; display: block; }

.seg { display: flex; gap: 6px; flex-wrap: wrap; padding: 3px; background: var(--bg-inset); border: 1px solid var(--line); border-radius: 6px; width: fit-content; }
.seg-item { position: relative; }
.seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.seg-item span {
  display: inline-flex; align-items: center;
  font: 600 13px/1 var(--font); color: var(--muted);
  padding: 8px 15px; border-radius: 6px; cursor: pointer;
  transition: all var(--t);
}
.seg-item:hover span { color: var(--text); }
.seg-item input:checked + span { background: var(--bg-card); color: var(--rose-2); }
.seg-item input:disabled + span { opacity: 0.35; cursor: not-allowed; }
.seg-levels .seg-item input:checked + span { color: var(--gold-2); }
.builder-days { margin-bottom: 4px; }

.summary {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 17px 19px; display: flex; flex-direction: column; gap: 10px;
}
.summary-lines { display: flex; flex-direction: column; gap: 8px; }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text-2); }
.summary-line span:last-child { font-weight: 700; color: var(--text); }
.summary-discount { font: 600 13px/1.3 var(--font); color: var(--green); background: var(--green-soft); border: 1px solid rgba(76, 154, 116, 0.3); border-radius: 7px; padding: 8px 12px; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); padding-top: 4px; border-top: 1px solid var(--line-soft); }
.summary-total strong { font: 700 24px/1 var(--font); color: var(--gold-2); }
.summary-total s { margin-right: 7px; font-size: 15px; }
.summary .small.muted { margin: 0; }
.summary .btn { margin-top: 4px; }
.promote-note { margin-top: 20px; }

/* ---------- auction (VIP) ---------- */
.auction {
  display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start;
  margin-bottom: 26px;
  background: var(--bg-card);
  border: 1px solid rgba(179, 146, 79, 0.35); border-radius: var(--radius);
  padding: 26px 28px;
}
.auction-main { min-width: 0; }
.auction-main > h2 { margin: 8px 0 10px; font-size: 23px; }
.auction-text { color: var(--text-2); margin-bottom: 18px; }
.auction-text b { color: var(--gold-2); }

.vip-weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.vip-week {
  background: var(--bg-inset); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.vip-week.is-next { border-color: rgba(179, 146, 79, 0.45); }
.vip-week strong { font-size: 15px; color: var(--text); }
.vip-week .small.muted { margin: 0; }
.auction-label { font: 700 10.5px/1 var(--font); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

.vip-deadline { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.vip-deadline strong { color: var(--gold-2); }
.vip-deadline[data-countdown] strong { font-variant-numeric: tabular-nums; }

.auction-outbid {
  background: var(--red-soft); border: 1px solid rgba(207, 68, 55, 0.35); border-radius: var(--radius-sm);
  padding: 13px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 3px;
}
.auction-outbid strong { color: #ef8577; font-size: 14px; }
.auction-outbid span { color: var(--text-2); font-size: 13.5px; }

.auction-form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin-bottom: 20px; }
.auction-input { display: flex; flex-direction: column; gap: 7px; }
.auction-input input { font: 700 19px/1.2 var(--font); }
.auction-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.auction-quick .chip { background: var(--bg-inset); }
.auction-quick .chip:hover { border-color: var(--gold); color: var(--gold-2); }
.auction-form .small.muted { margin: 0; }

.buyout {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--bg-inset); border: 1px dashed rgba(179, 146, 79, 0.4); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-top: 6px;
}
.buyout > div { flex: 1; min-width: 240px; }
.buyout h3 { margin: 0 0 5px; font-size: 16px; }
.buyout .small.muted { margin: 0; }
.buyout form { margin-left: auto; }

.auction-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.auction-side h3 { margin: 0 0 8px; font-size: 15px; }
.auction-rules { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.auction-rules li { font-size: 13px; color: var(--text-2); padding-left: 18px; position: relative; }
.auction-rules li::before { content: 'в—†'; position: absolute; left: 0; top: 1px; font-size: 8px; color: var(--gold-2); }
.auction-rules b { color: var(--gold-2); }

.bid-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bid-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center;
  background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 9px 12px; font-size: 13px;
}
.bid-list li.is-lead { border-color: rgba(179, 146, 79, 0.45); }
.bid-list li.is-lead > span:first-child { color: var(--gold-2); font-weight: 700; }
.bid-list strong { font-weight: 700; color: var(--text); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.bid-refund { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--green); background: var(--green-soft); border-radius: 5px; padding: 3px 6px; }

.vip-history { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.vip-history li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.vip-history strong { margin-left: auto; color: var(--gold-2); }

.tariff-status { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-2); background: var(--gold-soft); border: 1px solid rgba(179, 146, 79, 0.3); border-radius: var(--radius-sm); padding: 12px 15px; margin-bottom: 16px; }
.tariff-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-2); flex: 0 0 auto; animation: dot-pulse 2s infinite; }
@keyframes dot-pulse { 50% { opacity: 0.4; } }

/* ---------- stats teaser (promote) ---------- */
.stats-teaser {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 18px;
}
.stats-teaser-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--rose-soft); color: var(--rose-2); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.stats-teaser-text { flex: 1; min-width: 260px; }
.stats-teaser-text h3 { margin: 0 0 4px; }
.stats-teaser-text p { margin: 0; }
.stats-teaser-cta, .stats-teaser > .btn { margin-left: auto; }/* ---------- form card & price editor ---------- */
.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.form-card h3 { margin-bottom: 14px; }

.cat-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 9px; }
.cat-choice-item { position: relative; cursor: pointer; }
.cat-choice-item input { position: absolute; opacity: 0; pointer-events: none; }
.cat-choice-item span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font: 600 13.5px/1.3 var(--font); color: var(--text-2);
  background: var(--bg-inset); border: 1px solid var(--line); border-radius: var(--radius-xs);
  padding: 12px 10px; transition: all var(--t);
}
.cat-choice-item:hover span { border-color: #3d3d3d; color: var(--text); }
.cat-choice-item input:checked + span { background: var(--rose-soft); border-color: rgba(217, 79, 67, 0.55); color: var(--rose-2); font-weight: 700; }

.price-editor { display: flex; flex-direction: column; gap: 7px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; align-items: center; }
.price-grid-head { padding-bottom: 5px; border-bottom: 1px solid var(--line-soft); }
.price-corner { display: block; }
.price-col-label { font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); text-align: center; }
.price-row-label { font: 600 13px/1.3 var(--font); color: var(--text-2); }
.price-cell input {
  width: 100%; font: 600 13.5px/1 var(--font); color: var(--text);
  background: var(--bg-inset); border: 1px solid var(--line); border-radius: 7px;
  padding: 10px 11px; text-align: center;
  -moz-appearance: textfield; appearance: textfield;
}
.price-cell input::-webkit-outer-spin-button, .price-cell input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-cell input:focus { outline: none; border-color: var(--rose); box-shadow: var(--ring); }

.flag-chips .chip-toggle span { font-size: 13px; }

/* ---------- photo manage ---------- */
.photo-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.photo-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/4; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-main { position: absolute; top: 8px; left: 8px; z-index: 3; }
.photo-actions { position: absolute; bottom: 8px; right: 8px; z-index: 3; display: flex; gap: 6px; }
.photo-actions form { margin: 0; }
.photo-actions button {
  width: 32px; height: 32px; border-radius: 9px; border: 0; cursor: pointer;
  background: rgba(17, 17, 17, 0.7); backdrop-filter: blur(6px); color: #fff; font-size: 15px;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: all var(--t);
}
.photo-actions button:hover { background: var(--rose); }
.photo-actions form[data-confirm] button:hover { background: var(--red); }

/* ---------- dropzone ---------- */
.dropzone { position: relative; display: flex; flex-direction: column; gap: 10px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.dropzone-text {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 26px 16px; border: 2px dashed var(--line); border-radius: var(--radius-xs);
  color: var(--muted); font-size: 14px; transition: all var(--t); pointer-events: none;
}
.dropzone.drag .dropzone-text, .dropzone:hover .dropzone-text { border-color: var(--rose); color: var(--rose-2); background: var(--rose-soft); }
.preview { display: flex; gap: 8px; flex-wrap: wrap; }
.preview img { width: 76px; height: 76px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }

/* ---------- favorites page ---------- */
.fav-page .grid { margin-top: 18px; }

/* ---------- bot pages ---------- */
.bot-page h1 { font-size: 24px; }
.bot-people { padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.bot-people a { color: var(--text); font-weight: 700; }
.bot-people a:hover { color: var(--rose-2); }
.bot-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.bot-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* ---------- register adult checkbox ---------- */
.adult-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.adult-check input { margin-top: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .auction { grid-template-columns: 1fr; }
  .builder { grid-template-columns: 1fr; }
  .builder-preview { position: static; }
  .preview-card { max-width: 360px; }
}

@media (max-width: 1000px) {
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: auto 0 0 0; z-index: 120;
    max-height: 86vh; border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(100%); transition: transform 0.28s ease;
    box-shadow: var(--shadow-lg); padding-bottom: 24px;
  }
  .filters.open { transform: translateY(0); }
  .filters-close { display: inline-flex; position: absolute; top: 14px; right: 14px; }
  .filters-head { padding-right: 44px; }
  .filters-form { overflow-y: auto; max-height: calc(86vh - 70px); padding-bottom: 12px; }
  .filters::after {
    content: ''; position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
    width: 56px; height: 4px; border-radius: 3px; background: var(--line);
  }
  body:has(.filters.open) { overflow: hidden; }
  .filters-toggle { display: inline-flex; }
  .profile { grid-template-columns: 1fr; }
  .gallery { position: static; max-width: 480px; margin: 0 auto; width: 100%; }
  .vip-hero { grid-template-columns: 1fr; }
  .vip-hero-media { min-height: 240px; }
  .dash { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (min-width: 1001px) {
  .filters-toggle { display: none; }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .burger { display: block; }
  .topbar.open .nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 14px 20px 18px;
  }
  .topbar.open .nav > a { padding: 12px 14px; font-size: 15px; }
  .nav-actions { margin: 10px 0 0; flex-wrap: wrap; }
  .topbar.open .topbar-inner { height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 4px; }

  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-side { padding: 32px 20px; }

  .row-2 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .income-grid { grid-template-columns: 1fr; }
  .vip-weeks { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 5px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .params { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .cat-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .cat-tab { white-space: nowrap; }
  .my-profiles { grid-template-columns: 1fr 1fr; }
  .page { padding: 18px 0 40px; }
  .page-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-grid { grid-template-columns: 1fr; }
  .my-profiles { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .card-body { padding: 9px 10px 11px; }
  .card-title { font-size: 13.5px; }
  .price-from { font-size: 10.5px; padding: 3px 5px; }
  .price-chip { font-size: 11px; padding: 5px 7px; }
  .profile-head h1 { font-size: 23px; }
  .gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
  .stats-bar { min-width: 18px; }
  .btn-contact { font-size: 14px; padding: 12px 18px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  .income-num { font-size: 24px; }
  .income-funnel { gap: 6px; }
  .funnel-row { font-size: 12.5px; }
  .funnel-row strong { font-size: 12.5px; }
}

/* ---------- utility / misc ---------- */
.nowrap { white-space: nowrap; }
.interest-rename input { flex: 1; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3d3d3d; }
::selection { background: rgba(217, 79, 67, 0.35); color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .card:hover { transform: none; }
}
/* ============================================================
   Истории · кейсы · блоки главной (cities / picks / services)
   ============================================================ */

/* --- Stories strip --- */
.stories-strip-wrap { margin: 18px 0 8px; }
.stories-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.stories-title { font-size: 17px; font-weight: 700; margin: 0; }
.stories-strip {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 10px;
  scrollbar-width: thin;
}
.stories-strip--home { gap: 14px; }
.story-avatar-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 64px; text-decoration: none; color: var(--text); background: none; border: none; cursor: pointer; padding: 0;
  transition: transform var(--t);
}
.story-avatar-wrap:hover { transform: translateY(-2px) scale(1.04); }
.story-avatar-wrap:hover .story-avatar-name { color: var(--text); }
.story-avatar {
  width: 62px; height: 62px; border-radius: 50%; overflow: hidden; position: relative; display: block;
  border: 2px solid var(--line);
}
.story-avatar.is-new::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 210deg, var(--rose), var(--gold), var(--rose));
}
.story-avatar.is-new { border-color: transparent; }
.story-avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-avatar--add {
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--text-2); background: var(--bg-card);
  border: 2px dashed #3d3d3d;
}
.story-add .story-avatar-name { color: var(--muted); }
.story-avatar-name {
  font-size: 11.5px; color: var(--text-2); max-width: 66px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- Story viewer (page /stories) --- */
.story-viewer {
  position: fixed; inset: 0; z-index: 300; background: rgba(11, 11, 11, 0.96);
  display: flex; align-items: center; justify-content: center;
}
.story-viewer[hidden] { display: none; }
.story-viewer-bar {
  position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: linear-gradient(rgba(11,11,11,.8), transparent);
}
.story-viewer-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.story-viewer-name { color: var(--text); font-weight: 600; text-decoration: none; }
.story-viewer-close {
  margin-left: auto; background: var(--bg-card); color: var(--text); border: 1px solid var(--line);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 15px;
}
.story-progress {
  position: absolute; top: 58px; left: 18px; right: 18px; height: 3px;
  border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden;
}
.story-progress i { display: block; height: 100%; width: 0; background: var(--rose); transition: width linear; }
.story-viewer-img {
  max-width: min(92vw, 480px); max-height: 84vh; border-radius: 14px; object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.sv-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-card); color: var(--text); border: 1px solid var(--line);
  font-size: 22px; cursor: pointer;
}
.sv-prev { left: 16px; } .sv-next { right: 16px; }

/* --- Case strip (cabinet / balance) --- */
.case-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--radius); margin-bottom: 18px;
  background: var(--bg-card); border: 1px solid var(--line);
}
.case-strip--gift { border-color: rgba(179, 146, 79, 0.4); }
.case-gift-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2); background: var(--gold-soft);
}
.case-main { flex: 1; min-width: 240px; }
.case-main h3 { margin: 0 0 4px; font-size: 15.5px; }
.case-main p { margin: 0; }
.case-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.case-actions .inline form, .case-actions .inline { display: inline-flex; margin: 0; }
.case-drops-details { position: relative; }
.case-drops-details summary {
  list-style: none; cursor: pointer;
  font: 600 13px/1 var(--font); color: var(--text-2);
  padding: 9px 13px; border-radius: var(--radius-xs);
  background: var(--bg-inset); border: 1px solid var(--line);
  transition: border-color var(--t), color var(--t);
}
.case-drops-details summary::-webkit-list-marker { display: none; }
.case-drops-details summary:hover { border-color: #3d3d3d; color: var(--text); }
.case-drops-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 240px; max-width: 300px; margin: 0; padding: 8px;
  list-style: none;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.case-drops-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 7px 10px; font-size: 13px; color: var(--text-2);
  border-radius: var(--radius-xs);
}
.case-drops-list li + li { border-top: 1px solid var(--line-soft); }
.case-drop-chance { color: var(--muted); font-size: 12px; white-space: nowrap; }

.balance-gift {
  width: 100%; order: 5; flex-basis: 100%;
  padding-top: 10px; border-top: 1px dashed var(--line-soft);
  color: var(--muted); font-size: 13px;
}
.balance-gift--keys { color: var(--gold-2); font-weight: 600; }

/* --- Home blocks: cities, picks, services --- */
.home-blocks {
  margin-top: 28px; display: grid; gap: 24px;
  grid-template-columns: 1fr; padding-bottom: 30px;
}
.home-block-title { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.cities-cloud, .services-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.city-link, .service-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 6px; text-decoration: none;
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--text-2); font-size: 13.5px; transition: var(--t);
}
.city-link:hover, .service-link:hover { border-color: var(--rose); color: var(--text); }
.city-link--empty { opacity: 0.55; }
.city-count {
  font-size: 11.5px; color: var(--muted); background: var(--bg-inset);
  padding: 1px 7px; border-radius: 6px;
}
.home-links-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px;
}
.home-link {
  display: block; padding: 9px 13px; border-radius: var(--radius-xs);
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--text-2); font-size: 13.5px; text-decoration: none; transition: var(--t);
}
.home-link:hover { border-color: var(--rose); color: var(--text); }
.info-index { margin-top: 16px; }

/* --- Subgroups of services (filter + profile form) --- */
.svc-subgroup { margin-top: 10px; border-top: 1px dashed var(--line-soft); padding-top: 8px; }
.form-svc-subgroup { border-top: 1px dashed var(--line-soft); }
.svc-subgroup-title {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--text-2); list-style: none; user-select: none;
}
.svc-subgroup-title .f-caret {
  margin-left: 0; width: 7px; height: 7px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-1px);
}
.svc-subgroup[open] .svc-subgroup-title .f-caret { transform: rotate(-135deg) translate(-1px, -1px); }
.svc-subgroup-title::-webkit-details-marker { display: none; }
.svc-chips-sm .chip-toggle span { font-size: 12.5px; padding: 5px 10px; }
.chip-off { opacity: 0.45; }

/* --- My stories page --- */
.story-post-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.story-price { color: var(--gold-2); font-size: 13.5px; font-weight: 600; }
.story-form { display: grid; gap: 14px; }
.story-nobalance { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.story-nobalance .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.story-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.story-tile { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; background: var(--bg-inset); }
.story-tile img { width: 100%; height: 100%; object-fit: cover; }
.story-tile-meta {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; font-size: 11.5px; color: #fff;
  background: linear-gradient(transparent, rgba(11,11,11,.85));
}
.story-del {
  background: rgba(255,255,255,.15); color: #fff; border: none; border-radius: 50%;
  width: 26px; height: 26px; cursor: pointer; font-size: 12px;
}
.story-del:hover { background: var(--red-soft); }

@media (max-width: 720px) {
  .cases-row { flex-direction: column; align-items: stretch; }
  .case-drops { min-width: 0; }
  .sv-nav { width: 38px; height: 38px; }
}
