/* Maps of Earth · "Atlas Cam": full-screen Signal map + frosted-glass cards */
:root {
  --bg: #e4edf6; --surface: rgba(255,255,255,.62); --solid: #ffffff; --ink: #0b1220; --muted: #5a6577; --line: rgba(11,18,32,.09); --soft: rgba(11,18,32,.045);
  --accent: #ff3b30; --accent-soft: rgba(255,59,48,.1); --link: #0b57d0; --ok: #0a9a6b; --primary: #0b1220; --on-primary: #ffffff;
  --b-cty: #c3cedb; --b-unit: rgba(255,255,255,.98); --b-sub: rgba(255,255,255,.9); --b-out: rgba(11,18,32,.32);
  --label: #131b29; --label-soft: #7d8aa0; --halo: rgba(255,255,255,.95); --sea-label: #7895b6;
  --lg: rgba(255,255,255,.5); --lg-strong: rgba(255,255,255,.76); --lg-rim: rgba(255,255,255,.72); --lg-hi: rgba(255,255,255,.9); --lg-lo: rgba(255,255,255,.22);
  --gshadow: 0 1px 2px rgba(11,18,32,.04), 0 12px 32px rgba(11,18,32,.09);
  --sea1: #f1f6fb; --sea2: #e4edf6; --sea3: #d8e4f1; --coast: rgba(255,255,255,.96); --coast2: rgba(255,255,255,.55); --grat: rgba(255,255,255,.75); --fade: rgba(246,249,252,.85);
  --sh: #0b1a33; --sh-o: .2; --tipbg: rgba(255,255,255,.78); --menu: #fbfcfe;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Arabic', sans-serif;
  --font-d: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Arabic', sans-serif;
  --cw: min(480px, 38vw); --top: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b0f17; --surface: rgba(30,40,58,.5); --solid: #141c2a; --ink: #f2f5fa; --muted: #95a1b6; --line: rgba(242,245,250,.1); --soft: rgba(242,245,250,.06);
  --accent: #ff5a4f; --accent-soft: rgba(255,90,79,.14); --link: #8ab4ff; --ok: #3ccf95; --primary: #ffffff; --on-primary: #0b0f17;
  --b-cty: #2b364a; --b-unit: rgba(10,14,22,.95); --b-sub: rgba(10,14,22,.8); --b-out: rgba(242,245,250,.34);
  --label: #e9eef6; --label-soft: #8793a6; --halo: rgba(10,14,22,.9); --sea-label: #5d7aa3;
  --lg: rgba(18,26,39,.48); --lg-strong: rgba(18,26,39,.74); --lg-rim: rgba(255,255,255,.13); --lg-hi: rgba(255,255,255,.15); --lg-lo: rgba(255,255,255,.03);
  --gshadow: 0 12px 32px rgba(0,0,0,.45);
  --sea1: #111a29; --sea2: #0d1421; --sea3: #090e18; --coast: rgba(130,170,235,.22); --coast2: rgba(130,170,235,.07); --grat: rgba(140,170,220,.07); --fade: rgba(9,13,21,.8);
  --sh: #000000; --sh-o: .6; --tipbg: rgba(18,26,39,.8); --menu: #111824; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0b0f17; --surface: rgba(30,40,58,.5); --solid: #141c2a; --ink: #f2f5fa; --muted: #95a1b6; --line: rgba(242,245,250,.1); --soft: rgba(242,245,250,.06);
  --accent: #ff5a4f; --accent-soft: rgba(255,90,79,.14); --link: #8ab4ff; --ok: #3ccf95; --primary: #ffffff; --on-primary: #0b0f17;
  --b-cty: #2b364a; --b-unit: rgba(10,14,22,.95); --b-sub: rgba(10,14,22,.8); --b-out: rgba(242,245,250,.34);
  --label: #e9eef6; --label-soft: #8793a6; --halo: rgba(10,14,22,.9); --sea-label: #5d7aa3;
  --lg: rgba(18,26,39,.48); --lg-strong: rgba(18,26,39,.74); --lg-rim: rgba(255,255,255,.13); --lg-hi: rgba(255,255,255,.15); --lg-lo: rgba(255,255,255,.03);
  --gshadow: 0 12px 32px rgba(0,0,0,.45);
  --sea1: #111a29; --sea2: #0d1421; --sea3: #090e18; --coast: rgba(130,170,235,.22); --coast2: rgba(130,170,235,.07); --grat: rgba(140,170,220,.07); --fade: rgba(9,13,21,.8);
  --sh: #000000; --sh-o: .6; --tipbg: rgba(18,26,39,.8); --menu: #111824; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-d); text-wrap: balance; letter-spacing: -.015em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--solid); padding: 8px 12px; border-radius: 10px; }
.small { font-size: 13px; color: var(--muted); }

/* glass */
.gl { background: linear-gradient(160deg, var(--lg-lo), transparent 46%), var(--lg); -webkit-backdrop-filter: blur(22px) saturate(185%); backdrop-filter: blur(22px) saturate(185%); border: 1px solid var(--lg-rim); box-shadow: var(--gshadow), inset 0 1px 0 var(--lg-hi), inset 0 -1px 0 var(--lg-lo); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .gl { background: var(--lg-strong); } }

/* ---------- map ---------- */
.c-map { position: fixed; z-index: 0; inset: 0; overflow: hidden; background: radial-gradient(130% 100% at 28% 12%, var(--sea1) 0%, var(--sea2) 52%, var(--sea3) 100%); touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.c-map::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--fade)); pointer-events: none; z-index: 3; }
.c-static { position: absolute; margin: 0; inset: 92px calc(var(--cw) + 48px) 24px 24px; display: grid; place-items: center; transition: opacity .5s; }
.c-static img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
:root[data-theme="dark"] .c-static img { filter: invert(.92) hue-rotate(180deg) saturate(.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-static img { filter: invert(.92) hue-rotate(180deg) saturate(.6); } }
.c-map.live .c-static { opacity: 0; pointer-events: none; }
.amap-svg { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .45s; }
.c-map.live .amap-svg { opacity: 1; }
.full .c-map, .c-map.full { touch-action: none; }
.amap-svg .grat { fill: none; stroke: var(--grat); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.amap-svg .coast { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; transition: opacity .5s ease .05s; }
.amap-svg .coast.c1 { stroke: var(--coast); stroke-width: 3; }
.amap-svg .coast.c2 { stroke: var(--coast2); stroke-width: 9; }
.c-map[data-cz="0"] .coast.c1 { stroke-width: 1.6; }
.c-map[data-cz="0"] .coast.c2 { stroke-width: 4.5; }
.c-map.moving .coast, .c-map.moving .fx { opacity: 0; transition: none; }
.amap-svg .cty, .amap-svg .u1, .amap-svg .u2 { transition: fill .6s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.amap-svg .u1, .amap-svg .u2 { stroke: none; }
.amap-svg .b-cty { fill: none; stroke: var(--b-cty); stroke-width: .9; vector-effect: non-scaling-stroke; pointer-events: none; }
.amap-svg .b-u1 { fill: none; stroke: var(--b-unit); stroke-width: 1.3; vector-effect: non-scaling-stroke; pointer-events: none; }
.amap-svg .b-u2 { fill: none; stroke: var(--b-sub); stroke-width: .9; vector-effect: non-scaling-stroke; pointer-events: none; }
.amap-svg .b-out { fill: none; stroke: var(--b-out); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.c-map[data-style="blank"] .b-u1 { stroke: #aab5c4; stroke-width: .9; }
.c-map[data-style="blank"] .b-u2 { stroke: #c2cad6; }
.c-map[data-style="blank"] .b-cty { stroke: #9aa7b8; }
.c-map[data-style="blank"] .b-out { stroke: #6f7d93; stroke-width: 1.3; }
.amap-svg .hl-hov { fill: rgba(255,255,255,.42); stroke: #ffffff; stroke-width: 1.6; vector-effect: non-scaling-stroke; pointer-events: none; }
.amap-svg .hl-rim { fill: none; stroke: rgba(255,255,255,.95); stroke-width: 5; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
.amap-svg .hl-sel { fill: none; stroke: var(--ink); stroke-width: 1.3; opacity: .78; vector-effect: non-scaling-stroke; pointer-events: none; }
.amap-svg .fx { pointer-events: none; transition: opacity .55s ease .06s; }
.amap-svg .fx path { fill: #000; }
.amap-svg .shf { flood-color: var(--sh); flood-opacity: var(--sh-o); }
.amap-svg .relief { display: none; pointer-events: none; }
.c-map[data-style="physical"] .relief { display: inline; opacity: .85; }
.amap-svg .lb text { font-family: var(--font-d); fill: var(--label); paint-order: stroke; stroke: var(--halo); stroke-width: 3.4px; stroke-linejoin: round; pointer-events: none; }
.amap-svg .lb.c text { fill: #627087; font-weight: 600; }
.amap-svg .lb.c.caps text { fill: #8793a6; letter-spacing: .14em; font-weight: 600; }
.amap-svg .lb.u text { font-weight: 650; }
.amap-svg .lb.dim text { fill: var(--label-soft); font-weight: 500; }
.amap-svg .lb.k circle { fill: var(--solid); stroke: var(--ink); stroke-width: 1.4; }
.amap-svg .lb.k text { fill: var(--muted); font-weight: 500; }
.amap-svg .lb.city circle { fill: var(--accent); stroke: #fff; stroke-width: 1.6; }
.amap-tip { position: absolute; z-index: 5; pointer-events: none; display: flex; flex-direction: column; min-width: 120px; background: var(--tipbg); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); border: 1px solid var(--lg-rim); border-radius: 14px; box-shadow: var(--gshadow); padding: 8px 12px; color: var(--ink); }
.amap-tip b { font: 650 14px var(--font-d); }
.amap-tip span { color: var(--muted); font-size: 12px; }
.amap-hint { position: absolute; z-index: 6; left: 50%; bottom: 64px; transform: translateX(-50%); background: var(--tipbg); color: var(--ink); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--lg-rim); box-shadow: var(--gshadow); padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; pointer-events: none; white-space: nowrap; }
.amap-scale { position: absolute; left: 18px; bottom: 14px; z-index: 4; font: 500 11px var(--font); color: var(--muted); display: flex; align-items: center; gap: 6px; pointer-events: none; }
.amap-scale i { display: block; height: 6px; border: 1.5px solid var(--muted); border-top: 0; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.c-top { position: fixed; z-index: 30; top: calc(var(--top) + 12px); left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); height: 56px; border-radius: 20px; display: flex; align-items: center; gap: 6px; padding: 0 9px 0 12px; }
.c-logo { display: inline-flex; align-items: center; gap: 10px; font: 750 18px var(--font-d); letter-spacing: -.025em; color: var(--ink); text-decoration: none !important; margin-right: 8px; flex: none; white-space: nowrap; }
.lg { width: 32px; height: 32px; flex: none; }
.lg .o { fill: var(--primary); }
.lg .m { fill: none; stroke: var(--on-primary); stroke-width: 1.7; }
.lg .d { fill: var(--accent); stroke: var(--primary); stroke-width: 1.6; }
.c-nav { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.c-nav a { color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.c-nav a:hover { background: var(--soft); text-decoration: none; }
.c-search { position: relative; min-width: 0; flex: 0 1 380px; margin: 0 0 0 auto; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); transition: background .2s, box-shadow .2s; }
.c-search:focus-within { background: var(--lg-strong); box-shadow: 0 0 0 4px var(--accent-soft); }
.c-search > svg { flex: none; width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 2; }
.c-search input { flex: 1; min-width: 0; width: 0; border: 0; background: none; outline: none; color: var(--ink); font: 500 15px var(--font); }
.c-search input::placeholder { color: var(--muted); }
.c-search input::-webkit-search-cancel-button { display: none; }
.sres { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; border-radius: 18px; padding: 6px; background: var(--menu); max-height: 60vh; overflow: auto; }
.sres a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--ink); text-decoration: none !important; }
.sres a span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sres a.on, .sres a:hover { background: var(--soft); }
.sres p { margin: 8px 12px; color: var(--muted); }
.c-pill { flex: none; height: 40px; border-radius: 999px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; font: 600 13.5px var(--font); border: 1px solid var(--line); background: var(--lg-strong); color: var(--ink); transition: transform .15s, background .2s; list-style: none; cursor: pointer; }
.c-pill::-webkit-details-marker { display: none; }
.c-pill:hover { background: var(--solid); }
.c-pill:active { transform: scale(.95); }
.c-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-ico { width: 40px; padding: 0; justify-content: center; }
.c-lang { position: relative; flex: none; }
.c-lang .menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; border-radius: 18px; padding: 6px; background: var(--menu); display: grid; grid-template-columns: 1fr 1fr; min-width: 260px; }
.c-lang .menu a { padding: 8px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; }
.c-lang .menu a[aria-current] { background: var(--soft); font-weight: 700; }
.c-lang .menu a:hover { background: var(--soft); text-decoration: none; }

/* ---------- view tabs + controls ---------- */
.c-side { position: fixed; z-index: 25; top: calc(var(--top) + 80px); left: max(16px, env(safe-area-inset-left, 0px)); right: calc(var(--cw) + 100px); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.c-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.c-tabs a { height: 36px; padding: 0 15px; border-radius: 999px; font: 600 13.5px var(--font); color: var(--ink); display: inline-flex; align-items: center; text-decoration: none !important; transition: background .3s, color .3s, transform .15s; }
.c-tabs a:active { transform: scale(.95); }
.c-tabs a.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.c-ctl { position: fixed; z-index: 25; top: calc(var(--top) + 80px); right: calc(max(16px, env(safe-area-inset-right, 0px)) + var(--cw) + 16px); display: flex; flex-direction: column; gap: 8px; transition: opacity .35s, right .5s cubic-bezier(.2,.8,.2,1); }
.c-ctl button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(160deg, var(--lg-lo), transparent 46%), var(--lg); -webkit-backdrop-filter: blur(22px) saturate(185%); backdrop-filter: blur(22px) saturate(185%); border: 1px solid var(--lg-rim); box-shadow: var(--gshadow), inset 0 1px 0 var(--lg-hi); transition: transform .15s, background .2s; }
.c-ctl button:hover { background: var(--lg-strong); }
.c-ctl button:active { transform: scale(.92); }
.c-ctl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- cards ---------- */
.c-cards { position: relative; z-index: 10; width: var(--cw); margin: 0 max(16px, env(safe-area-inset-right, 0px)) 0 auto; padding: calc(var(--top) + 80px) 0 48px; display: flex; flex-direction: column; gap: 12px; pointer-events: none; transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.c-cards > * { pointer-events: auto; }
.c-card { border-radius: 24px; padding: 20px 22px 22px; background: linear-gradient(160deg, var(--lg-lo), transparent 46%), var(--lg-strong); min-width: 0; -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); }
.c-card h2 { font: 700 20px/1.2 var(--font-d); letter-spacing: -.02em; margin: 0 0 10px; }
.c-card p { margin: 0 0 10px; }
.c-card p:last-child { margin-bottom: 0; }
.c-head h1 { font: 760 clamp(30px, 3.2vw, 42px)/1.06 var(--font-d); letter-spacing: -.035em; margin: 10px 0 6px; }
.c-head .sub { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.c-head .lead { font-size: 16px; line-height: 1.62; margin: 12px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs i { font-style: normal; opacity: .6; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 13px; min-width: 0; }
.facts dt { font: 600 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font: 650 16px/1.35 var(--font-d); letter-spacing: -.01em; overflow-wrap: anywhere; }
.facts dd small { font: 500 12px var(--font); color: var(--muted); }
.tbl { max-height: 460px; overflow: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
table.units { width: 100%; border-collapse: collapse; font-size: 14px; }
table.units th { position: sticky; top: 0; background: var(--solid); text-align: start; font: 600 11.5px var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 9px 12px; z-index: 1; }
table.units td { padding: 8px 12px; border-top: 1px solid var(--line); }
table.units .n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.units tbody tr { transition: background .15s; }
table.units tbody tr:hover, table.units tbody tr.hl { background: var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 14px; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.chips a:hover { border-color: var(--ink); transform: translateY(-1px); }
.chips.big a { padding: 9px 15px; font-weight: 600; }
ol.cities { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 2px; }
ol.cities li { counter-increment: c; display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 12px; cursor: pointer; }
ol.cities li::before { content: counter(c); color: var(--muted); width: 22px; font-variant-numeric: tabular-nums; }
ol.cities li span { flex: 1; }
ol.cities li b { font-weight: 600; font-variant-numeric: tabular-nums; }
ol.cities li:hover { background: var(--soft); }
details { border-top: 1px solid var(--line); padding: 10px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary); border: 0; font-weight: 600; text-decoration: none !important; }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl { display: flex; gap: 8px; flex-wrap: wrap; }
.c-foot { text-align: center; }
.c-foot .c-logo { justify-content: center; margin: 0 0 6px; }
.c-foot .links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.c-back { position: fixed; z-index: 35; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); height: 44px; padding: 0 18px 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--font); color: var(--ink); }
.c-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.full .c-cards { opacity: 0; transform: translateX(calc(var(--cw) + 40px)); pointer-events: none; }
.full .c-cards * { pointer-events: none !important; }
.full .c-ctl { right: max(16px, env(safe-area-inset-right, 0px)); }
.full .c-side { right: 90px; }
.full .c-static { right: 24px; }
html.is-full { overflow: hidden; }
[dir="rtl"] .c-cards { margin: 0 auto 0 max(16px, env(safe-area-inset-left, 0px)); }
[dir="rtl"] .c-side { left: calc(var(--cw) + 100px); right: max(16px, env(safe-area-inset-right, 0px)); }
[dir="rtl"] .c-ctl { right: auto; left: calc(max(16px, env(safe-area-inset-left, 0px)) + var(--cw) + 16px); }
[dir="rtl"] .c-static { inset: 92px 24px 24px calc(var(--cw) + 48px); }
[dir="rtl"] .c-search { margin: 0 auto 0 0; }
[dir="rtl"] .c-lang .menu { right: auto; left: 0; }
.busy .c-cards { opacity: .55; }

@media (max-width: 999px) {
  :root { --cw: auto; }
  .c-top { top: calc(var(--top) + 10px); left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); height: 52px; border-radius: 18px; padding: 0 6px 0 8px; gap: 6px; transition: top .4s cubic-bezier(.2,.8,.2,1), left .4s, right .4s, border-radius .4s; }
  .c-logo { margin-right: 2px; }
  .c-logo span, .c-nav { display: none; }
  .c-foot .c-logo span { display: inline; }
  .c-search { flex: 1 1 auto; margin: 0; }
  .c-search input { font-size: 16px; }
  .c-pill { padding: 0 10px; }
  .c-side { top: calc(var(--top) + 70px); left: 0; right: 0; padding: 0 max(10px, env(safe-area-inset-left, 0px)); }
  [dir="rtl"] .c-side { left: 0; right: 0; }
  .c-tabs { gap: 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .c-tabs a { flex: none; height: 34px; padding: 0 12px; font-size: 13px; }
  .c-ctl { top: auto; bottom: calc(42svh + 18px); right: max(10px, env(safe-area-inset-right, 0px)); gap: 6px; }
  [dir="rtl"] .c-ctl { left: max(10px, env(safe-area-inset-left, 0px)); right: auto; }
  .c-ctl button { width: 40px; height: 40px; }
  .c-ctl button[data-a="in"], .c-ctl button[data-a="out"] { display: none; }
  .c-cards, [dir="rtl"] .c-cards { margin: 0 8px; padding: 58svh 0 80px; gap: 10px; }
  .c-card { border-radius: 22px; padding: 16px 16px 18px; }
  .c-head h1 { font-size: 30px; }
  .c-static, [dir="rtl"] .c-static { inset: calc(var(--top) + 116px) 12px 44svh 12px; }
  .scrolled .c-side, .scrolled .c-ctl { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .scrolled .c-top { top: var(--top); left: 0; right: 0; border-radius: 0 0 22px 22px; }
  .full .c-cards { transform: translateY(40vh); }
  .full .c-ctl { bottom: 24px; }
  .amap-hint { bottom: auto; top: 46%; }
  .facts { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .c-lang .menu { min-width: 230px; }
}
@media (prefers-reduced-motion: reduce) { *, .amap-svg .fx { transition: none !important; animation: none !important; } }
@media print {
  .c-top, .c-side, .c-ctl, .c-back, .c-foot, .c-map::after { display: none !important; }
  .c-map { position: relative; height: 60vh; }
  .c-cards { width: auto; margin: 0; padding: 0; }
  .gl, .c-card { background: none !important; box-shadow: none !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
