:root {
  --bg: #140c0e;
  --surface: #1f1518;
  --surface-2: #2a1d20;
  --line: #3a2a2d;

  --fg: #f7ece8;
  --fg-muted: #c8ada6;
  --fg-faint: #9a7d78;

  --coral: #ff7a59;
  --coral-strong: #ff6242;
  --peach: #ffb38a;
  --on-accent: #2a0f08;

  --ok: #6ad1a0;
  --tg-star: #ffc83d;
  --tg-blue: #2aabee;
  --warn: #ffc368;
  --danger: #ff6b6b;

  --accent-grad: linear-gradient(135deg, var(--coral-strong), var(--peach));

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --field-gap: 18px;

  --shadow: 0 8px 24px -8px rgba(0, 0, 0, .55);
  --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, .7);
  --glow: 0 10px 34px -10px rgba(255, 98, 66, .55);
  --glow-lg: 0 16px 42px -10px rgba(255, 98, 66, .7);
  --ring: rgba(255, 122, 89, .22);
  --tint: rgba(255, 122, 89, .12);

  --mark-a: #ff6242;
  --mark-b: #ff7a59;
  --mark-c: #ffb38a;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --maxw: 1140px;
  --maxw-admin: 1440px;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --star-src: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L12 17.3 5 20.4l1.4-6.8L1.3 9.1l6.9-.8z'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8ada6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");

  color-scheme: dark;
}

:root[data-seek="f"] {
  --coral: #ff4d94;
  --coral-strong: #ff2e7e;
  --peach: #ffb3d1;
  --on-accent: #3a0820;
  --glow: 0 10px 34px -10px rgba(255, 46, 126, .55);
  --glow-lg: 0 16px 42px -10px rgba(255, 46, 126, .7);
  --ring: rgba(255, 77, 148, .24);
  --tint: rgba(255, 77, 148, .14);
  --mark-a: #ff2e7e;
  --mark-b: #ff5fa2;
  --mark-c: #ffb3d1;
}
:root[data-seek="m"] {
  --coral: #5b90ff;
  --coral-strong: #2f6bff;
  --peach: #a9c7ff;
  --on-accent: #061634;
  --glow: 0 10px 34px -10px rgba(47, 107, 255, .5);
  --glow-lg: 0 16px 42px -10px rgba(47, 107, 255, .65);
  --ring: rgba(91, 144, 255, .26);
  --tint: rgba(91, 144, 255, .14);
  --mark-a: #2f6bff;
  --mark-b: #5b90ff;
  --mark-c: #9ec2ff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scrollbar-color: var(--line) var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(255, 122, 89, .14), transparent 60%),
    radial-gradient(900px 540px at 0% 102%, rgba(255, 179, 138, .08), transparent 55%),
    var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; max-width: 66ch; }

a { color: var(--coral); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--peach); }

img, svg { display: block; max-width: 100%; }

.ico { width: 20px; height: 20px; flex: none; }
.loc .ico { width: 18px; height: 18px; }
.report .ico { width: 16px; height: 16px; }

::selection { background: var(--coral); color: var(--on-accent); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--line);
  border: 3px solid var(--bg);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: #4d3639; }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

input, textarea, select, button { font: inherit; color: inherit; caret-color: var(--coral); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--fg-muted); }
.faint { color: var(--fg-faint); }
.center { text-align: center; }
.nums { font-variant-numeric: tabular-nums; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 30px; height: 30px; filter: drop-shadow(0 4px 10px rgba(255, 98, 66, .35)); }
.brand .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.brand .word .tld { color: var(--fg-faint); font-weight: 600; }
.brand .word .dot { color: var(--coral); }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--fg-muted);
  font-weight: 500;
  font-size: .95rem;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a .ico { width: 19px; height: 19px; }
.nav a:hover { color: var(--fg); background: var(--surface-2); }
.nav a.btn { color: var(--_fg); }
.nav a.btn-primary:hover { color: var(--on-accent); background: var(--accent-grad); }
.nav a[aria-current="page"] { color: var(--coral); }
.nav a[aria-current="page"]:hover { color: var(--coral); }

.btn {
  --_bg: var(--surface-2);
  --_fg: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--_bg);
  color: var(--_fg);
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  transition: transform .14s var(--ease), background .16s var(--ease), box-shadow .2s var(--ease), border-color .16s var(--ease);
}
.btn .ico { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); color: var(--_fg); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --_fg: var(--on-accent);
  background: var(--accent-grad);
  box-shadow: var(--glow);
  font-weight: 700;
}
.btn-primary:hover { box-shadow: var(--glow-lg); }

.btn-outline { --_bg: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--coral); color: var(--fg); }

.btn-ghost { --_bg: transparent; color: var(--fg-muted); padding: 10px 14px; }
.btn-ghost:hover { color: var(--fg); background: var(--surface-2); }

.btn-lg { padding: 15px 30px; font-size: 1.06rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }

.tg { display: inline-flex; align-items: center; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-muted);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.chip:hover { color: var(--fg); border-color: #4d3639; }
.chip[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent-grad);
  border-color: transparent;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--peach);
  font-size: .8rem;
  font-weight: 600;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  padding: 3px 11px;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gate-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 34px;
  text-align: center;
}
.gate-card .mark { width: 62px; height: 62px; margin: 0 auto 20px; }
.gate-card .badge-18 { margin-bottom: 16px; }
.gate-card h1 { font-size: 1.7rem; margin-bottom: .4rem; }
.gate-card p { margin: 0 auto 26px; color: var(--fg-muted); font-size: .96rem; }
.gate-card .leave {
  display: inline-block;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--fg-faint);
  font-size: .85rem;
  cursor: pointer;
}
.gate-card .leave:hover { color: var(--fg-muted); }

.gate-card .nf-code {
  margin: 0 auto 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gate-card .nf-back { margin-top: 18px; }
.nf-back .ico { transform: rotate(180deg); }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(11px);
}
.age-gate-card { max-width: 420px; }
.age-gate-card h2 { font-size: 1.55rem; margin-bottom: .4rem; }
body:has(.age-gate) { overflow: hidden; }

.spin {
  width: 34px;
  height: 34px;
  margin: 4px auto 16px;
  border: 3px solid var(--line);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spin-status { margin: 0; color: var(--fg-faint); font-size: .86rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero { padding: clamp(36px, 9vw, 104px) 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero h1 { margin-bottom: .3em; }
.hero h1 .accent { color: var(--coral); }
.hero-lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--fg-muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .86rem; color: var(--fg-faint); }

.hero-stack {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.hero-stack .photo {
  position: absolute;
  width: 62%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .06);
}
.hero-stack .photo:nth-child(1) { top: 0; left: 4%; transform: rotate(-6deg); }
.hero-stack .photo:nth-child(2) { top: 14%; right: 2%; transform: rotate(5deg); z-index: 2; }
.hero-stack .photo:nth-child(3) { bottom: 0; left: 26%; transform: rotate(-2deg); z-index: 1; }

.photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--c1, #ff7a59), var(--c2, #7a4bff));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .92);
  font-family: var(--font-display);
  font-weight: 800;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, .22), transparent 55%);
  mix-blend-mode: soft-light;
}
.photo .initial { font-size: 2.6rem; opacity: .9; }

.card .photo img, .gallery .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .photo { padding: 0; border: 0; background: var(--surface-2); cursor: pointer; }
.gallery .photo:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head p { color: var(--fg-muted); }

.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step { padding: 4px 0; }
.step .n {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--coral);
  margin-bottom: 14px;
}
.step .n .ico { width: 22px; height: 22px; }
.step h3 { margin-bottom: .25em; }
.step p { color: var(--fg-muted); font-size: .96rem; }

.feed-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
}
.feed-bar .count { margin-left: auto; color: var(--fg-faint); font-size: .9rem; }

.prefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 18px 0 24px;
}
.seg {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.seg-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 38px;
  border-radius: 999px;
  color: var(--fg-muted);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.seg-btn .ico { width: 22px; height: 22px; }
.seg-btn:hover { color: var(--fg); }
.seg-btn[aria-pressed="true"] { background: var(--accent-grad); color: var(--on-accent); }
.prefs .count { margin-left: auto; color: var(--fg-faint); font-size: .9rem; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 20px;
  padding-bottom: 64px;
}

.card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #4d3639; }
.card a.cover { position: absolute; inset: 0; z-index: 1; }
.card .photo { aspect-ratio: 3 / 4; }
.card .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 14px 13px;
  background: linear-gradient(transparent, rgba(10, 6, 7, .82) 62%);
  z-index: 2;
  pointer-events: none;
}
.card .name { font-weight: 700; font-size: 1.04rem; display: flex; align-items: center; gap: 7px; }
.card .sub { color: var(--fg-muted); font-size: .86rem; margin-top: 1px; }
.dot-online {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--ok); box-shadow: 0 0 0 3px rgba(106, 209, 160, .22);
  display: inline-block;
}
.card .like {
  position: absolute;
  top: 11px; right: 11px;
  z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(20, 12, 14, .5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), transform .14s var(--ease);
}
.card .like .ico { width: 20px; height: 20px; }
.card .like:hover { background: var(--coral); color: var(--on-accent); transform: scale(1.06); }

.profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 24px 0 56px;
}
.gallery { display: grid; gap: 12px; }
.gallery .main { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .thumbs .photo { aspect-ratio: 1; border-radius: var(--r-sm); }

.profile-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .1em; }
.profile-head .loc { color: var(--fg-muted); display: flex; align-items: center; gap: 8px; }
.price-line { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--coral); margin: 10px 0 2px; }
.attr-group { margin: 18px 0; }
.attr-group h2 { font-size: 1.05rem; margin-bottom: .55em; }
.reviews-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.rev-sort { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rev-sort .sel, .rev-sort > .select { flex: 1 1 auto; max-width: 280px; }
.rev-sentinel { display: flex; justify-content: center; padding: 18px 0; }
.rev-sentinel[hidden] { display: none; }
.rev-spin {
  width: 24px; height: 24px;
  border: 2.5px solid var(--line);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.profile-actions { display: flex; gap: 12px; margin: 20px 0 24px; flex-wrap: wrap; }
.contacts { display: flex; gap: 12px; margin: 16px 0 0; flex-wrap: wrap; }
.contacts .btn { font-variant-numeric: tabular-nums; }
.facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.report {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--fg-faint); font-size: .86rem; margin-top: 14px;
  background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer;
}
.report:hover { color: var(--danger); }

.cab { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 24px 0 56px; }
.cab-aside { display: grid; gap: 8px; }
.cab-aside .me {
  display: flex; align-items: center; gap: 13px;
  padding: 14px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 8px;
}
.cab-aside .me .photo { width: 52px; height: 52px; border-radius: 999px; flex: none; }
.cab-aside .me .photo.is-plain {
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-muted);
}
.cab-aside .me .photo.is-plain .ico { width: 26px; height: 26px; }
.cab-aside .me .initial { font-size: 1.1rem; }
.cab-aside .me-id { min-width: 0; }
.cab-aside .me-name { font-weight: 700; }
.cab-aside .me-number { color: var(--fg-faint); font-size: .86rem; margin-top: 2px; }
.cab-link {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: var(--r-sm);
  color: var(--fg-muted); font-weight: 500;
}
.cab-link .ico { width: 19px; height: 19px; }
.cab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-left: auto; }
.cab-link:hover { background: var(--surface-2); color: var(--fg); }
.cab-link[aria-current="page"] { background: var(--surface-2); color: var(--coral); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.3rem; }

.field { display: grid; gap: 7px; margin-bottom: var(--field-gap); }
.field label { font-size: .88rem; color: var(--fg-muted); font-weight: 500; }
.field-hint { margin: 0; font-size: .82rem; color: var(--fg-faint); }

.req { color: var(--danger); font-size: .78em; vertical-align: super; }
.field-hint.req-msg { color: var(--danger); font-weight: 600; }

.field-label { display: flex; align-items: center; gap: 7px; }
.hint-q {
  display: grid; place-items: center; width: 19px; height: 19px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--fg-muted); font-size: .76rem; font-weight: 700; cursor: pointer;
}
.hint-q:hover { color: var(--coral); border-color: var(--coral); }
.hint-dialog {
  max-width: 380px; padding: 24px; margin: auto;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--fg);
}
.hint-dialog::backdrop { background: rgba(0, 0, 0, .66); }
.hint-dialog p { margin: 0 0 18px; color: var(--fg-muted); }

.input, .textarea, .select { scroll-margin-top: 84px; }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--fg);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--ring);
}
.textarea { min-height: 110px; resize: vertical; }
.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  cursor: pointer;
}
.select:focus { background-image: var(--chevron); }
.select::-ms-expand { display: none; }
.select option { background: var(--surface-2); color: var(--fg); }

.sel { position: relative; }
.sel > select.select { display: none; }
.sel-trigger {
  width: 100%;
  text-align: left;
  padding: 12px 40px 12px 14px;
  background: var(--surface-2) var(--chevron) no-repeat right 14px center;
  background-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--fg);
  cursor: pointer;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.sel.open .sel-trigger,
.sel-trigger:focus-visible {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--ring);
}
.sel-menu {
  position: absolute;
  z-index: 60;
  left: 0; right: 0;
  top: calc(100% + 6px);
  display: none;
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}
.sel.open .sel-menu { display: block; }
.sel-item {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.sel-item:hover { background: var(--surface-2); color: var(--fg); }
.sel-item.on { color: var(--coral); font-weight: 600; }

.row2 { display: grid; grid-template-columns: 1fr; gap: var(--field-gap); align-items: start; margin-bottom: var(--field-gap); }

.row2 > .field { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: var(--field-gap); }
.check { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; color: var(--fg-muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--coral); }

.switch-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.switch-row:first-child { border-top: 0; }
.switch { position: relative; width: 46px; height: 27px; flex: none; }
.switch input { position: absolute; opacity: 0; }
.switch .track {
  position: absolute; inset: 0;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; transition: background .18s var(--ease);
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 19px; height: 19px; border-radius: 999px;
  background: var(--fg-muted); transition: transform .2s var(--ease), background .18s var(--ease);
}
.switch input:checked + .track { background: var(--accent-grad); border-color: transparent; }
.switch input:checked + .track::after { transform: translateX(19px); background: #fff; }

.bubble {
  max-width: 68%;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: .96rem;
  line-height: 1.45;
  box-shadow: var(--shadow);
}
.bubble .t { display: block; font-size: .7rem; margin-top: 4px; opacity: .7; }
.bubble.in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.bubble.out {
  align-self: flex-end;
  background: var(--accent-grad); color: var(--on-accent);
  border-bottom-right-radius: 6px;
}
.bubble.out .t { color: var(--on-accent); opacity: .65; }
.day-sep { align-self: center; color: var(--fg-faint); font-size: .78rem; margin: 10px 0; }
.composer {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--line);
  background: var(--surface);
}
.composer .input { border-radius: 999px; }
.composer .send {
  flex: none; width: 46px; height: 46px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent-grad); color: var(--on-accent);
  border: 0; cursor: pointer; box-shadow: var(--glow);
  transition: transform .14s var(--ease);
}
.composer .send:hover { transform: scale(1.05); }
.composer .input:disabled { color: var(--fg-faint); opacity: .6; cursor: not-allowed; }
.composer .send:disabled {
  background: var(--surface-2);
  color: var(--fg-faint);
  box-shadow: none;
  cursor: not-allowed;
}
.composer .send:disabled:hover { transform: none; }
.composer .send .ico { width: 21px; height: 21px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(10, 6, 7, .93);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lb-img {
  grid-column: 2;
  max-width: 100%;
  max-height: 90vh;
  margin: 0 auto;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.lb-nav, .lb-close {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .18); }
.lb-nav { width: 48px; height: 48px; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-prev .ico { transform: scaleX(-1); }
.lb-nav .ico { width: 24px; height: 24px; }
.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}
.lb-close .ico { width: 22px; height: 22px; }

@media (max-width: 520px) {
  .lightbox { gap: 4px; padding: 10px; }
  .lb-nav { width: 40px; height: 40px; }
}

body:has(.site-footer) { display: flex; flex-direction: column; }
body:has(.site-footer) > main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .wrap {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 28px 24px; color: var(--fg-faint); font-size: .9rem;
}
.site-footer .f-links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.site-footer .f-links a { color: var(--fg-muted); }
.site-footer .f-links a:hover { color: var(--coral); }

.dir { padding-top: 24px; padding-bottom: 48px; }
.dir-intro { margin-bottom: 20px; }
.dir-intro h1 { font-size: clamp(2rem, 7vw, 3.4rem); margin-bottom: .2em; }
.dir-total { color: var(--fg-muted); font-size: 1.02rem; margin: 0; }
.dir-total .nums { color: var(--fg); font-weight: 600; }

.dir-lede { margin-top: 14px; display: grid; gap: .55em; }
.dir-lede p { margin: 0; max-width: 72ch; color: var(--fg-muted); font-size: .95rem; line-height: 1.6; }

.search { position: relative; margin: 22px 0; }
.search > .ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--fg-faint); pointer-events: none;
}
.search input {
  width: 100%;
  padding: 15px 18px 15px 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  font-size: 1rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.search input::placeholder { color: var(--fg-faint); }
.search input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--ring);
}

.cities { display: grid; grid-template-columns: 1fr; gap: 10px; }
.city-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .16s var(--ease), transform .14s var(--ease);
}
.city-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.city-card .c-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.city-card .c-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--fg); }
.city-card .c-stat { color: var(--fg-muted); font-size: .86rem; margin-top: 2px; }
.city-card .c-go { color: var(--coral); flex: none; }

.cities-none { display: none; color: var(--fg-muted); padding: 22px 2px; }

@media (min-width: 620px) {
  .cities { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 940px) {
  .dir { padding-top: 40px; padding-bottom: 64px; }
  .dir-intro { margin-bottom: 28px; }
  .search { max-width: 520px; }
  .cities { grid-template-columns: repeat(3, 1fr); }
}

.feed { padding-top: 30px; padding-bottom: 48px; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 14px; color: var(--fg-faint); font-size: .84rem;
}
main:not(.feed) > .crumbs:first-child { margin-top: 24px; }
.crumbs a { color: var(--fg-muted); }
.crumbs a:hover { color: var(--coral); }
.crumb-sep { color: var(--fg-faint); }
.district-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.district-links .tag:hover { border-color: var(--coral); color: var(--fg); }

.feed-intro { margin-bottom: 6px; }
.feed-intro h1 { font-size: clamp(1.4rem, 4.6vw, 2rem); margin-bottom: .35em; }
.seo { color: var(--fg-faint); font-size: .9rem; line-height: 1.55; max-width: 72ch; margin: 0; }

.filters {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 20px;
}
.filters > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--fg);
}
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary .ico { width: 18px; height: 18px; color: var(--coral); }
.filters[open] > summary { border-bottom: 1px solid var(--line); }
.filters-form { padding: 16px; display: grid; gap: 20px; }
.filter-field { display: grid; gap: 9px; }
.filter-field > label { font-size: .88rem; color: var(--fg-muted); font-weight: 600; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-pick { display: flex; gap: 10px; }
.seg-opt { flex: 1 1 0; position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; }
.seg-opt span {
  display: block; padding: 12px 14px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--fg-muted); font-weight: 600;
  transition: border-color .14s var(--ease), color .14s var(--ease), background .14s var(--ease);
}
.seg-opt input:checked + span {
  background: color-mix(in srgb, var(--coral) 14%, var(--surface-2));
  border-color: var(--coral); color: var(--fg);
}
.seg-opt input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-muted);
  font-size: .9rem;
  cursor: pointer;
  transition: color .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
.chk input:checked + span {
  background: var(--accent-grad);
  color: var(--on-accent);
  border-color: transparent;
  font-weight: 600;
}
.chk input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }

.range { display: grid; gap: 10px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-head label { font-size: .88rem; color: var(--fg-muted); font-weight: 600; }
.range-out { font-size: .86rem; color: var(--fg); font-variant-numeric: tabular-nums; }
.range-slider { position: relative; height: 26px; }
.r-track {
  position: absolute; left: 10px; right: 10px; top: 50%; transform: translateY(-50%);
  height: 5px; border-radius: 999px; background: var(--surface-2);
}
.r-fill { position: absolute; height: 100%; border-radius: 999px; background: var(--accent-grad); }
.range-slider input[type=range] {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%; margin: 0; background: transparent; pointer-events: none;
  -webkit-appearance: none; appearance: none;
}
.range-slider input[type=range]::-webkit-slider-runnable-track { background: transparent; border: 0; }
.range-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--fg); border: 3px solid var(--coral); cursor: pointer;
  box-shadow: var(--shadow);
}
.range-slider input[type=range]::-moz-range-track { background: transparent; border: 0; }
.range-slider input[type=range]::-moz-range-thumb {
  pointer-events: auto; width: 20px; height: 20px; border-radius: 999px;
  background: var(--fg); border: 3px solid var(--coral); cursor: pointer;
}

.filter-actions { display: flex; gap: 10px; align-items: center; }

.price-badge {
  position: absolute; top: 11px; left: 11px; z-index: 3;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(20, 12, 14, .62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font-size: .82rem; font-weight: 700;
}

.rating { display: inline-flex; align-items: center; gap: 8px; }
.declined {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  color: var(--fg-muted); font-size: .92rem;
}
.declined .ico { width: 18px; height: 18px; color: var(--coral); }
.stars { position: relative; display: inline-block; width: 92px; height: 16px; flex: none; vertical-align: middle; }
.stars::before, .stars > i {
  content: ""; position: absolute; top: 0; left: 0; height: 100%;
  -webkit-mask-image: var(--star-src); mask-image: var(--star-src);
  -webkit-mask-size: 18.4px 16px; mask-size: 18.4px 16px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.stars::before { width: 100%; background: var(--surface-2); }
.stars > i { width: var(--r, 0); background: var(--coral); }
.rating-num { font-size: .9rem; color: var(--fg); font-variant-numeric: tabular-nums; font-weight: 700; }
.rating-count { font-size: .82rem; color: var(--fg-faint); }

.prices { display: grid; gap: 7px; margin: 14px 0 8px; max-width: 340px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; }
.price-row .pk { color: var(--fg-muted); }
.price-row .pv { font-weight: 700; font-variant-numeric: tabular-nums; }
.price-row.off { opacity: .45; }
.price-row.off .pk, .price-row.off .pv { text-decoration: line-through; }

.card-prices { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; }
.card-prices .pp { font-size: .78rem; color: var(--fg-muted); }
.card-prices .pp b { color: #fff; font-weight: 700; }
.card-rating { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.card-rating .stars { width: 72px; height: 13px; }
.card-rating .stars::before, .card-rating .stars > i { -webkit-mask-size: 14.4px 13px; mask-size: 14.4px 13px; }
.card-rating .rating-num { font-size: .8rem; }

.reviews { margin-top: 12px; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
.reviews .review:first-child { border-top: 0; padding-top: 0; }
.rev-count { color: var(--fg-faint); font-weight: 400; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-head .r-name { font-weight: 700; }
.review-head .r-date { color: var(--fg-faint); font-size: .82rem; margin-left: auto; }
.review .r-body { color: var(--fg-muted); margin: 7px 0 0; overflow-wrap: anywhere; word-break: break-word; }
.review-empty { color: var(--fg-muted); }
.review-form { margin-top: 18px; display: grid; gap: 12px; max-width: 460px; }

.like.on { background: var(--coral); color: var(--on-accent); }

.join { padding-top: 24px; padding-bottom: 48px; display: grid; place-items: start center; }
.join-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 24px;
  text-align: center;
}
.join-card .badge-18 { margin-bottom: 14px; }
.join-card h1 { font-size: clamp(1.6rem, 6vw, 2.1rem); margin-bottom: .4rem; }
.join-card p { color: var(--fg-muted); margin: 0 auto 22px; }
.join-card .btn + .btn { margin-top: 12px; }
.join-status { font-size: .9rem; color: var(--fg-faint); margin: 16px auto 0; }

.anketas { display: grid; gap: 12px; margin: 18px 0 20px; }
.anketa {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 14px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.anketa:hover { border-color: var(--coral); }
.anketa .photo {
  width: 52px; height: 52px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, var(--c1, #ff7a59), var(--c2, #7a4bff));
}
.anketa .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.anketa .initial { font-size: 1.1rem; color: #fff; font-family: var(--font-display); font-weight: 700; }
.anketa .a-body { flex: 1 1 120px; min-width: 0; display: flex; flex-direction: column; }
.anketa .a-name { font-weight: 700; }
.anketa .a-go { flex: none; margin-left: auto; color: var(--fg-faint); }
.anketa .a-go .ico { width: 20px; height: 20px; }

.empty {
  display: grid; justify-items: start; gap: 16px;
  padding: 28px 0 56px; color: var(--fg-muted);
}
.empty p { margin: 0; }

.reveal { animation: reveal .6s var(--ease) both; }
.reveal-2 { animation: reveal .6s var(--ease) .08s both; }
.reveal-3 { animation: reveal .6s var(--ease) .16s both; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}

@media (min-width: 680px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 920px) {
  .hero { padding: clamp(48px, 9vw, 104px) 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .profile { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 36px 0 72px; }
  .cab { grid-template-columns: 280px 1fr; gap: 36px; padding: 36px 0 72px; }
  .cab-aside { position: sticky; top: 92px; align-self: start; }
}

.btn-sm { padding: 8px 14px; font-size: .9rem; }

.app-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.app-bar .wrap { display: flex; align-items: center; height: 54px; }
.app-back {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; margin: 0 6px 0 -6px;
  border-radius: 50%; background: transparent; border: 0; color: var(--fg); cursor: pointer;
}
.app-back:hover { background: var(--surface-2); color: var(--coral); }
.app-back .ico { width: 22px; height: 22px; transform: rotate(180deg); }
.site-city {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .9rem; color: var(--fg-muted); white-space: nowrap;
}
.site-city:hover { color: var(--coral); }
.site-city .ico { width: 16px; height: 16px; }
.site-header .nav { margin-left: auto; }
.site-header .nav { flex: none; }
.site-header .nav a.btn { white-space: nowrap; }
.tg-label { margin-left: 8px; }
@media (max-width: 559.98px) {
  .site-header .wrap { gap: 10px; }
  .brand .word { font-size: 1.1rem; }
  .site-city-label, .tg-label { display: none; }
  .site-header .nav a.btn { padding: 9px 11px; }
}

body:has(.tabbar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
body:has(.chat-win) { padding-bottom: 0; }
body:has(.chat-win) .tabbar { position: fixed; }
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 0 8px;
  color: var(--fg-faint);
  font-size: .72rem;
  font-weight: 600;
}
.tabbar a { position: relative; }
.tabbar a .ico { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--coral); }
.tab-dot {
  position: absolute;
  top: 7px;
  left: 50%;
  margin-left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 2px var(--surface);
}
body:has(.composer) .tabbar { display: none; }
body:has(.composer) { padding-bottom: 0; }

.fav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fav-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .15s var(--ease), background .15s var(--ease), opacity .18s var(--ease), transform .18s var(--ease);
}
.fav-item:not(.fav-item--off):hover { border-color: var(--coral); background: var(--surface-3, var(--surface-2)); }
.fav-removing { opacity: 0; transform: translateX(8px); }

.fav-link { position: absolute; inset: 0; border-radius: var(--r-lg); z-index: 1; }
.fav-item .av {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--c1, #ff7a59), var(--c2, #7a4bff));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.fav-item .av img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fav-main { position: relative; z-index: 2; flex: 1 0 auto; display: flex; flex-direction: column; pointer-events: none; }
.fav-name { font-weight: 600; }
.fav-sub { color: var(--fg-faint); font-size: .85rem; }
.fav-actions { position: relative; z-index: 2; flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 8px; }
.fav-actions form { display: inline-flex; }
.fav-item--off { opacity: .55; }
.fav-item--off .av { filter: grayscale(1); }

.btn-fav .ico-fill { display: none; }
.btn-fav.is-on { background: var(--coral); border-color: var(--coral); color: var(--on-accent, #fff); }
.btn-fav.is-on .ico-fill { display: inline-flex; }
.btn-fav.is-on .ico-line { display: none; }


.rate-form { display: flex; flex-direction: column; gap: 10px; }
.rate-form .chk { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); font-size: .9rem; }

.rev-add { margin: 2px 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.rev-add > summary {
  cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--coral); list-style: none;
}
.rev-add > summary::-webkit-details-marker { display: none; }
.rev-add > summary::after { content: "▾"; float: right; color: var(--fg-faint); }
.rev-add[open] > summary::after { content: "▴"; }
.rev-add .rate-form { padding: 0 16px 16px; }

.page { padding-top: 28px; padding-bottom: 48px; }
.rules { max-width: 720px; }
.rules > h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 18px; }
.rule { margin-top: 22px; }
.rule h2 { font-size: 1.15rem; margin-bottom: 6px; }
.rule .r-body { color: var(--fg-muted); white-space: pre-line; }

.support-site { max-width: 560px; }
.support-site h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 12px; }
.support-site .btn { margin-top: 22px; }

.support-win {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100dvh - 55px);
}
.support-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.support-head .t-name { font-weight: 700; }
.clear-thread { margin-left: auto; }
.clear-thread button {
  background: none;
  border: 0;
  padding: 4px 2px;
  color: var(--fg-faint);
  font-size: .82rem;
  cursor: pointer;
}
.clear-thread button:hover { color: var(--coral); }
.support-body {
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-empty { margin: auto; text-align: center; max-width: 34ch; }

.inbox-title, .admin-title { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 14px; }
.inbox { display: flex; flex-direction: column; gap: 10px; }
.inbox-item {
  display: block; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); color: var(--fg);
}
.inbox-item:hover { border-color: var(--coral); }
.i-top { display: flex; gap: 6px; align-items: baseline; }
.i-name { font-weight: 700; }
.i-time { color: var(--fg-faint); font-size: .82rem; flex: none; margin-left: auto; }
.i-last { color: var(--fg-muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-title + .panel, .panel + .panel { margin-top: 20px; }
.panel .textarea { width: 100%; margin: 10px 0 14px; }
.panel code { background: var(--surface-2); padding: 1px 6px; border-radius: var(--r-sm); font-size: .9em; }

.admin-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 18px;
}
.admin-group-head { margin-bottom: 18px; }
.admin-group-head h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--coral);
}
.admin-group-head .muted { margin-top: 4px; font-size: .9rem; }
.setting {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.setting > label { display: block; font-weight: 600; }
.setting-hint { margin: 3px 0 0; color: var(--fg-faint); font-size: .84rem; }
.setting .textarea { width: 100%; margin: 10px 0 12px; }
.setting:target > label { color: var(--coral); }

.profile-actions form { display: contents; }
.city-switch {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fg-muted); font-size: .9rem; margin-bottom: .35em;
}
.city-switch:hover { color: var(--coral); }
.city-switch .ico { width: 15px; height: 15px; }

.welcome-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 26px;
  text-align: center;
}
.welcome-card .mark { width: 54px; height: 54px; margin: 0 auto 14px; }
.welcome-card h1 { font-size: 1.5rem; margin-bottom: 18px; }
.wheel-caps {
  display: flex;
  gap: 6px;
  max-width: 300px;
  margin: 0 auto 6px;
}
.wheel-caps span {
  flex: 1;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.wheel-caps span:last-child { flex: 1.3; }
.wheels {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 6px;
  max-width: 300px;
  height: 132px;
  margin: 0 auto 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
}
.wheel-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--coral) 15%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--coral) 50%, transparent);
  pointer-events: none;
}
.wheel {
  flex: 1;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: center;
}
.wheel[data-name="year"] { flex: 1.3; }
.wheel::-webkit-scrollbar { display: none; }
.wheel ul {
  list-style: none;
  margin: 0;
  padding: 44px 0;
}
.wheel li {
  height: 44px;
  line-height: 44px;
  scroll-snap-align: center;
  color: var(--fg-faint);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  transition: color .15s, transform .15s;
}
.wheel li.on {
  color: var(--fg);
  font-weight: 700;
  transform: scale(1.16);
}
.wheel-sep {
  align-self: center;
  color: var(--coral);
  font-weight: 700;
  font-size: 1.1rem;
  pointer-events: none;
}
.welcome-card .badge-18 { margin-bottom: 14px; }
.linkish {
  margin-top: 18px;
  background: none;
  border: 0;
  padding: 4px;
  color: var(--fg-faint);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linkish:hover { color: var(--fg-muted); }

.draft-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: var(--r);
  background: color-mix(in srgb, var(--danger) 16%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
  color: var(--fg);
  font-weight: 600;
}
.draft-banner .ico { color: var(--danger); width: 20px; height: 20px; flex: none; }
.draft-banner.is-review {
  background: color-mix(in srgb, var(--warn) 14%, var(--surface-2));
  border-color: color-mix(in srgb, var(--warn) 45%, transparent);
}
.draft-banner.is-review .ico { color: var(--warn); }
.btn-danger { --_bg: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 55%, transparent); }
.btn-danger:hover { color: var(--on-accent); background: var(--danger); border-color: var(--danger); }
.btn-success { --_bg: transparent; color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
.btn-success:hover { color: var(--bg); background: var(--ok); border-color: var(--ok); }

.form-screen { max-width: 560px; margin: 0 auto; padding: 8px 0 72px; }
.form-head { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.form-head h1 { font-size: 1.5rem; margin: 0; }
.back {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--fg);
}
.back:hover { border-color: var(--coral); color: var(--coral); }
.back .ico { transform: rotate(180deg); width: 20px; height: 20px; }
.anketa-form { display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.uploader { display: flex; flex-wrap: wrap; gap: 10px; }
.up-tile, .up-add { width: 104px; aspect-ratio: 3 / 4; flex: 0 0 auto; }
.up-tile {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 2px solid var(--line); background: var(--surface);
}
.up-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.up-tile.is-main { border-color: var(--coral); }
.up-tile.is-dropped { border-color: var(--danger); }
.up-tile.is-dropped img { opacity: .3; }
.up-tile.is-dropped .up-main { display: none; }
.up-tile.is-dropped .up-del > span { background: var(--danger); }
.up-main { position: absolute; top: 6px; left: 6px; cursor: pointer; }
.up-main input, .up-del input { position: absolute; opacity: 0; width: 0; height: 0; }
.up-main > span {
  display: grid; place-items: center; height: 22px; min-width: 22px;
  border-radius: 999px; border: 2px solid #fff; background: rgba(0,0,0,.45);
  color: #fff; font-size: 0; font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.up-tile.is-main .up-main > span {
  padding: 0 9px; font-size: .68rem;
  background: var(--coral); border-color: var(--coral); color: var(--on-accent);
}
.up-main input:focus-visible + span, .up-del input:focus-visible + span {
  outline: 2px solid var(--coral); outline-offset: 2px;
}
.up-del { position: absolute; top: 6px; right: 6px; cursor: pointer; }
button.up-del, .up-del > span {
  display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff;
  font-size: .8rem; line-height: 1; cursor: pointer;
}
button.up-del::after, .up-del > span::after { content: "✕"; }
button.up-del:hover, .up-del > span:hover { background: var(--danger); }
.up-add {
  border-radius: var(--r);
  border: 2px dashed var(--line); background: var(--surface-2);
  color: var(--fg-faint); font-size: 2rem; line-height: 1; cursor: pointer;
}
.up-add::before { content: "+"; }
.up-add:hover { border-color: var(--coral); color: var(--coral); }
.upload-note { margin: 0; font-size: .84rem; color: var(--fg-faint); }
.upload-note.warn { color: var(--danger); font-weight: 600; }

.avatar-setup { margin-top: 6px; }
.avatar-title { margin: 0 0 10px; font-weight: 600; }
.avatar-pick {
  width: 132px; height: 132px; border-radius: 50%;
  background-size: cover; background-position: 50% 50%;
  border: 2px solid var(--coral); cursor: grab; touch-action: none;
  margin-bottom: 8px; position: relative;
}
.avatar-pick:active { cursor: grabbing; }
.need-photos { color: var(--fg-muted); font-size: .9rem; align-self: center; }

.mod-anketa {
  padding: 14px; margin-bottom: 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2);
}
.mod-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mod-photos img {
  width: 96px; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--r-sm); border: 1px solid var(--line);
}
.mod-name { font-weight: 700; }
.mod-changes {
  margin: 6px 0 0; padding: 6px 10px; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--coral) 16%, var(--surface)); color: var(--fg);
  font-size: .86rem; font-weight: 600;
}
.mod-bio { margin: 6px 0 0; color: var(--fg-muted); font-size: .9rem; white-space: pre-wrap; }
.mod-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 12px; }
.mod-reject { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.mod-reject .textarea { width: 100%; }
.mod-reject button { align-self: flex-start; }

.admin-page, .site-header.is-admin .wrap { max-width: var(--maxw-admin); }
.admin-page .admin-list { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.admin-page .admin-list.cx-list { grid-template-columns: minmax(0, 1fr); }
.admin-page .setting { display: grid; justify-items: start; }
.admin-page .setting .textarea, .admin-page .setting .input { width: 100%; max-width: 100ch; }
.admin-page .city-new { max-width: 760px; }
.admin-page .admin-cities { grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); align-items: start; }

.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.admin-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--fg-muted); font-size: .9rem; font-weight: 500;
}
.admin-nav a:hover { color: var(--fg); border-color: var(--coral); }
.admin-nav a[aria-current="page"] { background: var(--surface-2); color: var(--coral); border-color: var(--coral); }
.nav-badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 700;
}

.admin-list { display: grid; gap: 10px; margin-top: 8px; }
.admin-row {
  display: flex; align-items: center; gap: 14px; padding: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--fg);
}
.admin-row:hover { border-color: var(--coral); }
.admin-thumb {
  flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: var(--surface-2);
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row-body { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
.admin-row-name { font-weight: 600; }
.admin-row-go { flex: none; color: var(--fg-faint); }
.admin-row-go .ico { width: 20px; height: 20px; }

.admin-filter { display: flex; align-items: end; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.admin-filter label { font-size: .85rem; color: var(--fg-muted); }
.admin-filter .sel, .admin-filter > .select { min-width: 200px; }

.admin-anketa { display: grid; gap: 18px; }
.aa-head { display: grid; gap: 4px; }
.aa-head .admin-title { margin-bottom: 4px; }
.aa-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: 26px; align-items: start; }
.aa-main { display: grid; gap: 16px; min-width: 0; align-content: start; }
.aa-main .facts, .aa-main .prices, .aa-main .attr-group { margin: 0; }
.aa-side { display: grid; gap: 16px; position: sticky; top: 24px; }
.aa-side .admin-actions {
  margin: 0; padding: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.aa-side .admin-actions form { max-width: none; }
.aa-side .btn { width: 100%; }
.admin-section .complaint-body {
  max-width: 86ch; padding: 10px 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.admin-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-photos img { width: 150px; height: 200px; object-fit: cover; border-radius: var(--r-sm); }
.complaint-author a, .admin-anketa .complaint-author a { color: var(--coral); font-weight: 600; }
.admin-about { margin: 0; color: var(--fg-muted); }
.admin-section { margin-top: 6px; }
.admin-actions { display: grid; gap: 20px; margin-top: 10px; }
.admin-actions form { display: grid; gap: 8px; max-width: 520px; }
.admin-actions label { font-size: .88rem; color: var(--fg-muted); font-weight: 500; }

.complaint-body { margin: 0; white-space: pre-wrap; }

.complaint {
  display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) auto;
  gap: 20px; align-items: start; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.complaint:hover { border-color: color-mix(in srgb, var(--coral) 40%, var(--line)); }
.cx-main { display: grid; gap: 10px; min-width: 0; align-content: start; }
.cx-body {
  margin: 0; max-width: 86ch; padding: 12px 14px; white-space: pre-wrap; line-height: 1.5;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.cx-time { color: var(--fg-faint); font-size: .86rem; }
.cx-actions { display: grid; gap: 8px; align-content: start; }
.cx-actions form { margin: 0; }
.cx-actions .btn { width: 100%; white-space: nowrap; }

.parties { display: grid; gap: 8px; min-width: 0; }
.party {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 2px 12px; padding: 10px 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--fg);
}
.party:hover { border-color: var(--coral); }
.party-role { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-faint); }
.party-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; min-width: 0; }
.party-name { font-weight: 700; }
.party-rating { font-size: .86rem; color: var(--fg-muted); }
.party .admin-row-go { grid-column: 2; grid-row: 1 / span 2; }
.party.is-reported {
  border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface-2));
}
.party.is-reported .party-role { color: var(--danger); }

@media (max-width: 1023.98px) {
  .admin-page .admin-list, .admin-page .admin-cities { grid-template-columns: minmax(0, 1fr); }
  .aa-body { grid-template-columns: minmax(0, 1fr); }
  .aa-side { position: static; }
  .complaint { grid-template-columns: minmax(0, 1fr); }
}

.report-warn {
  margin: 0 0 18px; padding: 12px 14px; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--danger) 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  color: var(--danger); font-size: .9rem; font-weight: 600;
}
.report-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.admin-notice {
  margin: 0 0 16px; padding: 11px 14px; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--danger) 12%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
  color: var(--danger); font-size: .9rem;
}
.city-new { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.city-new .input { flex: 1 1 180px; }
.city-new .input-slug { flex: 0 1 150px; }
.admin-cities { display: grid; gap: 16px; }
.city-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; display: grid; gap: 14px;
}
.city-form { display: grid; gap: 12px; }
.city-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.city-seo { display: grid; gap: 6px; }
.city-seo > summary { cursor: pointer; color: var(--fg-faint); font-size: .86rem; }
.city-seo label { font-size: .84rem; color: var(--fg-muted); }
.city-head .input { flex: 1 1 160px; }
.city-head .input-slug { flex: 0 1 140px; }
.city-count { margin-left: auto; white-space: nowrap; }
.districts {
  display: grid; gap: 8px; padding: 12px; border-radius: var(--r-sm); background: var(--surface-2);
}
.district-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.district-edit { display: flex; gap: 8px; flex: 1 1 220px; }
.district-edit .input { flex: 1 1 auto; min-width: 0; }
.districts-empty { margin: 0; }
.service-count { white-space: nowrap; }

.verified-badge {
  display: inline-grid; place-items: center; vertical-align: .08em;
  width: 1.05em; height: 1.05em; margin-left: .3em; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--accent-grad, var(--coral)); color: #fff;
  animation: verified-glow 2.6s var(--ease) infinite;
}
.verified-badge .ico { width: 68%; height: 68%; }
.verified-badge.is-card { cursor: inherit; vertical-align: .02em; }
@keyframes verified-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--ring), 0 0 7px -1px var(--coral); }
  50%      { box-shadow: 0 0 0 .32em transparent, 0 0 17px 1px var(--coral); }
}
.photo-zoom {
  max-width: min(94vw, 900px); max-height: 94vh; padding: 0;
  border: 0; border-radius: var(--r); background: transparent; overflow: visible;
}
.photo-zoom::backdrop { background: rgba(0, 0, 0, .88); }
.photo-zoom img {
  display: block; max-width: 100%; max-height: 94vh;
  width: auto; height: auto; border-radius: var(--r); cursor: zoom-out;
}
.photo-zoom-close {
  position: absolute; top: 8px; right: 8px;
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .55); color: #fff;
}
.photo-zoom-close .ico { width: 20px; height: 20px; }
.admin-photos img, .verify-photos img { cursor: zoom-in; }

.verified-dialog {
  max-width: 380px; padding: 28px 24px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--fg);
}
.verified-dialog::backdrop { background: rgba(0, 0, 0, .66); }
.verified-dialog h2 { margin: 16px 0 8px; }
.verified-dialog .muted { margin: 0 0 20px; }
.verified-mark {
  display: inline-grid; place-items: center; width: 76px; height: 76px;
  border-radius: 50%; background: var(--accent-grad, var(--coral)); color: #fff;
  animation: verified-glow 2.6s var(--ease) infinite;
}
.verified-mark .ico { width: 44px; height: 44px; }
.verify-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.verify-photos img { width: 150px; height: 200px; object-fit: cover; border-radius: var(--r-sm); }
.admin-row.is-verify { border-color: var(--tg-star); box-shadow: 0 0 0 1px var(--tg-star) inset; }
.i-acct, .t-acct { font-weight: 400; font-size: .86em; }
.verify-tag {
  display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem;
  font-weight: 700; background: color-mix(in srgb, var(--tg-star) 18%, transparent);
  color: var(--tg-star);
}
.district-new { display: flex; gap: 8px; margin-top: 2px; }
.district-new .input { flex: 1 1 auto; min-width: 0; }
.city-remove { justify-self: start; }

.stars-total { font-size: 1.05rem; margin: 0 0 18px; }
.admin-filter .input { max-width: 220px; }
.stars-name { margin: 0; }
.stars-balance { margin: 0; }
.stars-log { display: grid; gap: 6px; margin-top: 4px; }
.ico-star { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.13em; fill: var(--tg-star); }
.star-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--tg-star) 15%, transparent);
  color: var(--tg-star); font-weight: 700; font-size: .92em; line-height: 1.25;
}
.star-pill .ico-star { fill: currentColor; }
.btn .star-pill { margin-left: 8px; }
.btn-primary .star-pill { background: rgba(0, 0, 0, .3); }
.stars-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: baseline;
  padding: 7px 0; border-top: 1px solid var(--line); font-size: .9rem;
}
.stars-amount { color: var(--danger); font-weight: 600; }
.stars-amount .ico-star { fill: currentColor; }
.stars-plus { color: var(--tg-star); }
.balance-sum { margin: 0 0 6px; font-size: 1.35rem; font-weight: 700; }
.balance .muted { margin: 0; }
.stars-note, .stars-warn {
  margin: 0 0 18px; padding: 11px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line); font-size: .9rem;
}
.stars-warn {
  background: color-mix(in srgb, var(--danger) 12%, var(--surface-2));
  border-color: color-mix(in srgb, var(--danger) 35%, transparent);
  color: var(--danger);
}
.placed-until { margin: 0 0 14px; color: var(--fg-muted); font-size: .92rem; }
.bump-note { flex-basis: 100%; margin: 2px 0 6px; font-size: .84rem; }
.balance-sum { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 2rem; font-weight: 800; }
.balance-sum .ico-star { width: .8em; height: .8em; }
.btn-topup { width: 100%; justify-content: center; font-size: 1.02rem; padding: 14px 20px; }
.topup-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.topup-amount { justify-content: center; gap: 6px; }
.topup-note { margin: 12px 0 0; font-size: .88rem; }
.topup-custom { grid-column: 1 / -1; display: flex; gap: 8px; }
.topup-custom .input { flex: 1 1 auto; min-width: 0; }
.price-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ledger { max-height: 420px; overflow-y: auto; scrollbar-gutter: stable; padding-right: 8px; margin-top: 4px; }
.ledger-row {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: baseline;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem;
}
.ledger-row:first-child { border-top: 0; }
.ledger-amount { color: var(--danger); font-weight: 700; }
.ledger-plus { color: var(--tg-star); }
.ledger-reason { min-width: 0; }
.ledger-end { height: 1px; }
.account-id { margin: 18px 0 0; color: var(--fg-faint); font-size: .86rem; }
.ban-badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger);
  vertical-align: middle;
}
.user-section { margin: 20px 0 8px; font-size: 1rem; }
.user-anketas { display: grid; gap: 8px; }
.user-anketa {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--fg); font-size: .92rem;
}
.user-anketa:hover { color: var(--coral); }
.user-anketa-name { font-weight: 600; }
.user-ban { margin-top: 10px; }
.intake-wrap { overflow-x: auto; }
.intake { width: 100%; max-width: 680px; border-collapse: collapse; font-size: .92rem; }
.intake th, .intake td {
  padding: 8px 10px; text-align: right; border-top: 1px solid var(--line);
  vertical-align: top;
}
.intake thead th, .intake thead td { border-top: 0; color: var(--fg-muted); font-weight: 600; }
.intake tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.intake-credit {
  display: block; margin-top: 2px; color: var(--fg-faint);
  font-size: .72rem; white-space: nowrap;
}
.intake-nocity th, .intake-nocity td { color: var(--fg-muted); }
.intake-total th, .intake-total td { border-top: 2px solid var(--line); font-weight: 700; }
.intake-note { margin: 8px 0 0; font-size: .85rem; }
@media (max-width: 559.98px) {
  .intake th, .intake td { padding: 8px 6px; }
  .intake-credit { white-space: normal; }
}

.site-chat, .app-chat {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--r-sm); color: var(--fg-muted);
}
.site-chat:hover, .app-chat:hover { color: var(--coral); background: var(--surface-2); }
.app-bar .app-chat { margin-left: auto; }
.app-balance {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 6px;
  padding: 4px 9px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: color-mix(in srgb, var(--tg-star) 14%, transparent); color: var(--tg-star);
}
.app-balance .ico-star { width: .95em; height: .95em; fill: currentColor; }
.chat-win {
  --chrome-top: 68px;
  --chrome-bottom: 0px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100dvh - var(--chrome-top) - var(--chrome-bottom));
}
.chat-win-head, .chat-win-body, .chat-win-foot > * { max-width: var(--maxw); margin-inline: auto; width: 100%; }
body:has(.app-bar) .chat-win { --chrome-top: 55px; }
body:has(.tabbar) .chat-win { --chrome-bottom: calc(64px + env(safe-area-inset-bottom)); }
.chat-win-head { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.chat-win-body {
  display: grid; gap: 12px; align-content: start;
  overflow-y: auto; padding: 14px 16px;
}
.chat-win-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.chat-title {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.45rem);
}
.chat-title .ico { width: 1.1em; height: 1.1em; color: var(--coral); flex: none; }
.chat-empty { margin: auto; text-align: center; }
.chat-feed {
  display: grid; gap: 12px;
  padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
}
.chat-msg { display: grid; gap: 3px; }
.chat-who { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: .85rem; }
.chat-name { font-weight: 700; color: var(--coral); }
.chat-time { margin-left: auto; color: var(--fg-faint); }
.chat-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-compose { display: flex; gap: 8px; }
.chat-compose .input { flex: 1 1 auto; min-width: 0; }
.chat-price { gap: 5px; font-weight: 700; }
.chat-price .ico-star { width: 1.2em; height: 1.2em; }
.stars-dialog h2 { margin: 0 0 10px; }
.stars-dialog .btn { margin: 0 4px; }
.chat-readonly { margin: 0; text-align: center; }
.city-chat-teaser { margin-top: 34px; }
.teaser-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.teaser-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1.15rem; }
.teaser-head .ico { width: 22px; height: 22px; color: var(--coral); }
.admin-chat-stream { display: grid; gap: 10px; }
.admin-chat-msg {
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
}
.admin-chat-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 4px; }
.admin-chat-name { color: var(--coral); font-weight: 600; }
.admin-chat-city { padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--fg-muted); }
.admin-chat-date { margin-left: auto; }
.admin-chat-more { margin-top: 14px; }
.admin-ok {
  background: color-mix(in srgb, var(--ok) 12%, var(--surface-2));
  border-color: color-mix(in srgb, var(--ok) 35%, transparent);
  color: var(--ok);
}
