/* fitnesi.ge design system: "ფასის ფირფიტა" (the price plate)
   Every gym is a bumper plate with its price stamped on it. Colour rules:
   - plate colours mean CATEGORY only: gym red, crossfit yellow, boxing/MMA blue, pool teal, yoga/pilates/studio green;
   - the red accent means ACTIONS only (buttons, links, focus);
   - paid placement (partner/featured) = ink with a thin red collar ring; unconfirmed = grey.
   Gyms without their own photo get a generated plate poster (common.js poster()); prices sit on a round sticker. */
:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --surface-3: #e4e7ec;
  --ink: #0d1015;
  --ink-2: #2a303a;
  --muted: #5c6472;
  --line: #e0e3e8;
  --line-strong: #cbd1d9;
  --accent: #e2342b;
  --accent-hover: #c62a22;
  --accent-ink: #ffffff;
  --accent-soft: #fdecea;
  --ok: #0e8a5e;
  --ok-soft: #e2f4eb;
  --warn: #875700;
  --warn-soft: #fdf3da;
  /* paid placement: no separate hue any more (the red collar) */
  --feat: var(--accent);
  --feat-soft: var(--accent-soft);
  --plate-red: #c8102e;
  --plate-blue: #1d4fa3;
  --plate-yellow: #f2b705;
  --plate-green: #1f7a4d;
  --plate-teal: #1497a8;
  --plate-grey: #8b94a3;
  --hero-bg: #08090b;
  --hero-fg: #ffffff;
  --hero-muted: rgba(255, 255, 255, .72);
  --scrim: rgba(8, 10, 13, .55);
  --shadow-sm: 0 1px 2px rgba(13, 16, 21, .06), 0 1px 1px rgba(13, 16, 21, .04);
  --shadow-md: 0 1px 2px rgba(13, 16, 21, .05), 0 4px 12px -2px rgba(13, 16, 21, .08), 0 12px 32px -8px rgba(13, 16, 21, .10);
  --shadow-lg: 0 2px 4px rgba(13, 16, 21, .06), 0 16px 40px -8px rgba(13, 16, 21, .22);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --f-display: "Noto Sans Georgian Display", "Noto Sans Georgian Local", "Noto Sans Georgian Arial", "Noto Sans Georgian Sylfaen", system-ui, sans-serif;
  --f-body: "Noto Sans Georgian", "Noto Sans Georgian Local", "Noto Sans Georgian Arial", "Noto Sans Georgian Sylfaen", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --toolbar-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0c0f; --surface: #121519; --surface-2: #191d23; --surface-3: #232831; --ink: #eef1f5; --ink-2: #c8cdd6;
    --muted: #949cab; --line: #232832; --line-strong: #323946; --accent: #ff4d43; --accent-hover: #ff6a61;
    --accent-soft: #2b1514; --ok: #3ccf95; --ok-soft: #0f241c; --warn: #f0b65a; --warn-soft: #2a2010;
    --plate-grey: #6f7886; --scrim: rgba(0, 0, 0, .6); --hero-bg: #050607;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -6px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 44px -8px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0c0f; --surface: #121519; --surface-2: #191d23; --surface-3: #232831; --ink: #eef1f5; --ink-2: #c8cdd6;
  --muted: #949cab; --line: #232832; --line-strong: #323946; --accent: #ff4d43; --accent-hover: #ff6a61;
  --accent-soft: #2b1514; --ok: #3ccf95; --ok-soft: #0f241c; --warn: #f0b65a; --warn-soft: #2a2010;
  --plate-grey: #6f7886; --scrim: rgba(0, 0, 0, .6); --hero-bg: #050607;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -6px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 44px -8px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
/* readable accent text, AA-contrast success colour, button reds (WCAG AA with white text in both themes) */
:root { --accent-text: #c62a22; --ok: #0b7a52; --ok-ink: #ffffff; --accent-btn: #d12d24; --accent-btn-hover: #b8241c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent-text: #ff8a80; --accent: #e3443a; --accent-hover: #ef5a50; --ok-ink: #06261a; } }
:root[data-theme="dark"] { --accent-text: #ff8a80; --accent: #e3443a; --accent-hover: #ef5a50; --ok-ink: #06261a; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body);
  font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-stretch: 87.5%; font-weight: 800; letter-spacing: 0; line-height: 1.3; text-wrap: balance; }
p { text-wrap: pretty; margin: 0; }
/* Mtavruli (Georgian capitals) for short display text: Chrome needs the font's case feature, other engines use text-transform. */
.caps, .eyebrow, .hero h1, .section-head h2, .band h2, .p-hero h1, .badge, .footer-grid h4, .step h3, .plan h3, .example-tag, .drawer .body h4, .owner h3, .pb-head h2, .poster-name, .hp-cap b, .unc-tag {
  text-transform: uppercase; font-feature-settings: "case" 1;
}
.caps em, .p-hero h1 em { text-transform: none; font-feature-settings: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
.container {
  max-width: 1320px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* "skip to content" link: hidden until it gets keyboard focus */
.skip-link {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 8px; z-index: 2000; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; text-decoration: none; transform: translateY(-160%);
}
.skip-link:focus { transform: none; outline: 2px solid var(--accent); outline-offset: 2px; }
main:focus { outline: none; }
.eyebrow {
  font-family: var(--f-display); font-stretch: 87.5%; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent-text); line-height: 1.2;
}
.ico { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- plates (category colour code) ---------- */
.plate {
  --c: var(--plate-grey);
  width: 14px; height: 14px; border-radius: 50%; flex: none; display: inline-block;
  background: radial-gradient(circle, var(--surface) 0 2px, var(--c) 2.5px 5px, color-mix(in srgb, var(--c) 70%, #000) 5.5px 6px, var(--c) 6.5px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, #000);
}
.plate.red { --c: var(--plate-red); }
.plate.blue { --c: var(--plate-blue); }
.plate.yellow { --c: var(--plate-yellow); }
.plate.green { --c: var(--plate-green); }
.plate.teal { --c: var(--plate-teal); }
/* plate-colour fields (posters, hero plates, recently viewed dots) */
.pl-red { --pc: #c8102e; --pc-deep: #5e0814; --pc-ink: #fff; }
.pl-blue { --pc: #1d4fa3; --pc-deep: #0a1f4a; --pc-ink: #fff; }
.pl-green { --pc: #1f7a4d; --pc-deep: #0a3320; --pc-ink: #fff; }
.pl-teal { --pc: #1497a8; --pc-deep: #064650; --pc-ink: #fff; }
.pl-yellow { --pc: #f2b705; --pc-deep: #a06c00; --pc-ink: #17130a; }
.pl-unc, .pl-grey { --pc: #6b7280; --pc-deep: #22262c; --pc-ink: #fff; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 1001; background: var(--surface); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1000; height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 97%, transparent); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--f-display); font-stretch: 85%; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo-mark { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 70%, #000); }
.logo-mark::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 80%, #000); }
.logo .tld { color: var(--accent); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); }
.nav a.btn { color: var(--accent-ink); }
.nav a.btn:hover { background: var(--accent-btn-hover, var(--accent-hover)); color: var(--accent-ink); }
.nav a.btn.dark { color: var(--bg); }
.nav a.btn.dark:hover { background: var(--ink-2); color: var(--bg); }
/* phones and tablets: the header links move into a small menu (common.js adds the button and the panel) */
.nav-toggle, .nav-menu { display: none; }
.demo-ribbon {
  font-size: 12.5px; color: var(--warn); background: var(--warn-soft); border-bottom: 1px solid color-mix(in srgb, var(--warn) 18%, transparent);
  padding-block: 7px; text-align: center;
}

/* ---------- buttons, inputs, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--accent-btn, var(--accent)); color: var(--accent-ink); font-weight: 600; font-size: 14px;
  transition: background .15s, border-color .15s, transform .08s, box-shadow .15s, color .15s;
}
.btn:hover { background: var(--accent-btn-hover, var(--accent-hover)); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ico { width: 17px; height: 17px; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; gap: 6px; }
.btn.sm .ico { width: 15px; height: 15px; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.outline:hover { border-color: var(--ink); background: var(--surface); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.dark:hover { background: var(--ink-2); }
.btn.ok { background: var(--ok); color: var(--ok-ink); }
.btn.block { width: 100%; }
.btn.on-dark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn.on-dark:hover { background: rgba(255, 255, 255, .18); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 500;
  cursor: pointer; user-select: none; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; flex: none;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:disabled { opacity: .45; cursor: default; }
.chip:disabled:hover { border-color: var(--line-strong); }
.chip .count { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.chip[aria-pressed="true"] .count { color: inherit; opacity: .7; }
.chip .ico { width: 15px; height: 15px; }
.chip.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.chip.ghost:hover { color: var(--ink); }
.select, .input {
  height: 42px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 0 16px;
  font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; min-width: 0;
}
.select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 18px, calc(100% - 14px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.select.sm { height: 36px; font-size: 13.5px; background-position: calc(100% - 19px) 15px, calc(100% - 14px) 15px; }
.select:focus, .input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.select:focus-visible, .input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; line-height: 1.5;
  padding: 1px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
/* paid placement: ink with a thin red collar (label from config.badgeLabel) */
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1;
  padding: 6px 10px 6px 8px; border-radius: 999px; white-space: nowrap;
}
.badge .ico { width: 15px; height: 15px; }
.badge.verified, .badge.featured { color: var(--bg); background: var(--ink); box-shadow: 0 0 0 1.5px var(--accent); }
.badge.verified .ico, .badge.featured .ico { color: var(--accent); }
.badge.unverified { color: var(--muted); background: var(--surface-2); font-weight: 500; }
.badge.on-photo { color: #fff; background: #0d1015; box-shadow: 0 0 0 1.5px var(--accent), 0 4px 12px rgba(0, 0, 0, .3); }
.badge.on-photo .ico { color: #ff6a61; }
/* contact.js markup (lane B): the muted source note, the "ask the price" button, the report link */
.src-mark { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.src-mark.is-trusted { color: var(--ink-2); }
.price-unknown { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; min-width: 0; }
.btn-ask .ico { width: 15px; height: 15px; }
.contact-list { display: flex; gap: 8px; flex-wrap: wrap; }
.report-link { font-size: 13px; color: var(--muted); }
.report-link:hover { color: var(--accent-text); }

/* ---------- hero: black field, Mtavruli headline, slowly rotating stack of real price plates ---------- */
.hero { position: relative; isolation: isolate; color: var(--hero-fg); overflow: hidden; background: var(--hero-bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 90% at 85% 40%, rgba(255, 255, 255, .06), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(226, 52, 43, .10), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; padding-block: 34px 28px; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero .eyebrow { color: #ff8a80; }
.hero h1 { font-size: clamp(42px, 5vw, 76px); line-height: .98; font-stretch: 75%; font-weight: 900; letter-spacing: .005em; }
.hero h1 .dot { color: var(--accent); }
.hero .lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--hero-muted); max-width: 560px; min-height: 1.6em; }
#heroLead { text-wrap: balance; }
.search {
  display: flex; align-items: center; gap: 0; background: var(--surface); color: var(--ink); border-radius: 999px;
  padding: 6px; box-shadow: var(--shadow-lg); max-width: 720px; margin-top: 6px;
}
.search .field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px; min-width: 0; height: 52px; border-radius: 999px; transition: background .15s; }
.search .field:hover { background: var(--surface-2); }
.search .field:focus-within { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--ink); }
.search .field .ico { color: var(--muted); }
.search .field > span:not(.ico) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.search .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.search input, .search select { border: 0; background: transparent; outline: none; padding: 2px 0 0; font-size: 14px; color: var(--muted); width: 100%; min-width: 0; appearance: none; cursor: pointer; }
.search input { cursor: text; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search .sep { width: 1px; height: 30px; background: var(--line); flex: none; }
.search .btn { height: 52px; padding: 0 26px; }
/* category chips (and district neighbourhood chips): a fixed-height row so the late render doesn't shift the page */
.quick, .hoods {
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-height: 36px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.quick::-webkit-scrollbar, .hoods::-webkit-scrollbar { display: none; }
/* district pages always keep the neighbourhood row, so filling it in doesn't move the page */
body[data-district] #hoods { display: flex !important; }
.hero .chip { background: rgba(255, 255, 255, .07); color: var(--hero-fg); border-color: rgba(255, 255, 255, .18); }
.hero .chip:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.hero .chip .count { color: var(--hero-muted); }
.hero .chip[aria-pressed="true"] { background: #fff; color: #0d1015; border-color: #fff; }
.hero .chip[aria-pressed="true"] .count { color: #0d1015; }
.hero .chip .plate { --surface: #15181c; }
/* district pages: the district's name, giant, in Mtavruli; facts and neighbourhoods under it */
.hero h1.d-h1 { max-width: none; display: flex; flex-direction: column; gap: 14px; }
.d-h1 .d-name { font-size: clamp(56px, 8.2vw, 128px); line-height: .86; letter-spacing: -.005em; }
.d-h1 .d-sub { font-size: 13px; font-stretch: 87.5%; font-weight: 700; letter-spacing: .1em; color: #ff8a80; line-height: 1.2; order: -1; }
body[data-district] .hero .eyebrow { display: none; }
body[data-district] .hero .lead { font-family: var(--f-display); font-stretch: 87.5%; font-weight: 700; color: var(--hero-fg); font-size: clamp(18px, 1.8vw, 22px); }

/* hero price plates */
.hero-plates { position: relative; height: 430px; min-width: 0; }
.hp-stack { position: absolute; inset: 0; }
.hp {
  --i: 0; position: absolute; right: 4%; top: 6px; width: 312px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: #fff; text-decoration: none; z-index: calc(10 - var(--i));
  transform: translate(calc(var(--i) * -44px), calc(var(--i) * 12px)) scale(calc(1 - var(--i) * .1));
  transform-origin: 50% 40%; filter: brightness(calc(1 - var(--i) * .14)) saturate(calc(1 - var(--i) * .1));
  transition: transform 1.1s cubic-bezier(.3, .7, .2, 1), filter 1.1s;
}
.hp-disc {
  position: relative; width: 300px; height: 300px; border-radius: 50%; background: var(--pc); color: var(--pc-ink); flex: none;
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.hp-disc .disc-art { position: absolute; inset: 0; width: 100%; height: 100%; animation: plate-spin 120s linear infinite; }
@keyframes plate-spin { to { transform: rotate(360deg); } }
.hp-price { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.hp-price b { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 84px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hp-price small { font-size: 14px; font-weight: 700; letter-spacing: .04em; margin-top: 6px; opacity: .85; }
.hp-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; opacity: 0; transition: opacity .6s; max-width: 100%; }
.hp.front .hp-cap { opacity: 1; }
/* desktop: the outgoing caption leaves fast (.2s) and the new one starts as it is gone, so two names never overlap and a
   front disc is never long without its name; the first caption of a stack shows at once (hp-init, set by home.js) */
@media (min-width: 901px) {
  .hp-cap { transition: opacity .2s; }
  .hp.front .hp-cap { transition: opacity .35s .2s; }
}
.hp-stack.hp-init .hp-cap { transition: none; }
.hp-cap b { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 19px; letter-spacing: .02em; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-cap span { font-size: 13px; color: var(--hero-muted); }
.hp:not(.front) { pointer-events: none; }
.hp.front:hover .hp-disc { box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .9), 0 0 0 3px rgba(255, 255, 255, .5); }
.hp:focus-visible { outline: none; }
.hp:focus-visible .hp-disc { box-shadow: 0 0 0 3px var(--accent); }

/* plate artwork (posters and hero plates share it): translucent rings over the plate colour */
.pp-body { fill: rgba(255, 255, 255, .085); }
.pp-rim { fill: none; stroke: rgba(0, 0, 0, .22); }
.pp-groove { fill: none; stroke: rgba(0, 0, 0, .18); stroke-width: 1; }
.pp-ring { fill: none; stroke: rgba(255, 255, 255, .11); }
.pp-hub { fill: rgba(0, 0, 0, .2); }
.pp-hubring { fill: none; stroke: rgba(255, 255, 255, .2); }
.pp-hole { fill: rgba(0, 0, 0, .55); }
.pp-sheen { fill: none; stroke: rgba(255, 255, 255, .34); stroke-linecap: round; }
.pp-sheen2 { stroke: rgba(255, 255, 255, .16); }
.pp-body { stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; }
/* posters: a steel hub makes the disc read as a bumper plate at any size */
.poster .pp-hub { fill: #b9c0ca; }
.poster .pp-hubring { stroke: rgba(255, 255, 255, .45); }
.pp-collar { fill: none; stroke: rgba(0, 0, 0, .28); }
.poster .pp-hole { fill: #121418; }
.poster .pp-rim { stroke: rgba(0, 0, 0, .26); }
.pl-yellow .pp-body { fill: rgba(255, 255, 255, .16); }
.pl-yellow .pp-hub { fill: rgba(0, 0, 0, .1); }
.disc-art .pp-body { fill: rgba(255, 255, 255, .06); }
.disc-art .pp-hub { fill: rgba(0, 0, 0, .16); }

/* ---------- plate poster (gyms without their own photo) ---------- */
.poster {
  position: absolute; inset: 0; overflow: hidden; color: var(--pc-ink); isolation: isolate;
  background: radial-gradient(130% 110% at 8% 0%, color-mix(in srgb, var(--pc) 88%, #fff) 0%, var(--pc) 36%, var(--pc-deep) 100%);
}
.poster::after { /* a soft floor shadow so the name always reads */
  content: ""; position: absolute; inset: 45% 0 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pc-deep) 70%, transparent));
}
.pl-yellow.poster::after { background: linear-gradient(180deg, transparent, rgba(255, 214, 90, .35)); }
.poster-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .28)); }
.poster-ico {
  position: absolute; top: 12px; left: 12px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--pc-ink) 55%, transparent); color: var(--pc-ink);
}
.poster-ico .ico { width: 16px; height: 16px; }
.poster-txt { position: absolute; left: 14px; right: 92px; bottom: 13px; z-index: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.poster-name {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 850; font-size: 25px; line-height: 1; letter-spacing: .015em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; text-wrap: balance;
}
.poster-name.pn-mid { font-size: 22px; }
.poster-name.pn-long { font-size: 18.5px; }
.poster-meta { font-size: 11.5px; font-weight: 600; letter-spacing: .01em; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster.pl-unc { filter: saturate(.4); }
.poster.pv-mini .poster-txt, .poster.pv-mini .poster-ico { display: none; }
.poster.pv-wide .poster-name { font-size: clamp(30px, 4.6vw, 56px); }
.poster.pv-wide .poster-txt { left: 22px; bottom: 20px; right: 30%; gap: 8px; }
.poster.pv-wide .poster-meta { font-size: 14px; }
.poster.pv-wide .poster-ico { top: 18px; left: 18px; width: 40px; height: 40px; }

/* ---------- round price sticker (on photos and posters) ---------- */
.sticker {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 68px; height: 68px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center;
  background: #fbfbfa; color: #0d1015; transform: rotate(-7deg);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .6) inset, 0 0 0 1px rgba(0, 0, 0, .05);
}
.sticker::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid rgba(13, 16, 21, .13); pointer-events: none; }
.sticker b { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sticker small { font-size: 10px; font-weight: 700; color: #343a44; margin-top: 3px; white-space: nowrap; max-width: 58px; overflow: hidden; text-overflow: ellipsis; }
.sticker.s-long b { font-size: 21px; }
.sticker.s-free b { font-size: 13px; letter-spacing: .02em; }
.sticker.s-kids::after { content: ""; position: absolute; top: 3px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--plate-yellow); box-shadow: 0 0 0 2px #fbfbfa; }
.sticker.s-none {
  background: rgba(8, 10, 13, .38); color: #fff; box-shadow: none; border: 2px dashed rgba(255, 255, 255, .85);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); transform: rotate(0);
}
.sticker.s-none::before { display: none; }
.sticker.s-none b { font-size: 28px; font-weight: 800; }

/* ---------- sections ---------- */
.section { padding-block: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 42px); margin-top: 8px; font-stretch: 75%; font-weight: 900; line-height: 1.08; letter-spacing: .01em; }
.section-head p { color: var(--muted); max-width: 560px; margin-top: 8px; }

/* ---------- directory ---------- */
/* solid, so the photos scrolling under it never show through as a pale haze */
.toolbar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 900;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.toolbar .container { display: flex; gap: 8px; align-items: center; padding-block: 11px; }
.toolbar .search-wrap { position: relative; flex: none; }
@media (min-width: 901px) { body.hero-search-on .toolbar .search-wrap { display: none; } }
.toolbar .search-wrap .ico { position: absolute; left: 14px; top: 12px; color: var(--muted); pointer-events: none; }
.toolbar .input { width: 260px; padding-left: 40px; }
.toolbar .select { flex: none; }
.toolbar .spacer { flex: 1; }
#catSelect { max-width: 190px; } /* a long type name ("MMA და ორთაბრძოლები") must not widen the whole bar */
.district-btn { display: none; }
.district-btn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toolbar .btn .badge-count { background: var(--accent-btn, var(--accent)); color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 7px; line-height: 1.5; }
.dir { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 14px 56px; align-items: start; }
#results { scroll-margin-top: calc(var(--header-h) + var(--toolbar-h) + 8px); }
/* intent chips: one scrolling row, live counts */
.intents {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 14px; margin: 0 -2px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  min-height: 52px;
}
.intents::-webkit-scrollbar { display: none; }
/* desktop (mouse): chip rows wrap, since a mouse wheel can't scroll them sideways; touch widths keep one scrolling row */
@media (min-width: 901px) {
  .quick, .hoods { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  /* the rows are filled in by the script: reserve their usual wrapped height so the page doesn't jump */
  .quick { min-height: 80px; }
  /* the intent chips: ONE row, so the first photo cards reach the first screen; the chips that don't fit go into
     "სხვა ფილტრები (+n)" (home.js renderIntents), which opens the filters with every chip */
  .intents { flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: none; mask-image: none; min-height: 52px; }
  .intents .chip { flex: none; }
}
.intents .chip { height: 36px; padding: 0 13px; }
.geo-note { margin: -6px 0 10px; }
/* recently viewed */
.recent { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-width: 0; }
.recent-h { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; flex: none; }
.recent-h .ico { width: 15px; height: 15px; }
.recent-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.recent-row::-webkit-scrollbar { display: none; }
.rv {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px; flex: none;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; text-decoration: none; max-width: 240px;
}
.rv:hover { border-color: var(--ink); }
.rv-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--pc); flex: none; overflow: hidden; box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .12); }
.rv-dot img { width: 100%; height: 100%; object-fit: cover; }
.rv-name { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.rv-p { color: var(--muted); font-variant-numeric: tabular-nums; }
/* results head: count, sort, price mode */
.results-head { display: flex; align-items: center; gap: 10px 12px; margin-bottom: 12px; flex-wrap: wrap; }
.results-head h2 { font-size: 21px; font-variant-numeric: tabular-nums; margin-right: auto; }
.sort-wrap { position: relative; display: inline-flex; align-items: center; }
.sort-wrap .ico { position: absolute; left: 12px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.sort-wrap .select { padding-left: 34px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--f-body); cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.pm-seg button { padding: 8px 13px; font-size: 13px; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.active-filters .chip { height: 30px; font-size: 12.5px; padding: 0 10px 0 12px; background: var(--surface-2); border-color: transparent; }
.active-filters .chip .ico { width: 14px; height: 14px; color: var(--muted); }
/* before the script fills the list, keep its room so the sections below don't jump (CLS) */
#list:empty { min-height: 100vh; }
.more-row { display: flex; justify-content: center; margin-top: 24px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .ico { width: 30px; height: 30px; color: var(--muted); }
.empty .relax { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.empty-title { font-size: 20px; }

.heart {
  width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); transition: color .15s, border-color .15s, transform .1s;
}
.heart .ico { width: 18px; height: 18px; }
.heart:hover { color: var(--accent); border-color: var(--accent); }
.heart:active { transform: scale(.92); }
.heart[aria-pressed="true"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.heart[aria-pressed="true"] .ico { fill: currentColor; }

/* ---------- prices block ---------- */
.prices-block {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px 56px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); min-height: 360px;
}
.pb-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pb-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-stretch: 75%; font-weight: 900; line-height: 1.04; letter-spacing: .01em; }
.pb-head p { color: var(--muted); max-width: 52ch; }
.pb-head .btn { margin-top: 6px; }
.pb-cap { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.pb-bands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pb-bands li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 92px; gap: 14px; align-items: center; font-size: 14px; }
.pb-range { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-bar { height: 22px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.pb-bar i { display: block; height: 100%; min-width: 6px; border-radius: 6px; background: var(--ink); }
.pb-n { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------- districts ---------- */
.districts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.district {
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; color: inherit;
}
.district:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.district b { font-family: var(--f-display); font-stretch: 84%; font-size: 18px; font-weight: 800; }
.district span { font-size: 13px; color: var(--muted); }
.district .go { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.district .go .ico { width: 16px; height: 16px; transition: transform .15s; }
.district:hover .go .ico { transform: translateX(3px); }
.district[aria-disabled="true"] { opacity: .55; }
.district[aria-disabled="true"]:hover { border-color: var(--line); box-shadow: none; transform: none; }

/* ---------- band CTA (plates instead of a photo; offer pages may still put an <img> in it) ---------- */
.band { position: relative; isolation: isolate; border-radius: var(--r-xl); overflow: hidden; color: var(--hero-fg); background: var(--hero-bg); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 13, .94) 32%, rgba(8, 10, 13, .55) 62%, rgba(8, 10, 13, .12)); }
.band-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.band-art .b-red { fill: var(--plate-red); } .band-art .b-blue { fill: var(--plate-blue); } .band-art .b-green { fill: var(--plate-green); }
.band-art .b-hub { fill: rgba(0, 0, 0, .25); } .band-art .b-hole { fill: var(--hero-bg); }
.band-inner { padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 3.4vw, 42px); max-width: 18ch; font-stretch: 75%; font-weight: 900; line-height: 1.08; letter-spacing: .01em; }
.band p { color: var(--hero-muted); margin-top: 10px; max-width: 520px; }
.band .eyebrow { color: #ff8a80; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; background: var(--surface); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h4 { font-size: 13px; font-stretch: 90%; color: var(--muted); font-weight: 700; margin-bottom: 12px; letter-spacing: .06em; }
.foot-h { font-family: var(--f-display); font-size: 13px; font-stretch: 87.5%; color: var(--muted); font-weight: 700; margin-bottom: 12px; letter-spacing: .06em; text-transform: uppercase; font-feature-settings: "case" 1; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid ul.cols { display: block; columns: 2; column-gap: 16px; }
.footer-grid ul.cols li { margin-bottom: 8px; break-inside: avoid; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent-text); }
.footer-grid p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom a { color: inherit; }

/* ---------- gym profile ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 20px 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ico { width: 14px; height: 14px; }
.p-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.p-title h1 { font-size: clamp(30px, 4.4vw, 50px); font-stretch: 78%; line-height: 1.05; }
.p-title .sub { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 14px; }
.p-title .sub > span { display: inline-flex; align-items: center; gap: 6px; }
.p-title .sub .ico { width: 16px; height: 16px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--surface-3); min-width: 0; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 340px; }
.gallery.single figure:first-child { grid-row: auto; }
.gallery .note {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500;
  background: rgba(10, 12, 15, .7); color: #fff; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px); max-width: calc(100% - 28px);
}
.gallery .note .ico { width: 15px; height: 15px; flex: none; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-block: 32px 64px; }
.p-main { display: flex; flex-direction: column; min-width: 0; }
.p-section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.p-section:first-child { padding-top: 0; }
.p-section:last-child { border-bottom: 0; }
.p-section h2 { font-size: 24px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.p-section > p { color: var(--ink-2); max-width: 68ch; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 4px; }
.highlight { display: flex; gap: 12px; align-items: flex-start; }
.highlight .ico { width: 22px; height: 22px; color: var(--ink-2); margin-top: 2px; }
.highlight b { display: block; font-size: 14.5px; }
.highlight span { font-size: 13px; color: var(--muted); }
.price-list { display: flex; flex-direction: column; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px dashed var(--line-strong); }
.price-row:last-child { border-bottom: 0; }
.price-row span { color: var(--ink-2); }
.price-row b { font-family: var(--f-body); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-row b small { font-size: 13px; color: var(--muted); font-weight: 500; font-family: var(--f-body); font-stretch: 100%; margin-left: 4px; }
.notice { font-size: 13.5px; border-radius: var(--r-md); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; line-height: 1.5; }
.notice .ico { width: 17px; height: 17px; margin-top: 1px; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice a { font-weight: 600; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.service { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.service .ico { width: 21px; height: 21px; color: var(--ink-2); }
.offer { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.offer + .offer { margin-top: 10px; }
.offer .ico { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.offer b { display: block; }
.offer p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.example-tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--warn); background: var(--warn-soft); padding: 4px 9px; border-radius: 999px; font-family: var(--f-body); font-feature-settings: "case" 1; }
.schedule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; background: var(--surface); }
.slot .when { font-size: 12.5px; color: var(--muted); }
.slot b { display: block; font-family: var(--f-display); font-stretch: 84%; font-size: 22px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.slot span { font-size: 14px; }
.minimap { height: 300px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.loc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; color: var(--ink-2); }
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; }
.book .from { font-size: 13px; color: var(--muted); }
.book .big { font-family: var(--f-display); font-stretch: 78%; font-size: 38px; font-weight: 850; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.book .big small { font-size: 15px; color: var(--muted); font-weight: 500; font-family: var(--f-body); font-stretch: 100%; }
.kv { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.kv-row { display: flex; gap: 12px; font-size: 14px; align-items: flex-start; min-width: 0; }
.kv-row .ico { color: var(--muted); margin-top: 2px; }
.kv-row a { text-decoration: none; word-break: break-word; }
.kv-row a:hover { color: var(--accent); }
.owner { border-radius: var(--r-lg); padding: 20px; background: var(--ink); color: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.owner h3 { font-size: 19px; }
.owner p { font-size: 13.5px; opacity: .75; }
.owner a.link { font-size: 13px; color: inherit; opacity: .85; }
.nearby { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mobile-cta { display: none; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: var(--scrim); z-index: 1300; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: var(--r-lg); padding: 28px; width: min(460px, 100%); box-shadow: var(--shadow-lg); max-height: calc(100vh - 32px); overflow: auto; }
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r-md); padding: 11px 14px; font-weight: 400; font-size: 15px; width: 100%; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- partner page ---------- */
.p-hero { position: relative; isolation: isolate; color: var(--hero-fg); background: #0b0d10; overflow: hidden; }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 10, 13, .95) 0%, rgba(8, 10, 13, .8) 50%, rgba(8, 10, 13, .55) 100%); }
.p-hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: 72px; }
.p-hero h1 { font-size: clamp(36px, 5.6vw, 72px); font-stretch: 75%; font-weight: 900; line-height: 1.02; letter-spacing: .005em; }
.p-hero h1 em { font-style: normal; color: var(--accent); }
.p-hero .lead { color: var(--hero-muted); font-size: 17px; margin: 18px 0 28px; max-width: 520px; }
.p-hero .eyebrow { color: #ff8a80; margin-bottom: 14px; }
.p-hero .proof { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.p-hero .proof b { display: block; font-family: var(--f-display); font-stretch: 80%; font-size: 30px; font-variant-numeric: tabular-nums; }
.p-hero .proof span { font-size: 13px; color: var(--hero-muted); }
.btn.on-dark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn.on-dark:hover { background: rgba(255, 255, 255, .18); }
.mock { background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 12px; }
.mock .mock-bar { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.mrow { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.mrow img { width: 88px; height: 66px; object-fit: cover; border-radius: var(--r-sm); }
.mrow b { display: block; font-family: var(--f-display); font-stretch: 86%; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow span { font-size: 12.5px; color: var(--muted); }
.mrow .p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrow.top { border-color: var(--feat); box-shadow: 0 0 0 3px var(--feat-soft); }
.mrow.dim { opacity: .5; }
.mrow > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step .n { font-family: var(--f-display); font-stretch: 75%; font-size: 44px; font-weight: 850; color: var(--accent); line-height: 1; }
.step h3 { font-size: 20px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.founding { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--r-lg); background: var(--ok-soft); color: var(--ink); margin-bottom: 20px; border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.founding .l { display: flex; gap: 14px; align-items: flex-start; }
.founding .l .ico { width: 26px; height: 26px; color: var(--ok); }
.founding b { font-size: 16px; }
.founding p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.popular { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 26px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 21px; display: flex; align-items: center; gap: 8px; }
.plan .amount { font-family: var(--f-display); font-stretch: 75%; font-size: 52px; font-weight: 850; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .amount small { font-size: 15px; font-weight: 500; color: var(--muted); font-family: var(--f-body); font-stretch: 100%; letter-spacing: 0; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: -8px; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; flex: 1; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ico { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.report-card { display: flex; flex-direction: column; gap: 18px; }
.report { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spark { height: 84px; width: 100%; }
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
.compare th, .compare td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 600; }
.compare .ico { width: 18px; height: 18px; color: var(--ok); }
.compare .no { color: var(--muted); }
/* Phones: each feature label on its own line, the three plan values in columns below it. */
@media (max-width: 600px) {
  .compare { min-width: 0; }
  .compare thead th:first-child { display: none; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare th, .compare td { padding: 8px 4px; }
  .compare td:first-child { grid-column: 1 / -1; border-bottom: 0; padding: 12px 0 0; font-weight: 600; }
  .compare th { font-size: 11px; padding-left: 2px; padding-right: 2px; letter-spacing: -0.01em; }
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 14.5px; max-width: 62ch; }
.preview-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- gym page ---------- */
.p-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--f-body); cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.profile { padding-top: 8px; }
.p-main .gallery { grid-template-rows: 200px 200px; margin-bottom: 24px; }
.p-main .gallery.single { grid-template-rows: auto; }
.p-main .gallery.single figure { aspect-ratio: 16 / 9; max-height: 440px; width: 100%; }
.highlight > div { display: flex; flex-direction: column; }
.highlight b + b { margin-top: 1px; }
.book-actions { display: flex; flex-direction: column; gap: 8px; }
.minimap { position: relative; display: block; height: 280px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.minimap canvas { cursor: pointer; }
.minimap-hint {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md);
}
.minimap-hint .ico { width: 15px; height: 15px; }
/* women-only tag: gym page title row and cards */
.wo-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-text, var(--accent)); font-weight: 700; }
.p-title .sub > .wo-tag { color: var(--accent-text, var(--accent)); }
.gcard .wo-line { display: block; font-size: 12.5px; margin: 1px 0 2px; }
.mobile-cta .cta-label { line-height: 1.25; margin-bottom: 2px; }
.mini-pin {
  width: 36px; height: 36px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); background: var(--plate-red);
}
.mini-pin .ico { transform: rotate(45deg); width: 17px; height: 17px; color: #fff; }
.mini-pin.plate-blue { background: var(--plate-blue); } .mini-pin.plate-green { background: var(--plate-green); } .mini-pin.plate-yellow { background: var(--plate-yellow); }
.mini-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--plate-grey); border: 2px solid #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .owner { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); } }
:root[data-theme="dark"] .owner { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); }

.highlight .plate { width: 22px; height: 22px; margin-top: 2px; }
.p-title .sub .plate { width: 15px; height: 15px; }
.mock-bar .ico { width: 16px; height: 16px; }
/* gym-page photo caption (older gym page markup) */
.photo-note {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 20px);
  font-size: 11px; line-height: 1.3; color: #fff; background: rgba(10, 12, 15, .55); padding: 4px 7px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- drawer (side) and sheet (bottom, phones) ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 1300; background: var(--scrim); display: flex; justify-content: flex-end; animation: fade .15s; }
.drawer {
  width: min(440px, 100%); height: 100%; background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); animation: slidein .22s cubic-bezier(.2, .7, .2, 1);
}
@keyframes slidein { from { transform: translateX(30px); opacity: .4; } }
@keyframes slideup { from { transform: translateY(40px); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 20px; }
.drawer .body { flex: 1; overflow: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 24px; overscroll-behavior: contain; }
.drawer .body h4 { font-size: 14px; margin-bottom: 10px; font-stretch: 90%; letter-spacing: .04em; }
.drawer .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-break { flex-basis: 100%; height: 0; }
.drawer footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); }
.drawer-bg.bottom { align-items: flex-end; justify-content: center; }
.drawer-bg.bottom .drawer { height: auto; max-height: 82vh; width: min(560px, 100%); border-radius: 20px 20px 0 0; animation: slideup .22s cubic-bezier(.2, .7, .2, 1); }
.sheet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sheet-list .chip { justify-content: space-between; height: 46px; padding: 0 16px; font-size: 14.5px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 14.5px; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--surface-3); position: relative; cursor: pointer; transition: background .15s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .18s; }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(18px); }
.range-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
input[type="range"] { width: 100%; accent-color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .profile { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hp { right: 0; }
}
@media (max-width: 1199px) { #catSelect { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 58px; }
  .nav a:not(.btn) { display: none; }
  .site-header .container { gap: 12px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; height: 40px; padding: 0 12px 0 10px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 13.5px/1 var(--f-body); cursor: pointer;
  }
  .nav-toggle .ico { width: 18px; height: 18px; }
  .nav-toggle[aria-expanded="true"] { background: var(--surface-2); }
  .nav-menu {
    position: absolute; top: calc(100% + 6px); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 1001; min-width: 220px;
    flex-direction: column; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
  .nav-menu a .ico { width: 18px; height: 18px; color: var(--muted); }
  .nav-menu a:hover, .nav-menu a:focus-visible { background: var(--surface-2); }
  .nav-menu a[aria-current="page"] { color: var(--accent-text); }
  .nav-menu a[aria-current="page"] .ico { color: currentColor; }
  .nav-menu .nm-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; display: inline-grid; place-items: center; }
  /* hero: one column; the search lives in the sticky toolbar; the price plates become a one-line ticker */
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 22px 18px; }
  .hero-copy { gap: 10px; }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: clamp(29px, 7.7vw, 56px); }
  .hero .lead { font-size: 14px; }
  .search { display: none; }
  .quick, .hoods { margin-inline: -16px; padding-inline: 16px; min-height: 34px; }
  .hero .chip { height: 34px; padding: 0 12px; font-size: 13px; }
  .hero-plates { height: 60px; order: 3; }
  .hp {
    left: 0; right: 0; top: 0; width: auto; flex-direction: row; gap: 12px; align-items: center; transform: translateY(10px); filter: none;
    opacity: 0; transition: opacity .7s, transform .7s; z-index: 1;
  }
  .hp.front { opacity: 1; transform: none; z-index: 2; }
  .hp-disc { width: 60px; height: 60px; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .8); }
  .hp-price b { font-size: 20px; }
  .hp-price small { font-size: 8px; margin-top: 2px; letter-spacing: 0; }
  .hp-cap { align-items: flex-start; text-align: left; min-width: 0; flex: 1; gap: 1px; }
  .hp-cap b { font-size: 16px; }
  .hp-cap span { font-size: 12px; }
  .d-h1 .d-name { font-size: clamp(46px, 13vw, 96px); }
  .d-h1 .d-sub { font-size: 11.5px; }
  body[data-district] .hero h1.d-h1 { gap: 8px; }
  body[data-district] .hero .lead { font-size: 16px; }
  /* toolbar: search, district (sheet), filters */
  #districtSelect2 { display: none; }
  .district-btn { display: inline-flex; flex: none; max-width: 40%; padding: 0 14px; }
  .district-btn span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .toolbar .search-wrap { flex: 1 1 140px; min-width: 0; }
  .toolbar .input { width: 100%; }
  .toolbar .spacer { display: none; }
  .dir { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .intents { padding-bottom: 12px; min-height: 48px; }
  .intents { margin-inline: -16px; padding-inline: 16px; -webkit-mask-image: none; mask-image: none; }
  .recent { margin-inline: -16px; padding-inline: 16px; }
  .districts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices-block { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .index-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 130px; }
  .gallery figure:first-child { grid-row: auto; grid-column: span 2; }
  .gallery figure:nth-child(n+4) { display: none; }
  .nearby { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-hero .container { grid-template-columns: minmax(0, 1fr); padding-block: 48px; gap: 36px; }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; gap: 12px; align-items: center; justify-content: space-between;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .2);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .mobile-cta .big { font-family: var(--f-display); font-stretch: 80%; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .mobile-cta .big small { font-size: 13px; color: var(--muted); font-weight: 500; }
  .has-mobile-cta .site-footer { padding-bottom: 110px; }
  .has-mobile-cta .book .book-price, .has-mobile-cta .book .book-actions > :first-child, .has-mobile-cta .book .book-actions.bar-only { display: none; }
  .has-mobile-cta .book .book-actions.bar-only + .kv { border-top: 0; padding-top: 0; }
  .p-main .gallery { grid-template-rows: 220px 120px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .logo { font-size: 20px; }
  .logo-mark { width: 28px; height: 28px; }
  .demo-ribbon { font-size: 11.5px; padding-block: 5px; }
  .nav .full { display: none; }
  .nav:has(a.btn) + .nav-toggle { width: 40px; padding: 0; } /* next to a header button (partner page): icon only */
  .nav:has(a.btn) + .nav-toggle span { display: none; }
  .section { padding-block: 44px; }
  #openFilters { width: 42px; padding: 0; position: relative; }
  #openFilters .lbl { display: none; }
  #openFilters .badge-count { position: absolute; top: -4px; right: -4px; }
  .results-head { gap: 8px; }
  .results-head h2 { font-size: 19px; }
  .pm-seg { width: 100%; }
  body[data-district] .hero-plates { display: none; } /* the list starts within the first screen */
  .pm-seg button { flex: 1; padding: 8px 6px; font-size: 12.5px; }
  .districts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-bands li { grid-template-columns: 80px minmax(0, 1fr) 76px; gap: 10px; font-size: 13px; }
  .pb-bar { height: 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .highlights, .services, .schedule { grid-template-columns: minmax(0, 1fr); }
  .gallery.single { grid-template-rows: 240px; }
  .mrow { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; }
  .mrow img { width: 64px; height: 52px; }
  .nearby { grid-template-columns: minmax(0, 1fr); }
  .icon-btn span { display: none; }
  .icon-btn { width: 36px; padding: 0; }
  .p-title { align-items: flex-start; }
  .seg button { padding: 6px 10px; font-size: 12px; }
  .sheet-list .chip { height: 44px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: min(29px, calc((100vw - 32px) / 11.8)); } /* "იპოვე შენი დარბაზი." stays one line down to 320px */
  .district-btn { max-width: 34%; }
  .pm-seg button { padding-inline: 4px; } /* the four price tabs still fit at 320px */
}

/* ---------- round 2: home hero hints, phone first visit, search notes, card contracts (lane A) ---------- */
/* "compare" hints: one quiet line under the hero chips (desktop), one under the results count (phones, until a gym is saved) */
.hero-hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; margin-top: -6px; font-size: 13.5px; line-height: 1.5; color: var(--hero-muted); }
.hero-hint a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
.hero-hint a:hover { color: var(--hero-fg); text-decoration: underline; }
.hero-hint a span[aria-hidden] { color: #ff8a80; }
.hero-hint .hh-sep { display: none; } /* the flex gap separates the two links, so a wrap never leaves an orphan dot */
body[data-district] .hero-hint, body[data-landing] .hero-hint { display: none !important; }
/* what the search understood ("ძიება: ქალებისთვის · ვაკე"), or the "no exact match" band above the similar results */
.q-note { display: flex; flex-direction: column; gap: 8px; margin: -2px 0 12px; }
.q-u { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.q-x { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -6px 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.q-x:hover { background: var(--surface-2, rgba(0,0,0,.06)); color: var(--ink); }
.q-x .ico { width: 14px; height: 14px; }
.q-fb { font-size: 14px; color: var(--ink-2); }
.q-note .relax { display: flex; flex-wrap: wrap; gap: 6px; }
.q-note .relax .chip { height: 30px; font-size: 12.5px; padding: 0 11px; }
.geo-note .geo-priv { opacity: .85; }
/* "სხვა ფილტრები (+7)": the last chip of the phone row, opens the drawer */
.chip.more-chips { border-style: dashed; font-weight: 600; }
.chip.more-chips .mc-s { display: none; }
@media (max-width: 600px) {
  /* phones: "⚙ +8" (the full words are its label and tooltip), so the row stays two lines */
  .chip.more-chips .mc-l { display: none; }
  .chip.more-chips .mc-s { display: inline; }
}
.drawer:focus { outline: none; }
/* a price of another kind than the selected tab = outline disc (stickers on other pages) */
.sticker.s-other {
  background: rgba(8, 10, 13, .62); color: #fff; border: 2px solid rgba(255, 255, 255, .92); transform: rotate(0); /* .62: AA contrast for the unit on a light photo */
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.sticker.s-other::before { display: none; }
.sticker.s-other small { color: inherit; opacity: .95; font-size: 11.5px; }
/* saved tray (body.has-tray from saved.js; older builds: has-save-tray): the toast sits above it, never over the search */
.save-toast, .toast { top: auto; bottom: calc(var(--tray-offset, 0px) + 24px + env(safe-area-inset-bottom, 0px)); }
body.has-tray .save-toast, body.has-save-tray .save-toast, body.has-tray .toast, body.has-save-tray .toast { bottom: calc(var(--tray-offset, 0px) + 84px + env(safe-area-inset-bottom, 0px)); }
/* desktop: with no plate in the current list the stack hides, but keeps its room (the hero doesn't jump) */
@media (min-width: 901px) {
  .hero-plates[hidden] { display: block !important; visibility: hidden; }
}
.az-more { display: none; }
@media (max-width: 900px) {
  .hero-hint { display: none; }
  /* the hero folds after the visitor's first own action (home.js): headline and type chips stay */
  body.hero-compact .hero .lead, body.hero-compact .hero-plates, body.hero-compact #hoods, body.hero-compact[data-district] #hoods { display: none !important; }
  body.hero-compact .hero > .hero-inner { padding-block: 11px 9px; }
  .save-toast, .toast { bottom: calc(var(--tray-offset, 0px) + 76px + env(safe-area-inset-bottom, 0px)); }
  body.has-tray .save-toast, body.has-save-tray .save-toast, body.has-tray .toast, body.has-save-tray .toast { bottom: calc(var(--tray-offset, 0px) + 130px + env(safe-area-inset-bottom, 0px)); }
}
/* phones: the A–Z list of every gym is capped with a fade and one button (the links stay in the page) */
@media (max-width: 600px) {
  .az:not(.az-open) .az-list { max-height: 360px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 96px), transparent); mask-image: linear-gradient(#000 calc(100% - 96px), transparent); }
  .az:not(.az-open) .az-more { display: inline-flex; margin-top: 10px; }
}
/* phones: the short intent row wraps (two short lines), so "ქალებისთვის" and "ბავშვებისთვის" are in view without swiping.
   min-height = those two lines (the row is filled by home.js; this keeps the results from jumping when it appears) */
@media (max-width: 900px) {
  .intents { flex-wrap: wrap; overflow: visible; gap: 6px; padding-bottom: 12px; min-height: 82px; }
  .intents .chip { height: 34px; padding: 0 10px; font-size: 13px; gap: 5px; }
}
@media (min-width: 601px) and (max-width: 900px) { .intents { min-height: 88px; } }
@media (max-width: 380px) { .intents .chip { padding: 0 8px; font-size: 12.5px; gap: 4px; } .intents .chip .count { font-size: 11.5px; } .intents .chip .ico { display: none; } .intents .chip.more-chips .ico { display: block; } }
@media (max-width: 600px) {
  .intents { padding-bottom: 8px; }
  .results-head { margin-bottom: 10px; }
  .active-filters { margin-bottom: 12px; }
}

/* ---------- the hero duel, the tool links, the compare toggle, the tray, the honest price link ---------- */
/* desktop home: one quiet row under the type chips: the compare hint (to /compare), "ჩემთან ახლოს" and the ask link */
.hero-hint { align-items: center; gap: 2px 22px; }
.hero-hint a, .hero-hint button {
  display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--hero-muted); font: inherit; font-size: 13.5px; line-height: 1.5; text-decoration: none; text-underline-offset: 3px;
}
.hero-hint a:hover, .hero-hint button:hover { color: var(--hero-fg); text-decoration: underline; }
.hero-hint .ico { width: 15px; height: 15px; color: #ff8a80; }
/* one line in the narrower copy column: the heart stays on the compare link, the locate icon gives way to a small dot */
@media (max-width: 1100px) {
  .hero-hint { gap: 2px 11px; }
  .hero-hint [data-near-hint] .ico { display: none; }
  .hero-hint [data-near-hint] { position: relative; padding-left: 14px; }
  .hero-hint [data-near-hint]::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: .75; }
}
/* the three links need about 718px; below 1300px the copy column is narrower, so the ask link steps aside (one line, always) */
@media (min-width: 901px) and (max-width: 1299px) { .hero-hint [data-ask-hint] { display: none !important; } }

/* The duel: two real gyms of one district side by side (home.js duel). The hero is dark in both themes.
   Desktop: "barbell on a lit gym floor": two stacked, slowly turning price plates on one steel bar, the coin on a knurled
   grip, a soft light from above, a rubber gym floor in perspective and a red pool of light. CSS only: no image files, no
   blur, no blend modes. The decor sits inside the showcase (z-index -1), so it follows the right column at every width.
   --rubber: the rubber floor tile (grey granules and a few red ones), shared with the phone strip (.hero::after). */
.hero { --rubber: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'220'%20height%3D'220'%3E%3Cfilter%20id%3D'a'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'1.15'%20numOctaves%3D'2'%20seed%3D'4'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%20.62%200%200%200%200%20.64%200%200%200%200%20.68%200%200%200%209%20-5.6'%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D'b'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.9'%20numOctaves%3D'1'%20seed%3D'11'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%20.9%200%200%200%200%20.12%200%200%200%200%20.14%200%200%200%2014%20-10.2'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'220'%20height%3D'220'%20filter%3D'url(%23a)'%20opacity%3D'.55'%2F%3E%3Crect%20width%3D'220'%20height%3D'220'%20filter%3D'url(%23b)'%20opacity%3D'.8'%2F%3E%3C%2Fsvg%3E"); }
.duel-mslot { display: none; }
.hero-plates.has-duel { display: flex; align-items: center; justify-content: center; height: auto; min-height: 380px; } /* never clipped; the copy column sets the hero height */
.duel { width: 100%; }
/* the phone discs (the duel row) */
.dm-disc {
  position: relative; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--pc); color: var(--pc-ink);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.dm-disc .disc-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.dd-price { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.dd-price b { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 31px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dd-price small { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; opacity: .9; white-space: nowrap; }
@media (min-width: 901px) {
  /* one room for the whole hero: a soft warm light from above that spans both columns, the red glow bottom left, and the
     rubber floor (--rubber) faintly along the bottom edge, fading upward. Dark in both themes. */
  .hero:has(.hero-plates.has-duel)::before { background: radial-gradient(62% 70% at 64% -14%, rgba(255, 236, 226, .085), transparent 72%), radial-gradient(40% 60% at 0% 100%, rgba(226, 52, 43, .12), transparent 70%); }
  .hero:has(.hero-plates.has-duel)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--rubber) 0 0 / 110px 110px; opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 100%); mask-image: linear-gradient(180deg, transparent 50%, #000 100%); }
  /* the showcase is a size container (its barbell is sized from its own column); the copy stays above its decor */
  .hero-plates.has-duel { container-type: inline-size; }
  .hero-inner > .hero-copy { position: relative; z-index: 1; }
  /* --p: the plate. The rig is 2.48 plates + the gap wide (the bar runs .24 plate past each side), never wider than its column */
  .dz { --p: min(clamp(136px, 14vw, 204px), calc((100cqw - var(--gap)) / 2.48)); --gap: clamp(48px, 4.6vw, 70px); --rig: calc(var(--p) + 30px); position: relative; display: flex; flex-direction: column; align-items: center; color: #fff; }
  /* the eyebrow and, on the home page, the district dots (a narrow column drops the dots to a centred second line) */
  .dz-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; min-height: 24px; margin-bottom: 14px; }
  .dz-eyebrow {
    font: 700 12.5px/1.2 var(--f-display); font-stretch: 87.5%; letter-spacing: .09em; color: #ff8a80; white-space: nowrap;
    text-transform: uppercase; font-feature-settings: "case" 1;
  }
  .dz-dots { display: flex; }
  .dz-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
  .dz-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: background .3s, width .3s, margin .3s; }
  .dz-dots button:hover::after { background: rgba(255, 255, 255, .65); }
  .dz-dots button[aria-selected="true"]::after { width: 16px; margin-left: -8px; background: #ff8a80; }
  .dz-dots button:focus-visible { outline: 2px solid #ff8a80; outline-offset: -2px; border-radius: 6px; }
  /* the stage: the still decor and coin, and every district's panel in one grid cell */
  .dz-stage { position: relative; display: grid; align-self: stretch; }
  .dz-decor { position: absolute; z-index: -1; left: 50%; top: 0; width: calc(2 * var(--p) + var(--gap)); height: var(--rig); transform: translateX(-50%); pointer-events: none; }
  .dz-decor > span { position: absolute; }
  .dz-light { z-index: -1; left: 50%; bottom: 30%; width: 170%; height: 900px; transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 232, 222, .02) 0%, rgba(255, 232, 222, .10) 55%, rgba(255, 210, 196, .05) 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(77deg, transparent 47%, #000 55%), linear-gradient(-77deg, transparent 47%, #000 55%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(77deg, transparent 47%, #000 55%), linear-gradient(-77deg, transparent 47%, #000 55%); mask-composite: intersect;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    box-sizing: border-box; padding: 0 3px; background-clip: content-box; } /* (a clear edge: the masked box never shows a 1px seam at its side) */
  .dz-ground { z-index: -1; left: 50%; top: calc(var(--p) * .62); width: 160%; height: 560px; transform: translateX(-50%) perspective(520px) rotateX(60deg); transform-origin: 50% 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0 3px, transparent 3px) 50% 0 / 200px 200px, linear-gradient(0deg, rgba(0, 0, 0, .6) 0 3px, transparent 3px) 0 0 / 200px 200px, var(--rubber) 0 0 / 110px 110px, linear-gradient(180deg, #1b1c21, #121317);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%), radial-gradient(36% 62% at 50% 0%, #000 30%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent, #000 12%), radial-gradient(36% 62% at 50% 0%, #000 30%, transparent 100%); mask-composite: intersect; }
  .dz-pool { z-index: -1; left: 50%; top: calc(var(--rig) - 70px); width: 130%; height: 150px; transform: translateX(-50%);
    background: radial-gradient(50% 50% at 50% 45%, rgba(255, 86, 66, .26), rgba(255, 60, 48, .08) 55%, transparent 76%); }
  .dz-bar { left: calc(var(--p) * -.24); right: calc(var(--p) * -.24); top: 50%; height: 12px; margin-top: -6px; border-radius: 6px;
    background: linear-gradient(180deg, #f4f6f9 0%, #b8c0ca 28%, #6d7681 62%, #3a4048 100%); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .9); }
  .dz-bar::before, .dz-bar::after { content: ""; position: absolute; top: -5px; width: 10px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, #e9edf2, #8a939e 55%, #3d434b); }
  .dz-bar::before { left: 0; } .dz-bar::after { right: 0; }
  .dz-grip { left: 50%; top: 50%; width: calc(var(--gap) + 20px); height: 12px; transform: translate(-50%, -50%); z-index: 1; border-radius: 2px;
    background: repeating-linear-gradient(60deg, rgba(0, 0, 0, .28) 0 1.5px, transparent 1.5px 4px), repeating-linear-gradient(-60deg, rgba(0, 0, 0, .28) 0 1.5px, transparent 1.5px 4px), linear-gradient(180deg, #e9edf2 0%, #a7b0bb 30%, #5f6873 65%, #353b43 100%); }
  .dz-shadow { z-index: 1; left: calc(var(--p) * -.24); right: calc(var(--p) * -.24); bottom: 2px; height: 30px;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent) 7% 50% / 44% 100% no-repeat, radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent) 93% 50% / 44% 100% no-repeat; }
  .dz-coin { position: absolute; z-index: 3; left: 50%; top: calc(var(--rig) / 2); display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
    background: #111418; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 18px -6px rgba(0, 0, 0, .9); pointer-events: none; }
  .dz-coin .ico { width: 18px; height: 18px; }
  .dz-panel { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; min-width: 0; visibility: hidden; }
  .dz-panel.on { visibility: visible; }
  .dz-rig { display: grid; grid-template-columns: var(--p) var(--gap) var(--p); align-items: center; height: var(--rig); }
  /* a plate: the price plate (a link to the gym page) with two plain plates of its colour behind it */
  .dz-side { position: relative; grid-row: 1; width: var(--p); height: var(--p); color: inherit; text-decoration: none; z-index: 2; }
  .dz-l { grid-column: 1; } .dz-r { grid-column: 3; }
  .dz-back { position: absolute; inset: 0; border-radius: 50%; background: var(--pc); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .05); }
  .dz-back .disc-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  .dz-back.b1 { filter: brightness(.5) saturate(.9); } .dz-back.b2 { filter: brightness(.32) saturate(.8); }
  .dz-l .b1 { transform: translateX(calc(var(--p) * -.1)) scale(.96); } .dz-l .b2 { transform: translateX(calc(var(--p) * -.19)) scale(.92); }
  .dz-r .b1 { transform: translateX(calc(var(--p) * .1)) scale(.96); } .dz-r .b2 { transform: translateX(calc(var(--p) * .19)) scale(.92); }
  .dz-disc { position: absolute; inset: 0; border-radius: 50%; background: var(--pc); color: var(--pc-ink); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .07), inset 0 2px 0 rgba(255, 255, 255, .12); transition: box-shadow .25s; }
  .dz-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, .18), transparent 60%); pointer-events: none; }
  .dz-disc .disc-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  /* the slow turn: only the shown pair, and paused while the hero is off screen (home.js sets .dz-idle) */
  .dz-panel.on .dz-disc .disc-art { animation: plate-spin 120s linear infinite; }
  .dz-idle .dz-panel.on .dz-disc .disc-art { animation-play-state: paused; }
  .dz-panel.on .dz-r .dz-disc .disc-art { animation-direction: reverse; }
  .dz-price { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
  .dz-price b { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: calc(var(--p) * .3); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .dz-price small { margin-top: 5px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; opacity: .85; white-space: nowrap; }
  .dz-side:hover .dz-disc { box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 3px rgba(255, 255, 255, .5); }
  .dz-side:focus-visible { outline: none; } .dz-side:focus-visible .dz-disc { box-shadow: 0 0 0 3px #ff8a80; }
  /* names: normal case, two lines kept even for a one-line name, so the button never moves when the pair changes */
  .dz-names { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; width: calc(2 * var(--p) + var(--gap) + 40px); max-width: 100%; margin-top: 12px; text-align: center; }
  .dz-names a { color: #fff; text-decoration: none; font: 800 17px/1.2 var(--f-display); font-stretch: 85%; min-height: 2.4em; text-wrap: balance;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .dz-names a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .dz-go { margin-top: 16px; height: 46px; padding: 0 22px; gap: 10px; font-size: 14.5px; background: #fff; color: #0d1015; border-color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 70, 56, .5); }
  .dz-go:hover { background: #ffe9e6; border-color: #ffe9e6; color: #0d1015; }
  .dz-go:focus-visible { outline: 2px solid #ff8a80; outline-offset: 3px; }
  .dz-go .ico { width: 18px; height: 18px; }
  .dz-note { margin-top: 12px; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .58); text-align: center; }
  /* the swap (home.js showPanel): out .38s, then in .6s; the bar, coin, floor and light stay still */
  .dz-names, .dz-note { transition: opacity .25s; }
  .dz-panel.out .dz-l { animation: dz-out-l .38s ease-in forwards; } .dz-panel.out .dz-r { animation: dz-out-r .38s ease-in forwards; }
  .dz-panel.out .dz-names, .dz-panel.out .dz-note { opacity: 0; }
  .dz-panel.in .dz-l { animation: dz-in-l .6s cubic-bezier(.2, .8, .2, 1); } .dz-panel.in .dz-r { animation: dz-in-r .6s cubic-bezier(.2, .8, .2, 1); }
  .dz-panel.in .dz-names, .dz-panel.in .dz-note { animation: dz-fade .4s ease-out; }
  @keyframes dz-out-l { to { transform: translateX(-60px); opacity: 0; } } @keyframes dz-out-r { to { transform: translateX(60px); opacity: 0; } }
  @keyframes dz-in-l { from { transform: translateX(-60px); opacity: 0; } } @keyframes dz-in-r { from { transform: translateX(60px); opacity: 0; } }
  @keyframes dz-fade { from { opacity: 0; } }
  /* district pages: the giant district name never runs out of its column into the barbell (the longest name, ნაძალადევი,
     is 6.86 times its font size wide) */
  body[data-district] .hero-copy { container-type: inline-size; }
  body[data-district] .d-h1 .d-name { font-size: min(clamp(56px, 8.2vw, 128px), calc(100cqw / 7)); }
}
@media (min-width: 901px) and (max-width: 1180px) { .dz-names a { font-size: 16px; } }
@media (min-width: 901px) and (max-width: 1024px) { .dz-names a { font-size: 15px; } .dz-price small { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .dz, .dz * { animation: none !important; transition: none !important; } }
/* the light never reads as a grey slab on a dark page */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dz-light { opacity: .75; } }
:root[data-theme="dark"] .dz-light { opacity: .75; }
/* landing pages: the duel on desktop only, in a right column (pages.css hides the empty slot) */
@media (min-width: 901px) {
  body[data-landing] .hero-inner:has(> .hero-plates.has-duel) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  body[data-landing] .hero-plates.has-duel { display: flex; height: auto; min-height: 0; }
}
/* phones and tablets: the duel is one row in the 60px plate slot, a link to /compare with the two gyms */
@media (max-width: 900px) {
  .hero-plates.has-duel { display: block; height: 60px; min-height: 0; }
  .duel { width: auto; }
  .duel-d, .duel-donly { display: none; }
  /* background only (the hero keeps its height): a faint light from the top right and, behind the duel row (home only:
     district and landing phones have no row, and the folded hero hides it), a strip of rubber floor */
  #hero::before { background: radial-gradient(55% 40% at 84% -4%, rgba(255, 236, 226, .12), transparent 72%), radial-gradient(40% 60% at 0% 100%, rgba(226, 52, 43, .12), transparent 70%); }
  body:not([data-district]):not([data-landing]):not(.hero-compact) #hero:has(.hero-plates.has-duel)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--rubber) 0 0 / 90px 90px; opacity: .45;
    -webkit-mask-image: linear-gradient(180deg, transparent 62%, #000 94%); mask-image: linear-gradient(180deg, transparent 62%, #000 94%); }
  .duel-mslot { display: block; height: 60px; }
  .duel-m { display: flex; align-items: center; gap: 6px; height: 60px; color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .dm-g { display: flex; align-items: center; gap: 7px; flex: 1 1 0; min-width: 0; }
  .dm-r { flex-direction: row-reverse; text-align: right; }
  .dm-disc { width: 48px; height: 48px; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .8); }
  @media (max-width: 400px) { .dm-disc { width: 44px; height: 44px; } .dm-disc .dd-price b { font-size: 16px !important; } .duel-m { gap: 5px; } .dm-g { gap: 6px; } }
  .dm-disc .dd-price b { font-size: 17px; }
  .dm-disc .dd-price small { margin-top: 1px; font-size: 7.5px; letter-spacing: 0; }
  .dm-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.15; }
  .dm-r .dm-t { align-items: flex-end; }
  .dm-t b {
    font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 13px; overflow-wrap: normal; word-break: normal;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .dm-t small { font-size: 11px; color: var(--hero-muted); white-space: nowrap; overflow: hidden; max-width: 100%; }
  .dm-ws { display: none; align-items: center; gap: 3px; }
  .dm-ws .ico { width: 12px; height: 12px; }
  .dm-tight .dm-w { display: none; }
  .dm-tight .dm-ws { display: inline-flex; }
  .dm-long .dm-t { gap: 1px; }
  .dm-long .dm-t b { font-size: 12px; line-height: 1.1; -webkit-line-clamp: 3; line-clamp: 3; }
  /* last step before another pair is tried: the walking line gives its room to a fourth line of the name */
  .dm-nowalk .dm-t small { display: none; }
  .dm-nowalk .dm-t b { -webkit-line-clamp: 4; line-clamp: 4; }
  .dm-mini .dm-disc { width: 40px; height: 40px; }
  .dm-mini .dm-disc .dd-price b { font-size: 15px !important; }
  .dm-mini .dm-pill { padding: 0 7px; }
  .dm-mini .dm-pt { display: none; }
  /* tablets: the two gyms stay close together under the chips instead of at the far edges of the hero */
  @media (min-width: 601px) { .duel-m { max-width: 480px; } }
  .dm-vs { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .dm-pill {
    display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 8px; border-radius: 999px;
    background: #fff; color: #0d1015; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap;
  }
  .dm-pill .ico { width: 13px; height: 13px; }
  .dm-vs small { font-size: 11px; line-height: 1; color: var(--hero-muted); }
  .duel-m:active .dm-pill { background: #e4e7ec; }
  .duel-m:focus-visible { outline: 2px solid #ff8a80; outline-offset: 3px; border-radius: 12px; }
}

/* the compare toggle on cards: a labelled pill ("♡ შედარება" / "♥ მონიშნულია") where the bare heart was */
.heart {
  width: auto; height: 34px; padding: 0 12px 0 10px; gap: 6px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink-2); white-space: nowrap;
}
.heart .ico { width: 16px; height: 16px; color: var(--muted); transition: color .15s; }
.heart:hover { color: var(--accent-text); border-color: var(--accent); }
.heart:hover .ico { color: var(--accent); }
.heart[aria-pressed="true"] { color: var(--accent-text); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.heart[aria-pressed="true"] .ico { color: var(--accent); fill: currentColor; }
@media (max-width: 600px) {
  .heart { height: 32px; padding: 0 10px 0 8px; gap: 5px; font-size: 12.5px; }
  .heart .ico { width: 15px; height: 15px; }
}
/* narrow phones: a marked gym's toggle is the filled heart alone (its aria-label still says "remove from compare"),
   so the source line keeps its room */
@media (max-width: 420px) {
  .heart[aria-pressed="true"] { width: 32px; padding: 0; gap: 0; }
  .heart[aria-pressed="true"] .save-lbl { display: none; }
}
/* the narrowest phones (under 360px): the heart alone in both states, else the source line would need five lines */
@media (max-width: 359px) {
  .heart { width: 32px; padding: 0; gap: 0; }
  .heart .save-lbl { display: none; }
}
/* /?near=1: the near chip is marked and one line asks before the location is used */
.chip.chip-hl { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.geo-note [data-near-go] { margin-left: 6px; vertical-align: middle; }
.near-ask { color: var(--ink-2); font-weight: 600; }
/* no results: near me and "know a gym that's missing?" under the relax chips */
.empty-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 2px; }
.empty-suggest { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); text-underline-offset: 3px; }
.empty-suggest .ico { width: 16px; height: 16px; color: #1a9e55; }

/* ---------- round 4: the compare control, trust line, "ასევე", the "დალაგება" sheet, header "რუკა"; round 4b: photo cards, the bottom
   compare bar ---------- */
/* the open state on cards ("ღიაა 23:00-მდე"): a small dot, green while open, an outline when the hours are not the gym's own */
.f-open { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.f-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.f-open.is-open::before { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.f-open.is-closed { color: var(--muted); }
.f-open.is-probable.is-open::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ok); }

/* the compare control (S.cmpToggleHtml; saved.js keeps aria-pressed and the label in sync): "+ შედარება" / "✓ შედარებაშია" */
.cmp-tg {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer;
  font: 600 12.5px/1 var(--f-body); white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.cmp-tg:hover { border-color: var(--ink); }
.cmp-tg:active { transform: scale(.97); }
.cmp-tg[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* the neutral tile for a gym without a real photo of its own: its initial on a calm surface (same for every type) */
.g-tile {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; background: var(--surface-2); color: var(--ink-2);
  font-family: var(--f-display); font-stretch: 87.5%; font-weight: 800; font-size: 20px; line-height: 1; box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- round 4b: photo cards in a full-width grid (no map beside them) ----------
   Desktop ≥1000px: 3 columns; 768–999px: 2 columns; phones (<768px): one column of horizontal cards (picture left, text right).
   Each card: the picture (the gym's own photo, the chain's photo with its label, or the plate poster) with the round monthly-price
   disc, then the type (only for a gym of another type than the page's), name, place, metro/walk and today, a few amenities, and
   the foot (source line + "+ შედარება"). The grid stretches every card of a row to the same height and the foot sits at the
   bottom, so the rows line up. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
@media (max-width: 1179px) { .cards { gap: 32px 20px; } }
@media (max-width: 999px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gcard { position: relative; display: flex; flex-direction: column; gap: 14px; color: inherit; min-width: 0; border-radius: var(--r-lg); }
.gcard-media {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3);
  box-shadow: 0 1px 2px rgba(13, 16, 21, .06), 0 10px 26px -14px rgba(13, 16, 21, .32); isolation: isolate;
}
.gcard-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.gcard.has-photo .gcard-media::after { /* a soft floor so the photo label and the disc read on any photo */
  content: ""; position: absolute; inset: 55% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(8, 10, 13, .28));
}
.gcard:hover .gcard-media > img { transform: scale(1.035); }
.gcard .poster-art { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gcard:hover .poster-art { transform: scale(1.04) rotate(-1.5deg); }
.gcard-media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.photo-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 104px);
  font-size: 11px; font-weight: 600; line-height: 1.3; color: #fff; background: rgba(8, 10, 13, .58); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 4px 9px 4px 8px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.photo-tag .ico { width: 13px; height: 13px; flex: none; }
.gcard.is-unc .gcard-media > img, .gcard.is-closed .gcard-media > img { filter: grayscale(.7); }
.gcard.is-unc .poster-ico, .gcard.t-verified .poster-ico { display: none; }
/* a partner: a thin red collar around the picture and the badge on it */
.gcard.t-verified .gcard-media { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.gcard .sticker { right: 14px; bottom: 14px; }
.gcard-body { display: flex; flex-direction: column; gap: 5px; padding: 0 4px; min-width: 0; flex: 1; }
.gcard-top { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; color: var(--muted); }
/* wide cards: the type (another type than the page's) and an "unconfirmed" flag sit on the picture's top-right corner, so every
   card's name starts at the same height; phones keep the line above the name */
.gcard-kind { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; max-width: calc(100% - 70px); }
.gcard-kind > span {
  font: 600 11.5px/1.3 var(--f-body); color: #fff; background: rgba(8, 10, 13, .58); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
@media (min-width: 768px) { .gcard-top { display: none; } }
@media (max-width: 767px) { .gcard-kind { display: none; } }
.gcard-top .gt-kind { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gcard-top .g-badge, .gcard-top .g-unc { margin-left: 2px; }
.gcard-top .g-badge { display: none; }
.g-badge {
  flex: none; font: 700 10.5px/1.4 var(--f-body); letter-spacing: .02em; padding: 1px 7px; border-radius: 999px;
  background: var(--ink); color: var(--bg); box-shadow: 0 0 0 1.5px var(--accent);
}
.g-unc { flex: none; font: 600 11px/1.5 var(--f-body); color: var(--muted); background: var(--surface-2); padding: 0 7px; border-radius: 999px; white-space: nowrap; }
.gname {
  font-family: var(--f-display); font-stretch: 85%; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: .005em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-wrap: initial;
}
.gcard-link { text-decoration: none; color: inherit; outline: none; }
.gcard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.gcard:hover .gname { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.gcard:has(.gcard-link:focus-visible) .gcard-media { box-shadow: 0 0 0 3px var(--accent); }
.gcard .meta { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); min-width: 0; }
.facts:empty { display: none; }
.facts > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.f-walk { white-space: nowrap; }
.facts .f-open { position: relative; display: block; white-space: normal; padding-left: 12px; }
.facts .f-open::before { position: absolute; left: 0; top: .55em; }
.f-walk .ico { width: 14px; height: 14px; color: var(--muted); flex: none; }
@media (max-width: 400px) { .f-walk { white-space: normal; } } /* a long station name wraps instead of widening the page */
.f-stu { white-space: nowrap; }
.amen {
  display: flex; gap: 2px 12px; font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; min-width: 0; margin-top: 1px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.amen span { flex: none; display: inline-flex; align-items: center; gap: 3px; }
.amen .ico { width: 13px; height: 13px; color: var(--ink-2); }
.gcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; min-width: 0;
  border-top: 1px solid var(--line);
}
.price-line { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; font-size: 12.5px; line-height: 1.35; }
.price-line .src-mark { white-space: normal; }
.price-line .pl-label { color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-line .pl-alt { color: var(--ink); font-weight: 700; font-size: 13.5px; }
.price-line .pl-none { color: var(--muted); }
.g-old { color: var(--warn); font-weight: 600; }
.gcard .cmp-tg { position: relative; z-index: 2; flex: none; }
/* the body gets a little room under the picture on wide cards */
@media (min-width: 768px) {
  .gcard-body { padding-top: 2px; }
}
/* the plate poster on a card: charcoal with a hint of the type's colour (not a loud red slab), soft plate art, the name only (the
   card under it says where) */
.cards .poster {
  --pc-ink: #fff;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--pc) 30%, #30343b) 0%, color-mix(in srgb, var(--pc) 16%, #1d2025) 50%, color-mix(in srgb, var(--pc) 7%, #131519) 100%);
}
.cards .poster::after { inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(10, 11, 14, .45)); }
.cards .poster-art { opacity: .42; filter: none; }
.cards .poster .pp-hub { fill: #9aa1ab; }
.cards .poster-meta { display: none; }
.cards .poster-name { font-size: 22px; opacity: .94; }
.cards .poster-name.pn-mid { font-size: 19.5px; }
.cards .poster-name.pn-long { font-size: 17px; }
.cards .poster-ico { border-color: rgba(255, 255, 255, .32); color: rgba(255, 255, 255, .8); }
.cards .poster.pl-unc { filter: saturate(.3); }
/* phones: the round-3 horizontal card, picture left (with the disc), text right */
@media (max-width: 767px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gcard { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; align-items: stretch; padding-bottom: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gcard-link::after { border-radius: 0; }
  .gcard-media { aspect-ratio: auto; height: 100%; min-height: 140px; border-radius: var(--r-md); box-shadow: none; }
  .gcard.has-photo .gcard-media::after { inset: 60% 0 0; }
  .gcard-media .badge { display: none; }
  .gcard-top .g-badge { display: inline-block; }
  .photo-tag { left: 6px; top: 6px; bottom: auto; font-size: 9.5px; padding: 3px 7px 3px 6px; gap: 4px; max-width: calc(100% - 12px); }
  .photo-tag .ico { width: 11px; height: 11px; }
  .gcard .poster-txt, .gcard .poster::after { display: none; }
  /* tall, narrow pictures show the right-hand part of the poster, where the main plate sits */
  .gcard .poster-art { left: auto; right: 0; width: auto; height: 100%; aspect-ratio: 3 / 2; }
  .gcard .poster-ico { display: none; }
  .gcard .sticker { right: 6px; bottom: 6px; width: 62px; height: 62px; }
  .gcard .sticker b { font-size: 21px; }
  .gcard .sticker.s-long b { font-size: 17px; }
  .gcard .sticker small { font-size: 10px; max-width: 56px; margin-top: 2px; letter-spacing: -.01em; }
  .gcard .sticker::before { inset: 3px; }
  .gcard .sticker.s-none b { font-size: 22px; }
  .gcard-body { gap: 3px; padding: 0; }
  .gname { font-size: 17px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .gcard-top { font-size: 12px; }
  .gcard-top:not(:has(.gt-kind, .g-unc, .g-badge)) { display: none; }
  .gcard .meta { font-size: 13px; }
  .facts { font-size: 12.5px; gap: 1px 10px; }
  .amen { display: none; }
  .gcard-foot { padding-top: 8px; gap: 8px; border-top: 0; }
  /* the source line is short here ("✓ ნოე 2026") and never more than two lines, so marking a gym never changes the card's height */
  .price-line { font-size: 12px; min-height: calc(2 * 1.35em); justify-content: center; }
  .price-line > * { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; white-space: normal; }
  .src-what { display: none; }
  .gcard .cmp-tg { height: 32px; padding: 0 11px; font-size: 12.5px; }
}
@media (max-width: 380px) {
  .gcard { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; }
  .gcard .sticker { width: 56px; height: 56px; }
  .gcard .sticker b { font-size: 19px; }
  /* narrow phones: one width in both states, so marking a gym never reflows the price line and changes the card's height;
     a marked gym's control is the tick alone (its aria-label still says "შედარებიდან ამოღება") */
  .gcard .cmp-tg { width: 88px; padding: 0; font-size: 12px; }
  .gcard .cmp-tg[aria-pressed="true"] .cmp-tg-lbl { font-size: 0; }
  .gcard .cmp-tg[aria-pressed="true"] .cmp-tg-lbl::before { content: "✓"; font-size: 14px; }
  /* the 108px picture: the photo label without its icon, a little smaller, so „დარბაზის ფოტო“ fits */
  .photo-tag { font-size: 9px; padding: 3px 6px; }
  .photo-tag .ico { display: none; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gcard-media { box-shadow: 0 0 0 1px var(--line); }
  :root:not([data-theme="light"]) .gcard.t-verified .gcard-media { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
}
:root[data-theme="dark"] .gcard-media { box-shadow: 0 0 0 1px var(--line); }
:root[data-theme="dark"] .gcard.t-verified .gcard-media { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
@media (max-width: 767px) {
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gcard-media { box-shadow: none; } }
  :root[data-theme="dark"] .gcard-media { box-shadow: none; }
}

/* the bottom compare bar (every screen size, assets/home.js syncBar). Nothing marked: no bar. One or more marked: a centred bar
   (max 880px; dark on a light page, a raised dark surface with a border on a dark page): the marked gyms (a picture and the name,
   × takes one out; phones: the pictures), then "შეადარე (n) →", muted until a second gym is marked ("მონიშნე კიდევ ერთი").
   Hidden while the map layer is open. */
:root { --bar-bg: #12151a; --bar-fg: #ffffff; --bar-line: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bar-bg: #1d2129; --bar-fg: #eef1f5; --bar-line: #363d4a; } }
:root[data-theme="dark"] { --bar-bg: #1d2129; --bar-fg: #eef1f5; --bar-line: #363d4a; }
.lbar {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 950; display: flex; align-items: center; gap: 10px;
  width: min(880px, calc(100vw - 24px)); padding: 7px 7px 7px 10px; border-radius: 999px;
  background: var(--bar-bg); color: var(--bar-fg); box-shadow: 0 0 0 1px var(--bar-line), 0 14px 34px -10px rgba(0, 0, 0, .5);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden; pointer-events: none;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .28s;
}
.lbar.on { transform: translate(-50%, 0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
body.map-open .lbar { display: none; }
.lbar-go:focus-visible, .lbar-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lbar-cmp { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; }
.lbar-cmp[hidden] { display: none; }
.lbar-gyms { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.lbar-g {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; height: 36px; padding: 0 2px 0 4px; border-radius: 999px;
  background: color-mix(in srgb, currentColor 11%, transparent); flex: 0 1 auto;
}
.lbar-th { flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--pc, #6b7280); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .14); }
.lbar-th img { width: 100%; height: 100%; object-fit: cover; }
.lbar-gn { min-width: 0; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.lbar-x {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent; color: inherit; opacity: .65;
}
.lbar-x:hover { opacity: 1; background: color-mix(in srgb, currentColor 16%, transparent); }
.lbar-x .ico { width: 13px; height: 13px; }
.lbar-sum { display: none; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lbar-go {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; margin-left: auto; border-radius: 999px;
  background: var(--accent-btn, var(--accent)); color: #fff; font: 700 14px/1 var(--f-body); text-decoration: none; white-space: nowrap;
}
.lbar-go .ico { width: 17px; height: 17px; }
.lbar-go[href]:hover { background: var(--accent-btn-hover, var(--accent-hover)); }
/* one gym marked: its chip, then "მონიშნე კიდევ ერთი"; the button is muted (not a link yet) */
.lbar.is-one .lbar-sum { display: inline; opacity: .78; font-weight: 500; }
.lbar.is-one .lbar-gyms { flex: 0 1 auto; }
.lbar-go[aria-disabled="true"] { background: transparent; color: inherit; opacity: .5; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent); cursor: default; }
@media (max-width: 767px) {
  /* phones: the pictures overlap, the names give way to the count on the button */
  .lbar { padding-left: 8px; gap: 8px; }
  .lbar-gyms { flex: 1 1 auto; gap: 0; }
  .lbar-g { height: auto; padding: 0; background: none; gap: 0; }
  .lbar-g + .lbar-g { margin-left: -9px; }
  .lbar-th { width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--bar-bg), inset 0 0 0 5px rgba(0, 0, 0, .14); }
  .lbar-gn, .lbar-x { display: none; }
  .lbar-cmp { gap: 10px; }
  .lbar.is-one .lbar-gyms { flex: 0 0 auto; }
  .lbar.is-one .lbar-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; flex: 1 1 auto; font-size: 13px; line-height: 1.2; font-weight: 600; }
  .lbar-go { padding: 0 15px; font-size: 13.5px; }
}
@media (max-width: 380px) {
  .lbar.is-one .lbar-sum { font-size: 12.5px; }
  .lbar-go { padding: 0 12px; font-size: 13px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .lbar { transition: none; } }
body.has-lbar .site-footer { padding-bottom: 84px; }
body.has-lbar .save-toast, body.has-lbar .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

/* the results head: count, "დალაგება", and on desktop "რუკაზე ნახვა" */
.results-head .sort-btn.on { border-color: var(--ink); }
.results-head .btn .ico { width: 15px; height: 15px; color: var(--muted); }
@media (max-width: 900px) { .results-head .map-btn { display: none; } }
/* one true line under the list (S.trustLine): the cards come first */
.trust { margin: 22px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 72ch; }
.trust:empty { display: none; }
/* the quiet "ასევე: აუზები · იოგა …" line under the list (home and district pages; build.js fills it) */
.also { margin: 10px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.also-g { white-space: nowrap; }
.also a { color: var(--ink-2); text-underline-offset: 3px; }
.also a:hover { color: var(--accent-text); }

/* the "დალაგება" sheet: phones the bottom sheet; desktop a small panel under the button (home.js places it) */
.drawer-bg.pop { display: block; background: transparent; animation: none; }
.drawer-bg.pop .drawer {
  position: fixed; width: 340px; max-width: calc(100vw - 24px); height: auto; max-height: 72vh; padding: 0; border-radius: 16px;
  border: 1px solid var(--line); animation: fade .15s;
}
.drawer-bg.pop .drawer header { padding: 12px 16px; }
.drawer-bg.pop .drawer header h3 { font-size: 16px; }
.drawer-bg.pop .drawer .body { padding: 14px 16px 18px; gap: 16px; }
.drawer-bg.pop .drawer .body h4, .drawer-bg.bottom .drawer .body h4 { margin-bottom: 8px; }

/* the header "რუკა" (common.js / build.js; assets/map.js opens the map layer): a plain link on desktop, a pill with the map
   icon next to "მენიუ" on phones */
.nav a.nav-map { display: inline-flex; align-items: center; gap: 6px; }
.nav a.nav-map .ico { display: none; width: 17px; height: 17px; }
@media (max-width: 900px) {
  .nav a.nav-map {
    display: inline-flex; height: 40px; padding: 0 12px 0 10px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: var(--surface); color: var(--ink); font: 600 13.5px/1 var(--f-body);
  }
  .nav a.nav-map .ico { display: block; }
}
@media (max-width: 359px) { .nav a.nav-map { width: 40px; padding: 0; justify-content: center; } .nav a.nav-map span { display: none; } }

