:root {
  --bg: #0b1c14; --surface: #132c1f; --surface-2: #183424; --surface-3: #1f3f2d;
  --bg-grad: radial-gradient(120% 80% at 50% -10%, #1a4630 0%, #0f2a1d 34%, #0b1c14 66%);
  --glass: rgba(16, 38, 27, .8); --glass-border: rgba(235, 231, 218, .12);
  --text: #ebe7da; --muted: #a9bdb1; --line: rgba(235, 231, 218, .14);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .05);
  --brand: #3fb877; --brand-strong: #1f7f4d; --brand-ink: #f4f1e6; --brand-soft: rgba(63, 184, 119, .16);
  --brand-fill: #1a6e43;
  --brand-glow: rgba(63, 184, 119, .22);
  --accent: #1a6e43; --accent-ink: #f4f1e6; --accent-ring: rgba(244, 241, 230, .55); --accent-soft: rgba(244, 241, 230, .08);
  --accent-line: #efe9d6;
  --hex-glow: rgba(239, 233, 214, .8); --hex-glow-soft: rgba(239, 233, 214, .35);
  --hex-idle: .08;
  --vh: #b3123a; --hi: #ee5a36; --el: #f5a524; --ok: #3cb878;
  --help: #6cb4ee; --help-soft: rgba(108, 180, 238, .16);
  --ribbon-empty: #1f3f2d;
  --shadow-sm: var(--edge), 0 1px 2px rgba(0,0,0,.35), 0 4px 12px -2px rgba(0,0,0,.35);
  --shadow: var(--edge), 0 14px 34px -10px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.35);
  --radius: 16px; --radius-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ur: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --font-ur-mix: "Inter", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f1e8; --surface: #fbfaf5; --surface-2: #efece1; --surface-3: #e5e1d3;
  --bg-grad: radial-gradient(120% 80% at 50% -10%, #e6efe4 0%, #f3f1e8 60%);
  --glass: rgba(251, 250, 245, .8); --glass-border: rgba(13, 31, 21, .08);
  --text: #0d1f15; --muted: #56655b; --line: #e0dccd;
  --brand: #0b5a33; --brand-strong: #084527; --brand-ink: #fbfaf5; --brand-soft: rgba(11, 90, 51, .1);
  --brand-fill: #0b5a33;
  --accent: #0b5a33; --accent-ink: #fbfaf5; --accent-ring: rgba(251, 250, 245, .9); --accent-soft: rgba(11, 90, 51, .08);
  --accent-line: #0b5a33;
  --hex-glow: rgba(11, 90, 51, .6); --hex-glow-soft: rgba(11, 90, 51, .25);
  --hex-idle: .05; --brand-glow: rgba(11, 90, 51, .14);
  --ok: #1f8a52;
  --help: #1b5e96; --help-soft: rgba(27, 94, 150, .1);
  --ribbon-empty: #e5e1d3;
  --shadow-sm: 0 1px 2px rgba(13,31,21,.06), 0 2px 8px rgba(13,31,21,.06);
  --shadow: 0 10px 30px -8px rgba(13,31,21,.22), 0 2px 6px rgba(13,31,21,.06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { background: var(--bg-grad) no-repeat, var(--bg); background-attachment: fixed; }
html, body { margin: 0; color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead { font-size: 1.05rem; line-height: 1.6; margin: 6px 0 20px; }
.city-about { padding: 10px 12px 6px; margin-top: 6px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.city-about:empty { display: none; }
.city-about h2 { font-size: .95rem; color: var(--text); margin: 4px 0 6px; letter-spacing: -.01em; }
.city-about p { margin: 0 0 8px; line-height: 1.5; }
.city-about .about-links { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.city-about .about-links li { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; padding-inline: 10px 6px; border-radius: 999px; background: var(--surface-2); }
.menu-pop .city-about a { display: inline; padding: 0; min-height: 0; font-size: .84rem; color: var(--text); font-weight: 600; }
.menu-pop .city-about a:hover { background: none; text-decoration: underline; }
.menu-pop .city-about .about-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line); color: var(--brand); text-decoration: none; }
.menu-pop .city-about .about-more svg { flex: none; inline-size: 16px; block-size: 16px; }
html[dir=rtl] .menu-pop .city-about .about-more svg { transform: scaleX(-1); }
.city-about .clv-line { display: flex; align-items: center; gap: 8px; color: var(--text); }
.city-about .pill { font-size: .7rem; padding: 1px 7px; }
.small { font-size: .85rem; }
.num { font-variant-numeric: tabular-nums; }
svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex: none; }
i[data-lucide] { display: inline-block; width: 18px; height: 18px; flex: none; }
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600;
  border: 1px solid var(--line); background: var(--surface-2); text-decoration: none; color: var(--text); transition: transform .15s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand-fill); color: var(--brand-ink); border-color: transparent; }
.btn.primary:hover { background: var(--brand-strong); }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 0 0 1.5px var(--accent-ring) inset, 0 6px 16px -6px rgba(0,0,0,.5); }
.btn.accent:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.icon-btn { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--text); font-weight: 600; transition: background .2s, transform .15s; }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn:active { transform: scale(.94); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.chip.on { background: var(--brand-fill); color: var(--brand-ink); border-color: transparent; }
.pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.pill.very_high { background: var(--vh); } .pill.high { background: var(--hi); } .pill.elevated { background: var(--el); color: #3a2500; } .pill.low { background: var(--surface-3); color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-block: 0 4px; margin-inline: 0 4px; }
.tag.pop-in { animation: popIn .4s var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms); }
input[type=text], textarea { font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; width: 100%; }
textarea { min-height: 56px; resize: vertical; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #22855a, #063d22); box-shadow: 0 0 0 1px rgba(244,241,230,.14) inset, 0 4px 12px -4px rgba(0,0,0,.5); flex: none; }
.logo svg { width: 96%; height: 96%; }
.clv { display: inline-flex; align-items: center; justify-content: center; gap: 1px; min-inline-size: 26px; block-size: 26px; padding-inline: 6px; border-radius: 999px; background: var(--clv); color: #fff; font-weight: 800; font-size: .85rem; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 3px color-mix(in srgb, var(--clv) 24%, transparent); flex: none; vertical-align: middle; }
.clv i { font-style: normal; font-size: .75em; }
.clv.sm { min-inline-size: 20px; block-size: 20px; padding-inline: 4px; font-size: .72rem; box-shadow: 0 0 0 2px color-mix(in srgb, var(--clv) 24%, transparent); }
.clv-0 { --clv: #6b7280; } .clv-1 { --clv: #237a3d; } .clv-2 { --clv: #5c7c16; } .clv-3 { --clv: #f0c419; color: #3a2500; } .clv-4 { --clv: #f5a524; color: #3a2500; }
.clv-5 { --clv: #f08c1e; color: #3a1a00; } .clv-6 { --clv: #c2410c; } .clv-7 { --clv: #b4320c; } .clv-8 { --clv: #b91c1c; } .clv-9 { --clv: #9f1239; } .clv-10 { --clv: #7f1d1d; }
.clv-na { --clv: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line) !important; }
.menu-credit { margin: 8px 6px 2px; font-size: 10.5px; line-height: 1.4; color: var(--muted); opacity: .8; }
.menu-pop .menu-credit a { display: inline; padding: 0; font: inherit; color: inherit; text-decoration: underline; }
.menu-pop .menu-credit a:hover { background: none; }
html[lang="ur"] .menu-credit { line-height: 1.9; }
body.app { height: 100dvh; overflow: hidden; }
#map { position: fixed; inset: 0; background: var(--surface-2); z-index: 0; }
.leaflet-container { font-family: inherit; background: var(--surface-2); }
:root[data-theme="dark"] .pw-raster { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.6); }
.leaflet-gl-layer { z-index: 1; }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { background: var(--glass) !important; color: var(--text) !important; backdrop-filter: blur(12px); border-color: var(--glass-border) !important; }
.leaflet-top.leaflet-right { top: 72px; }
.leaflet-control-attribution { background: var(--glass) !important; color: var(--muted) !important; border-radius: 8px 0 0 0; font-size: 10px; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-tooltip { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 8px; font-weight: 600; }
.leaflet-tooltip-top:before { border-top-color: var(--surface); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 12px 14px; min-width: 200px; }
.leaflet-popup-content .btn { padding: 6px 10px; font-size: .8rem; margin-top: 8px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
path.hex { transition: fill .5s var(--ease), fill-opacity .5s var(--ease), stroke .5s, stroke-opacity .5s, opacity .6s var(--ease); }
path.hex.vh { animation: hexGlow 2.4s ease-in-out infinite; }
@keyframes hexGlow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 5px rgba(179, 18, 58, .85)); } }
path.leaflet-interactive:focus { outline: none; }
path.hex.sel { filter: drop-shadow(0 0 5px var(--hex-glow)) drop-shadow(0 0 14px var(--hex-glow-soft)); transform-box: fill-box; transform-origin: center;
  animation: hexPop .55s var(--spring) both, hexBreathe 2.8s ease-in-out .6s infinite; }
@keyframes hexPop { 0% { transform: scale(.88); } 55% { transform: scale(1.06); } 100% { transform: none; } }
@keyframes hexBreathe { 50% { filter: drop-shadow(0 0 3px var(--hex-glow)) drop-shadow(0 0 7px var(--hex-glow-soft)); } }
path.hex-ripple { fill: none; stroke: var(--accent-line); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; pointer-events: none;
  animation: hexRipple .9s var(--ease) forwards; }
@keyframes hexRipple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { path.hex.sel { animation: none; } path.hex-ripple { display: none; } }
path.route-line { transition: stroke-dashoffset 1.4s var(--ease); }
path.route-main { stroke: var(--brand); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 3000; background: linear-gradient(90deg, var(--brand), var(--accent-line)); opacity: 0; pointer-events: none; }
.progress.on { opacity: 1; width: 75%; transition: width 3s cubic-bezier(.1, .7, .2, 1); }
.progress.done { opacity: 0; width: 100%; transition: width .2s, opacity .4s .2s; }
.hud-top { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 1100; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; max-width: calc(100% - 200px); }
.hud-top .brand { padding: 0 6px; }
.hud-top .brand-name { font-size: 1.02rem; }
.divider { width: 1px; align-self: stretch; background: var(--line); margin: 4px 2px; }
.city-btn { display: flex; flex-direction: column; align-items: flex-start; padding: 3px 10px; border-radius: 12px; border: 0; background: transparent; text-align: start; min-width: 0; transition: background .2s; }
.city-btn:hover { background: var(--surface-3); }
.city-btn .city-name { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 1.02rem; }
.city-btn .city-name svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.city-btn[aria-expanded="true"] .city-name svg { transform: rotate(180deg); }
.city-status { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; max-width: 100%; }
.city-status > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; animation: livePulse 2s infinite; }
.live-dot.off { background: var(--muted); animation: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 106, .55); } 70% { box-shadow: 0 0 0 8px rgba(47, 158, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 106, 0); } }
.hud-right { position: fixed; top: 12px; inset-inline-end: 12px; z-index: 1100; display: flex; gap: 2px; padding: 6px; border-radius: 16px; }
.pop { position: fixed; z-index: 1200; border-radius: 16px; padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left;
  pointer-events: none; visibility: hidden; transition: opacity .18s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.pop.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .18s var(--ease), transform .25s var(--ease); }
.city-pop { top: 70px; inset-inline-start: 12px; width: min(360px, calc(100% - 24px)); max-height: calc(100dvh - 90px); overflow-y: auto; }
.pop-title { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px 4px; }
.city-pop .row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 12px; border: 0; background: transparent; text-align: start; color: var(--text); }
.city-pop .row:hover, .city-pop .row.cur { background: var(--surface-3); }
.city-pop .row .nm { flex: 1; min-width: 0; }
.city-pop .row .nm b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 600; min-width: 0; }
.city-pop .row-lv { flex: none; inline-size: 30px; display: grid; place-items: center; }
.city-pop .row .nm span { font-size: .76rem; color: var(--muted); }
.city-pop .alt { font-family: var(--font-ur); font-size: .8rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.city-pop .alt[lang="en"] { font-family: var(--font); font-size: .78rem; }
.spark { width: 64px; height: 22px; flex: none; }
.menu-pop { top: 70px; inset-inline-end: 12px; width: 300px; max-height: calc(100dvh - 90px); overflow-y: auto; transform-origin: top right; }
html[dir=rtl] .pop { transform-origin: top right; }
html[dir=rtl] .menu-pop { transform-origin: top left; }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); background: transparent; border: 0; text-align: start; font-size: .92rem; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface-3); }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }
.menu-pop #notifyItem.on svg { color: var(--brand); }
.menu-pop .menu-state { margin-inline-start: auto; color: var(--brand); font-size: .78rem; font-weight: 700; }
.theme-seg { display: flex; gap: 4px; padding: 4px 6px 6px; }
.theme-seg button { flex: 1; justify-content: center; padding: 7px; border: 1px solid var(--line); border-radius: 10px; font-size: .78rem; gap: 4px; }
.theme-seg button.on { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.under-top { position: fixed; top: 74px; inset-inline-start: 12px; z-index: 1050; display: flex; flex-direction: column; gap: 8px; max-width: min(520px, calc(100% - 24px)); align-items: flex-start; pointer-events: none; }
.under-top > * { pointer-events: auto; }
.follows { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.follows:empty { display: none; }
.follows .chip { background: var(--glass); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); border-color: var(--glass-border); animation: popIn .4s var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms); }
.notice { display: flex; align-items: center; gap: 8px; font-size: .78rem; padding-block: 6px; padding-inline: 12px 6px; border-radius: 12px; background: rgba(245, 165, 36, .18); color: var(--text);
  border: 1px solid rgba(245, 165, 36, .4); backdrop-filter: blur(12px); animation: riseIn .5s .4s var(--ease) both; }
.notice button { border: 0; background: transparent; padding: 2px; display: grid; place-items: center; color: var(--muted); }
.notice.gone { animation: toastOut .3s var(--ease) forwards; }
.legend { display: flex; align-items: center; gap: 10px; font-size: .74rem; padding: 6px 12px; border-radius: 12px; flex-wrap: wrap; }
.legend .k { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.legend .reported-key { width: 11px; height: 11px; border: 2px dashed var(--accent-line); border-radius: 3px; background: transparent; }
.timeline { position: fixed; bottom: 16px; inset-inline-start: 16px; z-index: 1000; width: min(640px, calc(100% - 260px)); border-radius: 20px; padding: 12px 14px 10px; transition: transform .45s var(--ease), opacity .3s; }
.tl-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.now-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: .82rem; transition: background .2s, color .2s; }
.now-btn.on { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.play-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--text); color: var(--bg); transition: transform .25s var(--spring), background .2s; flex: none; }
.play-btn:hover { transform: scale(1.08); }
.play-btn:active { transform: scale(.9); }
.play-btn.playing { background: var(--accent); color: var(--accent-ink); }
.play-btn svg { width: 15px; height: 15px; }
.time-big { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 58px; }
.seg { position: relative; display: flex; margin-inline-start: auto; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; direction: ltr; }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 4px 9px; font-size: .76rem; font-weight: 600; color: var(--muted); border-radius: 999px; transition: color .25s; white-space: nowrap; }
.seg button.on { color: var(--brand-ink); }
.seg .ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: 999px; background: var(--brand-fill); transition: left .4s var(--spring), width .4s var(--spring); }
html[lang=ur] .seg button { font-size: .7rem; padding: 0 7px; }
.ribbon { position: relative; height: 30px; touch-action: none; cursor: pointer; direction: ltr; user-select: none; -webkit-user-select: none; }
.ribbon-track { position: absolute; inset: 4px 0; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.ribbon-track i { border-radius: 4px; background: var(--ribbon-empty); transition: background .6s var(--ease), transform .35s var(--spring); transform-origin: bottom; }
.ribbon-track i.cur { transform: scaleY(1.28); }
.ribbon-thumb { position: absolute; top: -3px; bottom: -3px; width: 0; left: 0; transition: left .35s var(--ease); pointer-events: none; }
.ribbon.dragging .ribbon-thumb, .ribbon.playing .ribbon-thumb { transition: left .15s linear; }
.ribbon-thumb::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; border-radius: 4px; background: var(--text); box-shadow: 0 0 0 3px var(--surface); }
.ribbon-thumb span { position: absolute; top: -22px; left: 0; transform: translateX(-50%); font-size: 14px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.ribbon-now { position: absolute; bottom: -7px; width: 0; height: 0; border-inline: 5px solid transparent; border-bottom: 6px solid var(--brand); transform: translateX(-50%); pointer-events: none; transition: left .4s var(--ease); }
.ribbon-axis { display: flex; justify-content: space-between; font-size: .66rem; color: var(--muted); margin-top: 6px; direction: ltr; font-variant-numeric: tabular-nums; }
.dial { position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: inset-inline-end .45s var(--ease), opacity .3s, transform .3s; }
.dial-items { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--glass-border); border-radius: 999px; padding: 11px 16px; font-weight: 700; font-size: .9rem;
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--text); box-shadow: var(--shadow); transition: transform .25s var(--spring), box-shadow .2s; }
body.trip-on #tripBtn { border-color: color-mix(in srgb, var(--ok) 60%, transparent); color: var(--brand); }
.fab:hover { transform: translateY(-2px); }
.fab:active { transform: scale(.95); }
.fab.accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 0 0 1.5px var(--accent-ring) inset, 0 10px 24px -8px rgba(0,0,0,.55); padding: 14px 20px; font-size: 1rem; }
.fab-toggle { display: none; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1.5px var(--accent-ring) inset, 0 10px 24px -6px rgba(0,0,0,.55); place-items: center; transition: transform .35s var(--spring); }
.fab-toggle svg { width: 26px; height: 26px; transition: transform .4s var(--spring); }
.dial.open .fab-toggle svg { transform: rotate(135deg); }
body.sheet-open .dial { opacity: 0; pointer-events: none; transform: scale(.9); }
@media (min-width: 900px) {
  body.sheet-open .dial { opacity: 1; pointer-events: auto; transform: none; inset-inline-end: 440px; }
  body.sheet-open .timeline { width: min(640px, calc(100% - 700px)); }
}
.toasts { position: fixed; top: calc(var(--safe-t, 0px) + 16px); left: 50%; transform: translateX(-50%); z-index: 5000; display: flex; flex-direction: column;
  gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 24px); max-width: 440px; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 16px; border-radius: 16px; font-weight: 600; font-size: .92rem; line-height: 1.35;
  background: rgba(8, 26, 17, .94); color: #f4f1e6; border: 1px solid rgba(244, 241, 230, .14);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  animation: toastIn .42s var(--spring) both; pointer-events: auto; }
.toast svg { flex: none; width: 20px; height: 20px; }
.toast span { unicode-bidi: plaintext; }
.toast.ok svg { color: #5fd08f; }
.toast.err { background: rgba(150, 22, 44, .96); border-color: rgba(255, 255, 255, .16); color: #fff; }
.toast.err svg { color: #ffd2d9; }
.toast.out { animation: toastOut .28s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97); } }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25);
  max-height: 78dvh; display: flex; flex-direction: column; transform: translateY(105%); visibility: hidden;
  transition: transform .5s var(--ease), max-height .35s var(--ease), visibility 0s .5s; }
.sheet.open { transform: none; visibility: visible; transition: transform .5s var(--ease), max-height .35s var(--ease); }
.sheet.full { max-height: 94dvh; }
.sheet.dragging { transition: none; }
.sheet-head { flex: none; padding: 8px 16px 0; touch-action: none; cursor: grab; position: relative; min-height: 22px; }
.grab { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 6px; }
.sheet .x { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; z-index: 2; transition: transform .2s, background .2s; }
.sheet .x:hover { background: var(--surface-3); transform: rotate(90deg); }
.sheet-body { overflow-y: auto; padding: 0 18px 24px; overscroll-behavior: contain; }
@media (min-width: 900px) {
  .sheet { left: auto; right: 16px; top: 16px; bottom: 16px; width: 408px; border-radius: 22px; max-height: none; transform: translateX(calc(100% + 32px)); }
  html[dir=rtl] .sheet { right: auto; left: 16px; transform: translateX(calc(-100% - 32px)); }
  .sheet.open, html[dir=rtl] .sheet.open { transform: none; }
  .sheet-head { cursor: default; }
  .grab { visibility: hidden; }
}
.sheet h2 { margin-block: 4px 2px; margin-inline: 0 44px; font-size: 1.4rem; letter-spacing: -.02em; }
.sheet h3 { margin: 20px 0 8px; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
html[lang=ur] .sheet h3 { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.sub { color: var(--muted); font-size: .84rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.anim-in > * { animation: riseIn .5s var(--ease) both; }
.anim-in > *:nth-child(2) { animation-delay: .04s; } .anim-in > *:nth-child(3) { animation-delay: .08s; } .anim-in > *:nth-child(4) { animation-delay: .12s; }
.anim-in > *:nth-child(5) { animation-delay: .16s; } .anim-in > *:nth-child(6) { animation-delay: .2s; } .anim-in > *:nth-child(n+7) { animation-delay: .24s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } }
.score-card { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.score-ring { position: relative; width: 78px; height: 78px; flex: none; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 7; }
.score-ring .bg { stroke: var(--surface-3); }
.score-ring .fg { stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease), stroke .5s; }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; padding-bottom: 8px; }
.score-ring small { position: absolute; inset-inline: 0; bottom: 17px; text-align: center; font-size: .68rem; font-weight: 700; color: var(--muted); }
.risk-label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
html[lang=ur] .risk-label { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.why { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.why li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.4; }
.why li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 1px; }
.why-more { margin: 8px 0 0; }
.score-meta { flex: 1; min-width: 0; }
.score-meta .pill { font-size: .85rem; padding: 3px 10px; }
.scalebar { position: relative; height: 8px; border-radius: 8px; margin: 12px 0 4px; direction: ltr;
  background: linear-gradient(90deg, var(--surface-3) 38%, var(--el) 50%, var(--hi) 70%, var(--vh)); }
.scalebar .tick { position: absolute; left: 35%; top: -4px; width: 2px; height: 16px; background: var(--text); opacity: .5; border-radius: 2px; }
.scalebar .pos { position: absolute; top: -5px; left: 100%; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--text); transform: translateX(-50%);
  transition: left 1.1s var(--ease); box-shadow: var(--shadow-sm); }
.scale-lbl { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); direction: ltr; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 84px; margin-top: 22px; direction: ltr; }
.bars div { flex: 1; border-radius: 4px 4px 2px 2px; min-height: 3px; cursor: pointer; position: relative; transform-origin: bottom; animation: barUp .6s var(--ease) both; animation-delay: calc(var(--i) * 18ms); transition: filter .2s, opacity .2s; }
.bars div:hover { filter: brightness(1.15); }
.bars div.sel { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.bars div.best::after { content: "★"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--brand); }
.bars-axis { display: flex; justify-content: space-between; font-size: .66rem; color: var(--muted); direction: ltr; margin-top: 5px; }
@keyframes barUp { from { transform: scaleY(0); } }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.row-actions .btn { flex: 1; min-width: 110px; }
.sources { padding-inline-start: 18px; margin: 4px 0; font-size: .88rem; }
.sources li { margin: 3px 0; }
.tabs { position: relative; display: flex; padding: 4px; border-radius: 14px; background: var(--surface-2); margin: 12px 0 4px; }
.tabs button { flex: 1; position: relative; z-index: 1; padding: 9px; border-radius: 10px; border: 0; background: transparent; font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; transition: color .25s; }
.tabs button.on { color: var(--brand-ink); }
.tabs .ind { position: absolute; top: 4px; bottom: 4px; width: calc(50% - 4px); inset-inline-start: 4px; border-radius: 10px; background: var(--brand-fill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 12px -4px rgba(0,0,0,.45); transition: transform .4s var(--spring); }
.tabs.second .ind { transform: translateX(100%); }
html[dir=rtl] .tabs.second .ind { transform: translateX(-100%); }
.grid-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.grid-choices button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; text-align: start;
  transition: border-color .2s, background .2s, transform .25s var(--spring); animation: popIn .4s var(--spring) both; animation-delay: calc(var(--i, 0) * 40ms); }
.grid-choices button .em { font-size: 1.3rem; }
.grid-choices button:hover { background: var(--surface-2); }
.grid-choices button.on { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-line) inset; transform: scale(1.03); }
.loc-row { display: flex; gap: 8px; }
.loc-row .btn { flex: 1; }
#note { margin-top: 10px; }
.hint-line, .tester-note { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.hint-line svg, .tester-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.tester-note { padding: 10px 12px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--el) 16%, var(--surface)); color: var(--text);
  border: 1px solid color-mix(in srgb, var(--el) 45%, transparent); }
.tester-note svg { color: color-mix(in srgb, var(--el) 70%, var(--text)); }
@media (min-width: 721px) {
  .row-actions.sticky-wide { position: sticky; bottom: 0; z-index: 2; margin-inline: -18px; padding: 14px 18px 12px; margin-bottom: -12px;
    background: linear-gradient(to bottom, transparent, var(--surface) 22px); }
}
.row-actions.sticky { position: sticky; bottom: 0; z-index: 2; margin-inline: -18px; padding: 14px 18px 12px; margin-bottom: -12px;
  background: linear-gradient(to bottom, transparent, var(--surface) 22px); }
.check { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.done-anim { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 6px; text-align: center; }
.done-anim svg { width: 68px; height: 68px; }
.done-anim circle { fill: none; stroke: var(--brand); stroke-width: 4; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .6s var(--ease) forwards; }
.done-anim path { fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .4s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.copyrow { display: flex; gap: 6px; }
.copyrow input { flex: 1; min-width: 0; }
.trip-live { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-top: 10px; }
.big-time { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sk { border-radius: 10px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pin-wrap { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2.5px solid var(--text); box-shadow: var(--shadow);
  position: relative; animation: pinDrop .6s var(--spring) both; animation-delay: var(--d, 0s); }
.pin-wrap .pin { font-size: 18px; line-height: 1; }
.pin-wrap.unconfirmed { border-style: dashed; }
.pin-wrap.unconfirmed::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent-line); animation: ring 2s ease-out infinite; }
.pin-wrap.sample { opacity: .8; }
.pin-wrap.fresh::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--accent-line); opacity: .5; animation: ripple 1.2s ease-out 3; z-index: -1; }
@keyframes pinDrop { 0% { opacity: 0; transform: translateY(-24px) scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ripple { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
.pin-wrap, .choke { transition: scale .3s var(--ease); }
.pins-mid .pin-wrap { scale: .78; }
.pins-far .pin-wrap { scale: .52; border-width: 3px; }
.pins-far .pin-wrap.unconfirmed::after { display: none; }
.pins-far .choke { scale: .75; }
.choke { font-size: 17px; animation: pinDrop .5s var(--spring) both; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.inc { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: color-mix(in srgb, var(--c) 22%, var(--surface)); border: 2px solid var(--c); box-shadow: 0 2px 8px color-mix(in srgb, var(--c) 45%, transparent);
  animation: incIn .55s var(--spring) both; animation-delay: var(--d, 0s); transition: scale .3s var(--ease), box-shadow .3s var(--ease); cursor: pointer; }
.inc span { font-size: 13px; line-height: 1; transition: opacity .2s var(--ease); }
.inc.town { border-style: dashed; box-shadow: none; background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.inc.town span { opacity: .75; }
.inc.fresh::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c); animation: ring 2.4s ease-out infinite; }
.inc.sel { scale: 1.35; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent), 0 4px 14px color-mix(in srgb, var(--c) 55%, transparent); z-index: 1; }
.pins-mid .inc { scale: .82; }
.pins-mid .inc.sel { scale: 1.2; }
.pins-far .inc { scale: .42; background: var(--c); }
.pins-far .inc span { opacity: 0; }
.pins-far .inc.fresh::after { display: none; }
@keyframes incIn { 0% { opacity: 0; transform: scale(.3); } 100% { opacity: 1; transform: none; } }
.inc-hero { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; font-weight: 700; font-size: .86rem;
  background: color-mix(in srgb, var(--c) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--text);
  animation: popIn .45s var(--spring) both; }
.inc-emoji { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, var(--surface)); }
.inc-new { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--c); color: #fff; margin-inline-start: 2px; }
.inc-quote { margin: 12px 0 4px; padding-block: 10px; padding-inline: 14px 12px; border-inline-start: 3px solid var(--accent-line); background: var(--surface-2);
  border-radius: var(--radius-sm); font-size: .92rem; line-height: 1.5; }
.inc-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: .78rem; color: var(--muted); }
.inc-facts { display: grid; gap: 8px; margin: 14px 0 6px; }
.inc-fact { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2);
  animation: popIn .4s var(--spring) both; }
.inc-fact:nth-child(2) { animation-delay: 60ms; } .inc-fact:nth-child(3) { animation-delay: 120ms; }
.inc-fact > span { color: var(--muted); font-size: .84rem; }
.inc-fact > b { font-size: .9rem; text-align: end; }
.inc-fact a { color: inherit; }
.inc-usual { display: flex; gap: 6px; align-items: center; }
.inc-tip { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; padding: 12px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--el) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--el) 35%, transparent); font-size: .88rem; line-height: 1.45; }
.inc-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; }
.inc-list li { animation: popIn .4s var(--spring) both; animation-delay: calc(var(--i, 0) * 50ms); }
.inc-list .linkish { display: flex; gap: 8px; align-items: center; width: 100%; padding: 8px 4px; background: none; border: 0; color: var(--text); font: inherit; text-align: start; cursor: pointer; border-radius: var(--radius-sm); }
.inc-list .linkish:hover, .inc-list .linkish:focus-visible { background: var(--surface-2); }
.inc-list .linkish { text-decoration: none; line-height: 1.35; }
.inc-list .linkish .muted { margin-inline-start: auto; white-space: nowrap; padding-inline-start: 8px; text-decoration: none; }
.inc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.archive-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); box-shadow: var(--edge); border: 1px solid var(--line); border-inline-start: 3px solid var(--accent-line); }
.incident-about blockquote { margin: 8px 0; padding-inline-start: 12px; border-inline-start: 3px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .inc, .inc-hero, .inc-fact, .inc-list li { animation: none; } .inc.fresh::after { animation: none; opacity: .6; } }
.pulse { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.pulse:empty { display: none; }
.pulse-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; font: inherit; font-size: .84rem; white-space: nowrap; cursor: pointer;
  color: var(--text); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  animation: popIn .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms); transition: transform .2s var(--ease); }
.pulse-chip:active { transform: scale(.96); }
.pulse-chip b { font-variant-numeric: tabular-nums; font-weight: 800; }
.pulse-chip svg { width: 16px; height: 16px; }
.pulse-chip.hot svg { color: var(--vh); } .pulse-chip.warm svg { color: var(--hi); } .pulse-chip.calm svg { color: var(--el); }
.pulse-chip.hot { position: relative; }
.pulse-chip.hot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--vh); box-shadow: 0 0 0 0 var(--vh); animation: livePulse 1.8s ease-out infinite; }
.pulse-chip.bump { animation: bump .5s var(--spring); }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vh) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.empty-state { display: grid; place-items: center; gap: 8px; padding: 22px 12px; text-align: center; color: var(--muted); }
.empty-state svg { width: 28px; height: 28px; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .pulse-chip, .pulse-chip.bump { animation: none; } .pulse-chip.hot::before { animation: none; } }
.help-btn { translate: 0 52px; }
.help-btn svg { color: var(--help); }
.help-btn.on { background: var(--help-soft); border-color: var(--help); }
@media (max-width: 720px) { .help-btn { translate: 0 -48px; } }
.help-pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; background: var(--surface-2); cursor: pointer;
  border: 1.5px solid var(--help); box-shadow: var(--shadow-sm); animation: pinDrop .45s var(--spring) both; transition: scale .3s var(--ease); }
.pins-far .help-pin { scale: .75; }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.help-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface-2); box-shadow: var(--edge); }
.help-go { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.help-list .linkish { color: var(--text); text-decoration: none; }
.help-go > span:last-child { display: grid; min-width: 0; line-height: 1.35; }
.help-go b { font-weight: 650; overflow-wrap: anywhere; }
.help-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--help-soft); font-size: 16px; }
.help-call { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--help);
  color: var(--text); text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.help-call svg { width: 16px; height: 16px; color: var(--help); }
.help-bar { display: flex; gap: 6px; margin-block-end: 6px; }
.help-bar[hidden] { display: none; }
.help-bar .help-call { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.help-bar .help-call span { font-weight: 500; color: var(--muted); }
.notices { display: grid; gap: 6px; margin-block-end: 6px; }
.notices[hidden] { display: none; }
.notice-line { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--glass-border); color: var(--text);
  text-decoration: none; font-size: .86rem; box-shadow: var(--shadow-sm); }
.notice-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help-hero { --c: var(--help); }
.help-area { stroke: var(--help); stroke-width: 2; stroke-dasharray: 6 6; fill: var(--help); fill-opacity: .08; }
.help-call-big { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin: 12px 0 4px; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .help-pin { animation: none; } }
.near-btn { translate: 0 104px; }
.near-btn svg { color: var(--brand); }
@media (max-width: 720px) { .near-btn { translate: 0 -96px; } }
:root { --cat-armed_robbery: #e5484d; --cat-killing: #b3123a; --cat-snatching: #f76b15; --cat-theft: #e5a000; --cat-harassment: #8e4ec6; --cat-kidnapping: #3e63dd; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.hub-chips .chip { text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.hub-chips .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.inc-hub a { display: inline-flex; align-items: center; gap: 8px; }
.inc-hub .small { white-space: nowrap; }
.hub-pages { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 0; }
.route-dot { width: 18px; height: 18px; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow); animation: popIn .4s var(--spring) both; }
:root { --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px); }
.time-big { border: 0; background: transparent; padding: 0; cursor: default; color: inherit; font-family: inherit; text-align: start; }
.tl-more, .tl-extra, .tabbar { display: none; }
.locate-btn { position: fixed; top: 176px; inset-inline-end: 12px; z-index: 1000; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--text); border: 1px solid var(--glass-border); transition: transform .2s var(--spring), color .2s; }
.locate-btn:active { transform: scale(.92); }
.locate-btn.busy svg { animation: spin 1.1s linear infinite; }
.locate-btn.on { color: #2f7cf6; }
@keyframes spin { to { transform: rotate(360deg); } }
.me-dot { width: 18px; height: 18px; border-radius: 50%; background: #2f7cf6; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(47, 124, 246, .5), var(--shadow-sm); animation: mePulse 2s infinite; }
@keyframes mePulse { 0% { box-shadow: 0 0 0 0 rgba(47, 124, 246, .45), var(--shadow-sm); } 70% { box-shadow: 0 0 0 16px rgba(47, 124, 246, 0), var(--shadow-sm); } 100% { box-shadow: 0 0 0 0 rgba(47, 124, 246, 0), var(--shadow-sm); } }
.scrim { position: fixed; inset: 0; z-index: 1140; background: rgba(6, 10, 8, .42); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); -webkit-tap-highlight-color: transparent; }
body.pop-open .scrim { opacity: 1; pointer-events: auto; z-index: 1190; }
.menu-pop .install-item { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; padding: 12px; border-radius: 12px; background: var(--brand-soft); color: var(--text); }
.menu-pop .install-item[hidden], .menu-pop #staffItem[hidden] { display: none; }
.menu-pop .install-item svg { color: var(--brand); }
.menu-pop .install-item span { display: flex; flex-direction: column; line-height: 1.25; }
.menu-pop .install-item small { color: var(--muted); font-size: .76rem; }
.city-search { position: relative; margin: 4px 4px 6px; }
.city-search input { width: 100%; font: inherit; font-size: 16px; padding-block: 10px; padding-inline: 38px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.city-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.city-search svg { position: absolute; top: 50%; inset-inline-start: 12px; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.city-pop .none { padding: 18px; text-align: center; color: var(--muted); font-size: .9rem; }
.install-card { position: fixed; z-index: 3500; left: 50%; bottom: calc(var(--dock-h, 16px) + 12px); width: min(440px, calc(100% - 20px)); transform: translate(-50%, calc(100% + var(--dock-h, 16px) + 40px)); opacity: 0; visibility: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.4); transition: transform .5s var(--spring), opacity .3s, visibility 0s .5s; }
.install-card.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--spring), opacity .3s; }
body.pop-open .install-card, body.sheet-open .install-card, body.picking .install-card, body.sharing .install-card { transform: translate(-50%, calc(100% + var(--dock-h, 16px) + 40px)); opacity: 0; visibility: hidden; transition: transform .5s var(--spring), opacity .3s, visibility 0s .5s; }
.install-card img { border-radius: 14px; box-shadow: var(--shadow-sm); }
.install-card .ic-text b { display: block; font-size: 1rem; letter-spacing: -.01em; }
.install-card .ic-text span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.install-card .ic-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.install-card .ic-actions .btn { flex: 1; min-height: 44px; }
.ios-sheet-wrap { position: fixed; inset: 0; z-index: 3600; background: rgba(6, 10, 8, .45); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; justify-content: center; }
.ios-sheet-wrap.show { opacity: 1; }
.ios-sheet { position: relative; width: min(480px, 100%); background: var(--surface); border-radius: 26px 26px 0 0; padding: 10px 22px calc(22px + var(--safe-b)); text-align: center;
  transform: translateY(100%); transition: transform .45s var(--ease); }
.ios-sheet-wrap.show .ios-sheet { transform: none; }
.ios-sheet .grab { margin-bottom: 16px; }
.ios-app-icon { border-radius: 16px; box-shadow: var(--shadow); }
.ios-sheet h2 { margin: 14px 0 16px; font-size: 1.2rem; letter-spacing: -.02em; }
.ios-steps { list-style: none; margin: 0 0 20px; padding: 0; text-align: start; display: flex; flex-direction: column; gap: 10px; }
.ios-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .95rem; }
.ios-steps .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-fill); color: var(--brand-ink); font-weight: 800; font-size: .85rem; flex: none; }
.ios-steps .kbd { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; padding: 3px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: #2f7cf6; font-weight: 600; font-size: .88rem; }
.ios-steps small { display: block; color: var(--muted); font-size: .78rem; }
.ios-sheet .btn { width: 100%; min-height: 48px; font-size: 1rem; }
.net-banner { position: fixed; z-index: 3400; left: 50%; top: calc(var(--safe-t) + 10px); transform: translate(-50%, -160%); display: flex; align-items: center; gap: 10px;
  padding-block: 8px; padding-inline: 14px 8px; min-height: 40px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: .86rem; font-weight: 600; box-shadow: var(--shadow);
  transition: transform .45s var(--spring); max-width: calc(100% - 24px); }
.net-banner.show { transform: translate(-50%, 0); }
.net-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.net-banner.warn .dot { background: var(--el); }
.net-banner .txt { padding-inline-end: 6px; }
.net-banner button { border: 0; border-radius: 999px; padding: 6px 12px; background: var(--brand-fill); color: var(--brand-ink); font-weight: 700; font-size: .82rem; }
body.center-page { min-height: 100dvh; display: grid; place-items: center; padding: calc(24px + var(--safe-t)) 20px calc(24px + var(--safe-b)); }
.center-card { max-width: 420px; text-align: center; animation: riseIn .6s var(--ease) both; }
.center-card h1 { margin: 16px 0 8px; font-size: 1.8rem; letter-spacing: -.03em; }
.center-card p { line-height: 1.55; }
.center-card .ur { font-family: var(--font-ur), var(--font); margin-top: 22px; }
.center-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.center-actions .btn { min-height: 46px; padding-inline: 20px; }
.offline-art { position: relative; width: 96px; height: 96px; margin: 0 auto; }
.offline-art .logo { width: 96px; height: 96px; border-radius: 26px; }
.off-badge { position: absolute; inset-inline-end: -8px; bottom: -8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); }
.off-badge svg { width: 20px; }
.nf-head { display: flex; align-items: center; gap: 12px; }
.nf-head h2 { margin: 0; }
.nf-head p { margin: 2px 0 0; }
.nf-bell { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.nf-bell.on { background: var(--brand-soft); color: var(--brand); }
.nf-bell.on svg { animation: nfRing 1.2s var(--ease) .2s 1 both; transform-origin: 50% 10%; }
@keyframes nfRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
.nf-points { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; gap: 10px; }
.nf-points li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--surface-2); animation: popIn .45s var(--spring) both; }
.nf-points li:nth-child(2) { animation-delay: 60ms; } .nf-points li:nth-child(3) { animation-delay: 120ms; }
.nf-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.nf-ico svg { width: 18px; height: 18px; }
.nf-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nf-txt b { font-weight: 600; font-size: .93rem; }
.nf-txt small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.nf-sec { margin-top: 20px; }
.nf-sec h3 { margin: 0 0 4px; }
.nf-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.nf-row.nf-col { flex-direction: column; align-items: stretch; gap: 8px; cursor: default; }
.nf-note { margin: 8px 0 2px; }
.nf-switch { appearance: none; -webkit-appearance: none; direction: ltr; position: relative; flex: none; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); cursor: pointer; transition: background .25s var(--ease); }
.nf-switch::before { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); opacity: .75; box-shadow: var(--shadow-sm); transition: transform .3s var(--spring), opacity .2s; }
.nf-switch:checked { background: var(--brand-fill); border-color: transparent; }
.nf-switch:checked::before { background: var(--brand-ink); opacity: 1; transform: translateX(20px); }
html[dir=rtl] .nf-switch { transform: scaleX(-1); }
.nf-switch:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.nf-seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.nf-seg button { flex: 1; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 600; font-size: .84rem; transition: background .2s, color .2s; }
.nf-seg button.on { background: var(--brand-fill); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.nf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.nf-chip { gap: 6px; padding-inline-end: 4px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); animation: popIn .35s var(--spring) both; }
.nf-chip > svg { width: 15px; height: 15px; color: var(--brand); }
.nf-chip[data-kind="city"] > svg { color: var(--muted); }
.nf-x { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.nf-x:hover { background: var(--surface-3); color: var(--text); }
.nf-x svg { width: 14px; height: 14px; }
.nf-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.nf-pause { display: flex; gap: 6px; }
.nf-paused { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: var(--brand-soft); font-size: .9rem; }
.nf-paused .btn { margin-inline-start: auto; }
.nf-msg { margin-top: 12px; }
.nf-msg p { margin: 0; max-width: 34ch; line-height: 1.5; }
.nf-ios { margin-top: 16px; }
.nf-ios h3 { margin: 0 0 4px; }
.nf-steps { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; gap: 8px; }
.nf-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: .93rem; animation: popIn .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 90ms); }
.nf-steps .n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand-fill); color: var(--brand-ink); font-weight: 800; font-size: .85rem; }
.nf-steps .kbd { display: inline-flex; vertical-align: middle; padding: 3px 7px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--brand); }
.nf-email-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nf-email-form input { flex: 1 1 200px; min-width: 0; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: 1rem; }
.nf-email-form .btn { flex: 0 0 auto; min-height: 46px; }
.nf-sent { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .nf-bell.on svg, .nf-points li, .nf-steps li, .nf-chip { animation: none; } }
@media (max-width: 720px) {
  :root { --tabbar-h: calc(58px + var(--safe-b)); --dock-h: calc(var(--tabbar-h) + var(--tl-h, 92px) + 12px); }
  html, body.app { overscroll-behavior: none; }
  body.app { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  body.app input, body.app textarea, body.app .sheet-body p, body.app .sheet-body li { -webkit-user-select: text; user-select: text; }
  input, textarea, select { font-size: 16px !important; }
  .hud-top { top: calc(var(--safe-t) + 8px); inset-inline-start: calc(var(--safe-l) + 8px); max-width: calc(100% - 84px); padding: 5px; border-radius: 18px; }
  .hud-top .brand-name, .hud-top .divider { display: none; }
  .hud-top .brand { padding: 0 2px; }
  .hud-top .logo { width: 38px; height: 38px; border-radius: 12px; }
  .city-btn { min-height: 42px; justify-content: center; padding-block: 2px; padding-inline: 8px 10px; }
  .city-btn .city-name { font-size: 1.05rem; }
  .hud-right { top: calc(var(--safe-t) + 8px); inset-inline-end: calc(var(--safe-r) + 8px); padding: 5px; border-radius: 18px; }
  .hud-right .icon-btn { min-width: 42px; height: 42px; }
  #menuBtn { display: none; }
  .locate-btn { top: calc(var(--safe-t) + 70px); inset-inline-end: calc(var(--safe-r) + 8px); width: 46px; height: 46px; }
  .under-top { top: calc(var(--safe-t) + 70px); inset-inline-start: calc(var(--safe-l) + 8px); max-width: calc(100% - 76px); }
  .under-top .legend { display: none; }
  .notice { font-size: .76rem; }
  .leaflet-control-zoom { display: none; }
  .leaflet-bottom { bottom: calc(var(--dock-h) + 2px); transition: bottom .35s var(--ease); }
  .leaflet-control-attribution { font-size: 9px; border-radius: 8px 0 0 8px; }
  body.sheet-open .leaflet-bottom { bottom: var(--tabbar-h); }
  .timeline { inset-inline: calc(var(--safe-l) + 8px) calc(var(--safe-r) + 8px); bottom: calc(var(--tabbar-h) + 12px); width: auto; padding: 10px 12px 8px; border-radius: 20px;
    transition: transform .45s var(--ease), opacity .3s; }
  .tl-row { gap: 8px; margin-bottom: 14px; flex-wrap: nowrap; }
  .play-btn { width: 38px; height: 38px; }
  .time-big { font-size: 1.2rem; min-width: 0; cursor: pointer; padding: 4px 2px; }
  .now-btn { min-height: 34px; }
  .timeline .seg { display: none; }
  .tl-more { display: grid; place-items: center; margin-inline-start: auto; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--surface-2); color: var(--muted); }
  .tl-more svg { transition: transform .35s var(--ease); }
  .ribbon { height: 34px; }
  .ribbon-axis { display: none; }
  .timeline.expanded .ribbon-axis { display: flex; }
  .timeline.expanded .seg { display: flex; order: 5; width: 100%; margin: 10px 0 0; justify-content: space-between; }
  .timeline.expanded .tl-row { flex-wrap: wrap; }
  .timeline.expanded .tl-more svg { transform: rotate(180deg); }
  .timeline.expanded .tl-extra { display: block; animation: riseIn .35s var(--ease); }
  .seg button { padding: 6px 6px; min-height: 32px; }
  .tl-extra { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .tl-extra .legend { padding: 0; background: none; border: 0; box-shadow: none; font-size: .76rem; }
  .tl-note { margin: 6px 0 0; font-size: .74rem; color: var(--muted); }
  body.sheet-open .timeline, body.picking .timeline { transform: translateY(calc(100% + var(--tabbar-h))); opacity: 0; pointer-events: none; }
  .dial { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 1160; left: 0; right: 0; bottom: 0; height: var(--tabbar-h);
    padding: 0 calc(var(--safe-r) + 4px) var(--safe-b) calc(var(--safe-l) + 4px); background: var(--glass); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-top: 1px solid var(--glass-border); }
  .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: var(--muted);
    font-size: .7rem; font-weight: 600; letter-spacing: .01em; min-height: 56px; -webkit-tap-highlight-color: transparent; transition: color .2s; }
  .tabbar button svg { width: 23px; height: 23px; transition: transform .35s var(--spring); }
  .tabbar button:active svg { transform: scale(.82); }
  .tabbar button.on { color: var(--brand); }
  body.trip-on .tabbar [data-tab="trip"] { color: var(--brand); }
  body.trip-on .tabbar [data-tab="trip"]::after { content: ""; position: absolute; top: 9px; inset-inline-start: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%;
    background: var(--ok); box-shadow: 0 0 0 2px var(--surface); animation: livePulse 2s infinite; }
  .tabbar button.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); animation: popIn .3s var(--spring); }
  .tabbar .tab-report { color: var(--text); }
  .tabbar .tab-report .bubble { width: 52px; height: 52px; margin-top: -14px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
    box-shadow: 0 0 0 1.5px var(--accent-ring) inset, 0 10px 22px -8px rgba(0,0,0,.6), 0 0 0 5px var(--bg); transition: transform .35s var(--spring), border-radius .35s var(--spring); }
  .tabbar .tab-report .bubble svg { width: 26px; height: 26px; }
  .tabbar .tab-report:active .bubble { transform: scale(.9); }
  .tabbar .tab-report.on .bubble { border-radius: 50%; transform: rotate(45deg); }
  .tabbar .tab-report.on::before { display: none; }
  html[lang=ur] .tabbar button { font-size: .72rem; }
  .pop { top: auto !important; bottom: 0; left: 0 !important; right: 0 !important; inset-inline: 0 !important; width: 100% !important; max-height: 82dvh; z-index: 1200;
    border-radius: 26px 26px 0 0; padding: 26px 10px calc(12px + var(--safe-b)); background: var(--surface); backdrop-filter: none; box-shadow: 0 -12px 40px rgba(0,0,0,.25);
    transform: translateY(100%); opacity: 1; transform-origin: bottom center; transition: transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; overscroll-behavior: contain; }
  .pop.open { transform: none; transition: transform .45s var(--ease); }
  .pop::before { content: ""; position: absolute; top: 9px; left: 50%; width: 42px; height: 5px; border-radius: 5px; background: var(--line); transform: translateX(-50%); }
  .pop-title { font-size: .95rem; text-transform: none; letter-spacing: -.01em; color: var(--text); padding: 4px 12px 10px; font-weight: 800; }
  .city-pop .row { padding: 12px; min-height: 60px; }
  .city-pop .row .nm b { font-size: 1.02rem; }
  .spark { width: 76px; height: 26px; }
  .menu-pop a, .menu-pop button { min-height: 50px; font-size: 1rem; padding: 12px 14px; }
  .menu-pop a svg, .menu-pop button svg { width: 20px; height: 20px; color: var(--muted); }
  .theme-seg button { min-height: 44px; font-size: .86rem; }
  .sheet { left: 0; right: 0; bottom: var(--tabbar-h); top: auto; height: calc(100dvh - var(--tabbar-h) - var(--safe-t) - 10px); max-height: none; border-radius: 24px 24px 0 0;
    transform: translateY(100%); box-shadow: 0 -10px 40px rgba(0,0,0,.22); z-index: 1150; }
  .sheet.open { transform: translateY(var(--sheet-y, 40%)); transition: transform .45s cubic-bezier(.2, .9, .25, 1), visibility 0s; }
  .sheet.full { max-height: none; }
  .sheet.dragging { transition: none !important; }
  .sheet-head { padding: 10px 16px 2px; cursor: grab; touch-action: none; }
  .grab { width: 42px; height: 5px; margin-bottom: 4px; }
  .sheet .x { width: 36px; height: 36px; top: 10px; }
  .sheet-body { padding: 0 18px calc(var(--sheet-y, 0px) + 44px); overscroll-behavior: contain; }
  .row-actions.sticky { padding-bottom: 8px; }
  .row-actions .btn.accent { flex-basis: 100%; }
  body.sheet-full .scrim { opacity: 1; pointer-events: auto; }
  .row-actions .btn, .loc-row .btn { min-height: 48px; }
  .grid-choices button { min-height: 56px; }
  .tabs button { min-height: 44px; }
  .toasts { top: calc(var(--hud-b, calc(var(--safe-t) + 56px)) + 8px); }
  body.picking .toasts, body.searching .toasts { top: calc(var(--safe-t) + 12px); }
  .net-banner { top: calc(var(--safe-t) + 66px); }
}
@media (max-width: 720px) and (display-mode: standalone) {
  .hud-top, .hud-right { top: calc(var(--safe-t) + 4px); }
}
.site-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); }
.site-head nav { margin-inline-start: auto; display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.site-head nav a { padding: 7px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 500; }
.site-head nav a:hover { background: var(--surface-3); }
@media (max-width: 560px) { .site-head .brand-name { display: none; } .site-head nav a { padding: 6px 7px; font-size: .82rem; } }
.page { max-width: 820px; margin: 0 auto; padding: 16px 20px 40px; }
.page h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.03em; margin: 22px 0 6px; }
.page h2 { margin-top: 34px; letter-spacing: -.02em; }
.page .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0; box-shadow: var(--shadow-sm); }
.btn.danger { background: transparent; color: #ff8a9c; border-color: color-mix(in srgb, var(--vh) 50%, transparent); }
:root[data-theme="light"] .btn.danger { color: var(--vh); }
.page .signup { margin-top: 34px; background: var(--brand-soft); border-color: transparent; }
.page .signup h2 { margin: 2px 0 4px; font-size: 1.2rem; }
.signup-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.signup-form input[type=email], .signup-form select { min-height: 46px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; }
.signup-form input[type=email] { flex: 1 1 220px; min-width: 0; }
.signup-form select { flex: 0 0 auto; }
.signup-form .btn { flex: 1 1 100%; min-height: 46px; }
@media (min-width: 721px) { .signup-form .btn { flex: 0 0 auto; } }
.manage-form fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.manage-form legend { font-weight: 700; margin-bottom: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--brand-fill); flex: none; }
.manage-form .btn { min-height: 46px; min-width: 160px; }
.manage-actions { position: sticky; bottom: 0; z-index: 1; margin: 0 -18px -16px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 720px) { .manage-actions .btn { width: 100%; } }
.manage-stop { margin: 18px 0 8px; }
.manage-stop .btn { min-height: 46px; }
.notice-line { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand-soft); font-weight: 600; }
.contact-row { display: block; padding: 12px 0; text-decoration: none; color: var(--text); }
.contact-row + .contact-row { border-top: 1px solid var(--line); }
.contact-row span { display: flex; flex-direction: column; gap: 3px; }
.contact-row small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.page > * { animation: riseIn .6s var(--ease) both; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); animation: riseIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.stat b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.toplist { list-style: none; padding: 0; margin: 0; }
.toplist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); animation: riseIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.toplist li:last-child { border-bottom: 0; }
.toplist a { color: var(--text); text-decoration: none; font-weight: 600; }
.toplist a:hover { color: var(--brand); }
.toplist li > a { min-width: 0; }
.toplist li > a .ur { display: block; margin-top: 2px; font-weight: 400; }
.toplist li > span:last-child { flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 8px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details[open] > *:not(summary) { animation: riseIn .35s var(--ease); }
code, pre { background: var(--surface-2); border-radius: 6px; padding: 2px 6px; font-size: .88em; }
pre { padding: 12px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
td, th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: start; }
footer.foot { color: var(--muted); font-size: .82rem; text-align: center; padding: 28px 16px 36px; }
footer.foot a { color: var(--muted); }
footer.foot .foot-credit { margin: 10px 0 0; font-size: .7rem; opacity: .7; }
.chart-wrap { position: relative; }
.chart-tip { position: absolute; top: 0; pointer-events: none; background: var(--text); color: var(--bg); font-size: .76rem; font-weight: 600; padding: 5px 8px; border-radius: 8px; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; white-space: nowrap; }
.hero { position: relative; overflow: hidden; padding: 64px 20px 52px; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg svg { width: 100%; height: 100%; display: block;
  mask-image: radial-gradient(ellipse 62% 70% at 50% 40%, rgba(0,0,0,.18) 0%, rgba(0,0,0,.3) 30%, rgba(0,0,0,.85) 58%, transparent 76%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 42% 46% at 50% 42%, var(--brand-glow) 0%, transparent 70%); }
.hero-bg polygon { fill: var(--text); opacity: var(--hex-idle); transition: fill 2.5s ease, opacity 2.5s ease; }
.hero h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); line-height: 1.04; letter-spacing: -.045em; margin: 18px auto 14px; max-width: 15ch; animation: riseIn .8s var(--ease) both; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--el), var(--hi), var(--vh)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 560px; margin: 0 auto 26px; line-height: 1.55; animation: riseIn .8s .1s var(--ease) both; }
.hero .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; animation: riseIn .8s .2s var(--ease) both; }
.hero .btn { padding: 13px 20px; border-radius: 14px; font-size: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm); animation: riseIn .8s var(--ease) both; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.city-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--spring), box-shadow .3s, border-color .3s; animation: riseIn .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); overflow: hidden; }
.city-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow); border-color: var(--brand); }
.city-card.near { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow); }
.city-card .top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-inline-end: 24px; }
.city-card .top :is(.ur, .alt-name) { white-space: nowrap; }
.city-card h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.city-card .ur { font-family: var(--font-ur); color: var(--muted); font-size: .95rem; }
.city-card .meta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.city-card .meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.city-card svg.cspark { width: 100%; height: 54px; overflow: visible; }
.city-card .go { position: absolute; top: 20px; inset-inline-end: 18px; opacity: .35; transition: .3s var(--ease); color: var(--brand); }
.city-card:hover .go { opacity: 1; transform: translateX(3px); }
html[dir=rtl] .city-card .go { transform: scaleX(-1); }
.city-card .near-tag { display: none; font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; }
.city-card.near .near-tag { display: inline-flex; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.step { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.section-title { max-width: 1100px; margin: 44px auto 16px; padding: 0 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-title h2 { margin: 0; letter-spacing: -.02em; }
.site-back, .site-menu-btn { display: none; }
.site-head { padding-top: calc(12px + var(--safe-t)); padding-inline: calc(20px + var(--safe-l)) calc(20px + var(--safe-r)); }
.site-sheet-wrap { position: fixed; inset: 0; z-index: 3000; background: rgba(6, 10, 8, .42); opacity: 0; pointer-events: none; transition: opacity .3s; display: flex; align-items: flex-end; }
.site-sheet-wrap.show { opacity: 1; pointer-events: auto; }
.site-sheet { width: 100%; background: var(--surface); border-radius: 26px 26px 0 0; padding: 10px 14px calc(16px + var(--safe-b)); transform: translateY(100%); transition: transform .45s var(--ease); }
.site-sheet-wrap.show .site-sheet { transform: none; }
.site-sheet .grab { margin-bottom: 12px; }
.site-sheet nav { display: flex; flex-direction: column; }
.site-sheet nav a { padding: 14px 12px; min-height: 50px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.site-sheet nav a:active, .site-sheet nav a[aria-current] { background: var(--surface-2); }
.site-sheet-cta { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 6px; border-radius: 16px; background: var(--brand-fill); color: var(--brand-ink); text-decoration: none; font-weight: 700; font-size: 1.02rem; }
.site-sheet-cta span { flex: 1; }
.site-sheet-row { display: flex; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.site-sheet-row .btn { flex: 1; min-height: 48px; }
.site-sheet-row .btn[hidden] { display: none; }
.sticky-cta { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px calc(14px + var(--safe-r)) calc(10px + var(--safe-b)) calc(14px + var(--safe-l));
  background: linear-gradient(to top, var(--bg) 60%, transparent); transform: translateY(110%); transition: transform .4s var(--spring); pointer-events: none; }
.sticky-cta.show { transform: none; }
.sticky-cta.show ~ .install-card { bottom: calc(84px + var(--safe-b)); }
.sticky-cta .btn { width: 100%; min-height: 52px; font-size: 1rem; border-radius: 16px; pointer-events: auto; box-shadow: 0 12px 28px -12px var(--brand); }
.sticky-cta .btn span { flex: 1; text-align: center; }
@media (min-width: 721px) { .sticky-cta { display: none; } }
@media (max-width: 720px) {
  .site-head { gap: 6px; padding: calc(8px + var(--safe-t)) calc(10px + var(--safe-r)) 8px calc(10px + var(--safe-l)); }
  .site-head nav, .site-head #themeBtn { display: none; }
  .site-head .brand-name { display: inline; font-size: 1rem; }
  .site-back, .site-menu-btn { display: inline-grid; min-width: 44px; height: 44px; }
  .site-menu-btn { margin-inline-start: auto; }
  .page { padding: 8px 18px calc(40px + var(--safe-b)); }
  .page h1 { margin-top: 14px; }
  .hero { padding: 40px 18px 34px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero .ctas { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
  .hero .btn { min-height: 52px; justify-content: center; }
  .city-grid { grid-template-columns: 1fr; padding: 0 14px; gap: 10px; }
  .city-card { padding: 16px; border-radius: 18px; }
  .city-card:hover { transform: none; }
  .city-card:active { transform: scale(.985); }
  .steps { padding: 0 14px; }
  .section-title { padding: 0 16px; margin-top: 32px; }
  footer.foot { padding-bottom: calc(96px + var(--safe-b)); }
  details summary { min-height: 28px; align-items: center; }
}
.search-btn { display: inline-flex; align-items: center; gap: 8px; }
.search-btn span { font-size: .88rem; font-weight: 500; color: var(--muted); }
.search-btn kbd { font: 600 .72rem var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: var(--surface-2); }
@media (max-width: 1099px) { .search-btn span, .search-btn kbd { display: none; } }
.search-panel { position: fixed; z-index: 1400; top: 70px; inset-inline-start: 12px; width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 96px);
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: top left; pointer-events: none; visibility: hidden;
  transition: opacity .15s, transform .2s var(--ease), visibility 0s .2s; }
.search-panel.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .15s, transform .25s var(--ease); }
.sp-head { position: relative; display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.sp-back { display: none; }
html[dir=rtl] .sp-back svg { transform: scaleX(-1); }
.sp-field { position: relative; flex: 1; min-width: 0; }
.sp-field svg { position: absolute; top: 50%; inset-inline-start: 12px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.sp-field input { width: 100%; font: inherit; font-size: 16px; padding-block: 11px; padding-inline: 40px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); -webkit-appearance: none; appearance: none; }
.sp-field input::-webkit-search-cancel-button { display: none; }
.sp-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sp-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent);
  background-size: 40% 100%; background-repeat: no-repeat; opacity: 0; transition: opacity .2s; }
.search-panel.loading .sp-head::after { opacity: 1; animation: spBar 1s linear infinite; }
@keyframes spBar { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.sp-title { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 10px 16px 0; }
.sp-list { overflow-y: auto; overscroll-behavior: contain; padding: 6px; }
.sp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text);
  text-align: start; cursor: pointer; animation: riseIn .22s var(--ease) both; }
.sp-row[aria-selected="true"] { background: var(--surface-2); }
.sp-row:active { background: var(--surface-3); }
.sp-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--muted); }
.sp-row[aria-selected="true"] .sp-ic { background: var(--surface); }
.sp-row.extra .sp-ic { background: var(--brand-soft); color: var(--brand); }
.sp-ic svg { width: 18px; height: 18px; }
.sp-txt { flex: 1; min-width: 0; }
.sp-txt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-txt b mark { background: none; color: inherit; font-weight: 800; }
.sp-txt .ur { font-family: var(--font-ur); font-weight: 400; font-size: .82rem; color: var(--muted); margin-inline-start: 6px; }
.sp-txt small { display: block; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row .pill { flex: none; }
.sp-sec { display: flex; align-items: center; justify-content: space-between; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em; padding: 12px 10px 4px; }
.sp-sec button { border: 0; background: none; color: var(--brand); font: 600 .78rem var(--font); text-transform: none; letter-spacing: 0; padding: 4px 6px; }
.sp-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 28px 20px; color: var(--muted); }
.sp-empty svg { width: 28px; height: 28px; opacity: .7; }
.sp-empty b { color: var(--text); }
.sp-empty.soft { padding: 18px 20px; font-size: .88rem; }
.sp-status { font-size: .78rem; color: var(--muted); padding: 0 16px; }
.sp-status:not(:empty) { padding: 10px 16px 0; }
.sp-clear { flex: none; }
.place-pin { position: relative; width: 30px; height: 40px; animation: pinDrop .45s var(--spring) both; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.place-pin::before { content: ""; position: absolute; left: 3px; top: 0; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent-line); border: 3px solid #fff; }
.place-pin i { position: absolute; left: 11px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.place-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; }
.place-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.route-form { position: relative; margin-top: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.rf-field { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding-block: 8px; padding-inline: 14px 56px; border: 0; background: transparent; color: var(--text); text-align: start; cursor: pointer; border-radius: 16px; }
.route-form.single .rf-field { padding-inline-end: 8px; }
.rf-field + .rf-swap + .rf-field { border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.rf-field:hover { background: var(--surface-3); }
.rf-txt { flex: 1; min-width: 0; }
.rf-txt small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rf-txt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-txt b.muted { color: var(--muted); font-weight: 500; }
.rf-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--brand); background: var(--surface); display: inline-block; }
.rf-dot.to { border-color: var(--accent-line); background: var(--accent-line); }
.rf-swap { position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rf-swap:active { transform: translateY(-50%) rotate(180deg); transition: transform .3s var(--ease); }
.rf-x { flex: none; min-width: 34px; height: 34px; }
.route-ends { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; font-size: .9rem; margin-top: 4px; }
.route-ends svg { width: 15px; height: 15px; color: var(--muted); }
html[dir=rtl] .route-ends svg { transform: scaleX(-1); }
.linkish { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; text-align: start; }
@media (max-width: 720px) {
  .hud-top { max-width: calc(100% - 132px); }
  .search-panel { inset: 0; top: 0; width: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; background: var(--bg);
    padding: var(--safe-t) var(--safe-r) 0 var(--safe-l); transform: translateY(12px); transform-origin: center; }
  .search-panel.open { transform: none; }
  .sp-head { padding-block: 8px 10px; padding-inline: 4px 8px; background: var(--bg); border-bottom-color: transparent; }
  .sp-back { display: inline-grid; min-width: 44px; height: 44px; }
  .sp-list { flex: 1; padding: 4px 8px calc(16px + var(--safe-b)); }
  .sp-row { min-height: 58px; padding: 10px 8px; }
  .sp-ic { width: 40px; height: 40px; }
  body.searching .tabbar { visibility: hidden; }
}
.track-stack { position: fixed; z-index: 1100; inset-inline: 12px; bottom: calc(16px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.track-stack > * { pointer-events: auto; width: min(440px, 100%); }
.track-dest { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 18px; }
.track-dest b { display: block; font-weight: 700; }
.track-dest small { display: block; color: var(--muted); font-size: .82rem; }
.track-dest.arrived { background: var(--brand-fill); color: var(--brand-ink); }
.track-dest.arrived small { color: inherit; opacity: .85; }
.track-dest[hidden] { display: none; }
.track-gone { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.track-gone[hidden] { display: none; }
.track-gone .card { max-width: 360px; text-align: center; padding: 28px 24px; animation: riseIn .5s var(--ease) both; }
.track-gone .tg-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.track-gone h1 { font-size: 1.25rem; margin: 0 0 6px; letter-spacing: -.01em; }
.track-gone p { margin: 0 0 18px; color: var(--muted); }
.live-dot.off, .live-dot.err { animation: none; }
.live-dot.err { background: var(--vh); box-shadow: none; }
.share-sheet { position: fixed; inset: 0; z-index: 1500; visibility: hidden; pointer-events: none; }
.share-sheet.open { visibility: visible; pointer-events: auto; }
.ss-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.share-sheet.open .ss-scrim { opacity: 1; }
.ss-panel { position: absolute; left: 50%; top: 50%; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--text); border-radius: 22px; box-shadow: var(--shadow); transform: translate(-50%, -46%) scale(.97); opacity: 0;
  transition: transform .3s var(--ease), opacity .2s; }
.share-sheet.open .ss-panel { transform: translate(-50%, -50%); opacity: 1; }
.ss-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding-block: 14px 8px; padding-inline: 20px 14px; background: var(--surface); }
.ss-head .grab { display: none; }
.ss-title { margin: 0; font-size: 1.15rem; flex: 1; }
.share-sheet[dir=rtl] .ss-title, .share-sheet[dir=rtl] .ss-hint, .share-sheet[dir=rtl] .ss-status, .share-sheet[dir=rtl] .btn span { font-family: var(--font-ur), var(--font); }
.ss-body { padding: 4px 20px calc(20px + var(--safe-b)); display: grid; gap: 12px; }
.ss-preview { display: grid; place-items: center; }
.ss-img { position: relative; border-radius: 14px; overflow: hidden; background: #0b3d2c; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.ss-img img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s; }
.ss-img.ready img { opacity: 1; }
.ss-sk { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.12), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.ss-img.ready .ss-sk { display: none; }
.ss-preview.f-square .ss-img { width: min(300px, 72vw); aspect-ratio: 1; }
.ss-preview.f-story .ss-img { height: min(380px, 46dvh); aspect-ratio: 9 / 16; }
.ss-preview.f-og .ss-img { width: 100%; aspect-ratio: 1200 / 630; }
.ss-preview.f-reel .ss-img { height: min(380px, 46dvh); aspect-ratio: 9 / 16; }
.ss-reel { display: block; width: 100%; height: 100%; }
.ss-reel[hidden], .ss-img img[hidden], .ss-bar[hidden] { display: none; }
.ss-bar { position: absolute; inset-inline: 10px; inset-block-end: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.ss-bar i { display: block; block-size: 100%; inline-size: 0; background: var(--brand); transition: inline-size .2s; }
.ss-bar.wait i { inline-size: 35%; animation: ssWait 1.1s var(--ease) infinite alternate; }
@keyframes ssWait { from { margin-inline-start: 0; } to { margin-inline-start: 65%; } }
.ss-note { position: absolute; inset-inline: 10px; inset-block-end: 24px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); color: var(--text); font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); animation: riseIn .25s var(--ease); }
.ss-note[hidden] { display: none; }
.ss-spin { inline-size: 14px; block-size: 14px; flex: none; border-radius: 50%; border: 2px solid var(--line); border-block-start-color: var(--brand); animation: spin .8s linear infinite; }
.ss-note.done .ss-spin { display: none; }
@media (prefers-reduced-motion: reduce) { .ss-spin, .ss-bar.wait i { animation-duration: 2.4s; } }
.ss-opts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; }
.ss-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.ss-seg button { border: 0; background: transparent; color: var(--muted); font: 600 .86rem var(--font); padding: 7px 14px; border-radius: 999px; min-height: 36px; cursor: pointer; }
.ss-seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.ss-seg button.ur { font-family: var(--font-ur), var(--font); }
.ss-hint { margin: -4px 0 0; font-size: .8rem; color: var(--muted); }
.ss-msg { margin: 0; white-space: pre-wrap; word-break: break-word; font: .84rem/1.5 var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; max-height: 8.5em; overflow-y: auto; }
.share-sheet[dir=rtl] .ss-msg { font-family: var(--font-ur), var(--font); line-height: 1.9; }
.ss-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ss-actions .btn { min-height: 46px; }
.ss-actions .btn[hidden] { display: none; }
.ss-wa { background: #1fa855; color: #fff; border-color: transparent; }
.ss-wa:hover { background: #1b964b; }
.share-sheet.loading .ss-actions .btn:not([data-act=link]) { opacity: .6; }
.ss-status { margin: 0; min-height: 1.2em; font-size: .82rem; color: var(--brand); text-align: center; }
.welcome-card { position: fixed; z-index: 1160; left: 50%; bottom: calc(var(--dock-h, 120px) + 12px); transform: translate(-50%, 20px); width: min(420px, calc(100% - 24px));
  padding: 14px 14px 12px; border-radius: 18px; opacity: 0; transition: opacity .3s, transform .4s var(--spring); }
.welcome-card.show { opacity: 1; transform: translate(-50%, 0); }
.welcome-card h3 { margin-block: 0 2px; margin-inline: 0 28px; font-size: 1rem; }
.welcome-card p { margin: 0 0 10px; font-size: .86rem; color: var(--muted); }
.welcome-card .row-actions { margin: 0; gap: 8px; flex-wrap: wrap; }
.welcome-card .x { position: absolute; top: 8px; inset-inline-end: 8px; }
.share-nudge { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--brand-soft); color: var(--text); font-size: .88rem; }
.share-nudge button { margin-inline-start: auto; }
@media (max-width: 720px) {
  .ss-panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); opacity: 1; }
  .share-sheet.open .ss-panel { transform: none; }
  .ss-head .grab { display: block; position: absolute; top: 6px; left: calc(50% - 19px); width: 38px; height: 5px; border-radius: 3px; background: var(--line); }
  .ss-head { padding-top: 18px; }
  .welcome-card { bottom: calc(var(--dock-h) + 8px); }
  body.sheet-open .welcome-card { top: calc(var(--safe-t) + 70px); bottom: auto; transform: translate(-50%, -20px); }
  body.sheet-open .welcome-card.show { transform: translate(-50%, 0); }
  body.sharing .tabbar { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
html[lang="ur"] { font-size: 112.5%; }
html[lang="ur"] body { font-family: var(--font-ur-mix); line-height: 1.9; }
html[lang="ur"] * { letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ur"] :is(h1, h2, h3, h4) { line-height: 1.75; font-weight: 700; }
html[lang="ur"] .hero h1 { line-height: 1.6; max-width: 18ch; }
html[lang="ur"] :is(p, li, td, .lead, .card, details) { line-height: 2; }
html[lang="ur"] :is(button, .btn, .pill, .chip, .tag, input, select, textarea, .seg button, .fab, .icon-btn, .now-btn, .legend .k, .city-status, .tl-note, .sub, small, .small) { line-height: 1.55; }
html[lang="ur"] :is(.btn, .chip, .fab) { min-height: 44px; padding-block: 4px; }
html[lang="ur"] .pill { padding-block: 1px 3px; }
html[lang="ur"] .tabbar button span { font-size: .72rem; line-height: 1.5; }
html[lang="ur"] .seg button { font-size: .74rem; padding: 0 8px; }
html[lang="ur"] :is(.pop-title, .sheet h3, .risk-label, .sp-title, .sp-sec, .rf-txt small) { font-size: .8rem; }
html[lang="ur"] .legend { font-size: .78rem; }
html[lang="ur"] .foot { line-height: 2; }
html[lang="ur"] :is(.time-big, .big-time, .stat b, .score-ring b, .pill, kbd, code, bdi) { unicode-bidi: isolate; }
html[lang="ur"] :is(.time-big, .big-time) { line-height: 1.5; }
.alt-name { font-family: var(--font); color: var(--muted); font-size: .85rem; direction: ltr; unicode-bidi: isolate; }
html[lang="en"] .ur, .ur[lang="ur"] { unicode-bidi: isolate; }
.lang-link { font-weight: 700; }
.lang-link[lang="ur"], .lang-btn:lang(en) { font-family: var(--font-ur), var(--font); line-height: 1.4; }
html[lang="ur"] .lang-btn { font-family: var(--font); font-weight: 700; }
html[dir=rtl] :is(.ribbon, .ribbon-axis, .bars, .scalebar, .ltr-axis, .chart-wrap, .cspark, .curve) { direction: ltr; }
html[dir=rtl] :is(.go, .site-back svg, .more-link svg, .about-more svg, [data-lucide="arrow-right"], [data-lucide="chevron-right"], [data-lucide="arrow-left"], [data-lucide="chevron-left"], svg.lucide-arrow-right, svg.lucide-chevron-right, svg.lucide-arrow-left, svg.lucide-chevron-left) { transform: scaleX(-1); }
html[dir=rtl] .city-card:hover .go { transform: scaleX(-1) translateX(3px); }
html[dir=rtl] .search-panel { transform-origin: top right; }
html[lang="ur"] :is(code, kbd, pre) { direction: ltr; unicode-bidi: isolate; font-family: ui-monospace, "Cascadia Mono", monospace; }
.share-sheet[dir=rtl] .ss-msg { direction: rtl; unicode-bidi: plaintext; text-align: start; }
html[dir=rtl] #map { direction: ltr; }
html[dir=rtl] :is(.leaflet-popup-content-wrapper, .leaflet-popup-content, .leaflet-tooltip) { direction: rtl; text-align: start; }
html[dir=rtl] .leaflet-container a.leaflet-popup-close-button { right: auto; left: 0; }
html[dir=rtl] .leaflet-popup-content { margin-inline-end: 30px; }
html[dir=rtl] .leaflet-right { right: auto; left: 0; }
html[dir=rtl] .leaflet-right .leaflet-control { float: inline-start; margin-inline: 10px 0; }
html[lang="ur"] .leaflet-popup-content { line-height: 1.9; }
html[lang="ur"] .leaflet-popup-content .btn { min-height: 34px; }
@media (min-width: 721px) {
  html[lang="ur"] :is(.city-pop, .menu-pop, .search-panel) { top: calc(var(--hud-b, 62px) + 8px); }
  html[lang="ur"] .leaflet-top.leaflet-right { top: calc(var(--hud-b, 62px) + 10px); }
  html[lang="ur"] .under-top { top: calc(var(--hud-b, 62px) + 12px); }
  html[lang="ur"] .locate-btn { top: calc(var(--hud-b, 62px) + 114px); }
  }
html[lang="ur"] :is(.sp-txt b, .sp-txt small, .rf-txt b, .city-status, .menu-pop small) { line-height: 1.9; }
@media (max-width: 720px) {
  html[lang="ur"] .under-top { top: calc(var(--hud-b, 58px) + 12px); }
  html[lang="ur"] .net-banner { top: calc(var(--hud-b, 58px) + 8px); }
}
.pick-ui { position: fixed; inset: 0; z-index: 1400; pointer-events: none; visibility: hidden; }
body.picking .pick-ui { visibility: visible; }
.pick-pin { position: absolute; left: calc(50% - 20px); top: calc(50% - 50px); width: 40px; height: 52px; transition: transform .25s var(--spring);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.pick-pin .pick-shadow { position: absolute; left: calc(50% - 7px); bottom: -4px; width: 14px; height: 5px; border-radius: 50%; background: rgba(0,0,0,.35);
  transition: transform .25s var(--spring), opacity .25s; }
.pick-ui.moving .pick-pin { transform: translateY(-10px); }
.pick-ui.moving .pick-shadow { transform: translateY(10px) scale(.7); opacity: .6; }
body.picking .pick-ui .pick-pin { animation: pinDrop .45s var(--spring) both; }
@keyframes pinDrop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.pick-bar { position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b, 0px)); max-width: 460px; margin-inline: auto; padding: 14px 16px 12px;
  border-radius: 20px; pointer-events: auto; transform: translateY(calc(100% + 30px)); transition: transform .4s var(--spring); }
body.picking .pick-bar { transform: none; }
.pick-hint { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.pick-name { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; min-height: 28px; }
.pick-name svg { flex: none; color: var(--brand); }
.pick-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-name b.loading { color: var(--muted); font-weight: 500; }
.pick-actions { display: flex; gap: 8px; margin-top: 12px; }
.pick-actions .btn { flex: 1; min-height: 46px; }
.pick-actions .btn.primary { flex: 1.6; }
body.picking :is(.leaflet-marker-pane, .leaflet-tooltip-pane, .leaflet-popup-pane, .leaflet-interactive) { pointer-events: none !important; }
body.picking :is(#timeline, #dial, #tabbar, #notice, .install-card) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility 0s .2s; }
body.picking #map { cursor: grab; }
.pick-rule { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.45; background: var(--surface-2); color: var(--muted); }
.pick-rule[hidden] { display: none; }
.pick-rule.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--text); }
.pick-rule.bad { background: color-mix(in srgb, var(--el) 20%, transparent); color: var(--text); box-shadow: inset 3px 0 0 var(--el); }
.pick-rule.info { background: var(--surface-2); color: var(--muted); }
.loc-row.three { margin-top: 8px; }
.loc-row.three .btn { flex: 1; min-width: 0; padding-inline: 8px; }
.route-form .rf-go { width: 18px; height: 18px; color: var(--muted); margin-inline-start: auto; flex: none; }
html[dir=rtl] .route-form .rf-go { transform: scaleX(-1); }
.menu-pop .notice { margin: 0 4px 10px; }
@media (max-width: 720px) {
  .hud-top { inset-inline-end: calc(var(--safe-r) + 8px); max-width: none; padding: 4px; padding-inline-end: 96px; border-radius: 16px; }
  .hud-top .logo { width: 34px; height: 34px; border-radius: 11px; }
  .city-btn { min-height: 38px; }
  .hud-right { top: calc(var(--safe-t) + 8px); inset-inline-end: calc(var(--safe-r) + 12px); padding: 4px 0; background: transparent; border-color: transparent;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hud-right .icon-btn { min-width: 38px; height: 38px; }
  .under-top { top: calc(var(--safe-t) + 60px); }
  .under-top .notice { display: none; }
  .locate-btn { top: auto; bottom: calc(var(--dock-h) + 6px); width: 40px; height: 40px; border-radius: 12px; transition: bottom .35s var(--ease), opacity .4s var(--ease); }
  body.sheet-open .locate-btn { opacity: 0; pointer-events: none; }
  .timeline:not(.expanded) { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; column-gap: 8px; padding: 6px 8px; border-radius: 18px; }
  .timeline:not(.expanded) .tl-row { display: contents; }
  .timeline:not(.expanded) .play-btn { grid-area: 1 / 1; width: 34px; height: 34px; }
  .timeline:not(.expanded) .time-big { grid-area: 1 / 2; font-size: 1.02rem; }
  .timeline:not(.expanded) .ribbon { grid-area: 1 / 3; height: 22px; margin-top: 4px; }
  .timeline:not(.expanded) .now-btn { grid-area: 1 / 4; min-height: 30px; padding-inline: 9px; }
  .timeline:not(.expanded) .now-btn.on span:last-child { display: none; }
  .timeline:not(.expanded) .tl-more { grid-area: 1 / 5; width: 32px; height: 32px; border-radius: 10px; }
  .timeline:not(.expanded) .ribbon-thumb span { top: -17px; font-size: 12px; }
  .tabbar button { min-height: 52px; }
  .hud-top, .hud-right, .under-top { transition: opacity .4s var(--ease); }
  body.map-moving :is(.hud-top, .hud-right, .timeline, .locate-btn, .under-top) { opacity: .2; pointer-events: none; transition: opacity .2s; }
}
.menu-pop .notice span { flex: 1; }
@media (min-width: 721px) {
  .install-card { left: auto; right: auto; inset-inline-end: 16px; bottom: 196px; width: 380px; transform: translateY(24px); }
  .install-card.show { transform: none; }
  body.pop-open .install-card, body.sheet-open .install-card, body.picking .install-card, body.sharing .install-card { transform: translateY(24px); }
}
.cold-intro { display: none; }
html.pw-intro .cold-intro { display: block; position: fixed; inset: 0; z-index: 6000; background: #030c07; overflow: hidden;
  animation: ciFailsafe .4s ease 10s forwards; }
.cold-intro.out { opacity: 0; transform: scale(1.08); pointer-events: none; transition: opacity .38s var(--ease), transform .48s var(--ease); }
@keyframes ciFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.ci-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ci-cam { transform-origin: 0 0; animation: ciZoom .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ciZoom { from { transform: scale(.55); } to { transform: none; } }
@media (min-aspect-ratio: 5/4) { .ci-cam { animation-name: ciZoomWide; } }
@keyframes ciZoomWide { from { transform: translateY(-20px) scale(.5); } to { transform: translateY(-36px) scale(.82); } }
.ci-world { opacity: .42; animation: ciWorld .7s ease both; }
@keyframes ciWorld { to { opacity: .14; } }
.ci-edge { fill: none; stroke: #f4f1e6; stroke-width: 1.7; stroke-linejoin: round; }
.ci-comet { fill: none; stroke: #ffffff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .1 .9; stroke-dashoffset: 0; opacity: 0;
  animation: ciComet .9s cubic-bezier(.45, 0, .25, 1) .1s both; }
@keyframes ciComet { 0% { stroke-dashoffset: 0; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
.ci-glow { fill: none; stroke: #6fe0a3; stroke-width: 5; stroke-opacity: .28; stroke-linejoin: round; opacity: .35;
  animation: ciFlare .9s ease .15s forwards, ciBreathe 2.6s ease-in-out 1.05s infinite; }
.ci-glow-wide { stroke: #2f9e64; stroke-width: 16; stroke-opacity: .18; }
@keyframes ciFlare { 55% { opacity: 1; } 100% { opacity: .8; } }
@keyframes ciBreathe { 0%, 100% { opacity: .8; } 50% { opacity: .5; } }
.ci-disputed { fill: none; stroke: #f4f1e6; stroke-width: 1.3; stroke-dasharray: 5 4; stroke-opacity: .75; }
.ci-city .ci-dot { fill: #f4f1e6; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: ciPop .4s var(--spring) var(--d) forwards; }
.ci-city .ci-ping { fill: none; stroke: #f4f1e6; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: ciPing 1.6s ease-out var(--d) infinite; }
.ci-city .ci-badge { opacity: 0; transform: translateY(7px); animation: ciBadge .4s var(--spring) calc(var(--d) + 100ms) forwards; }
@keyframes ciPop { to { transform: none; } }
@keyframes ciPing { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(4.6); } }
@keyframes ciBadge { to { opacity: 1; transform: none; } }
.ci-brand { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-b, 0px) + 7vh); display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #f4f1e6; font-size: 1.15rem; letter-spacing: -.01em; }
.ci-brand .logo { width: 34px; height: 34px; border-radius: 10px; }
html[lang="ur"] .ci-brand b { font-family: var(--font-ur), var(--font); font-size: 1.3rem; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) {
  .ci-cam { animation: none; }
  @media (min-aspect-ratio: 5/4) { .ci-cam { transform: translateY(-36px) scale(.82); } }
  .ci-world, .ci-glow, .ci-city .ci-dot, .ci-city .ci-badge { animation: none; opacity: 1; transform: none; }
  .ci-world { opacity: .14; }
  .ci-glow { opacity: .8; }
  .ci-comet, .ci-city .ci-ping { display: none; }
  html.pw-intro .cold-intro { animation-duration: .4s !important; animation-delay: 10s !important; }
}
