:root {
  --bg: #10091b;
  --card: #1b102a;
  --card-2: #29183c;
  --line: #39264d;
  --text: #fbf7ff;
  --muted: #b9a9ca;
  --gold: #a879ff;
  --gold-2: #e4a7ff;
  --rose: #e4a7ff;
  --ok: #9dceb0;
  --bad: #e08b8b;
  --shadow: 0 16px 40px #00000066;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 90% -10%, #3b1d5c 0%, transparent 55%),
    radial-gradient(700px 380px at -10% 20%, #2a1840 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, .logo { font-family: Georgia, "Palatino Linotype", serif; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 10px; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 8px; }
h3 { margin: 0; font-size: 22px; }
p { margin: 0; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #10091bcc;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #ffffff14;
}
.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo { font-size: 26px; letter-spacing: 0.08em; font-weight: 700; }
.logo span { color: var(--gold); }
.desk-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.top-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.top-tools .desk-nav { margin-left: 0; }
.nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
  padding: 2px 0 12px;
}
.nav-row a {
  color: var(--muted);
  padding: 6px 2px 8px;
  border-bottom: 2px solid transparent;
  line-height: 1.2;
}
.nav-row a.active { color: var(--gold-2); border-bottom-color: var(--gold); }
.nav-row a:hover { color: var(--text); }
.lang-field { display: block; }
.lang-switch {
  width: auto;
  min-width: 118px;
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
}
.who {
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.desk-nav a { transition: color .25s ease; }
.desk-nav a:hover { color: var(--text); }
.desk-nav a.active { color: var(--gold-2); }
.search {
  display: flex;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 420px;
}
.search input { margin: 0; flex: 1; min-width: 0; width: auto; }
input::placeholder, textarea::placeholder { color: #8d7aa8; opacity: 1; }
.mob { display: none; }
.cats {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}
.cats a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #141418;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.cats a:hover { transform: translateY(-1px); }
.cats a:hover, .cats a.active { color: var(--text); border-color: #a879ff88; background: #2a1844; }
.demo-banner {
  background: #24143a;
  color: var(--gold-2);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  border-bottom: 1px solid #39264d;
}

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
  text-align: center;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.btn:hover, button.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active, button.btn:active { transform: translateY(0) scale(.98); }
.btn.gold, button.btn.gold {
  border-color: transparent;
  background: linear-gradient(135deg, #8652db, #c17eff);
  color: #fff;
}
.btn.ghost { background: transparent; }
.btn.small { padding: 8px 10px; font-size: 13px; }
.btn.bad { border-color: #e08b8b55; color: var(--bad); background: transparent; }
.btn.wide { width: 100%; }

.page { padding: 28px 0 64px; }
.pagehead {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.lead { color: var(--muted); max-width: 62ch; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold-2); }

.filters, .formgrid {
  display: grid;
  gap: 12px;
}
.filters {
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: end;
  margin: 8px 0 28px;
  padding: 16px;
  background: #1b102a;
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
.filters label span { display: block; line-height: 1.25; min-height: 18px; }
.grid { margin-top: 0; clear: both; }
.filters input[type="hidden"] { display: none; }
.formgrid.two { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: 6px; }
label span { color: var(--muted); font-size: 13px; }
input, select, textarea {
  width: 100%;
  background: #101014;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #a879ff;
  box-shadow: 0 0 0 4px #a879ff2e;
}
textarea { min-height: 120px; resize: vertical; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
label.check input { width: auto; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.section { margin-top: 42px; }
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color .4s ease, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: #a879ff99;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px #00000055, 0 0 0 1px #a879ff33;
  }
  .card:hover .card-photo img { transform: scale(1.04); }
}
.card-photo {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  background: #111;
  overflow: hidden;
}
.card-photo img, .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.portrait { border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 3/4; }
.badge, .rate {
  position: absolute;
  top: 10px;
  background: #0b0b0de0;
  border: 1px solid #ffffff22;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.badge { left: 10px; color: var(--gold-2); text-transform: uppercase; max-width: calc(100% - 108px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate { right: 10px; color: var(--gold-2); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.meta, .muted, .note { color: var(--muted); }
.meta { font-size: 14px; }
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.prices div, .stat {
  background: #101014;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}
.prices b, .stat b { display: block; color: var(--gold-2); font-size: 13px; white-space: nowrap; letter-spacing: -0.03em; }
.prices span, .stat span { display: block; color: var(--muted); font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted);
  font-size: 12px;
}
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn { flex: 1; }

.steps, .citygrid, .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.step, .city, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.step b, .city b { display: block; margin-bottom: 6px; }
.city { display: flex; justify-content: space-between; align-items: center; }
.stats { grid-template-columns: repeat(4, 1fr); margin: 18px 0; }
.stat { text-align: left; padding: 14px; }
.stat b { font-size: 26px; font-family: Georgia, serif; }

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}
.pay, .panel.pad { padding: 18px; }
.pay {
  position: sticky;
  top: 156px;
  background: linear-gradient(180deg, #2a1848, #1b102a 42%);
  border: 1px solid #a879ff55;
  border-radius: 18px;
  display: grid;
  gap: 12px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}
.fact {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.fact span { display: block; color: var(--muted); font-size: 12px; }
.prose { white-space: pre-wrap; color: #ddd7cf; margin-top: 12px; }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}
.stars { color: var(--gold); letter-spacing: 2px; }
.stack { display: grid; gap: 10px; }
.radios { display: grid; gap: 8px; }
.radio {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #101014;
}
.radio input { width: auto; }
.alert {
  border-radius: 12px;
  padding: 10px 12px;
  background: #24143a;
  color: var(--gold-2);
}
.alert.bad { background: #2a1616; color: var(--bad); }
.alert.ok { background: #142218; color: var(--ok); }
.requisites {
  white-space: pre-wrap;
  background: #101014;
  border: 1px dashed #a879ff66;
  border-radius: 12px;
  padding: 12px;
  font-family: Consolas, "Segoe UI", monospace;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.admin-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; }
.gate, .gate-overlay {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #0b0b0df2;
}
.gate-overlay[hidden] { display: none; }
.ph {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--gold);
}
.gate-card {
  width: min(460px, 100%);
  background: var(--card);
  border: 1px solid #a879ff55;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.age-num {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  margin: 0;
}
footer {
  border-top: 1px solid #ffffff14;
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 14px; align-items: center; }
.count-line { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; color: var(--muted); }
.count-line b { color: var(--gold-2); font-family: Georgia, serif; font-size: 28px; line-height: 1; }
.gallery { display: grid; gap: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumbs button, .thumbs img { width: 100%; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; }
.thumbs button.on { border-color: #c17eff; }
.thumbs img { height: 78px; object-fit: cover; display: block; }
.service-block { margin-top: 18px; }
.service-block h2 { margin-bottom: 10px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101014;
}
.service small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; line-height: 1.35; }
.service em { font-style: normal; color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.map-empty { margin-top: 10px; }
.foot a:hover { color: var(--gold-2); }

@media (max-width: 1100px) {
  .search { max-width: 220px; }
  .who { display: none; }
  .nav-row { gap: 4px 16px; font-size: 14px; }
}
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr 1fr; }
  .profile, .pagehead, .stats { grid-template-columns: 1fr; display: grid; }
  .pay { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .top-tools .desk-nav, .nav-row { display: none; }
  .mob { display: block; position: relative; }
  .mob summary { list-style: none; cursor: pointer; color: var(--gold-2); font-weight: 700; }
  .mob summary::-webkit-details-marker { display: none; }
  .topbar { flex-wrap: wrap; min-height: 64px; gap: 10px; padding: 8px 0; }
  .search { order: 3; flex: 1 1 100%; max-width: none; }
  .logo { font-size: 22px; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes sheen {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

.page > * { animation: rise .62s cubic-bezier(.2,.8,.2,1) both; }
.page > *:nth-child(2) { animation-delay: .06s; }
.page > *:nth-child(3) { animation-delay: .12s; }
.page > *:nth-child(4) { animation-delay: .18s; }
.page > *:nth-child(5) { animation-delay: .24s; }
.card { animation: fade .4s ease both; }
.step, .city, .review, .row, .stat { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.logo span { animation: sheen 3.6s ease-in-out infinite; }
.gate-overlay { animation: fade .35s ease; background: #10091be6; }
.gate-card { animation: pop .48s cubic-bezier(.2,.8,.2,1); }
.alert { animation: rise .4s ease both; }
.mob-panel { animation: pop .28s cubic-bezier(.2,.8,.2,1); }
.top { transition: background .3s ease, box-shadow .3s ease; }
.foot a, .crumbs a, .chip { transition: color .25s ease, border-color .25s ease, background .25s ease; }
.prices div { transition: border-color .3s ease, transform .3s ease; }
.card:hover .prices div { border-color: #a879ff55; }

.map-page { width: 100%; max-width: none; padding: 0 0 28px; }
.map-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: calc(100vh - 150px); }
.map-stage {
  position: relative;
  margin: 16px 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #e7eef2;
  overflow: hidden;
}
#mapCanvas { position: absolute; inset: 0; }
.map-stage { min-height: 640px; }
.map-stage.atlas > svg { width: 100%; height: 100%; min-height: 640px; display: block; }
.leaflet-attribution-flag {
  width: 12px !important;
  height: 8px !important;
  min-height: 0 !important;
  max-height: 8px !important;
  display: inline !important;
}
.map-land { fill: url(#czeLand); stroke: #f3e7ff; stroke-width: 2.2; }
.map-grid { stroke: #ffffff18; stroke-width: 1; }
.map-axis, .map-neighbor { fill: #cbb6e8; font-size: 12px; font-family: "Segoe UI", sans-serif; }
.map-country { fill: #ffffff18; font-size: 28px; letter-spacing: .28em; font-family: Georgia, serif; }
.map-count { fill: #fff; font-size: 11px; font-weight: 800; }
.map-city { fill: #1c2418; font-size: 12px; font-weight: 700; }
.map-stage.atlas { background: #e7eef2; }
.map-pin { cursor: pointer; }
.map-pin.on circle { fill: #fff; stroke: #c17eff; }
.map-caption {
  position: absolute;
  z-index: 500;
  left: 58px;
  top: 12px;
  background: #10091be6;
  border: 1px solid #a879ff66;
  border-radius: 14px;
  padding: 10px 14px;
  display: grid;
}
.map-caption span { font-family: Georgia, serif; font-size: 20px; }
.map-back { justify-self: start; margin: 0 0 8px; }
.map-caption small { color: var(--muted); }
.pin-wrap { background: none; border: 0; }
.pin-dot {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8652db, #c17eff);
  color: #fff;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px #0008;
}
.pin-dot.empty { width: 14px; height: 14px; background: #3a2a55; color: transparent; }
.pin-wrap.on .pin-dot { transform: scale(1.08); box-shadow: 0 0 0 6px #a879ff44; }
.pin-label {
  margin-top: 4px;
  text-align: center;
  font: 700 12px "Segoe UI", sans-serif;
  color: #fff;
  text-shadow: 0 1px 3px #000, 0 0 8px #000;
  white-space: nowrap;
}
.map-stage, #mapCanvas, .leaflet-container, .leaflet-tile-pane { background: #d5e6c8; }
.leaflet-container { font-family: inherit; }
.leaflet-control-attribution { background: #10091bcc !important; color: #b9a9ca !important; }
.leaflet-bar a, .leaflet-bar a:hover { background: #1b102a; color: #e4a7ff; border-color: #39264d; }
.map-side {
  margin: 16px 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #1b102acc;
  padding: 16px;
  overflow: auto;
  max-height: calc(100vh - 170px);
}
.map-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.map-card > span { min-width: 0; display: grid; gap: 2px; }
.map-card b, .map-card .muted { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-card img, .map-card .ph { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: #24143a; }
.map-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.map-tools button.on { border-color: #a879ff; color: #fff; }
@media (max-width: 900px) {
  .map-shell { grid-template-columns: 1fr; }
  .map-stage { margin: 12px; min-height: 0; height: min(62vh, 520px); }
  .map-stage.atlas > svg { min-height: 0; height: 100%; }
  .map-side { margin: 0 12px 12px; max-height: none; }
  .map-caption { left: auto; right: 12px; top: 10px; max-width: calc(100% - 78px); }
  .pin-label { font-size: 11px; }
}

body[data-page="admin"] .topbar { flex-wrap: wrap; gap: 10px; }
body[data-page="admin"] .desk-nav { margin-left: auto; }
@media (max-width: 720px) {
  html, body { overflow-x: clip; }
  .prose, .meta, h1, h2, h3 { overflow-wrap: break-word; }
  .nav-row { display: none; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .thumbs img { height: 64px; }
  body[data-page="admin"] .desk-nav { width: 100%; margin-left: 0; justify-content: flex-start; }
  body { font-size: 15px; -webkit-text-size-adjust: 100%; }
  .wrap { width: min(1160px, calc(100% - 20px)); }
  .page { padding: 16px 0 36px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .pagehead { align-items: stretch; gap: 14px; }
  .pagehead .btn, .filters .btn, .gate-card .btn, .pay .btn { width: 100%; min-height: 44px; }
  .filters, .steps, .citygrid, .formgrid.two, .grid, .service-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  input, select, textarea, .lang-switch { font-size: 16px; }
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices div { padding: 8px 4px; }
  .prices b { font-size: 12px; }
  .prices span { font-size: 10px; }
  .card-actions { flex-direction: column; }
  .cats { margin: 0 -2px; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .cats a { padding: 8px 12px; }
  .demo-banner { font-size: 12px; line-height: 1.4; padding: 8px 12px; }
  .foot, .admin-head { flex-direction: column; align-items: stretch; text-align: center; }
  .foot-links { justify-content: center; }
  .row { align-items: stretch; }
  .row .actions { width: 100%; }
  .row .actions .btn, .row .actions a.btn { flex: 1 1 calc(50% - 8px); min-height: 40px; }
  .mob summary {
    list-style: none;
    cursor: pointer;
    color: var(--gold-2);
    font-weight: 700;
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 0 4px;
  }
  .mob summary::-webkit-details-marker { display: none; }
  .mob-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    width: min(280px, calc(100vw - 24px));
    max-height: calc(100dvh - 120px);
    overflow: auto;
    background: #16161bf2;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    display: grid;
    gap: 4px;
  }
  .mob-panel a, .mob-panel button {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .gate, .gate-overlay { padding: 16px; align-items: start; padding-top: 12vh; }
  .gate-card { padding: 20px 16px; width: 100%; }
  .map-stage { height: min(56vh, 460px); margin: 10px; }
  .map-side { margin: 0 10px 16px; }
  .map-card { grid-template-columns: 56px 1fr; }
  .crumbs { overflow-wrap: anywhere; }
  .requisites { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .facts, .stats { grid-template-columns: 1fr; }
  .lang-switch { min-width: 104px; }
  .logo { letter-spacing: 0.04em; }
}
@supports (padding: max(0px)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .top { padding-top: env(safe-area-inset-top); }
  footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}

.health-badge {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-left: 6px;
}
.health-badge.big { width: 24px; height: 24px; margin-left: 8px; }
.health-badge svg { width: 100%; height: 100%; display: block; }
.health-badge path:first-child { fill: #2f9e6e; }
.health-badge path:last-child { fill: none; stroke: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
