/* На Баня — clean, modern look (home: concept 3, bath: concept 1), Fira Sans */
:root {
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --ink: #111418;
  --text: #2A2F36;
  --muted: #5F6670;
  --line: #E7E7E3;
  --accent: #C8102E;
  --accent-dark: #A00C24;
  --accent-soft: #FDECEF;
  --open: #0A8F5A;
  --open-soft: #E3F5EC;
  --closed: #7A808A;
  --closed-soft: #EEF0F2;
  --gold: #F2B705;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 20, 24, .05), 0 8px 24px rgba(17, 20, 24, .07);
  --shadow-lg: 0 2px 4px rgba(17, 20, 24, .06), 0 18px 48px rgba(17, 20, 24, .14);
  --hd: 64px;
  --tabbar: 0px;
  --font: 'Fira Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- buttons, fields, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.field { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.field:focus-within { border-color: var(--ink); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 16px var(--font); color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 13px; font-weight: 700; }
.pill-km { background: var(--ink); color: #fff; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--open); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.is-closed .status { color: var(--closed); }
.status-pill { padding: 5px 12px; border-radius: 999px; background: var(--open-soft); }
.is-closed .status-pill { background: var(--closed-soft); }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 22px; background: var(--closed-soft); }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- header (bottom tab bar on phones) ---------- */
.hd {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; height: var(--hd); padding: 0 20px;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line);
}
.hd-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.hd-logo { width: 40px; height: 40px; flex: none; border-radius: 12px; }
.hd-name { display: grid; line-height: 1.05; }
.hd-word { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hd-na { font-weight: 500; }
.hd-name small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.hd-overlay .hd-name small { color: rgba(255,255,255,.8); }
.hd-overlay .hd-logo { box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ft-brand { display: block; }
.ft-brand img { display: inline-block; vertical-align: -6px; margin-right: 4px; border-radius: 6px; }
.ft-brand b { color: var(--ink); white-space: nowrap; }
.hd-nav { display: flex; gap: 4px; }
.hd-install {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 10px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
  font: 600 14px var(--font); cursor: pointer;
}
.hd-install:hover { border-color: var(--ink); }
.hd-install .ico { width: 18px; height: 18px; color: var(--accent); }
.hd-overlay .hd-install { background: rgba(255,255,255,.92); border-color: transparent; }
@media (max-width: 760px) { .hd-install { margin-right: 0; padding: 7px 12px; } }
.hd-nav a { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--muted); }
.hd-nav a:hover, .hd-nav a.on { color: var(--ink); background: var(--bg); }
.hd-overlay { position: absolute; left: 0; right: 0; top: 0; background: transparent; border: 0; backdrop-filter: none; color: #fff; }
.hd-overlay .hd-nav a { color: rgba(255,255,255,.85); }
.hd-overlay .hd-nav a:hover, .hd-overlay .hd-nav a.on { background: rgba(255,255,255,.16); color: #fff; }

@media (max-width: 760px) {
  :root { --hd: 56px; --tabbar: 64px; }
  .wrap { padding: 0 16px; }
  .hd { padding: 0 16px; background: var(--surface); backdrop-filter: none; } /* a backdrop-filter would trap the fixed tab bar */
  .hd-overlay { background: transparent; }
  .hd-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .hd-nav a, .hd-overlay .hd-nav a { flex-direction: column; justify-content: center; gap: 3px; padding: 6px 0; border-radius: 0; font-size: 12px; color: var(--muted); background: none; }
  .hd-nav a.on, .hd-overlay .hd-nav a.on, .hd-nav a:hover { color: var(--accent); background: none; }
  .hd-nav .ico { width: 23px; height: 23px; }
  body { padding-bottom: var(--tabbar); }
}

/* ---------- footer, toast, lightbox ---------- */
.ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: 1200px; margin: 56px auto 0; padding: 24px 20px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.lb { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: rgba(10,12,15,.94); touch-action: pan-y; }
.lb img { max-width: 94vw; max-height: 84vh; max-height: 84dvh; border-radius: 10px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font: 600 26px/1 var(--font); cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.26); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 20px; color: #fff; font-weight: 600; }
@media (max-width: 760px) { .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; } }

/* ---------- cards ---------- */
.card { display: flex; background: var(--surface); text-decoration: none; overflow: hidden; }
.card-photo { position: relative; display: block; background: var(--closed-soft); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.is-closed .card-photo img { filter: grayscale(.7); }
.card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-title { font-size: 16px; line-height: 1.3; font-weight: 700; }
.card-place { color: var(--muted); font-size: 14px; }
.card-meta { margin-top: 3px; font-size: 14px; font-weight: 600; }
.card-row { align-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.card-row:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.card-row .card-photo { flex: none; width: 112px; align-self: stretch; min-height: 104px; }
.card-row .card-photo .pill { position: absolute; left: 8px; bottom: 8px; font-size: 12px; padding: 3px 8px; }
.card-row .card-body { padding: 12px 16px; }

/* ---------- live status: same colours as the map pins ---------- */
.status.st-open { color: var(--st-open); }
.status.st-shut { color: #B86400; }
.status.st-closed { color: var(--st-closed); }
.status.st-unknown { color: var(--muted); }
.status-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--st-unknown);
}
.status-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.status-badge.st-open { background: var(--st-open); }
.status-badge.st-shut { background: var(--st-shut); }
.status-badge.st-closed { background: var(--st-closed); }
.big .status-badge { position: absolute; top: 14px; left: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.today { display: inline-block; margin-bottom: 10px !important; padding: 6px 12px; border-radius: 10px; font-size: 15px; }
.today.st-open { background: var(--open-soft); color: #0B6B3A !important; }
.today.st-shut { background: #FFF1DC; color: #8A4B00 !important; }

/* ======================= HOME (concept 3) ======================= */
.top { padding-top: 28px; }
.where { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 22px; }
.where-text { flex: 1 1 300px; }
.where h1 { font-size: clamp(26px, 3.4vw, 40px); }
.where-pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); }
.where-pin .ico { width: 28px; height: 28px; }
.where-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.field-sm { min-width: 240px; }
.near-status { margin: -8px 0 18px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.near-status button { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.top3 { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(62vh, 560px); min-height: 420px; }
.big { position: relative; overflow: hidden; border-radius: 22px; text-decoration: none; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.big-first { grid-row: span 2; }
.big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.big:hover img { transform: scale(1.04); }
.big-body { position: absolute; inset: auto 0 0; display: grid; justify-items: start; gap: 4px; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(10,12,15,.85)); }
.big-body strong { font-size: clamp(18px, 2vw, 25px); line-height: 1.2; }
.big-first .big-body strong { font-size: clamp(22px, 2.8vw, 34px); }
.big .pill-km { background: var(--gold); color: var(--ink); font-size: 15px; }
.big-meta { font-size: 14px; color: rgba(255,255,255,.88); }
.big-rating { font-size: 15px; font-weight: 700; }
.big-rating > span { color: #FFC83D; }
.big-rating small { font-weight: 500; color: rgba(255,255,255,.8); }

.sec { margin-top: 56px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.filters {
  position: sticky; top: var(--hd); z-index: 800;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 -20px 16px; padding: 12px 20px;
  background: rgba(247,247,245,.94); backdrop-filter: blur(10px);
}
.field-search { flex: 1 1 280px; }
.field-select { position: relative; padding: 0; min-width: 210px; }
.field-radius { min-width: 190px; }
.field-sort { min-width: 170px; }
.field-select select {
  width: 100%; min-height: 44px; padding: 0 42px 0 18px; border: 0; border-radius: 999px; background: none;
  font: 600 15px var(--font); color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none;
}
.field-select select:focus { outline: none; }
.field-select::after { /* chevron */
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none;
}
.field-select.on { background: var(--ink); border-color: var(--ink); }
.field-select.on select { color: #fff; }
.field-select.on select option { color: var(--ink); }
.field-select.on::after { border-color: #fff; }
.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) {
  .where-pin { display: none; }
  .where-actions { width: 100%; }
  .where-actions .btn, .field-sm { flex: 1 1 100%; }
  .filters .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .field-select { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .field-select select { padding: 0 34px 0 14px; font-size: 14px; }
  .field-select::after { right: 14px; }
  .top3 { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .big { height: 230px; }
  .big-first { height: 320px; }
  .filters { position: static; margin: 0 0 16px; padding: 0; background: none; backdrop-filter: none; }
  .card-row .card-photo { width: 96px; min-height: 96px; }
}

/* ======================= BATH (concept 1) ======================= */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(72vh, 640px); padding: calc(var(--hd) + 40px) 0 40px; color: #fff; background: var(--ink) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,.25), rgba(10,12,15,.82)); }
.hero-gallery { cursor: zoom-in; } /* the whole header photo opens the gallery; links and buttons keep their own job */
.hero-photos {
  position: absolute; right: 20px; bottom: 20px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: rgba(17,20,24,.62); color: #fff; font: 600 14px var(--font); cursor: pointer; backdrop-filter: blur(6px);
}
.hero-photos:hover { background: rgba(17,20,24,.82); }
.hero-photos .ico { width: 18px; height: 18px; }
@media (max-width: 760px) { .hero-photos { top: calc(var(--hd) + 12px); bottom: auto; right: 16px; padding: 7px 12px; } }
.hero-inner { position: relative; display: grid; justify-items: start; gap: 12px; width: 100%; }
.hero h1 { max-width: 20ch; }
.hero .lead { color: rgba(255,255,255,.9); }
.back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px 6px 8px; margin-bottom: 8px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.back:hover { background: rgba(255,255,255,.26); }
.actionbar { position: sticky; top: var(--hd); z-index: 800; padding: 12px 0; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd-overlay ~ .actionbar { top: 0; } /* the overlay header scrolls away with the photo */
.actionbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* ---------- disclaimers: hours not guaranteed, men/women on different days ---------- */
.notice { display: flex; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.45; }
.notice > span { font-size: 18px; line-height: 1.2; }
.notice p { margin: 0 !important; color: inherit !important; }
.notice-gender { background: #FFF4DC; border: 1px solid #F5D08A; color: #5C3D00; }
/* bath page, top of the right column: open now? (colour by state) with a link down to the hours */
.now-box { margin-top: 32px; padding: 16px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); border-left: 6px solid var(--st-unknown); }
.now-box.st-open { border-left-color: var(--st-open); }
.now-box.st-shut { border-left-color: var(--st-shut); }
.now-box.st-closed { border-left-color: var(--st-closed); }
.now-state { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 21px; font-weight: 800; color: var(--ink) !important; }
.now-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--st-unknown); flex: none; }
.st-open .now-dot { background: var(--st-open); box-shadow: 0 0 0 4px var(--open-soft); }
.st-shut .now-dot { background: var(--st-shut); }
.st-closed .now-dot { background: var(--st-closed); }
.now-today { margin: 4px 0 0 22px !important; font-size: 15px; font-weight: 600; color: var(--muted) !important; }
.now-link { display: inline-block; margin: 10px 0 0 22px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.now-link:hover { text-decoration: underline; }
.hours-card { scroll-margin-top: 90px; }

/* weekly opening hours, built from the source text (weekly_hours() in inc/hours.php) */
.week-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 28px; align-items: start; margin-top: 6px; }
.week-side .hours-note { margin-top: 10px !important; padding-top: 0; border-top: 0; }
.week-side .week-note:first-child { margin-top: 0 !important; }
.week { width: 100%; border-collapse: collapse; font-size: 15px; }
.week th, .week td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.week th { width: 1%; white-space: nowrap; font-weight: 500; color: var(--muted); }
@media (max-width: 1100px) { .week-wrap { grid-template-columns: 1fr; } .week-side { margin-top: 6px; } } /* narrow main column, phones */
.week td { font-weight: 600; font-variant-numeric: tabular-nums; }
.week tr.is-today th, .week tr.is-today td { background: var(--bg); color: var(--ink); font-weight: 700; }
.week-range { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; white-space: nowrap; }
.week-off { color: var(--st-closed); font-weight: 500; }
.week-who { padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.who-w { background: #FBE7F0; color: #8A1F4E; }
.who-m { background: #E3EEFB; color: #1A4E8A; }
.week-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0 !important; font-size: 14px; color: var(--text); }
.week-note .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.link-btn { margin-top: 8px; padding: 0; border: 0; background: none; font: 600 14px var(--font); color: var(--accent); cursor: pointer; }
.hours-text { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); font-size: 14px; line-height: 1.55; color: var(--muted); }
.hours-note { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted) !important; }
.hours-note a { color: var(--accent); font-weight: 600; }
.tag-gender { display: inline-block; align-self: flex-start; margin-top: 5px; padding: 2px 8px; border-radius: 6px; background: #FFF4DC; color: #5C3D00; font-size: 12px; font-weight: 600; }
.status-note { flex-basis: 100%; margin-top: 2px; font-size: 13px; color: var(--muted); }
.ft-disclaimer { flex-basis: 100%; margin: 0; font-size: 13px; }

.share { position: relative; }
.share-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 850; /* opens leftwards: the button can be at the screen edge */
  display: grid; min-width: 230px; padding: 6px;
  border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.share-menu a, .share-menu button {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 10px;
  background: none; font: 600 15px var(--font); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer;
}
.share-menu a:hover, .share-menu button:hover, .share-menu :focus-visible { background: var(--bg); }
.share-dot { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 14px; }
.share-dot .ico { width: 16px; height: 16px; }
.share-facebook { background: #1877F2; }
.share-viber { background: #7360F2; }
.share-whatsapp { background: #25D366; }
.share-x { background: #111418; }
.share-email { background: var(--closed); }
.share-copy { background: var(--accent); }
.share-copy-label { overflow-wrap: anywhere; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
.block { margin-top: 32px; }
.block h2 { font-size: 22px; margin-bottom: 10px; }
.block p { color: var(--text); overflow-wrap: break-word; }
.block-card { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.block-card h2 + p { margin-bottom: 18px; }
.block-card p:last-child { margin-bottom: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.thumbs a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--closed-soft); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumbs a:hover img { transform: scale(1.06); }
.thumbs:not(.all) .more { display: none; }
.show-all { margin-top: 12px; }
.credit { margin-top: 10px; font-size: 13px; color: var(--muted) !important; }
/* bath page: "Накратко" (important, right column) is a strong card with icons;
   "Допълнителна информация" (additional, under the reviews) is plain, smaller and greyer */
.key-card { padding: 22px 22px 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.key-card h2 { margin-bottom: 6px; }
.key-list { list-style: none; margin: 0; padding: 0; }
.key-list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.key-list li[hidden] { display: none; }
.key-list .ico { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.key-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.key-val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.key-val small { flex-basis: 100%; font-size: 14px; font-weight: 500; color: var(--muted); }
.key-val a { color: var(--accent); }
.key-phones { flex-direction: column; align-items: flex-start; }
.key-val small a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); }
.key-text { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; } /* longer text (prices), one line per row of the source */
.key-card .mini-map { margin-top: 14px; height: 200px; }
.key-map-foot { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 0 !important; font-size: 13px; }
.key-map-foot a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.extra { font-size: 14px; } /* its heading is like the other sections'; the content is quieter */
.extra h3 { margin: 0 0 4px; font-size: 15px; color: var(--text); }
.extra-text { max-height: 9.5em; overflow: hidden; position: relative; }
.extra-text::after { content: ""; position: absolute; inset: auto 0 0; height: 3em; background: linear-gradient(transparent, var(--bg)); }
.extra-text.open { max-height: none; }
.extra-text.open::after, .extra-text:not(:has(+ .extra-more:not([hidden])))::after { display: none; }
.extra-text p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted) !important; }
.extra-more { margin: 4px 0 0; padding: 0; border: 0; background: none; font: 600 14px var(--font); color: var(--accent); cursor: pointer; }
.extra-list { margin: 10px 0 0; }
.extra-list div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.extra-list dt { color: var(--muted); }
.extra-list dd { margin: 0; color: var(--text); line-height: 1.45; overflow-wrap: anywhere; }
.extra-source { margin-top: 10px !important; font-size: 13px; }
.extra-source a { color: var(--muted); }
.mini-map { height: 240px; border-radius: var(--r); overflow: hidden; z-index: 0; }
.nearby { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nearby a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 12px; text-decoration: none; }
.nearby a:hover { background: var(--surface); }
.nearby img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--closed-soft); }
.is-closed .nearby img, .nearby .is-closed img { filter: grayscale(.7); }
.nearby span { flex: 1; min-width: 0; display: grid; }
.nearby strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nearby small { color: var(--muted); }
.nearby b { font-size: 14px; color: var(--accent); white-space: nowrap; }
@media (max-width: 900px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero { min-height: 62svh; }
}
@media (max-width: 560px) {
  .actionbar .actions { width: 100%; flex-wrap: nowrap; }
  .actionbar .btn-accent { flex: 1; }
  .actionbar .btn-ghost { padding: 0 14px; }
  .actionbar .btn-ghost span { display: none; } /* icon-only phone and website buttons */
}

/* ======================= REVIEWS ======================= */
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.stars i { color: #D9DCE1; font-style: normal; }
.hero-rating { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); text-decoration: none; font-size: 14px; }
.hero-rating .star-1 { color: var(--gold); }
.card-rating { font-size: 14px; font-weight: 700; }
.card-rating > span:first-child, .pop-rating { color: #B88700; }
.pop .pop-rating { font-weight: 700; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 18px; }
.rating-big { display: grid; justify-items: center; }
.rating-big b { font-size: 42px; line-height: 1; font-weight: 800; }
.rating-big .stars { font-size: 18px; }
.rating-big span:last-child { font-size: 13px; color: var(--muted); }
.rating-bars { flex: 1 1 220px; display: grid; gap: 4px; max-width: 360px; }
.rating-bars div { display: grid; grid-template-columns: 14px 1fr 26px; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rating-bars i { height: 8px; border-radius: 4px; background: var(--closed-soft); overflow: hidden; }
.rating-bars b { display: block; height: 100%; background: var(--gold); }
.notice-ok { background: var(--open-soft); border: 1px solid #B9E6CC; color: #0B6B3A; }
.review-form { display: grid; gap: 14px; margin-top: 16px; padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.star-input { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; padding: 0; border: 0; }
.star-input legend { width: 100%; margin-bottom: 6px; font-weight: 700; font-size: 17px; }
.review-form .star-input label { display: inline-block; cursor: pointer; font-size: 38px; font-weight: 400; line-height: 1; color: #D9DCE1; transition: transform .1s; }
.star-input label.on { color: var(--gold); }
.star-input label:hover { transform: scale(1.12); }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.star-word { margin-left: 10px; font-size: 14px; color: var(--muted); }
.review-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.review-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.review-form input[type=text], .review-form input[type=email], .review-form select, .review-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 400 16px var(--font); color: var(--ink);
}
.review-form :is(input, select, textarea):focus { outline: none; border-color: var(--ink); }
.review-consent { grid-template-columns: auto 1fr !important; align-items: start; gap: 10px !important; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); }
.review-consent input { margin-top: 3px; width: 18px; height: 18px; }
.review-rules { margin: 0; font-size: 13px; color: var(--muted) !important; }
.field-error { margin: 0; color: var(--st-closed) !important; font-size: 13px; font-weight: 600; }
.field-error:empty { display: none; }
.review-form button[type=submit] { justify-self: start; }
/* rating box: top of the right column (on phones right after the opening hours, see below) */
.rate-box .rating-summary { gap: 14px 18px; margin-bottom: 14px; }
.rate-box .rating-bars { flex: 1 1 150px; }
.rate-box > .btn { width: 100%; }
.rate-box .review-form { margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.rate-box .review-form .star-input label { font-size: 34px; }
.rate-box .notice { margin: 0 0 12px; }
.my-review { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); }
.my-review p { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.my-review .stars { font-size: 18px; }
.my-review-status { padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #FFF4E0; color: #8A4B00; }
.my-review-status.st-approved { background: var(--open-soft); color: #0B6B3A; }
.my-review-status.st-rejected { background: #FDECEC; color: var(--st-closed); }
.my-review .btn { width: 100%; }
@media (max-width: 900px) {
  /* one column: put the rating box right after the opening hours instead of under all the content */
  .cols { display: flex; flex-direction: column; }
  .cols > article, .cols > aside { display: contents; }
  .cols .now-box { order: -2; }
  .cols .rate-box, .cols .key-card { order: -1; } /* open now?, rating, "Накратко", then the main column */
}
.review-list { display: grid; margin-top: 18px; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
.review-head { margin-bottom: 4px !important; }
.review-list:not(.all) .review.more { display: none; }
#reviewsAll { margin-top: 8px; }

/* admin */
.admin { max-width: 860px; padding-bottom: 40px; }
.admin-login { max-width: 420px; margin: 40px auto 0; }
.admin-login form { display: grid; gap: 12px; margin-top: 14px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 14px; }
.admin-tabs { margin-bottom: 14px; }
.admin-tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); }
.admin-tabs a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.admin-msg { padding: 10px 14px; border-radius: var(--r-sm); background: var(--open-soft); color: #0B6B3A; font-weight: 600; }
.admin-msg-err { background: #FDECEC; color: var(--st-closed); }
.admin-empty { padding: 30px 0; }
.admin-review { padding: 16px 18px; margin-bottom: 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.admin-review p { margin-bottom: 6px; }
.admin-meta { font-size: 13px; color: var(--muted); }
.admin-meta a { color: var(--accent); font-weight: 600; }
.admin-body { white-space: normal; color: var(--text); }
.admin-warn { padding: 6px 10px; border-radius: var(--r-sm); background: #FFF4E0; color: #8A4B00; font-size: 14px; font-weight: 600; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.admin-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-ok { background: var(--st-open); color: #fff; }
.btn-danger { color: var(--st-closed); }

/* ======================= PROVINCE PAGES (/oblast/…) ======================= */
.hero-sm { min-height: min(46vh, 420px); }
.hero-open { color: #8BE3B5; font-weight: 700; }
.region-intro { max-width: 760px; margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--text); }
.region-map { height: 380px; border-radius: var(--r); overflow: hidden; z-index: 0; box-shadow: var(--shadow); }
.region-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.region-links a, .region-tiles a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600;
}
.region-links a:hover, .region-tiles a:hover { border-color: var(--ink); }
.region-links b, .region-tiles b { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .region-map { height: 300px; } .region-intro { font-size: 16px; } }

.lead-link { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
.lead-link:hover { text-decoration-color: #fff; }
.province-link { margin: -6px 0 14px; font-weight: 600; }
.province-link a { color: var(--accent); }

/* home page: areas between the nearest baths and the full list */
/* text pages (privacy) */
.prose { max-width: 760px; padding-top: 32px; line-height: 1.65; }
.prose h1 { margin-bottom: 4px; }
.prose h2 { margin: 30px 0 8px; font-size: 21px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }

/* ads: quiet, labelled, with room reserved so the page does not jump */
.ad { display: block; text-align: center; }
.ad[hidden], .ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; }
.ad-home { min-height: 120px; }
.ad-article { min-height: 120px; }
.ad-side { min-height: 250px; }
@media (max-width: 900px) { .ad-side { display: none; } }
.ad-feed { padding: 8px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); min-height: 110px; }
.ad-placeholder { display: grid; place-items: center; min-height: 90px; border: 2px dashed var(--line); border-radius: var(--r-sm); color: var(--muted); font-size: 13px; }

/* home: best rated */
.toplist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.toplist a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: box-shadow .15s; }
.toplist a:hover { box-shadow: var(--shadow-lg); }
.toplist-n { flex: none; width: 28px; text-align: center; font-size: 22px; font-weight: 800; color: var(--muted); }
.toplist li:nth-child(-n+3) .toplist-n { color: var(--accent); }
.toplist-photo { flex: none; width: 76px; height: 76px; overflow: hidden; border-radius: var(--r-sm); background: var(--closed-soft); }
.toplist-photo img { width: 100%; height: 100%; object-fit: cover; }
.toplist-body { display: grid; gap: 2px; min-width: 0; }
.toplist-body strong { line-height: 1.25; }
.toplist-body > .muted { font-size: 14px; }
.toplist-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 2px; }
.toplist-rating { font-size: 14px; white-space: nowrap; }
.toplist-rating small { color: var(--muted); }
@media (max-width: 760px) {
  .toplist { grid-template-columns: 1fr; gap: 8px; }
  .toplist a { gap: 10px; }
  .toplist-photo { width: 64px; height: 64px; }
  .toplist-n { width: 22px; font-size: 18px; }
}

.region-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.region-tiles a { justify-content: space-between; border-radius: var(--r-sm); padding: 12px 16px; }
.region-tiles a span { display: grid; }
.region-tiles small { color: var(--open); font-weight: 600; font-size: 13px; }
@media (max-width: 760px) { .region-tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .region-tiles a { padding: 10px 12px; font-size: 15px; } }

/* ======================= MAP (concept 4: province bubbles) ======================= */
:root {
  --st-open: #12A150;    /* open right now */
  --st-shut: #F08C00;    /* works, but closed at this moment */
  --st-closed: #D92D20;  /* doesn't work at all */
  --st-unknown: #8A919C; /* works, hours unknown */
  --me: #2563EB;
}
.page-map .ft { display: none; }
/* pinned between the header and the bottom menu (incl. the iPhone home-bar strip), so no browser can let the menu
   cover the zoom buttons; viewport-height math (100vh/100dvh) differs too much between phones */
.map-wrap { position: fixed; top: var(--hd); left: 0; right: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
.page-map { overflow: hidden; }
.big-map { position: absolute; inset: 0; z-index: 0; }
.map-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 600; display: grid; gap: 10px; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.map-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.map-chips button { flex: none; padding: 9px 15px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: var(--shadow); font: 600 14px var(--font); color: var(--ink); cursor: pointer; }
.map-chips button b { color: var(--muted); font-weight: 600; }
.map-chips button.on { background: var(--ink); color: #fff; }
.map-chips button.on b { color: rgba(255,255,255,.7); }
.map-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; pointer-events: none; }
.map-tools > * { pointer-events: auto; }
.map-tools .btn { box-shadow: var(--shadow-lg); }
.map-msg { max-width: 440px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; }
.map-msg a { color: var(--accent); }
.legend { position: absolute; left: 12px; bottom: 20px; z-index: 600; max-width: calc(100% - 80px); padding: 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); }
.legend-toggle { display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px 10px; border: 0; border-radius: 10px; background: none; font: 700 14px var(--font); color: var(--ink); cursor: pointer; }
.legend-toggle:hover { background: var(--bg); }
.legend-dots { display: inline-flex; gap: 3px; }
.legend-dots .dot { width: 9px; height: 9px; }
.legend-chevron { width: 16px; height: 16px; margin-left: auto; color: var(--muted); transition: transform .2s; }
.legend-body { display: grid; gap: 2px; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.legend.collapsed .legend-body { display: none; }
.legend.collapsed .legend-chevron { transform: rotate(180deg); }
.legend-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; font: 600 14px var(--font); color: var(--ink); cursor: pointer; text-align: left; }
.legend-item:hover { background: var(--bg); }
.legend-item b { margin-left: auto; padding-left: 10px; color: var(--muted); font-weight: 600; }
.legend-item[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.dot-open { background: var(--st-open); }
.dot-shut { background: var(--st-shut); }
.dot-closed { background: var(--st-closed); }
.dot-unknown { background: var(--st-unknown); }
.map-hint { position: absolute; right: 60px; bottom: 24px; z-index: 600; margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.pin { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.35); }
.pin-open { background: var(--st-open); }
.pin-shut { background: var(--st-shut); }
.pin-closed { background: var(--st-closed); }
.pin-unknown { background: var(--st-unknown); }
.pin-gender::after, .dot-gender::after { content: ""; position: absolute; inset: 0; margin: auto; width: 40%; height: 40%; border-radius: 50%; background: #fff; }
.dot-gender { position: relative; } /* map pins need nothing: Leaflet keeps them position:absolute */
.legend-info, .legend-note { grid-column: 1 / -1; }
.legend-info { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 6px 10px 2px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.legend-info b { margin-left: auto; padding-left: 10px; color: var(--muted); font-weight: 600; }
.legend-note { max-width: 260px; margin: 2px 0 0; padding: 4px 10px 2px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.pin-me { background: var(--me); box-shadow: 0 0 0 6px rgba(37,99,235,.25); }
.bubble { display: grid; /* no position here: Leaflet keeps markers position:absolute */ place-content: center; text-align: center; border-radius: 50%; background: rgba(17,20,24,.88); color: #fff; border: 3px solid #fff; box-shadow: 0 4px 16px rgba(17,20,24,.3); line-height: 1.05; font-family: var(--font); cursor: pointer; }
.bubble:hover { background: var(--accent); } /* never transform: Leaflet positions markers with it */
.bubble b { font-size: 17px; }
.bubble span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 600; opacity: .85; }
.bubble i { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; border: 2px solid #fff; background: var(--st-open); color: #fff; font: 700 12px/18px var(--font); font-style: normal; }
.pop-wrap .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; }
.pop-wrap .leaflet-popup-content { margin: 0; width: 260px !important; }
.pop-wrap a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font: 400 20px/27px var(--font); }
.pop { display: grid; text-decoration: none; font-family: var(--font); }
.leaflet-container a.pop { color: var(--ink); } /* Leaflet colours every link blue */
.pop-img { display: block; width: 100%; height: 146px; object-fit: cover; background: var(--closed-soft); }
.pop-img-off { filter: grayscale(.7); }
.pop-body { display: grid; gap: 2px; padding: 12px 16px 14px; }
.pop b { font-size: 16px; line-height: 1.25; }
.pop-body > span { color: var(--muted); }
.pop .pop-state { font-weight: 700; }
.pop .pop-open { color: var(--st-open); }
.pop .pop-shut { color: #C46F00; }
.pop .pop-closed { color: var(--st-closed); }
.pop em { font-style: normal; font-weight: 700; color: var(--accent); }
@media (max-width: 560px) {
  .map-tools .btn span { display: none; }
  .map-tools .btn { padding: 0 14px; }
  .legend { left: 8px; right: 56px; bottom: 12px; max-width: none; }
  .legend.collapsed { right: auto; }
  .legend-body { grid-template-columns: 1fr 1fr; }
  .legend-item { padding: 5px 6px; font-size: 12px; gap: 6px; }
  .legend-item b { padding-left: 4px; }
  .map-hint { display: none; }
  .bubble b { font-size: 14px; }
  .bubble span { display: none; } /* province names don't fit small bubbles; the chips above name them */
  .bubble i { min-width: 19px; height: 19px; font-size: 11px; line-height: 15px; top: -5px; right: -5px; }
}
/* admin: settings */
.admin-settings form { display: grid; gap: 16px; max-width: 560px; }
.admin-field { display: grid; gap: 4px; }
.admin-field > span { font-weight: 600; }
.admin-field input { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; background: var(--surface); }
.admin-field small { color: var(--muted); font-size: 13px; }
.admin-check { display: flex; gap: 10px; align-items: flex-start; }
.admin-check input { width: 18px; height: 18px; margin-top: 3px; }
.admin-settings h3 { margin: 10px 0 -8px; font-size: 17px; }
.admin-note { margin: 0; font-size: 14px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.admin-wide { grid-column: 1 / -1; }
.admin-field select { min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; background: var(--surface); }
@media (max-width: 560px) { .admin-grid { grid-template-columns: 1fr; } }

/* admin: per-bath view */
.admin-tabs a b { margin-left: 2px; }
.admin-back { font-weight: 600; color: var(--accent); text-decoration: none; }
.admin-bath-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 8px 0 16px; }
.admin-bath-head h2 { margin: 0 0 2px; }
.admin-score { display: grid; justify-items: end; gap: 2px; }
.admin-score b { font-size: 28px; line-height: 1; }
.admin-score .stars { font-size: 18px; }
.admin-score small { color: var(--muted); }
.admin-status { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.admin-status.st-pending { background: #FFF4E0; color: #8A4B00; }
.admin-status.st-approved { background: var(--open-soft); color: #0B6B3A; }
.admin-status.st-rejected { background: #FDECEC; color: var(--st-closed); }
.admin-rejected { opacity: .75; }
.admin-danger-zone { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.admin-table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--bg); }
.admin-table a { color: var(--ink); text-decoration: none; }
.admin-table a:hover b { color: var(--accent); }
.admin-table .num { text-align: right; width: 64px; }
.admin-table .nowrap { white-space: nowrap; }
.admin-pending-n { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: #fff; text-align: center; }
@media (max-width: 640px) {
  .admin-table th:nth-child(5), .admin-table td:nth-child(5), .admin-table th:nth-child(6), .admin-table td:nth-child(6) { display: none; }
  .admin-table td, .admin-table th { padding: 10px; }
}
