:root { --glass: rgba(14, 22, 31, .94); --glass-line: rgba(205, 219, 226, .2); --hair: rgba(205, 219, 226, .12); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { margin: 0; background: var(--bg) radial-gradient(1200px 520px at 18% -120px, rgba(60, 198, 214, .09), transparent 70%) no-repeat; color: var(--ink); font: 400 16px/1.6 var(--sans); font-variant-numeric: tabular-nums; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { margin: 0 auto; }
h1 { font-size: var(--fs-display); line-height: 1.08; margin: var(--s2) 0 var(--s4); }
h2 { margin: 0 0 var(--s3); font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -.015em; }
h3 { margin: 1.4em 0 .4em; font-size: var(--fs-body); font-weight: 600; }
.eyebrow { color: var(--brand); font: 500 var(--fs-small)/1.4 var(--sans); margin: 0 0 var(--s2); }
.sub, .muted, .note { color: var(--muted); }
.sub, .note { max-width: 980px; }
.sub { font-size: var(--fs-body); }
.note { font-size: var(--fs-small); }
.plain { max-width: 780px; font-size: var(--fs-body); color: var(--soft); }
code { font: 400 var(--fs-small)/1.4 var(--sans); color: var(--soft); }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--glass); border-bottom: 1px solid var(--glass-line); }
.topbar-in { display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink); font-size: var(--fs-small); text-decoration: none; white-space: nowrap; }
.topbar-links { display: flex; flex: 1; min-width: 0; overflow-x: auto; }
.topbar-links a { display: inline-flex; align-items: center; min-height: 28px; white-space: nowrap; }
.topbar-links a:hover { color: var(--ink); text-decoration: underline; }
.topbar-plain { display: inline-flex; align-items: center; min-height: 28px; font-size: var(--fs-small); text-decoration: none; white-space: nowrap; }
.topbar-plain:hover { color: var(--ink); text-decoration: underline; }
button.topbar-plain { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
button.topbar-plain.on { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.btn { background: transparent; color: var(--soft); border: 1px solid var(--glass-line); border-radius: var(--r-small); padding: 3px 10px; font: inherit; font-size: var(--fs-small); cursor: pointer; min-height: 30px; white-space: nowrap; }
.btn:hover { color: var(--ink); border-color: var(--muted); background: var(--hover); }
.btn-strong { background: var(--pressed); color: var(--ink); border-color: var(--pressed-line); font-weight: 500; min-width: 60px; }
select { background: var(--panel); color: var(--ink); border: 1px solid var(--glass-line); border-radius: var(--r-small); padding: 3px 8px; font: inherit; font-size: var(--fs-small); max-width: 100%; min-height: 32px; }
input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--truth); flex: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 24px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: #72858f; }
input[type="range"]::-moz-range-track { height: 2px; background: #72858f; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 18px; margin-top: -8px; background: var(--ink); border: 1px solid #0b1014; border-radius: var(--r-small); }
input[type="range"]::-moz-range-thumb { width: 8px; height: 16px; background: var(--ink); border: 1px solid #0b1014; border-radius: var(--r-small); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch { width: 10px; height: 10px; border-radius: var(--r-small); display: inline-block; flex: none; }
.swatch.dot { position: static; width: 9px; height: 9px; margin: 0; border-radius: 0; transform: rotate(45deg) scale(.85); }
.map { width: 100%; height: 420px; border-radius: var(--r); overflow: hidden; background: #0a0e11; }
.map.tall { height: 540px; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--glass); padding: 3px 8px; border-radius: var(--r-small); font: 400 var(--fs-micro)/1.35 var(--sans); border-left: 2px solid var(--gfm); }

.map-coord { position: absolute; left: 10px; bottom: 34px; z-index: 2; padding: 2px 6px; background: var(--glass); border-radius: var(--r-small); font: 400 var(--fs-micro)/1.35 var(--sans); color: var(--soft); white-space: nowrap; pointer-events: none; }

.gauge-pin { width: 24px; height: 24px; cursor: pointer; }
.gauge-pin::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; transform: rotate(45deg); background: #ffd166; border: 1px solid #111; }
.gauge-pin.above::before { left: 6px; top: 6px; width: 12px; height: 12px; background: #ef5a5a; border: 2px solid #fff; }
.gauge-pin.off::before { background: #111; border: 2px solid #c6d0d6; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-group { background: var(--glass) !important; border: 1px solid var(--glass-line); border-radius: var(--r) !important; box-shadow: none !important; }
.maplibregl-ctrl-group button + button { border-top-color: var(--glass-line) !important; }
.maplibregl-ctrl-group button:hover { background: var(--hover) !important; }
.maplibregl-ctrl-group .maplibregl-ctrl-icon { filter: invert(1) brightness(1.4); }
.maplibregl-ctrl-scale { background: var(--glass) !important; border: 1px solid var(--ink) !important; border-top: 0 !important; color: var(--soft) !important; font: 400 var(--fs-micro)/1.3 var(--sans) !important; padding: 0 5px !important; }
.maplibregl-map .maplibregl-popup-tip { display: none; }
.maplibregl-map .maplibregl-popup-content { background: #0b1014; color: var(--ink); border: 1px solid var(--glass-line); border-radius: var(--r); padding: 6px 26px 6px 9px; font: 400 var(--fs-small)/1.35 var(--sans); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.maplibregl-map .maplibregl-popup-close-button { width: 24px; height: 24px; color: var(--soft); font-size: var(--fs-body); }
.maplibregl-map .maplibregl-popup-close-button:hover { background: var(--hover); }
.finding { display: grid; }
.finding-text { align-self: center; }
.lede { color: var(--soft); }
.finding-stats { display: grid; grid-template-columns: 1fr 1fr; }
.finding-stats-q { grid-column: 1 / -1; margin: 0 0 calc(var(--s2) - var(--s5)); font: 500 var(--fs-small)/1.4 var(--sans); color: var(--soft); }
.finding-stats > .qn { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 6px; }
.finding-stats > .qn > .qn-k { align-self: end; }

#fact-gfm { color: #8fb4ff; }
#fact-nisar { color: #e57ae5; }

.finding-limit { font-size: var(--fs-small); color: var(--soft); margin: 0; padding: 9px 11px; background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); }
.finding-map { margin: 0; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.view-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.view-label { color: var(--muted); font-size: var(--fs-small); margin-right: 10px; }
.view-switch button { background: transparent; color: var(--soft); border: 1px solid var(--glass-line); border-left-width: 0; padding: 3px 11px; font: inherit; font-size: var(--fs-small); cursor: pointer; min-height: 32px; }
.view-switch .view-label + button { border-left-width: 1px; border-radius: var(--r) 0 0 var(--r); }
.view-switch button:last-child { border-radius: 0 var(--r) var(--r) 0; }
.view-switch button:hover { background: var(--hover); color: var(--ink); }
.view-switch button.on { background: var(--pressed); color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.swipe { --x: 50%; position: relative; flex: 1; min-height: 380px; border-radius: var(--r); overflow: hidden; background: #0a0e11; }
.swipe-map { position: absolute; inset: 0; }

.lens-stage { --lx: 55%; --ly: 50%; --lr: 100px; }
.lens-top { clip-path: circle(var(--lr) at var(--lx) var(--ly)); pointer-events: none; }
.lens-ring { position: absolute; left: var(--lx); top: var(--ly); width: calc(2 * var(--lr)); height: calc(2 * var(--lr)); margin: calc(-1 * var(--lr)) 0 0 calc(-1 * var(--lr)); padding: 0; z-index: 2; background: none; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .45), inset 0 0 18px rgba(0, 0, 0, .3); cursor: grab; touch-action: none; }
.lens-ring:active { cursor: grabbing; }
.lens-ring:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lens-hint { position: absolute; left: 50%; bottom: 44px; z-index: 2; margin: 0; padding: 3px 10px; transform: translateX(-50%); background: var(--glass); border-radius: var(--r-small); font-size: var(--fs-small); white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.lens-hint.gone { opacity: 0; }
.swipe-tag { position: absolute; top: 10px; z-index: 2; background: var(--glass); padding: 3px 8px; border-radius: var(--r-small); font: 400 var(--fs-micro)/1.35 var(--sans); max-width: 44%; pointer-events: none; }
.swipe-tag small { display: block; font-size: var(--fs-micro); color: var(--soft); }
.swipe-tag-left { left: 10px; border-left: 2px solid var(--gfm); }
.swipe-tag-right { right: 10px; border-right: 2px solid var(--nisar); text-align: right; }
.legend-row { display: flex; flex-wrap: wrap; justify-content: space-between; font-size: var(--fs-small); color: var(--muted); }
.legend-items { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--soft); }
.legend-items span { display: inline-flex; align-items: center; gap: 6px; }

.story { padding-bottom: 8px; }

.stat { background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); padding: 10px 12px; }
.stat .big { display: block; font: 500 1.5rem/1.25 var(--display); margin-bottom: 2px; }
.stat span:last-child { color: var(--soft); font-size: var(--fs-small); line-height: 1.35; display: block; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0; font-size: var(--fs-small); color: var(--soft); }

.panel { background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); padding: 8px 12px; }
.panel h3 { margin-top: .4em; font-size: var(--fs-small); }
.legend { font-size: var(--fs-micro); color: var(--muted); margin-top: 6px; }
.card { font-size: var(--fs-small); }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.card dt { color: var(--muted); }
.card dd { margin: 0; font: 400 var(--fs-small)/1.5 var(--sans); }
.card .verdict { margin-top: 8px; padding: 5px 8px; border-radius: var(--r-small); background: #0c1114; border: 1px solid var(--hair); }
.more { margin: 10px 0; }
.more summary { cursor: pointer; color: var(--soft); font-size: var(--fs-small); padding: 3px 0; min-height: 24px; }
.more-link { font-weight: 500; font-size: var(--fs-body); }
.chart { height: 300px; margin-top: 12px; }

.time-why { margin: 4px 0 8px; padding: 6px 9px; border-left: 3px solid var(--nisar); background: rgba(214, 58, 214, .09); border-radius: var(--r-small); font-size: var(--fs-small); line-height: 1.4; }
.time-claim { font-weight: 500; }

.atlas-act { margin: 4px 0 6px; font-size: var(--fs-small); line-height: 1.4; }

.glow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 16px; align-items: start; margin: 12px 0 8px; }

@keyframes glow-flow { to { stroke-dashoffset: -32; } }

@media (max-width: 900px) {
  .glow { grid-template-columns: minmax(0, 1fr); }

}

.watch-tip, .town-tip { padding: 5px 8px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-small); font-size: var(--fs-micro); line-height: 1.4; pointer-events: none; }
.watch-tip[hidden], .town-tip[hidden] { display: none; }

.gap-bars { margin: 14px 0 6px; }
.gap-key { display: flex; flex-wrap: wrap; gap: 3px 16px; margin-bottom: 8px; font-size: var(--fs-small); color: var(--soft); }
.gap-key span { display: inline-flex; align-items: center; gap: 6px; }
.gap-swatch { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.gap-est { background: #159a8c; }
.gap-gfm { background: #5a93ff; }

.gap-bar { height: 9px; max-width: calc(100% - 92px); border-radius: 0 3px 3px 0; flex: none; }

#results h3, #where h3 { margin: 22px 0 8px; font-size: var(--fs-body); }
.agree { display: grid; grid-template-columns: minmax(0, 7fr) minmax(250px, 4fr); gap: 16px; align-items: start; }

.towns { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr); gap: 16px; align-items: start; }

.town-tip { position: absolute; z-index: 3; white-space: nowrap; }
.town-world { position: absolute; left: 8px; top: 8px; z-index: 2; background: var(--glass); color: var(--ink); }
.town-search-label { font-size: var(--fs-small); font-weight: 600; }
.town-label { background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); }
.town-label .muted { margin: 0; font-size: var(--fs-small); }
@media (max-width: 900px) {
  .agree, .towns { grid-template-columns: minmax(0, 1fr); }

  .gap-bar { max-width: calc(100% - 74px); }
}

.atlas-not { margin: 8px 0 6px; padding-top: 6px; border-top: 1px solid rgba(205, 219, 226, .14); font-size: var(--fs-small); color: var(--ink); line-height: 1.4; }
.town-label:focus { outline: 2px solid #8fd3ff; outline-offset: 2px; }
.tour-cta .btn { display: inline-flex; align-items: center; font-size: var(--fs-body); text-decoration: none; }
.tour-page { height: 100dvh; margin: 0; overflow: hidden; background: #0a0e11; }
.tour-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 46px; padding: 0 16px; background: linear-gradient(rgba(10, 14, 17, .92), rgba(10, 14, 17, 0)); }
.tour-stage { --lx: 50%; --ly: 45%; --lr: 0px; position: fixed; inset: 0; overflow: hidden; }
.tour-stage .map { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-top { clip-path: circle(var(--lr) at var(--lx) var(--ly)); }
.tour-ring { position: absolute; left: var(--lx); top: var(--ly); z-index: 2; width: calc(2 * var(--lr)); height: calc(2 * var(--lr)); margin: calc(-1 * var(--lr)) 0 0 calc(-1 * var(--lr)); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 0 22px rgba(0, 0, 0, .5), inset 0 0 22px rgba(0, 0, 0, .3); pointer-events: none; }
.tour-ring[hidden], .tour-tag[hidden], .tour-chip[hidden], .tour-card[hidden], .tour-end[hidden], .tour-controls[hidden], .tour-loading[hidden] { display: none; }
.tour-tag { position: absolute; left: 16px; top: 52px; z-index: 2; margin: 0; padding: 3px 9px; background: var(--glass); border-left: 2px solid var(--accent); border-radius: var(--r-small); font: 400 var(--fs-small)/1.35 var(--sans); }
.tour-panel { position: fixed; left: 50%; bottom: 34px; z-index: 5; display: flex; flex-direction: column; gap: 6px; width: min(780px, calc(100vw - 20px)); transform: translateX(-50%); }
.tour-loading { margin: 0; padding: 12px 16px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); font-size: var(--fs-body); text-align: center; }
.tour-card, .tour-end { padding: 12px 16px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); }
.tour-caption { margin: 0; font-size: var(--fs-h3); font-weight: 500; line-height: 1.32; }
.tour-note { margin: 5px 0 0; font-size: var(--fs-small); color: var(--soft); line-height: 1.38; }
.tour-note:empty { display: none; }
.tour-chip { margin: 6px 0 0; font: 500 var(--fs-small)/1.35 var(--sans); color: var(--accent); }
.tour-controls { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); }
.tour-controls .btn { min-width: 34px; }
#tour-play { min-width: 62px; }
.tour-parts { flex: 1; display: flex; gap: 3px; min-width: 0; }
.tour-part { flex: 1; min-width: 0; height: 24px; padding: 0; display: flex; align-items: center; background: none; border: 0; cursor: pointer; position: relative; }
.tour-part::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: rgba(205, 219, 226, .3); border-radius: 2px; }
.tour-part i { position: relative; display: block; height: 4px; width: 0; background: var(--accent); border-radius: 2px; }
.tour-part:hover::before { background: rgba(205, 219, 226, .55); }
.tour-clock { flex: none; font: 400 var(--fs-micro)/1 var(--sans); color: var(--soft); }
.tour-end-title { margin: 0; font-size: var(--fs-h2); line-height: 1.2; outline: none; }
.tour-end-lede { margin: 2px 0 10px; font-size: var(--fs-body); color: var(--soft); }
.tour-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.tour-actions .btn { display: inline-flex; align-items: center; min-height: 34px; text-decoration: none; }
.tour-credit { margin: 10px 0 0; font-size: var(--fs-micro); color: var(--muted); line-height: 1.35; }
.tour-page .maplibregl-ctrl-bottom-right { z-index: 1; }
@media (max-width: 700px) {
  .tour-panel { bottom: 28px; }
  .tour-caption { font-size: var(--fs-body); }
  .tour-note { font-size: var(--fs-small); }
  .tour-card { padding: 9px 11px; }
  .tour-clock { display: none; }
  .tour-end-title { font-size: var(--fs-h3); }
}
.plain-list { color: var(--soft); max-width: 820px; font-size: var(--fs-body); }
.board { position: relative; margin: 18px 0 10px; }

.dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot i { width: 9px; height: 9px; background: #b5c3cc; box-shadow: 0 0 0 2px var(--bg); }

.dot:hover i, .dot:focus-visible i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.dot:focus-visible { outline: none; }

.dash-page { height: 100dvh; overflow: hidden; background: #0a0e11; }
.dash-page.drawer-open { --drawer: 46vh; }
.map-stage { --x: 50%; position: fixed; inset: 0; overflow: hidden; }
.map-stage .map { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.map-stage .tag { top: calc(var(--bar) + 10px); z-index: 2; pointer-events: none; }
.map-show { position: absolute; z-index: 3; top: calc(var(--bar) + 10px); left: calc(var(--rail-l) + 2 * var(--gap)); right: calc(var(--rail-r) + 2 * var(--gap)); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.map-show .seg { pointer-events: auto; background: rgba(3, 6, 10, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.map-show .seg[hidden] { display: none; }
.map-show .tag { position: static; text-align: center; max-width: 100%; }
.show-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: none; }
.key-nisar { background: #d63ad6; }
.key-est { background: #2cc4e6; }
.key-both { background: #6fa2ee; }
.grid-labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.grid-labels[hidden] { display: none; }
.grid-labels span { position: absolute; font: 400 var(--fs-micro)/1 var(--sans); color: #dbe5ea; text-shadow: 0 0 3px #000, 0 0 3px #000; white-space: nowrap; }
.link-btn[hidden], .time-bar[hidden], .tag[hidden], .swipe-handle[hidden], .pane[hidden], .sel-card[hidden], .card-note[hidden] { display: none; }
.dash-bar { position: fixed; top: 0; left: 0; right: 0; min-height: var(--bar); z-index: 7; display: flex; align-items: center; padding: 0 var(--gap); background: var(--glass); border-bottom: 1px solid var(--glass-line); }
.bar-gap { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--glass-line); border-radius: var(--r); overflow: hidden; flex: none; }
.seg button { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--soft); border: 0; padding: 3px 11px; font: inherit; font-size: var(--fs-small); cursor: pointer; min-height: 30px; white-space: nowrap; }
.seg button:hover { background: var(--hover); color: var(--ink); }
.seg button.on { background: var(--pressed); color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.link-btn { background: none; border: 0; padding: 3px 0; min-height: 24px; color: var(--accent); font: inherit; font-size: var(--fs-small); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.rail { position: fixed; top: calc(var(--bar) + 8px); bottom: calc(var(--drawer) + 30px); z-index: 6; display: flex; flex-direction: column; overflow-y: auto; pointer-events: none; }
.rail > * { pointer-events: auto; flex: none; }
.rail-left { left: var(--gap); width: var(--rail-l); }
.rail-right { right: var(--gap); width: var(--rail-r); }
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); }
.panel-title { margin: 0 0 4px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0; color: var(--soft); }
.river-title { margin: 0; font-weight: 600; line-height: 1.25; }
.dash-sub { margin: 3px 0 0; }
.freshness:not(:empty) { margin-top: 5px; }
.collapse > summary { display: flex; align-items: center; list-style: none; cursor: pointer; font-weight: 600; }
.collapse > summary::-webkit-details-marker { display: none; }
.collapse > summary::after { content: "+"; font: 400 var(--fs-small)/1 var(--sans); }
.collapse[open] > summary::after { content: "−"; }
.collapse > summary:hover { color: var(--ink); }
.collapse[open] > summary { margin-bottom: 4px; }

.freshness { display: flex; flex-wrap: wrap; gap: 2px 12px; font: 400 var(--fs-micro)/1.4 var(--sans); color: var(--soft); }
.fresh-item { display: inline-flex; align-items: center; gap: 5px; }
.fresh-item b { font-family: var(--sans); font-weight: 500; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3fb65a; display: inline-block; flex: none; }
.status-dot { width: 9px; height: 9px; flex: none; display: inline-block; box-sizing: border-box; background: transparent; border: 1.5px solid #a9b6be; }
.status-dot.green { background: #3fb65a; border-color: #3fb65a; }
.status-dot.amber { background: #e6aa1e; border: 0; transform: rotate(45deg) scale(.82); }
.status-dot.red { background: #ef5a5a; border: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.status-dot.past { background: var(--nisar); border-color: var(--nisar); }
.events { margin: 0 -4px; }
.flood-tab[hidden] { display: none; }
.world-list:empty { display: none; }
.world-more { display: block; margin: 6px 0 0 4px; font-size: var(--fs-micro); }
.world-quick { margin: var(--s2) 0 0; font-size: var(--fs-small); color: var(--soft); line-height: 1.45; }
.events-head { display: flex; justify-content: space-between; gap: 8px; padding: 0 6px 2px; color: var(--muted); font-size: var(--fs-micro); }
.event-row { display: block; width: 100%; min-height: 30px; text-align: left; background: none; border: 0; border-top: 1px solid rgba(205, 219, 226, .12); border-left: 2px solid transparent; padding: 4px 6px 4px 4px; color: var(--ink); font: inherit; cursor: pointer; }
.event-row:hover { background: var(--hover); }
.event-row.on { background: var(--pressed); border-left-color: var(--accent); }
.event-main { display: flex; align-items: center; gap: 7px; }
.event-name { flex: 1; min-width: 0; font-size: var(--fs-small); font-weight: 500; line-height: 1.25; }
.event-value { flex: none; font: 400 var(--fs-micro)/1.25 var(--sans); color: var(--soft); }
.event-sub { display: block; padding-left: 16px; font-size: var(--fs-micro); line-height: 1.3; color: var(--muted); }
#dash-layers label, #dash-layers-after label, .layer-row { display: flex; align-items: center; gap: 7px; min-height: 26px; margin: 0; cursor: pointer; font-size: var(--fs-small); line-height: 1.25; }
.ctl { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--soft); }
.ctl input[type="range"] { flex: 1; min-width: 0; }

.kpi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: baseline; border-top: 1px solid rgba(205, 219, 226, .12); }
.kpi:first-child { border-top: 0; }
.kpi-label { font-size: var(--fs-small); color: var(--soft); line-height: 1.3; }
.kpi-num { font: 500 var(--fs-body)/1.3 var(--sans); text-align: right; white-space: nowrap; }
.kpi-sub { grid-column: 1 / -1; font-size: var(--fs-micro); color: var(--muted); line-height: 1.3; }
.kpi-sub:empty { display: none; }
.insight { margin-bottom: 6px; font-size: var(--fs-small); }
.insight:last-child { margin-bottom: 0; }
.insight b { display: block; font-weight: 600; }
.insight p { margin: 0; color: var(--soft); line-height: 1.38; }

.story-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.story-actions .btn { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; font-size: var(--fs-small); text-decoration: none; }
.atlas-search { display: block; box-sizing: border-box; width: 100%; min-height: 32px; padding: 4px 8px; background: rgba(205, 219, 226, .06); border: 1px solid var(--glass-line); border-radius: var(--r-small); color: var(--ink); font: inherit; font-size: var(--fs-small); }
.atlas-search::placeholder { color: var(--muted); opacity: 1; }
.atlas-results { margin: 4px -4px 0; }
.atlas-results .muted { margin: 4px; font-size: var(--fs-small); }
.atlas-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; min-height: 28px; padding: 3px 4px; background: none; border: 0; border-top: 1px solid rgba(205, 219, 226, .12); color: var(--ink); font: inherit; font-size: var(--fs-small); line-height: 1.3; text-align: left; cursor: pointer; }
.atlas-row:hover { background: var(--hover); }
.atlas-row span:last-child { flex: none; max-width: 58%; font: 400 var(--fs-micro)/1.3 var(--sans); color: var(--soft); text-align: right; }
.atlas-label { margin: 0 0 6px; padding: 6px 8px; border-left: 3px solid #a9b6be; background: rgba(205, 219, 226, .08); border-radius: var(--r-small); font-size: var(--fs-body); font-weight: 600; line-height: 1.3; }
.atlas-label-red { border-left-color: #ef5a5a; background: rgba(239, 90, 90, .14); }
.atlas-label-amber { border-left-color: #e6aa1e; background: rgba(230, 170, 30, .13); }
.atlas-label-green { border-left-color: #3fb65a; background: rgba(63, 182, 90, .12); }
.atlas-place { margin: 0 0 3px; font-size: var(--fs-micro); color: var(--soft); line-height: 1.3; }
.atlas-small { margin: 6px 0; font-size: var(--fs-micro); color: var(--muted); line-height: 1.35; }
.atlas-try { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.atlas-try-label { font-size: var(--fs-micro); color: var(--muted); }
.atlas-chip { min-height: 24px; padding: 1px 7px; background: none; border: 1px solid var(--glass-line); border-radius: var(--r-small); color: var(--soft); font: inherit; font-size: var(--fs-micro); cursor: pointer; }
.atlas-chip:hover { color: var(--ink); border-color: var(--muted); background: var(--hover); }
.atlas-level { display: flex; align-items: center; gap: 7px; margin: 0 0 3px; font-size: var(--fs-small); font-weight: 600; }
.atlas-why { margin: 0 0 6px; font-size: var(--fs-small); color: var(--soft); line-height: 1.4; }
.atlas-near { display: block; margin-top: 6px; text-align: left; }
#atlas-pick .muted { margin: 0; font-size: var(--fs-small); }
.dock-stack { position: fixed; left: calc(var(--rail-l) + 2 * var(--gap)); right: calc(var(--rail-r) + 2 * var(--gap)); bottom: calc(var(--drawer) + 6px); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none; }
.dock-stack > * { pointer-events: auto; }
.time-bar { width: 100%; max-width: 860px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); }
.t-play { display: inline-grid; place-items: center; width: 36px; padding: 0; }
.t-play svg { width: 14px; height: 14px; fill: currentColor; }
.time-track { flex: 1 1 180px; min-width: 0; position: relative; padding-bottom: 16px; }
#t-out { flex: 0 0 auto; width: 13.5em; text-align: right; font: 400 var(--fs-micro)/1.2 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
#t-out .live-dot { margin: 0 6px 1px 0; vertical-align: middle; }
.dock-stack > .dock-row { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 5px 8px; pointer-events: none; }
.dock-row .dock { pointer-events: auto; margin-left: auto; }
.dock { display: none; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); overflow: hidden; }
.dock button { background: none; border: 0; color: var(--soft); padding: 3px 13px; min-height: 30px; font: inherit; font-size: var(--fs-small); cursor: pointer; }
.dock button:hover { color: var(--ink); background: var(--hover); }
.dock button.on { background: var(--pressed); color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.phone-only { display: none; }
.dock-note { margin: 0; padding: 1px 7px; background: var(--glass); border-radius: var(--r-small); font-size: var(--fs-micro); color: var(--soft); text-align: center; }
.map-tools { position: fixed; right: calc(var(--rail-r) + 2 * var(--gap)); top: calc(var(--bar) + 10px); z-index: 5; display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); overflow: hidden; }
.map-tools button { width: 32px; height: 32px; background: none; border: 0; color: var(--ink); font: 400 var(--fs-body)/1 var(--sans); cursor: pointer; }
.map-tools button:hover { background: var(--hover); }
.map-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 4px 8px; min-height: 32px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); font: 400 var(--fs-micro)/1.35 var(--sans); color: var(--soft); pointer-events: none; }
.hud-coord { white-space: nowrap; }
.hud-scale { display: flex; align-items: flex-end; gap: 5px; }

.hud-bar { height: 5px; border: 1px solid var(--ink); border-top: 0; }
.mini { display: none; position: fixed; left: var(--gap); top: calc(var(--bar) + 10px); z-index: 5; margin: 0; padding: 3px 8px; max-width: calc(100vw - 2 * var(--gap)); background: var(--glass); border-radius: var(--r-small); font: 400 var(--fs-micro)/1.35 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer { display: none; position: fixed; left: 0; right: 0; bottom: 0; height: 46vh; z-index: 8; padding: 10px 14px; overflow-y: auto; background: rgba(11, 16, 20, .98); border-top: 1px solid var(--glass-line); }
.drawer:focus-visible { outline: none; }
.drawer-open .drawer { display: block; }
.drawer-close { position: absolute; top: 6px; right: 14px; z-index: 1; }
.drawer .panel-title { font-size: var(--fs-small); }
.drawer .plain-list { margin: 0 0 8px; padding-left: 18px; max-width: 900px; font-size: var(--fs-small); }
.drawer .note { font-size: var(--fs-small); }
.dash-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dash-charts figure, .drawer figure { margin: 0; min-width: 0; }
.drawer figcaption { font-weight: 500; font-size: var(--fs-small); }
.drawer .chart { height: calc(46vh - 88px); min-height: 200px; margin-top: 2px; }
.overview .gauge-pin { display: none; }
.event-pin { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 2px 7px 2px 5px; background: var(--glass); color: var(--ink); border: 1px solid var(--glass-line); border-radius: var(--r-small); font: 500 var(--fs-micro)/1.3 var(--sans); white-space: nowrap; cursor: pointer; }
.event-pin:hover { border-color: var(--accent); }
.event-pin.pin-left { flex-direction: row-reverse; padding: 2px 5px 2px 7px; }
.event-pin.is-active { border-color: var(--accent); }
body:not(.overview) .event-pin.is-active { display: none; }
.far-out .event-pin span { display: none; }
.far-out .event-pin, .far-out .event-pin.pin-left { padding: 5px 7px; }
@media (max-width: 1180px) {
  .time-track { order: -1; flex: 1 1 100%; }
}
@media (max-width: 1024px) {
  .time-track { order: 0; flex: 1 1 180px; }
  .dash-bar { flex-wrap: wrap; align-content: flex-start; padding-top: 6px; padding-bottom: 6px; }
  .map-show { top: 160px; left: auto; right: var(--gap); align-items: flex-end; }
  .map-show .seg button { padding: 3px 9px; min-height: 30px; }
  .map-show .tag { display: none; }
  .mini { display: block; top: 136px; }
  [data-sheet="left"] .mini, [data-sheet="right"] .mini { display: none; }
  .grid-labels { display: none; }
  .rail { display: none; top: auto; bottom: 112px; left: var(--gap); right: var(--gap); width: auto; max-height: 56dvh; z-index: 7; }
  [data-sheet="left"] .rail-left, [data-sheet="right"] .rail-right { display: flex; }
  [data-sheet="left"] .time-bar, [data-sheet="right"] .time-bar { display: none; }
  [data-sheet="left"] .map-hud, [data-sheet="right"] .map-hud { display: none; }
  .dock-stack { left: var(--gap); right: var(--gap); bottom: calc(var(--drawer) + 28px); }
  .phone-only { display: block; }
  .dock { display: flex; width: 100%; }
  .dock button { flex: 1; padding: 4px 2px; min-height: 40px; }
  .map-tools { display: none; }
  .dock-row > .map-hud { position: fixed; left: var(--gap); right: var(--gap); top: 164px; width: fit-content; max-width: calc(100vw - 2 * var(--gap)); padding: 3px 6px; min-height: 0; }
  .dock-row .dock { margin-left: 0; }
  .hud-coord { display: none; }
  .time-bar #t-prev, .time-bar #t-next { display: none; }
  .dash-charts { grid-template-columns: minmax(0, 1fr); }
  .drawer .chart { height: 260px; }
}
@media (max-height: 520px) {
  .mini, .map-hud, .dock-note, .map-stage .tag { display: none; }
  .rail { max-height: 44dvh; bottom: 60px; }
  .dock-stack { bottom: calc(var(--drawer) + 22px); }
}
main.wrap section { padding-top: 36px; }

.table-wrap { border: 1px solid var(--glass-line); border-radius: var(--r); background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
th, td { border-bottom: 1px solid var(--hair); }
tr:last-child td { border-bottom: 0; }
td.zero { font-weight: 600; }
.pill { padding: 0 6px; border-radius: var(--r-small); font: 500 var(--fs-micro)/1.55 var(--sans); color: #111; }
.pill.green { background: #1f7a33; color: #fff; }
.pill.amber { background: #e6aa1e; }
.pill.red { background: #d23232; color: #fff; }
.pill.grey { background: #969696; }
.foot { margin: 44px auto 28px; }
@media (prefers-contrast: more) {
  :root { --glass: #0b1014; --glass-line: #cfdbe2; --hair: #cfdbe2; }
}
@media (max-width: 960px) {
  .finding { display: flex; flex-direction: column; }
  .finding-text { display: contents; }
  .eyebrow { order: 1; }
  .finding h1 { order: 2; }
  .finding-map { order: 3; margin-bottom: 16px; }
  .lede { order: 4; }
  .finding-stats { order: 5; }
  .tour-cta { order: 7; }

  .finding-text > .fine { order: 9; margin-bottom: 8px; }
  .swipe { flex: none; height: 50vh; min-height: 320px; }

  .map { height: 320px; }
  .map.tall { height: 420px; }
}
@media (max-width: 600px) {
  .finding-stats { grid-template-columns: minmax(0, 1fr); }
  .topbar-links { display: none; }
  .topbar-in { justify-content: space-between; }

  .swipe-tag { max-width: 46%; }
  .view-label { width: 100%; margin-bottom: 4px; }
}

.live { margin: 0 auto; }
.live-head { max-width: 62em; }
.live-head h1 { line-height: 1.08; max-width: 18em; }
.live-head .plain { margin: 0; }

.live-grid { display: grid; align-items: start; }
.live-cases, .live-panel { background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); padding: 10px 12px; }
.live-cases h2 + .live-kind { color: var(--muted); }

.live-row { display: block; width: 100%; background: none; border: 0; border-top: 1px solid var(--hair); border-left: 2px solid transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.live-row:hover { background: var(--hover); }
.live-row.on { background: rgba(94, 200, 255, .12); border-left-color: #5ec8ff; }

.live-map-wrap { position: relative; min-width: 0; }
.live-map { border-radius: var(--r); }
.live-legend { display: flex; flex-wrap: wrap; font-size: var(--fs-micro); color: var(--soft); }
.live-legend span { display: inline-flex; align-items: center; gap: 6px; }
.live-box-swatch { background: none !important; border: 1.5px dashed #ffd166; }
.live-panel h2 { margin: 2px 0 4px; line-height: 1.3; }
.live-sub { margin: 0 0 10px; font-size: var(--fs-small); color: var(--soft); }
.live-warn { color: #ffcf8a; }
.live-run { min-height: 40px; font-size: var(--fs-body); }
.live-run:disabled { opacity: .55; cursor: default; }
.live-steps { padding-left: 20px; font-size: var(--fs-small); color: var(--muted); }
.live-steps li.done { color: var(--ink); }
.live-steps li.done::marker { color: #5ec8ff; }
.live-step-note { color: var(--soft); }

.live-settings { border-top: 1px solid var(--hair); font-size: var(--fs-small); }
.live-settings summary { cursor: pointer; font-weight: 500; }
.live-settings fieldset { margin: 8px 0; padding: 4px 8px 6px; border: 1px solid var(--hair); border-radius: var(--r-small); }
.live-settings legend { padding: 0 4px; color: var(--soft); font-size: var(--fs-micro); }
.live-settings fieldset label, .live-check { display: flex; align-items: center; gap: 6px; min-height: 26px; }
.live-range { display: block; margin: 8px 0; }
.live-range output { float: right; font-family: var(--sans); color: var(--soft); }
.live-range input { display: block; width: 100%; }
.live-foot { max-width: 70em; }

.trust { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; padding: 4px 9px; border-radius: var(--r-small); background: var(--glass); border: 1px solid var(--glass-line); border-left: 3px solid #a9b6be; font-size: var(--fs-small); line-height: 1.35; color: var(--ink); }
.trust b { font-weight: 600; }
.trust-why { flex-basis: 100%; color: var(--soft); font-size: var(--fs-micro); padding-left: 16px; }
.trust-dot { width: 9px; height: 9px; flex: none; display: inline-block; box-sizing: border-box; border: 1.5px solid #a9b6be; }
.trust-green { border-left-color: #3fb65a; }
.trust-green .trust-dot { background: #3fb65a; border-color: #3fb65a; border-radius: 50%; }
.trust-amber { border-left-color: #e6aa1e; }
.trust-amber .trust-dot { background: #e6aa1e; border: 0; transform: rotate(45deg) scale(.82); }
.trust-red { border-left-color: #ef5a5a; }
.trust-red .trust-dot { background: #ef5a5a; border: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.trust-record { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-micro); }
.trust-hint { color: var(--muted); font-size: var(--fs-small); }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 10px; margin-top: 14px; }
.game-stage { position: relative; min-width: 0; }
.game-map { cursor: crosshair; }
.game-tools, .game-view { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 4px; padding: 3px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-small); }
.game-tools[hidden], .game-view[hidden], .game-view button[hidden] { display: none; }
.game-tools button, .game-view button { background: none; border: 1px solid transparent; color: var(--soft); border-radius: var(--r-small); padding: 3px 10px; min-height: 30px; font: inherit; font-size: var(--fs-small); cursor: pointer; }
.game-tools button:hover, .game-view button:hover { color: var(--ink); background: var(--hover); }
.game-tools button.on, .game-view button.on { color: var(--ink); background: var(--pressed); border-color: var(--pressed-line); }
.game-side p { font-size: var(--fs-small); color: var(--soft); }

.game-verdict { font-weight: 500; color: var(--ink) !important; font-size: var(--fs-body) !important; }
.game-buttons { display: flex; flex-wrap: wrap; }
.game-buttons .btn { min-height: 36px; padding: 4px 14px; font-size: var(--fs-small); }
.game-buttons .btn:disabled { opacity: .45; cursor: not-allowed; }
.game-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-micro); color: var(--soft); }
.game-key span { display: inline-flex; align-items: center; gap: 5px; }
.time-stamp { position: absolute; top: 10px; left: 12px; z-index: 2; font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--display); color: var(--ink); text-shadow: 0 1px 3px rgba(0, 0, 0, .9); pointer-events: none; }
.time-trust { position: absolute; left: 10px; bottom: 34px; right: 60px; z-index: 2; pointer-events: none; }
.time-trust .trust { max-width: 520px; }
.kpi-trust { display: block; margin-top: 5px; }
.kpi-trust:empty { display: none; }


.band-c { color: #8fb4ff; }
.band-l { color: #e57ae5; }

.bands-controls { font-size: var(--fs-small); color: var(--soft); }
.bands-controls label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; min-height: 24px; }
.bands-read { margin-top: 8px; }
.deeper { margin-top: 40px; border-top: 1px solid var(--glass-line); }

@media (max-width: 900px) {
  .game-grid { grid-template-columns: minmax(0, 1fr); }
}
.story > h2 { font-size: var(--fs-h2); max-width: 22em; }
.fine { margin: 12px 0 0; max-width: 980px; }
.fine > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; color: var(--muted); font-size: var(--fs-small); list-style: none; }
.fine > summary::-webkit-details-marker { display: none; }
.fine > summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid var(--glass-line); border-radius: var(--r-small); font: 500 var(--fs-micro)/1 var(--sans); }
.fine[open] > summary::before { content: "−"; }
.fine > summary:hover { color: var(--soft); }
.fine-body { background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); font-size: var(--fs-small); color: var(--soft); }
.fine-body p:last-child { margin-bottom: 0; }
.fine-body p:empty { display: none; }
.fine-body .chart { height: 280px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card { border: 1px solid var(--glass-line); border-top: 3px solid var(--accent); border-radius: var(--r); }
.stat-num { display: block; font: 600 var(--fs-stat)/1.05 var(--display); margin-bottom: var(--s1); }
.stat-label { display: block; color: var(--soft); font-size: var(--fs-small); }

.time-hud { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; margin: 0; pointer-events: none; }
.time-hud div { padding: 5px 9px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-small); text-align: right; }
.time-hud dt { color: var(--muted); font-size: var(--fs-micro); }
.time-hud dd { margin: 0; font: 600 var(--fs-body)/1.2 var(--sans); color: var(--ink); }
.time-hud div:first-child dd { color: #e57ae5; }
.time-hud div:nth-child(2) dd { color: var(--truth); }
.game-hint { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 2; margin: 0; padding: 5px 12px; background: var(--glass); border: 1px solid var(--pressed-line); border-radius: 999px; color: var(--ink); font-size: var(--fs-small); pointer-events: none; white-space: nowrap; }
.game-hint[hidden] { display: none; }
.deep { max-width: 1240px; }
.deep > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; list-style: none; }
.deep > summary::-webkit-details-marker { display: none; }
.deep > summary::after { content: "+"; margin-left: auto; font: 500 var(--fs-h3)/1 var(--sans); color: var(--muted); }
.deep[open] > summary::after { content: "−"; }
.deep > summary:hover { background: var(--hover); }
.topbar-links a.active { color: var(--ink); }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .stat-cards, .who-cards { grid-template-columns: minmax(0, 1fr); }
  .time-hud { left: 10px; right: auto; top: auto; bottom: 74px; }
  .time-hud dd { font-size: var(--fs-body); }
}

.run-area, .run-grade { display: flex; flex-direction: column; margin: 8px 0; }
.run-area .stat-num { color: #e57ae5; }

.run-trust { margin: 8px 0; }
.run-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0; font-size: var(--fs-micro); color: var(--soft); }
.run-key span { display: inline-flex; align-items: center; gap: 5px; }

.run-teaser { padding-bottom: 8px; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 8px 22px; background: var(--accent); color: #14100a; border: 1px solid var(--accent); border-radius: var(--r-small); font: 600 var(--fs-body)/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 22px rgba(255, 209, 102, .18); }
.btn-primary:hover { background: #ffdb85; border-color: #ffdb85; color: #14100a; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-quiet { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 0; background: none; border: 0; color: var(--soft); font: 500 var(--fs-small)/1.3 var(--sans); text-decoration: underline; text-decoration-color: rgba(214, 225, 232, .35); text-underline-offset: 4px; cursor: pointer; }
.btn-quiet:hover { color: var(--ink); }

.topbar-links a { text-decoration: none; color: var(--muted); font-size: var(--fs-small); }
.topbar-links a:hover, .topbar-links a.active { color: var(--ink); }
.topbar-plain { color: var(--muted); font-weight: 400; }

.lede { line-height: 1.6; }
.fact { border-top: 2px solid var(--line); }

.tour-cta { display: flex; flex-wrap: wrap; align-items: center; }
.tour-cta .btn { min-height: 44px; padding: 6px 18px; }

.story > .eyebrow + h2 { margin-top: 0; }
.game-grid, .bands-grid, .towns { gap: var(--s5); }

.run-teaser .plain { font-size: var(--fs-small); color: var(--muted); margin: 0 0 var(--s4); }
.deep { margin: 0; background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; }
.deep:first-of-type { border-top: 1px solid var(--hair); }
.deep > summary { padding: var(--s3) var(--s1); font-size: var(--fs-h3); }
.foot { border-top: 1px solid var(--hair); color: var(--muted); font-size: var(--fs-micro); }
.live-head .plain { font-size: var(--fs-body); color: var(--soft); max-width: 40em; }
.live-grid { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(300px, 360px); }
.live-cases { padding: 0; background: none; border: 0; }
.live-cases h2 { margin: var(--s5) 0 var(--s1); font: 600 var(--fs-micro)/1.4 var(--sans); color: var(--brand); }
.live-cases h2:first-child { margin-top: 0; }

.live-map { border: 0; }
.live-panel h2 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.live-run { width: 100%; }

.live-settings { margin: var(--s3) 0; padding-top: var(--s3); }
.live-foot { margin-top: var(--s6); }
.bar-more { position: relative; }
.bar-more > summary { list-style: none; }
.bar-more > summary::-webkit-details-marker { display: none; }
.bar-more > summary::after { content: " ▾"; font-size: var(--fs-micro); }
.bar-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column; min-width: 220px; padding: var(--s2); background: var(--panel); border: 1px solid var(--glass-line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.bar-menu a, .bar-menu button { display: block; padding: var(--s2) var(--s3); background: none; border: 0; border-radius: var(--r-small); color: var(--soft); font: 400 var(--fs-small)/1.3 var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.bar-menu a:hover, .bar-menu button:hover { background: var(--hover); color: var(--ink); }
.glass { border-color: transparent; }
.glass-primary { border-color: var(--glass-line); }
.river-title { letter-spacing: 0; font-size: var(--fs-h3); }
.dash-sub { font-size: var(--fs-body); }
.readouts { padding: var(--s3) var(--s4); }
.kpi-lead .kpi-num { font: 600 1.7rem/1.1 var(--display); color: #e57ae5; }
.kpi-num { font-size: var(--fs-body); }
.collapse > summary { justify-content: space-between; min-height: 32px; font-size: var(--fs-small); color: var(--soft); }

.ev-findings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ev-title { display: block; margin: var(--s1) 0; font-size: var(--fs-body); }
#records { margin-top: var(--s7); }
.table-wrap { overflow-x: auto; border-color: var(--hair); }
th { border-bottom-color: var(--glass-line); font: 600 var(--fs-small)/1.3 var(--sans); color: var(--muted); }
th.num, td.num { text-align: right; font-family: var(--sans); }
tbody tr:nth-child(even) td, table tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.ev-total td { font-weight: 600; color: var(--ink); }
.ev-more { margin-top: var(--s2); }
@media (max-width: 900px) {
  .ev-findings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ev-findings { grid-template-columns: minmax(0, 1fr); }
}
.ev-findings .stat-num { font-size: clamp(1.4rem, 2.1vw, 1.9rem); }
@media (max-width: 1100px) {
  .live-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
  .live-cases { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .live-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .topbar-in > .topbar-plain { display: none; }

}
.wrap { max-width: calc(1180px + 2 * var(--gutter)); padding: 0 var(--gutter); }
.wrap.wide { max-width: calc(1400px + 2 * var(--gutter)); }
.topbar-in { min-height: 60px; gap: var(--s6); }
.topbar-links { scrollbar-width: none; gap: var(--s5); }
.finding { gap: clamp(32px, 6vw, 96px); }

.tour-cta { gap: var(--s4) var(--s5); }

.legend-row { gap: var(--s2) var(--s5); }
.game-grid, .bands-grid, .towns, .glow, .agree { gap: var(--s7); }
.game-side h3 { margin: 0 0 var(--s4); font-size: var(--fs-h3); }

.game-buttons { gap: var(--s4); }

.stat-cards { gap: var(--s5); }
.stat-label { line-height: 1.5; }
.town-label { margin-top: var(--s5); padding: var(--s4) var(--s5); }
.town-search-label { display: block; margin-bottom: var(--s3); }

.fine-body { margin-top: var(--s3); line-height: 1.6; }
.fine-body p { margin: 0 0 var(--s3); }
.deep-body { padding: var(--s2) var(--s1) var(--s7); }
.foot { padding-top: var(--s6); }
.foot p { margin-bottom: var(--s3); }
.live { max-width: calc(1440px + 2 * var(--gutter)); padding: var(--s8) var(--gutter) var(--s8); }
.live-head h1 { margin: 0 0 var(--s5); }
.live-grid { gap: var(--s6); }
.live-cases h2 { margin-top: var(--s6); }
.live-cases h2 + .live-kind { font-size: var(--fs-micro); margin: 0 0 var(--s3); margin-bottom: var(--s4); }
.live-sub { margin-bottom: var(--s5); line-height: 1.55; }
.live-steps { margin: var(--s5) 0 var(--s4); }
.live-steps li { transition: color .2s; margin-bottom: var(--s2); }
.live-result { margin: var(--s5) 0; }
.live-result .run-area, .live-result .run-grade { margin: 0 0 var(--s4); margin-bottom: var(--s5); }

.live-legend { margin-top: var(--s4); gap: var(--s2) var(--s5); }
.dash-page { --drawer: 0px; --rail-l: 276px; --rail-r: 356px; --gap: 18px; --bar: 56px; }
.dash-bar { gap: var(--s5); }
.rail { scrollbar-width: thin; scrollbar-color: var(--line) transparent; gap: var(--s5); }
.glass { padding: var(--s4) var(--s5); }
.glass-primary { padding: var(--s5); }
.dash-sub { color: var(--soft); margin-top: var(--s3); line-height: 1.5; }
.kpi { padding: var(--s4) 0; }
.flood-tabs { margin: var(--s3) 0 var(--s4); }
.ev-findings { gap: var(--s5); }
#tests h2, #lidar h2, #gap h2 { margin-bottom: var(--s4); }
.table-wrap + .note, .ev-more + .note { margin-top: var(--s4); }
@media (max-width: 760px) {
  .finding { gap: var(--s6); }
  .game-grid, .bands-grid, .towns, .glow, .agree { gap: var(--s6); }
  .game-side, .live-panel { padding: var(--s5); }
}
@media (max-width: 600px) {
  .topbar-in { gap: var(--s3); min-height: 54px; }
}
.finding { grid-template-columns: minmax(360px, 6fr) minmax(0, 7fr); padding-top: var(--s6); padding-bottom: var(--s6); height: auto; min-height: min(calc(100vh - 60px), 820px); align-items: stretch; }
.finding h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); margin: 0 0 var(--s4); }
.finding-text .eyebrow { margin-bottom: var(--s3); }
.lede { margin: 0 0 var(--s5); font-size: var(--fs-body); max-width: 38em; }
.finding-stats { margin: 0 0 var(--s4); gap: var(--s5); }
.fact { padding-top: var(--s3); }

.tour-cta { margin: 0 0 var(--s5); }

.finding-map { align-self: stretch; }
.view-switch { margin-bottom: var(--s3); }
.legend-row { margin-top: var(--s3); }
.story { margin-top: 0; padding-top: var(--s8); }
.story > .eyebrow { margin-bottom: var(--s2); }
.story > h2 { margin-bottom: var(--s3); }
.story > .plain { line-height: 1.65; margin: 0 0 var(--s5); }

.map.time-big { height: 500px; }
.game-map { touch-action: none; height: 440px; }

.bands-controls { margin: var(--s4) 0 var(--s2); }

#timeline .time-why { max-width: 980px; padding: 0 0 0 var(--s3); background: none; border-left-width: 2px; color: var(--soft); margin-top: var(--s4); }
.stat-cards { margin: 0 0 var(--s6); }
.stat-card { padding: var(--s4) var(--s5); }

.fine { margin-top: var(--s4); }
.fine-body { padding: var(--s4) var(--s5); }
.game-side { padding: var(--s5); }

.game-buttons { margin-top: var(--s4); }
.deep > summary { min-height: 56px; }
.deep-body { padding-bottom: var(--s5); }
.deeper .story-actions { align-items: center; gap: var(--s5); margin-top: var(--s5); }
.foot { margin-top: var(--s8); padding-bottom: var(--s6); }
.live { padding-top: var(--s6); padding-bottom: var(--s7); }
.live-head { margin-bottom: var(--s5); }
.live-head h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: var(--s4); }
.live-row { padding: var(--s3) var(--s3); }
.live-panel { padding: var(--s5); }
.live-map { height: calc(100vh - 240px); min-height: 460px; }
.evidence-head { padding-top: var(--s7); }
.evidence-head .plain { margin-bottom: var(--s5); }
#tests .sub, #lidar .sub, #gap .sub { margin-bottom: var(--s4); }
th, td { text-align: left; white-space: nowrap; padding: 11px 18px; }
@media (max-width: 960px) {
  .finding { min-height: 0; }
}
@media (max-width: 760px) {
  .story { padding-top: var(--s7); }

  .map.time-big { height: 400px; }
  .game-map { height: 360px; }
}
:root { --bg: #101a24; --panel: #182532; --ink: #f2f6f8; --soft: #d6e1e8; --muted: #a7b9c5; --line: #2b3a48; --nisar: #d63ad6; --gfm: #286eff; --truth: #00c8dc; --accent: #ffd166; --brand: #3cc6d6; --r: 6px; --r-small: 3px; --hover: rgba(232, 238, 242, .08); --pressed: rgba(255, 209, 102, .16); --pressed-line: rgba(255, 209, 102, .65); --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --fs-display: clamp(2.2rem, 4.4vw, 3.3rem); --fs-h2: clamp(1.6rem, 2.8vw, 2.2rem); --fs-h3: 1.15rem; --fs-body: 1rem; --fs-small: .875rem; --fs-micro: .75rem; --fs-stat: clamp(1.8rem, 3vw, 2.6rem); --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px; --night-0: #03060a; --night-1: #07111a; --night-2: #0c1822; --hairline: rgba(205, 225, 235, .12); --water: #00c8dc; --water-ink: #6fe3ef; --forest: #4fdcb0; --forest-ink: #8debcd; --nisar-ink: #e57ae5; --official: #286eff; --official-ink: #8fb4ff; --veil: #8a969e; --veil-ink: #b9c4cb; --people: #ffb45a; --people-ink: #ffc98a; --action: #ffd166; --gutter: clamp(20px, 5.5vw, 88px); --display: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif; --brand-soft: rgba(60, 198, 214, .14); --brand-line: rgba(60, 198, 214, .55); }
h1, h2, .brand, .deep > summary, .who-title, .game-side h3, .live-panel h2, .river-title { font-family: var(--display); letter-spacing: -.02em; }
h1 { font-weight: 700; letter-spacing: -.035em; }
h2 { font-weight: 600; }
.brand { font-weight: 700; letter-spacing: -.01em; }
.brand::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, var(--brand) 40%, rgba(60, 198, 214, 0) 72%); box-shadow: 0 0 12px rgba(60, 198, 214, .8); vertical-align: 1px; }
.finding h1, .live-head h1, .evidence-head h1 { background: linear-gradient(100deg, #ffffff 0%, #eaf9fb 45%, #7fe3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
body { overflow-x: hidden; overflow-x: clip; position: relative; }
body::before, body::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(110vh, 1100px); z-index: -1; pointer-events: none; }
body::before { background-image: linear-gradient(rgba(124, 214, 226, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 214, 226, .055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(120% 80% at 25% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); mask-image: radial-gradient(120% 80% at 25% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); }
body::after { width: 34%; right: auto; background: linear-gradient(90deg, transparent 0%, rgba(60, 198, 214, .07) 45%, rgba(60, 198, 214, .16) 50%, rgba(60, 198, 214, .07) 55%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%); transform: translateX(-110%) skewX(-12deg); animation: swath 22s linear infinite; }
@keyframes swath { to { transform: translateX(400%) skewX(-12deg); } }
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; transform: translateX(160%) skewX(-12deg); }
}
.dash-page::before, .dash-page::after, .tour-page::before, .tour-page::after { display: none; }
.swipe, .game-stage, .band-map, .time-map, .town-map-wrap, .live-map, .agree-map { position: relative; }
.swipe::after, .game-stage::after, .band-map::after, .time-map::after, .town-map-wrap::after, .live-map::after, .agree-map::after { content: ""; position: absolute; inset: 8px; z-index: 4; pointer-events: none; --c: rgba(127, 227, 238, .75); --l: 18px; --w: 2px; background: linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat; }
.swipe, .band-map, .map.time-big, #town-map, #game-map, .live-map, #agree-map { box-shadow: 0 0 0 1px rgba(127, 227, 238, .14), 0 18px 48px rgba(0, 0, 0, .35); }
.fact-num, .stat-num, .band-num, .kpi-lead .kpi-num, .time-hud dd { text-shadow: 0 0 26px color-mix(in srgb, currentColor 45%, transparent); }
.stat-card { border-top-color: var(--brand); background: linear-gradient(180deg, rgba(60, 198, 214, .06), transparent 60%), var(--panel); }

.story { border-top: 0; background: linear-gradient(90deg, transparent, rgba(60, 198, 214, .4) 30%, rgba(60, 198, 214, .4) 70%, transparent) top / 100% 1px no-repeat; }
#tests, #lidar, #gap { margin-top: var(--s7); padding-top: var(--s7); border-top: 0; background: linear-gradient(90deg, transparent, rgba(60, 198, 214, .35), transparent) top / 100% 1px no-repeat; }
.view-switch button.on, .seg button.on, .glow-waves button.on, .dock button.on, .why-switch button.on, .game-tools button.on, .game-view button.on, .flood-tabs button[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand-line); box-shadow: inset 0 -2px 0 var(--brand); color: var(--ink); }

.topbar-links a.active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--brand); }
.btn-quiet:hover { text-decoration-color: var(--brand); }
.eyebrow { text-shadow: 0 0 18px rgba(60, 198, 214, .35); }
.lantern { position: relative; height: 1270vh; margin-top: var(--s8); background: #03060a; }
.lantern-stage { position: sticky; top: 60px; height: calc(100vh - 60px); overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #07131c 0%, #03060a 60%); isolation: isolate; }
.lantern-canvas, .lantern-glow { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.lantern-glow { filter: blur(10px) saturate(1.4); opacity: 1; mix-blend-mode: screen; }
.lantern-map { position: absolute; inset: 0; opacity: 0; }
.lantern-map .maplibregl-canvas { filter: saturate(.9) brightness(.92); }
.lantern-grid { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .6s; background-image: linear-gradient(rgba(3, 6, 10, .6) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 6, 10, .6) 1px, transparent 1px); }
.lantern-reticle { position: absolute; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s; --c: #b9f6ff; --l: 12px; --w: 2px; background: linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat; filter: drop-shadow(0 0 8px rgba(185, 246, 255, .9)); }
.l-pixel-on .lantern-grid, .l-pixel-on .lantern-reticle { opacity: 1; }
.lantern-tree { position: absolute; inset: 0; z-index: 2; opacity: 0; display: grid; place-items: center; padding: 70px 7vw 6vh 40vw; pointer-events: none; background: radial-gradient(80% 80% at 55% 40%, #0a1822, #03060a 75%); }
.lantern-tree svg { width: min(1000px, 100%); height: 100%; }
.lantern-top { position: absolute; top: 18px; left: var(--gutter); right: var(--gutter); z-index: 6; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); }
.lantern-brand { margin: 0; font: 600 1rem/1 var(--display); letter-spacing: -.01em; color: #eafcff; }
.lantern-brand span { margin-left: 10px; font: 500 var(--fs-small)/1 var(--sans); color: var(--brand); }
.lantern-scale { position: absolute; left: var(--gutter); top: 64px; z-index: 6; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.lantern-scale #lantern-pow { font: 500 clamp(1.25rem, 2vw, 1.7rem)/1 var(--display); color: #eafcff; }
.lantern-scale #lantern-fov { font: 400 var(--fs-small)/1.4 var(--sans); color: var(--muted); }

.lantern-copy { --lk: var(--brand); position: absolute; left: var(--gutter); bottom: 8vh; z-index: 5; max-width: min(440px, 34vw); pointer-events: none; }
.lantern-copy > * { pointer-events: auto; }
[data-act="people"] .lantern-copy { --lk: #ffc98a; }
[data-act="blind"] .lantern-copy { --lk: #b9c4cb; }
[data-act="pixel"] .lantern-copy, [data-act="tree"] .lantern-copy { --lk: #f0a6f0; }
.lantern-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s3); font: 500 var(--fs-small)/1.3 var(--sans); color: var(--lk); }
.lantern-kicker::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 1px; background: var(--lk); }
.lantern-number { margin: 0; font: 600 clamp(2.6rem, 4.4vw, 4rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #f2fbfd; text-shadow: 0 2px 18px rgba(3, 6, 10, .7); }
.lantern-unit { margin: 6px 0 var(--s3); font: 500 clamp(1rem, 1.3vw, 1.15rem)/1.3 var(--sans); color: #dbe9ee; text-shadow: 0 1px 10px #03060a; }
.lantern-line { margin: 0; max-width: 40em; color: var(--soft); font-size: var(--fs-small); line-height: 1.6; text-shadow: 0 1px 10px #03060a, 0 0 2px #03060a; }
.lantern-extra:empty { display: none; }
.lantern-extra { margin-top: var(--s4); }
.l-echo { display: grid; gap: 8px; max-width: 360px; margin-bottom: var(--s3); }
.l-bar { position: relative; height: 26px; border-radius: 3px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.l-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, rgba(229, 122, 229, .25), rgba(229, 122, 229, .75)); transition: filter .2s; }
.l-bar span { position: relative; z-index: 1; display: block; padding: 4px 10px; font: 500 var(--fs-micro)/18px var(--sans); color: var(--ink); }
.l-bar.l-ping i { filter: brightness(1.9) drop-shadow(0 0 10px #f39af3); }
.l-hear { min-height: 40px; padding: 6px 16px; background: rgba(229, 122, 229, .14); border: 1px solid rgba(229, 122, 229, .6); border-radius: 999px; color: #fbe3fb; font: 600 var(--fs-small)/1 var(--sans); cursor: pointer; }
.l-hear:hover { background: rgba(229, 122, 229, .26); }
.l-cta, .lantern-fine { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s; }
.l-cta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.l-cta.in, .lantern-fine.in { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease, transform .9s ease, visibility 0s; }
.lantern-strip { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 40px); bottom: 2vh; z-index: 5; opacity: 0; pointer-events: none; }
.lantern-strip svg { display: block; width: 100%; height: 92px; }
.lantern-when { position: absolute; right: 0; top: -30px; margin: 0; font: 600 var(--fs-body)/1 var(--sans); color: #eafcff; text-shadow: 0 0 12px #03060a; }
.ls-flood { stroke: rgba(234, 252, 255, .5); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.ls-gauge { fill: none; stroke: rgba(127, 227, 238, .8); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ls-head { stroke: #ffffff; stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px #fff); }
.ls-pass line { stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 3; }
.ls-nisar line { stroke: rgba(229, 122, 229, .8); }
.ls-gfm line { stroke: rgba(143, 180, 255, .6); }
.ls-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font: 400 var(--fs-micro)/1.3 var(--sans); color: var(--muted); }
.ls-key span { display: inline-flex; align-items: center; gap: 6px; }
.ls-key i { display: inline-block; width: 12px; height: 2px; background: rgba(127, 227, 238, .8); }
.ls-key .ls-k-flood { background: none; border-top: 1px dashed rgba(234, 252, 255, .6); }
.ls-key .ls-k-nisar { width: 8px; height: 8px; border-radius: 50%; background: #e57ae5; }
.ls-key .ls-k-gfm { width: 8px; height: 8px; background: #8fb4ff; }
[data-act="river"] .lantern-copy { bottom: calc(2vh + 150px); }
.lantern-hint { position: absolute; left: 50%; bottom: 3vh; z-index: 6; transform: translateX(-50%); margin: 0; color: var(--brand); font: 500 var(--fs-micro)/1 var(--sans); transition: opacity .4s; animation: lantern-bob 1.8s ease-in-out infinite; }
@keyframes lantern-bob { 50% { transform: translate(-50%, 5px); } }
.lt-soil { fill: #1b1610; }
.lt-water { transition: y .2s; }
.lt-trees rect { fill: #3a2e22; }
.lt-crown { fill: #1b472c; stroke: rgba(120, 200, 140, .3); stroke-width: 1.5; }
.lt-sat-l rect { fill: #e57ae5; }
.lt-sat-c rect { fill: #8fb4ff; }
.lt-label { font: 600 14px var(--sans); }
.lt-l { fill: #f0b4f0; }
.lt-c { fill: #b8cfff; }
.lt-wave { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lt-wave-l { stroke: #e57ae5; filter: drop-shadow(0 0 6px rgba(229, 122, 229, .8)); }
.lt-echo { stroke: #ffc4ff; filter: drop-shadow(0 0 10px rgba(255, 160, 255, .9)); }
.lt-wave-c { stroke: #8fb4ff; }
.lt-scatter { fill: none; stroke: #8fb4ff; stroke-width: 1.6; opacity: .8; }
.lt-hit { fill: #fff; filter: drop-shadow(0 0 10px #e57ae5); }
.lt-note { font: 500 14px var(--sans); fill: var(--soft); }
.lt-small { font-size: 12px; fill: var(--muted); }
.lantern-fine { margin-top: var(--s3); }
@media (prefers-reduced-motion: reduce) { .l-cta, .l-cta.in, .lantern-fine, .lantern-fine.in { transition: none; transform: none; } }
.lantern-fine .fine-body { max-height: min(24vh, 220px); overflow-y: auto; overscroll-behavior: contain; padding: var(--s3) var(--s4); }
@media (prefers-reduced-motion: reduce) {
  .lantern-hint { animation: none; }
}
@media (max-width: 760px) {
  .lantern { height: 1175vh; }
  .lantern-stage { top: 54px; height: calc(100svh - 54px); }
  .lantern-copy { left: 0; right: 0; bottom: 0; max-width: none; padding: 28px 16px 3vh; background: linear-gradient(180deg, rgba(3, 6, 10, 0), rgba(3, 6, 10, .82) 30%); }
  .lantern-number { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  .lantern-unit { font-size: var(--fs-small); margin-bottom: var(--s2); }
  .lantern-line { font-size: var(--fs-small); }

  .lantern-scale { top: 50px; left: 16px; }
  .lantern-top { left: 16px; right: 16px; }
  .lantern-brand span { display: none; }
  .lantern-strip { left: 16px; right: 44px; top: 176px; bottom: auto; }
  .lantern-strip svg { height: 70px; }
  .lantern-when { font-size: var(--fs-small); top: -24px; }
  [data-act="river"] .lantern-copy { bottom: 0; }
  .lantern-tree { padding: 60px 8px 46vh; }
}
body.night { background: var(--night-0); }
body.night::before, body.night::after { display: none; }
.night .topbar { background: rgba(3, 6, 10, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.night .topbar-space { flex: 1; }
.night .brand::before { background: radial-gradient(circle, #fff 0 18%, var(--nisar-ink) 42%, rgba(229, 122, 229, 0) 72%); box-shadow: 0 0 12px rgba(229, 122, 229, .7); }
.night .lantern { margin-top: 0; }
.night .story { position: relative; isolation: isolate; background: none; border-top: 0; }
.night .story::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none; background: var(--sky, none); }
.night .story::after { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--hairline) 20%, var(--hairline) 80%, transparent); }
.night #game { --sky: radial-gradient(55% 60% at 12% 25%, rgba(255, 180, 90, .045), transparent 70%); }
.night #run { --sky: radial-gradient(50% 70% at 85% 45%, rgba(0, 200, 220, .04), transparent 70%); }
.night #why { --sky: radial-gradient(45% 60% at 70% 40%, rgba(229, 122, 229, .045), transparent 70%); }
.night #timeline { --sky: radial-gradient(60% 60% at 30% 55%, rgba(0, 200, 220, .04), transparent 70%); }
.night h1, .night h2 { color: #f2fbfd; }
.night .finding h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f2fbfd; }
.night .eyebrow { display: flex; align-items: center; gap: 10px; font: 500 var(--fs-small)/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--kick, var(--brand)); text-shadow: none; }
.night .eyebrow::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.night #game { --kick: var(--people-ink); }
.night #why, .night #timeline { --kick: var(--nisar-ink); }
.night #where { --sky: radial-gradient(55% 70% at 35% 60%, rgba(79, 220, 176, .045), transparent 70%); --kick: var(--forest-ink); }
.night #deeper { --kick: var(--soft); }
.night .lede, .night .plain { color: var(--soft); }
.qn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s5) var(--s6); }
.qn { --c: var(--brand); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qn-k { display: flex; align-items: center; gap: 10px; font: 500 var(--fs-small)/1.3 var(--sans); color: var(--c); }
.qn-k::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.qn-n { font: 600 clamp(2rem, 3.2vw, 2.9rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #f2fbfd; }
.qn-u { font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }
.night .fact-num, .night .stat-num, .night .band-num, .night .time-hud dd { text-shadow: none; }
.night .btn { border-color: rgba(205, 225, 235, .22); }
.night .view-switch button.on, .night .seg button.on, .night .flood-tabs button[aria-pressed="true"], .night .dock button.on, .night .game-tools button.on, .night .game-view button.on { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); box-shadow: inset 0 -2px 0 #fff; color: #fff; }
.night .view-switch button, .night .game-tools, .night .game-view, .night .seg, .night .flood-tabs, .night .dock { border-color: rgba(205, 225, 235, .2); }
.night .game-tools, .night .game-view, .night .swipe-tag, .night .lens-hint, .night .game-hint, .night .town-world, .night .trust, .night .maplibregl-ctrl-group { background: rgba(3, 6, 10, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.night .btn-strong { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; }
.night .swipe::after, .night .game-stage::after, .night .band-map::after, .night .time-map::after, .night .town-map-wrap::after, .night .agree-map::after { display: none; }
.night .swipe, .night .band-map, .night .map.time-big, .night #game-map, .night #agree-map, .night .map { box-shadow: none; border: 0; background: transparent; border-radius: 0; }
.night .finding .maplibregl-canvas, .night .story .maplibregl-canvas { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
.night .gauge-pin::before { background: #fff; border: 2px solid var(--water); }
.night .gauge-swatch { background: #fff; outline: 2px solid var(--water); outline-offset: -2px; }
.night .fine > summary::before { border-color: rgba(205, 225, 235, .25); }
.night .fine-body { background: rgba(255, 255, 255, .02); border: 0; border-left: 1px solid var(--hairline); border-radius: 0; }
.night .finding-limit { background: none; border: 0; border-left: 1px solid var(--hairline); border-radius: 0; }
.night .trust { border-color: rgba(205, 225, 235, .18); }
.sound-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 12px 4px 9px; background: none; border: 1px solid var(--hairline); border-radius: 999px; color: var(--muted); font: 500 var(--fs-micro)/1 var(--sans); cursor: pointer; white-space: nowrap; }
.sound-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .sound-wave { opacity: .3; }
.sound-btn:hover { color: var(--ink); border-color: rgba(205, 225, 235, .35); }
.sound-btn.on { color: #fff; border-color: rgba(229, 122, 229, .6); }
.sound-btn.on .sound-wave { opacity: 1; stroke: var(--nisar-ink); }
.sections-menu { display: none; position: relative; }
.sections-menu > summary { list-style: none; cursor: pointer; color: var(--soft); font-size: var(--fs-small); min-height: 32px; display: inline-flex; align-items: center; }
.sections-menu > summary::-webkit-details-marker { display: none; }
.sections-menu .menu-list { position: absolute; right: 0; top: calc(100% + 10px); display: grid; min-width: 200px; padding: 6px; background: rgba(3, 6, 10, .96); border: 1px solid var(--hairline); border-radius: var(--r); }
.sections-menu .menu-list button { text-align: left; background: none; border: 0; color: var(--soft); padding: 10px 12px; font: inherit; font-size: var(--fs-small); border-radius: var(--r-small); cursor: pointer; }
.sections-menu .menu-list button:hover { background: var(--hover); color: var(--ink); }
.sections-menu .menu-page { margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--hairline); color: var(--soft); font-size: var(--fs-small); text-decoration: none; }
.sections-menu .menu-page:hover { background: var(--hover); color: var(--ink); }
.orbit-line { display: none; }
.orbit { position: fixed; z-index: 15; right: max(8px, calc(var(--gutter) / 2 - 14px)); top: 96px; bottom: 32px; width: 28px; pointer-events: none; }
.orbit-track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-path { fill: none; stroke: rgba(205, 225, 235, .18); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; vector-effect: non-scaling-stroke; }
.orbit-done { fill: none; stroke: rgba(229, 122, 229, .7); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; vector-effect: non-scaling-stroke; stroke-dasharray: 0 1; }
.orbit ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.orbit li { position: absolute; left: 0; right: 0; height: 0; }
.orbit-stop { position: absolute; left: calc(50% + var(--x, 0px)); top: 0; width: 24px; height: 24px; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; background: none; border: 0; cursor: pointer; pointer-events: auto; }
.orbit-stop i { width: 8px; height: 8px; border-radius: 50%; background: var(--night-0); border: 1.5px solid rgba(205, 225, 235, .45); transition: transform .3s, background .3s, border-color .3s; }
.orbit-stop.sub i { width: 5px; height: 5px; border-width: 1px; }
.orbit-stop.past i { background: rgba(229, 122, 229, .45); border-color: rgba(229, 122, 229, .85); }
.orbit-stop.on i { background: #fff; border-color: #fff; transform: scale(1.3); }
.orbit-stop:focus-visible { outline: 2px solid var(--action); outline-offset: 0; border-radius: 50%; }
.orbit-label { position: absolute; right: calc(100% + 2px); top: 50%; transform: translate(4px, -50%); white-space: nowrap; padding: 4px 9px; border-radius: var(--r-small); background: rgba(3, 6, 10, .86); color: var(--soft); font: 500 var(--fs-micro)/1.2 var(--sans); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.orbit-stop:hover .orbit-label, .orbit-stop:focus-visible .orbit-label { opacity: 1; transform: translate(0, -50%); color: var(--ink); }
.orbit-stop.flare .orbit-label { animation: orbit-say 2.4s ease-out; }
.orbit-stop.flare i { animation: orbit-flare 1s ease-out; }
@keyframes orbit-say { 0% { opacity: 0; } 12% { opacity: 1; transform: translate(0, -50%); } 70% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; } }
@keyframes orbit-flare { from { box-shadow: 0 0 0 0 rgba(229, 122, 229, .75); } to { box-shadow: 0 0 0 14px rgba(229, 122, 229, 0); } }
.orbit-sat { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #fbe0fb; box-shadow: 0 0 10px 3px rgba(229, 122, 229, .75); transition: transform .22s linear; pointer-events: none; }
@media (max-height: 520px) {
  .orbit { display: none; }
}
.night .finding { position: relative; isolation: isolate; }
.night .finding::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -1px; width: 100vw; height: 220px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(70% 140% at 64% 165%, rgba(3, 6, 10, 1) 58%, rgba(90, 170, 200, .22) 60.5%, rgba(90, 170, 200, .05) 66%, transparent 74%); }
.night .finding-stats { margin-bottom: var(--s5); }
.night .lens-ring { border: 1.5px solid rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 26px rgba(229, 122, 229, .45), inset 0 0 22px rgba(229, 122, 229, .22); }
.night .lens-ring::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .75) 0 1.2deg, transparent 1.2deg 15deg); -webkit-mask: radial-gradient(circle, transparent calc(100% - 6px), #000 calc(100% - 5px)); mask: radial-gradient(circle, transparent calc(100% - 6px), #000 calc(100% - 5px)); }
.night .swipe-tag-left { border-left-color: rgba(255, 255, 255, .5); }
.night .swipe-tag-right { border-right-color: var(--nisar-ink); }
.game-beam { position: absolute; z-index: 3; pointer-events: none; }
.night .game-side { padding: var(--s2) 0 0; background: none; border: 0; }
.game-scores { display: grid; gap: var(--s5); margin: var(--s5) 0; }
.game-scores .qn-n { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.game-scores .qn-u { font-size: var(--fs-micro); }
.night .game-verdict { color: var(--ink); font-size: var(--fs-body); }
.sw-found { background: var(--water); }
.sw-missed { background: repeating-linear-gradient(45deg, var(--water) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1px rgba(0, 200, 220, .5); }
.sw-dry { background: radial-gradient(circle, var(--dot, var(--nisar)) 1.6px, transparent 2px) 0 0 / 5px 5px; box-shadow: inset 0 0 0 1px rgba(205, 225, 235, .2); }
.sw-dry-you { --dot: var(--people); }
.sw-dry-nisar { --dot: var(--nisar-ink); }
.game-key .swatch, .agree-key .swatch { width: 14px; height: 14px; border-radius: 2px; }

.console { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; max-width: 860px; }

@keyframes ping-ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

.dep { font-size: var(--fs-micro); color: var(--muted); }
.dep-us { color: var(--water-ink); }

.waves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.waves-c { text-align: right; align-items: flex-end; }
.waves-c .qn-k { flex-direction: row-reverse; }
.waves-num.speaking .qn-n { color: #fff; text-shadow: 0 0 22px currentColor; }
.waves-stage { position: relative; margin: 0; height: min(76vh, 700px); --x: 50%; touch-action: pan-y; cursor: ew-resize; }
.waves-stage .why-map { position: absolute; inset: 0; height: 100%; }
.waves-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.wv { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.wv-c { stroke: var(--official-ink); opacity: .9; }
.wv-l { stroke: var(--nisar-ink); filter: drop-shadow(0 0 6px rgba(229, 122, 229, .6)); }
.waves-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--x); width: 44px; margin-left: -22px; cursor: ew-resize; touch-action: none; }
.waves-handle::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 12px rgba(255, 255, 255, .5); }
.waves-handle span { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(3, 6, 10, .85); border: 1.5px solid #fff; }
.waves-handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 600 14px/1 var(--sans); letter-spacing: 2px; }
.waves-handle:focus-visible { outline: none; }
.waves-handle:focus-visible span { outline: 2px solid var(--action); outline-offset: 2px; }
.waves-tag { position: absolute; z-index: 3; top: 10px; padding: 3px 8px; border-radius: var(--r-small); background: rgba(3, 6, 10, .74); font: 500 var(--fs-micro)/1.3 var(--sans); pointer-events: none; }
.waves-tag-c { left: 10px; color: var(--official-ink); }
.waves-tag-l { right: 10px; color: var(--nisar-ink); }
.night .bands-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); margin: var(--s5) 0 var(--s3); font-size: var(--fs-small); color: var(--soft); }


.night .time-stamp { display: flex; flex-direction: column; gap: 6px; top: 16px; left: 18px; text-shadow: 0 2px 14px rgba(3, 6, 10, .9); }
.night .time-stamp b { font: 600 clamp(2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #f2fbfd; }
.night .time-stamp span { font: 500 var(--fs-micro)/1 var(--sans); color: var(--soft); }
.time-strip { position: relative; margin-top: var(--s3); }
.time-strip svg { display: block; width: 100%; height: 96px; }
.ls-scrub { cursor: ew-resize; touch-action: pan-y; border-radius: var(--r-small); }
.ls-scrub:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.ls-pass.on line { stroke-width: 2.5; opacity: 1; stroke-dasharray: none; }
.night .time-hud { display: grid; }
.night .time-why { border-left: 1px solid var(--nisar-ink); background: none; padding: 2px 0 2px var(--s4); border-radius: 0; }
.night .towns { grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); align-items: start; }
.town-globe { position: relative; margin: 0; height: min(72vh, 620px); }
.town-globe canvas { position: absolute; inset: 0; width: 100%; }
.tg-glow { filter: blur(10px) saturate(1.4); mix-blend-mode: screen; }
.tg-caption { position: absolute; left: 0; right: 0; bottom: 0; font-size: var(--fs-micro); color: var(--muted); }
.night .town-world { left: 0; top: 0; }
.night .town-tip { background: rgba(3, 6, 10, .9); border: 1px solid var(--hairline); padding: 3px 8px; border-radius: var(--r-small); font-size: var(--fs-micro); pointer-events: none; }
.night .town-label { background: none; border: 0; border-left: 1px solid var(--hairline); border-radius: 0; padding: var(--s2) 0 var(--s2) var(--s5); }
.night .town-label .qn { margin: var(--s3) 0 var(--s4); }
.night .atlas-label { font-size: var(--fs-small); }

.night .deeper { counter-reset: log; }
.night .deep { counter-increment: log; }
.night .deep > summary::before { content: "Log " counter(log, decimal-leading-zero); flex: none; width: 4.2em; font: 500 var(--fs-micro)/1 var(--sans); color: var(--muted); }
.night .dot i { background: rgba(229, 122, 229, .45); box-shadow: 0 0 0 2px var(--night-0); border-radius: 50%; }

.night .gap-est { background: var(--water); }
.night .gap-gfm { background: var(--official-ink); }

.night .foot { border-top: 1px solid var(--hairline); }
.foot-shift { font-size: var(--fs-small); color: var(--soft); }
.foot-shift b { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .orbit { display: none; }
  .orbit-line { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(205, 225, 235, .1); pointer-events: none; }
  .orbit-line::before { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--nisar-ink); }
  .orbit-line i { position: absolute; top: -2px; width: 2px; height: 6px; background: rgba(205, 225, 235, .45); }
  .sections-menu { display: block; }
  .sound-btn .sound-word { display: none; }
  .sound-btn { padding: 4px 8px; }

  .console { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .waves { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .waves-stage { grid-column: 1 / -1; grid-row: 2; height: 70vh; }
  .waves-c { text-align: left; align-items: flex-start; }
  .waves-c .qn-k { flex-direction: row; }
  .night .towns { grid-template-columns: minmax(0, 1fr); }
  .town-globe { height: 64vh; }
  .night .finding::after { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-sat, .pipeline li, .pipeline li i { transition: none; }
  .orbit-stop.flare .orbit-label, .orbit-stop.flare i, .flood-ping i::after { animation: none; }
}
.night .time-hud > div { padding: 0; background: none; border: 0; text-align: left; }
.night .time-hud { margin: var(--s5) 0 var(--s4); position: static; gap: var(--s5) var(--s6); }

.town-globe canvas { height: calc(100% - 52px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
.tg-caption { margin: 0; }

.night .live-head h1, .night .evidence-head h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f2fbfd; }
.night .map { background: var(--night-0); }
.night .stat-card { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.night .stat-num { font: 600 clamp(1.8rem, 2.8vw, 2.6rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #f2fbfd; }
.night .ev-title { display: flex; align-items: center; gap: 10px; margin: var(--s3) 0 var(--s2); font: 500 var(--fs-small)/1.3 var(--sans); color: var(--forest-ink); }
.night .ev-title::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.night .stat-label { color: var(--soft); }
.night #tests, .night #lidar, .night #gap, .night #records { background: linear-gradient(90deg, transparent, var(--hairline) 20%, var(--hairline) 80%, transparent) top / 100% 1px no-repeat; }
.night .table-wrap { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--hairline); }
.night th { background: none; border-bottom: 1px solid var(--hairline); color: var(--muted); }
.night td { border-bottom: 1px solid var(--hairline); }
.night tr:nth-child(even) td, .night tbody tr:nth-child(even) { background: none; }
.night td.num, .night th.num { font-variant-numeric: tabular-nums; }
.night .live-panel { background: none; border: 0; border-left: 1px solid var(--hairline); border-radius: 0; }
.night .live-cases h2 { color: var(--muted); font: 500 var(--fs-small)/1.4 var(--sans); text-transform: none; }
.night .live-row { border-top-color: var(--hairline); border-left-color: transparent; }
.night .live-row.on { background: rgba(255, 255, 255, .06); border-left-color: #fff; }

.night .live-map::after { display: none; }
.night .live-map { box-shadow: none; border: 0; border-radius: 0; }
.night .live-map .maplibregl-canvas { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.night .live-box-swatch, .night .run-box-swatch { border-color: rgba(255, 255, 255, .85); }
.night .live-steps { list-style: none; padding-left: 0; counter-reset: step; }
.night .live-steps li { counter-increment: step; position: relative; padding-left: 2.6em; }
.night .live-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .15em; font: 500 var(--fs-micro)/1.4 var(--sans); color: var(--muted); }
.night .live-steps li::after { content: ""; position: absolute; left: 1.7em; top: .55em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid rgba(205, 225, 235, .4); transition: background .3s, border-color .3s; }
.night .live-steps li.done::after { background: var(--water); border-color: var(--water); }
.night .run-area .stat-num { color: var(--nisar-ink); }

.night .dash-bar { background: rgba(3, 6, 10, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--hairline); }
.night .glass { background: rgba(3, 6, 10, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: transparent; }
.night .glass-primary { border-color: var(--hairline); }
.night .time-bar, .night .map-hud, .night .tag, .night .mini { background: rgba(3, 6, 10, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--hairline); }
.night .drawer { background: rgba(3, 6, 10, .97); border-top-color: var(--hairline); }
.night .kpi { border-top-color: var(--hairline); }
.night .kpi-lead .kpi-num { font: 600 1.8rem/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--nisar-ink); text-shadow: none; }
.night .kpi-num { font-variant-numeric: tabular-nums; }
.night .tour-bar { background: linear-gradient(rgba(3, 6, 10, .9), rgba(3, 6, 10, 0)); }
.night .tour-panel .tour-card, .night .tour-panel .tour-controls, .night .tour-panel .tour-end, .night .tour-panel .tour-loading { background: rgba(3, 6, 10, .84); border-color: var(--hairline); }
.tour-panel .tour-card, .tour-panel .tour-controls, .tour-panel .tour-end, .tour-panel .tour-loading { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.night .tour-ring { border: 1.5px solid rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 26px rgba(229, 122, 229, .45), inset 0 0 22px rgba(229, 122, 229, .22); }
.night .tour-ring::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .75) 0 1.2deg, transparent 1.2deg 15deg); -webkit-mask: radial-gradient(circle, transparent calc(100% - 6px), #000 calc(100% - 5px)); mask: radial-gradient(circle, transparent calc(100% - 6px), #000 calc(100% - 5px)); }
.night .tour-tag { background: rgba(3, 6, 10, .8); border-left-color: rgba(255, 255, 255, .6); }
.night .tour-chip { color: #eafcff; font-weight: 500; }
.night .tour-part::before { background: rgba(205, 225, 235, .2); height: 2px; margin-top: -1px; }
.night .tour-part i { background: #fff; height: 2px; }
.night .tour-bar .sound-btn { margin-left: auto; margin-right: 12px; }
.time-bar .time-strip { padding-bottom: 0; margin-top: 0; }
.time-bar .time-strip svg { height: 46px; }
*, *::before, *::after { font-variant-numeric: tabular-nums !important; }

.night .eyebrow { display: block; }
.night .eyebrow::before { display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; }
.eyebrow .readout { font: 400 var(--fs-small)/1.4 var(--sans); color: var(--muted); }
.eyebrow .readout:not(:empty)::before { content: "·"; margin: 0 8px 0 4px; color: rgba(205, 225, 235, .35); }

.night .tl-pin { position: relative; height: 620vh; padding: 0; margin: 0; }
.night .tl-pin::after { display: none; }
.tl-stage { position: sticky; top: 60px; height: calc(100vh - 60px); overflow: hidden; }
.night .tl-stage .map.time-big { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 6, 10, .9), rgba(3, 6, 10, .5) 30%, transparent 52%), linear-gradient(0deg, rgba(3, 6, 10, .92), rgba(3, 6, 10, .4) 26%, transparent 42%), linear-gradient(180deg, rgba(3, 6, 10, .6), transparent 18%); }
.tl-head { position: absolute; z-index: 3; left: var(--gutter); top: 28px; max-width: min(500px, 38vw); pointer-events: none; }
.tl-head h2 { margin: var(--s2) 0 var(--s3); }
.night .tl-head .plain { margin: 0; font-size: var(--fs-small); }
.tl-tools { position: absolute; z-index: 3; right: calc(var(--gutter) + 24px); top: 24px; }
.night .tl-stage .time-stamp { position: absolute; z-index: 3; top: 84px; right: calc(var(--gutter) + 24px); left: auto; align-items: flex-end; text-align: right; }
.night .tl-stage .time-trust { position: absolute; z-index: 3; top: 170px; right: calc(var(--gutter) + 24px); left: auto; bottom: auto; max-width: 360px; }
.tl-foot { position: absolute; z-index: 3; left: var(--gutter); right: calc(var(--gutter) + 24px); bottom: 16px; }
.night .tl-foot .time-hud { margin: 0 0 var(--s2); max-width: 760px; }
.tl-foot .qn-n { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.night .tl-foot .time-why { max-width: 68ch; margin: 0 0 var(--s2); font-size: var(--fs-small); }
.tl-foot .time-strip { margin-top: 0; }
.tl-foot .time-strip svg { height: 64px; }
.tl-foot .ls-key { margin-top: 2px; }
.tl-stage .maplibregl-ctrl-bottom-left { display: none; }
.tl-stage .maplibregl-ctrl-bottom-right { bottom: 150px; right: calc(var(--gutter) + 18px); }
@media (max-width: 760px) { .tl-stage .maplibregl-ctrl-bottom-right { bottom: auto; top: 196px; right: 8px; } }
.tl-fine { margin-top: var(--s5); }
@media (max-width: 760px) {
  .night .tl-pin { height: 555vh; }
  .tl-stage { top: 54px; height: calc(100svh - 54px); }
  .tl-head { top: 14px; left: 16px; right: 16px; max-width: none; }
  .tl-head h2 { font-size: 1.35rem; }
  .night .tl-head .plain { display: none; }
  .tl-tools { top: auto; bottom: auto; right: 16px; top: 112px; }
  .tl-tools .seg button { padding: 3px 8px; font-size: var(--fs-micro); }
  .night .tl-stage .time-stamp { top: 150px; right: 16px; }
  .night .tl-stage .time-trust { display: none; }
  .tl-foot { left: 16px; right: 16px; bottom: 8px; }
  .tl-foot .qn-n { font-size: 1.4rem; }
  .night .tl-foot .time-why { display: none; }
}

.night .waves { position: relative; display: block; width: 100vw; margin-left: calc(50% - 50vw); height: calc(100vh - 60px); min-height: 560px; }
.night .waves-stage { position: absolute; inset: 0; height: auto; }
.night .waves::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(3, 6, 10, .85), transparent 28%, transparent 72%, rgba(3, 6, 10, .85)); }
.night .waves-num { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: min(300px, 24vw); pointer-events: none; text-shadow: 0 2px 14px #03060a; }
.night .waves-c { left: var(--gutter); }
.night .waves-l { right: calc(var(--gutter) + 24px); }
.night .waves-num .qn-n { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.night .waves-tag-c { left: auto; right: calc(100% - var(--x) + 26px); margin: 0; }
.night .waves-tag-l { right: auto; left: calc(var(--x) + 26px); margin: 0; }
@media (max-width: 760px) {
  .night .waves { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); height: auto; min-height: 0; width: auto; margin-left: 0; }
  .night .waves::before { display: none; }
  .night .waves-num { position: static; transform: none; width: auto; }
  .night .waves-stage { position: relative; grid-column: 1 / -1; grid-row: 2; height: 70vh; }
}

.night .towns { position: relative; display: block; width: 100vw; margin-left: calc(50% - 50vw); height: calc(100vh - 60px); min-height: 600px; }
.night .town-globe { position: absolute; inset: 0; height: auto; }
.night .town-globe canvas { height: 100%; }
.night .tg-caption { left: var(--gutter); right: auto; bottom: 16px; max-width: min(520px, 50vw); z-index: 2; }
.night .town-world { left: var(--gutter); top: 16px; }
.night .town-side { position: absolute; z-index: 3; right: calc(var(--gutter) + 24px); top: 50%; transform: translateY(-50%); width: min(380px, 34vw); max-height: calc(100% - 48px); overflow-y: auto; padding: var(--s5); background: rgba(3, 6, 10, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--hairline); border-radius: var(--r); }
@media (max-width: 760px) {
  .night .towns { width: auto; margin-left: 0; height: auto; min-height: 0; }
  .night .town-globe { position: relative; inset: auto; height: 64vh; }
  .night .tg-caption { position: absolute; left: 0; right: 0; top: auto; bottom: 8px; max-width: none; }
  .night .town-side { position: static; transform: none; width: auto; max-height: none; background: none; border: 0; padding: 0; margin-top: var(--s5); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 760px) {
  .night .tl-foot .time-hud { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2) var(--s3); }
  .tl-foot .qn-k { font-size: var(--fs-micro); gap: 6px; }
  .tl-foot .qn-k::before { width: 10px; }
  .tl-foot .qn-n { font-size: 1.25rem; }
}

.fk { --fk-bg: #03060a; --fk-ink: #e6ecf0; --fk-soft: #c3cfd7; --fk-spine: rgba(220, 230, 236, .7); --fk-ref: rgba(220, 230, 236, .45); --fk-grid: rgba(205, 225, 235, .1); --fk-land: #13232f; --fk-sea: #060c12;
  --fk-water: var(--water); --fk-forest: var(--forest); --fk-nisar: var(--nisar); --fk-official: #4b86ff; --fk-veil: var(--veil); --fk-green: #3fb65a; --fk-red: #ef5a5a; position: relative; }
.paper .fk, .fk.paper { --fk-bg: #ffffff; --fk-ink: #111111; --fk-soft: #262626; --fk-spine: #262626; --fk-ref: rgba(0, 0, 0, .45); --fk-grid: rgba(0, 0, 0, .08); --fk-land: #eceff1; --fk-sea: #ffffff;
  --fk-water: #0a93ab; --fk-forest: #1e9677; --fk-nisar: #b11ea8; --fk-official: #1f5fe0; --fk-veil: #8a959c; --fk-green: #2b9445; --fk-red: #d23c3c; }
.fk-stage { position: relative; width: 100%; }
.fk-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.fk-bg, .fk .f-bg { fill: var(--fk-bg); }
.fk-sea { fill: var(--fk-sea); }
.fk-coast { fill: none; stroke: var(--fk-ref); stroke-width: .8; stroke-linejoin: round; }
.fk-spine { fill: none; stroke: var(--fk-spine); stroke-width: .8; }
.fk-ref { stroke: var(--fk-ref); stroke-width: .8; stroke-dasharray: 4 3; }
.fk-grid { stroke: var(--fk-grid); stroke-width: .8; }
.fk-sep { stroke: var(--fk-ref); stroke-width: .6; }

.fk-tick { fill: var(--fk-soft); font-size: 11px; font-family: var(--sans); }
.fk-label { fill: var(--fk-ink); font-size: 12px; font-family: var(--sans); }
.fk-letter { fill: var(--fk-ink); font-size: 14px; font-weight: 700; font-family: var(--sans); }
.fk-ptitle { fill: var(--fk-ink); font-size: 12px; font-weight: 500; font-family: var(--sans); }
.fk-strong { fill: var(--fk-ink); font-weight: 600; }
.fk-dim { font-style: italic; opacity: .75; }
.fk-legend-box { fill: var(--fk-bg); fill-opacity: .9; stroke: var(--fk-ref); stroke-width: .8; }
.fk-hit { fill: transparent; pointer-events: all; cursor: crosshair; }
.fk-mark { fill: none; stroke: var(--fk-ink); stroke-width: 1.2; pointer-events: none; }
.fk-legend { pointer-events: none; }
.fk .f-water { fill: var(--fk-water); } .fk .s-water { stroke: var(--fk-water); }
.fk .f-forest { fill: var(--fk-forest); }
.fk .f-nisar { fill: var(--fk-nisar); } .fk .s-nisar { stroke: var(--fk-nisar); }
.fk .f-official { fill: var(--fk-official); } .fk .s-official { stroke: var(--fk-official); }
.fk .f-veil { fill: var(--fk-veil); } .fk .s-veil { stroke: var(--fk-veil); }
.fk .f-green { fill: var(--fk-green); } .fk .s-green { stroke: var(--fk-green); }
.fk .f-red { fill: var(--fk-red); } .fk .s-red { stroke: var(--fk-red); }
.fk .f-ink { fill: var(--fk-ink); } .fk .s-ink { stroke: var(--fk-ink); }
.fk .f-none { fill: none; }
.fk-tip { position: absolute; z-index: 3; max-width: 280px; padding: 6px 8px; border-radius: 2px; background: var(--fk-bg); border: 1px solid var(--fk-spine); color: var(--fk-ink); font-size: 12px; line-height: 1.4; pointer-events: none; }
.fk-tip b { font-weight: 600; }
.fk-downloads { margin-top: 6px; font-size: var(--fs-micro); color: var(--muted); }
.fk-downloads button { font: inherit; padding: 0; border: 0; background: none; color: var(--soft); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 2px; cursor: pointer; }
.fk-downloads button:hover { color: var(--ink); text-decoration-color: currentColor; }
.fk-downloads button:focus-visible, .fk-control select:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

.paper .fk-downloads, .paper .fk-control { color: #44525d; }
.paper .fk-downloads button { color: #262626; text-decoration-color: rgba(0, 0, 0, .3); }

.results .evidence-head h1 { max-width: 22em; }
.abstract { max-width: 860px; margin: var(--s5) 0 var(--s6); padding: var(--s4) 0 var(--s4) var(--s5); border-left: 2px solid var(--nisar); }
.abstract h2 { margin: 0 0 var(--s2); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--nisar-ink); }
.abstract p { margin: 0; color: var(--soft); line-height: 1.7; }
.abstract a { color: var(--ink); }
.figures { padding-top: var(--s6); }
.figs-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.figs-head h2, #tables > h2 { margin: 0; }
.paper-toggle { font-size: var(--fs-small); }
.paper-fig { margin: var(--s6) 0 0; padding: var(--s6) 0 0; border-top: 1px solid var(--hairline); }
.fig-mount { min-height: 360px; }
.fig-mount.fk { min-height: 0; }
.paper-fig figcaption { margin-top: var(--s3); max-width: 920px; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.paper-fig figcaption b { color: var(--soft); }
.cap-lead { color: var(--ink) !important; }
.figures.paper .paper-fig { background: #fff; border-top: 0; margin-top: var(--s5); padding: var(--s5); }
.figures.paper .cap-lead { color: #111 !important; }
.figures.paper figcaption { color: #3a3a3a; }
.figures.paper figcaption b { color: #111; }
#tables { padding-top: var(--s6); }
.paper-table { margin: var(--s5) 0 var(--s6); }
.paper-table h3 { margin: 0 0 var(--s2); font-family: var(--sans); font-size: var(--fs-body); font-weight: 600; }
.fig-no { font-weight: 700; color: var(--ink); margin-right: .4em; }
@media (max-width: 640px) {
  .figures.paper .paper-fig { margin-left: calc(-1 * var(--s3)); margin-right: calc(-1 * var(--s3)); padding: var(--s3); }
}

.story-fig { margin: var(--s6) 0; }

.story-fig .fig-mount { min-height: 300px; }
.story-fig .fig-mount.fk { min-height: 0; }
.story-fig .fk-downloads { display: none; }
.story-fig-link { display: inline-block; margin-top: var(--s2); font-size: var(--fs-small); color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.story-fig-link:hover { color: var(--ink); border-bottom-color: var(--soft); }
.story-fig-link::after { content: " →"; }

.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-micro); line-height: 1.4; color: var(--soft); }
.map-legend li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.map-legend .mk-note { color: var(--muted); }
.mk { display: inline-block; flex: none; width: 12px; height: 12px; }
.mk-forest { background: radial-gradient(circle, var(--forest) 1.1px, transparent 1.6px) 0 0 / 4px 4px; opacity: .9; }
.mk-town { width: 7px; height: 7px; margin: 0 2.5px; border-radius: 50%; background: var(--people); box-shadow: 0 0 6px 1px rgba(255, 180, 90, .6); }
.mk-flood { width: 8px; height: 8px; margin: 0 2px; border-radius: 50%; background: var(--water-ink); box-shadow: 0 0 6px 1px rgba(0, 200, 220, .6); }
.mk-ring { border-radius: 50%; border: 1px dashed var(--soft); }

@media (max-width: 640px) {
  .eyebrow .readout { display: block; margin-top: 2px; }
  .eyebrow .readout:not(:empty)::before { content: none; }
}

.figs-tools { display: inline-flex; gap: var(--s4); }
@media print {
  @page { margin: 16mm 14mm; }
  body.results { background: #fff !important; color: #111; }
  .results .topbar, .results .orbit, .results .orbit-line, .results .figs-tools, .results .fk-downloads, .results .fk-control, .results .ev-more, .results .foot p:last-child { display: none !important; }
  .results main, .results .wrap { max-width: none; padding: 0; margin: 0; }
  .results h1, .results h2, .results h3, .results .stat-num, .results .ev-title, .results .cap-lead { color: #111 !important; background: none !important; -webkit-text-fill-color: #111; }
  .results p, .results li, .results td, .results th, .results .plain, .results .sub, .results .note, .results .stat-label, .results figcaption, .results .readout, .results .eyebrow { color: #222 !important; }
  .results .abstract { border-left-color: #b11ea8; }
  .results .abstract h2 { color: #b11ea8 !important; }
  .results .stat-card, .results .table-wrap, .results table { background: none !important; border-color: #bbb !important; box-shadow: none !important; }
  .results tr[hidden] { display: table-row !important; }
  .results .paper-fig { break-inside: avoid; page-break-inside: avoid; border-top: 0; margin: 0 0 8mm; padding: 0; background: #fff !important; }
  .results .fk { --fk-bg: #ffffff; --fk-ink: #111111; --fk-soft: #262626; --fk-spine: #262626; --fk-ref: rgba(0, 0, 0, .45); --fk-grid: rgba(0, 0, 0, .08); --fk-land: #eceff1; --fk-sea: #ffffff;
    --fk-water: #0a93ab; --fk-forest: #1e9677; --fk-nisar: #b11ea8; --fk-official: #1f5fe0; --fk-veil: #8a959c; --fk-green: #2b9445; --fk-red: #d23c3c; }
  .results .fk-tip { display: none !important; }
  .results figcaption b, .results .paper-fig figcaption b { color: #111 !important; }
  .results a { color: #111; }
  .results .paper-table { break-inside: avoid; }
}

.methods { max-width: 860px; padding-top: var(--s6); }
.methods h2 { margin: 0 0 var(--s3); }
.methods h3 { margin: var(--s5) 0 var(--s2); font-family: var(--sans); font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.methods p, .methods li { color: var(--soft); line-height: 1.65; }
.methods .plain-list { padding-left: 18px; }
.methods .plain-list li { margin: 0 0 6px; }
.methods b { color: var(--ink); font-weight: 600; }
@media print { .results .methods b, .results .methods h3 { color: #111 !important; } }

.act-card { --lk: var(--brand); position: relative; isolation: isolate; padding: clamp(64px, 12vh, 128px) 0 clamp(28px, 5vh, 56px); }
.act-card::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(90% 120% at 70% 0%, #07131c 0%, var(--night-0) 70%); }
.act-card::after { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--lk) 20%, var(--lk) 80%, transparent); opacity: .35; }
.act-card[data-act-card="1"] { --lk: #b9c4cb; }
.act-card[data-act-card="2"] { --lk: #f0a6f0; }
.act-card[data-act-card="3"] { --lk: #ffc98a; }
.act-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s3); font: 500 var(--fs-small)/1.3 var(--sans); color: var(--lk); }
.act-kicker::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
.act-card .act-name { margin: 0 0 var(--s3); font: 600 clamp(2.1rem, 5vw, 3.5rem)/1.04 var(--display); letter-spacing: -.025em; color: var(--ink); }
.act-q { margin: 0; max-width: 30em; font-size: var(--fs-h3); line-height: 1.35; color: var(--soft); }
.act-card + .story { padding-top: var(--s6); }
.act-card + .story::after { display: none; }

.sections-menu .menu-list button:not(.menu-sub) { color: var(--ink); font-weight: 600; }
.sections-menu .menu-list button.menu-sub { padding: 7px 12px 7px 26px; color: var(--muted); }


.act-legend { margin: var(--s2) 0 0; padding-right: 40px; font-size: var(--fs-micro); line-height: 1.45; color: var(--muted); }
.instr-replay { position: absolute; bottom: -4px; right: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(3, 6, 10, .6);
  color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; opacity: .55; transition: opacity .2s, color .2s; }
.instr-replay:hover, .instr-replay:focus-visible { opacity: 1; color: var(--ink); }
.cut-instr { margin: var(--s3) 0 var(--s4); }
.cut-instr canvas { display: block; width: 100%; height: 140px; }
.game-tally { margin: var(--s4) 0; }
.game-tally canvas { display: block; width: 100%; height: 150px; }
#game-side .game-scores:has(#gs-nisar) { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s4); }
.gap-grains { display: block; width: 100%; margin-top: var(--s4); }

.anywhere { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--hairline); }
.anywhere-point { font-size: var(--fs-small); color: var(--soft); margin: var(--s3) 0; }
.anywhere-dates { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s3); font-size: var(--fs-small); color: var(--muted); }
.anywhere-dates input { display: block; margin-top: 4px; background: var(--night-1); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-small); padding: 4px 6px; font: inherit; }
.anywhere-passes { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 6px; }
.anywhere-passes li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); }
.any-pass { flex: 1; text-align: left; background: var(--night-1); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-small); padding: 6px 10px; cursor: pointer; font: inherit; }
.any-pass span { display: block; color: var(--muted); font-size: var(--fs-micro); }
.any-pass:hover:not(:disabled) { border-color: var(--brand-line); }
.any-pass:disabled { opacity: .5; cursor: default; }
.anywhere-coords { display: block; margin-top: var(--s3); font-size: var(--fs-small); color: var(--muted); }
.anywhere-coords input { display: block; width: 100%; margin-top: 4px; background: var(--night-1); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-small); padding: 6px 8px; font: inherit; }
.anywhere-tools { display: flex; gap: var(--s3); align-items: center; margin: var(--s3) 0 0; }
#any-draw[aria-pressed="true"] { border-color: var(--action); color: var(--action); }
.anywhere-point.any-bad { color: #ff9a8a; }

.live-analysis { margin: var(--s7) 0 0; padding-top: var(--s6); border-top: 1px solid var(--hairline); }
.live-analysis h2 { margin: 0 0 var(--s2); }
.analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); margin-top: var(--s5); }
.analysis-fig { margin: 0; }

.analysis-fig figcaption { margin-top: var(--s2); font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }
.analysis-fig figcaption b { color: var(--soft); }

@media (max-width: 900px) { .analysis-grid { grid-template-columns: minmax(0, 1fr); } }

.topbar-pages { display: inline-flex; align-items: center; gap: 14px; margin-left: var(--s4); }
.topbar-tool { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border: 1px solid var(--accent); border-radius: var(--r-small); color: var(--accent); font: 600 var(--fs-small)/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.topbar-tool:hover { background: rgba(255, 209, 102, .12); }
.topbar-tool.here { background: var(--accent); color: #14100a; }
.topbar-plain.here { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .topbar-pages { gap: 8px; margin-left: var(--s2); }
  .topbar-pages .topbar-plain:not(.here) { display: none; }
  .topbar-tool { padding: 3px 8px; }
}

.hero-status { margin: calc(-1 * var(--s3)) 0 var(--s3); font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }
.hero-status .live-dot { margin: 0 8px 2px 0; vertical-align: middle; }
.hero-status a { color: var(--water-ink); }


.tool-go { margin: auto 0 0; padding-top: var(--s3); }

.live-page .anywhere > .live-kind { font-size: var(--fs-small); color: var(--soft); margin: 0 0 var(--s3); }
.live-page #any-status:empty { display: none; }
.live-page #cases-note { font-size: var(--fs-micro); color: var(--muted); margin: var(--s3) 0 0; }
.live-step span { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: 0; }
.live-page .live-step, .live-page .live-cases h2.live-step { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s3); font: 600 var(--fs-micro)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.live-tabs { margin: 0 0 var(--s4); }
.live-tabs[hidden] { display: none; }
.live-page .anywhere { margin-top: 0; padding-top: 0; border-top: 0; }
.live-page .anywhere-dates { display: block; margin: 0 0 var(--s3); }
.anywhere-dates summary { cursor: pointer; color: var(--soft); }
.anywhere-dates > div { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.fine-body .live-skipped { margin: 0 0 var(--s3); padding-left: 18px; }
.fine-body .live-skipped li { margin-bottom: 2px; }
@media (max-width: 480px) {
  .topbar-in { flex-wrap: wrap; row-gap: 2px; }
  .topbar-pages { order: 10; flex-basis: 100%; margin: 0 0 8px; justify-content: flex-end; }
}

.pick-head { display: flex; justify-content: space-between; margin: 0 0 var(--s2); padding: 0 var(--s3) var(--s2); border-bottom: 1px solid var(--hairline); font-size: var(--fs-micro); color: var(--muted); }
.pick-list { list-style: none; margin: 0; padding: 0; }
.pick-list li + li { margin-top: 2px; }
.live-page .pick-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3); row-gap: 2px; align-items: baseline; padding: var(--s3); border-top: 0; border-left: 2px solid transparent; border-radius: 0 var(--r-small) var(--r-small) 0; }
.pick-place { font-weight: 500; line-height: 1.3; }
.pick-when { font-size: var(--fs-small); color: var(--soft); white-space: nowrap; }
.pick-sub { grid-column: 1 / -1; font-size: var(--fs-micro); color: var(--muted); }
.pick-sub .dep-us { color: var(--water-ink); }

.night .eyebrow { color: var(--muted); text-shadow: none; }
.night .eyebrow::before { display: none; }
.night .swipe-tag, .night .waves-tag, .night .lens-hint, .tag, .night .trust { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.night .swipe-tag, .night .waves-tag, .night .lens-hint, .tag { text-shadow: 0 1px 3px #03060a, 0 0 12px rgba(3, 6, 10, .9); }
.night .swipe-tag { top: 14px; }
.night .swipe-tag-left { left: 14px; }
.night .swipe-tag-right { right: 14px; }
.tag { padding: 0; }
.night .trust { gap: 2px 8px; }
.topbar-tool, .topbar-tool.here { padding: 3px 0; border: 0; background: none; color: var(--ink); }
.topbar-tool:hover { background: none; text-decoration: underline; text-underline-offset: 6px; }
.topbar-tool.here, .topbar-plain.here { color: var(--ink); text-decoration: none; box-shadow: inset 0 -2px 0 var(--accent); }
.topbar-pages { gap: var(--s5); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 22px; border: 1px solid var(--accent); border-radius: var(--r-small); background: none; color: var(--accent); font: 600 var(--fs-body)/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.btn-line:hover { background: rgba(255, 209, 102, .1); color: var(--accent); }
.night .story { padding-top: clamp(80px, 12vh, 136px); padding-bottom: clamp(40px, 6vh, 72px); }
.night .story > h2 { margin-bottom: var(--s4); }
.night .story > .plain { margin-bottom: var(--s6); }
.finding .lede { margin-bottom: var(--s6); }
.finding .finding-stats { margin-bottom: var(--s7); }
.finding .tour-cta { margin-bottom: var(--s4); }
.finding .hero-status { margin: 0 0 var(--s6); color: var(--muted); }
@media (max-width: 960px) { .finding .hero-status { order: 7; } }
.tl-head .eyebrow, .tl-head .plain { transition: opacity .5s; }
.tl-moving .tl-head .eyebrow, .tl-moving .tl-head .plain { opacity: 0; }
.night .tl-foot .time-hud { grid-template-columns: repeat(2, max-content); }


.tool-go { padding-top: var(--s5); }
.deeper-links { margin: var(--s3) 0 0; font-size: var(--fs-small); color: var(--muted); }
.deeper-links a { color: var(--soft); }
.tool-go { margin-top: 0; }
.night .deep > summary::before { content: none; }
.night .tag, .map-stage .tag { background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hud-coord { display: none; }
.dock-note { background: none; text-shadow: 0 1px 3px #03060a; }
@media (min-width: 1025px) { .dash-page .dock-stack > .dock-row { order: -1; } }
.dash-page .dock-row > .map-hud { margin-right: auto; padding: 0 2px; min-height: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink); text-shadow: 0 1px 3px #03060a, 0 0 8px rgba(3, 6, 10, .9); }
.dash-page .map-hud .hud-bar { filter: drop-shadow(0 1px 2px #03060a); }

.ls-plot { position: relative; }
.ls-mark { position: absolute; width: 10px; height: 10px; transform: translate(-50%, -50%); box-sizing: border-box; pointer-events: none; }
.ls-mark-nisar { border-radius: 50%; background: #e57ae5; }
.ls-mark-gfm { background: #8fb4ff; }
.ls-mark-gfm.ls-miss { background: none; border: 1.5px solid #8fb4ff; }
.ls-mark-nisar.on { width: 14px; height: 14px; background: #fff; border: 2px solid var(--nisar-ink); }
.ls-break { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 3px, rgba(205, 225, 235, .14) 3px 4px); }
.ls-break b { padding: 1px 3px; border-radius: 3px; background: rgba(3, 6, 10, .85); font: 500 10px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.ls-tail { position: absolute; top: -2px; pointer-events: none; text-align: center; font: 600 10px/1 var(--sans); letter-spacing: .04em; color: #8be39b; }

.eyebrow-name { display: block; color: var(--soft); }

.night .brand::before, .brand::before { content: none; }
.brand { font: 600 1.15rem/1 "Archivo", var(--display); font-stretch: 125%; letter-spacing: .04em; }
.brand-fm { margin-left: .2em; font: 500 .7em/1 var(--sans); font-stretch: 100%; letter-spacing: .08em; color: var(--water-ink); }

.flood-tabs { display: flex; gap: 0; padding: 0; background: none; border: 1px solid var(--glass-line); border-radius: var(--r); overflow: hidden; }
.flood-tabs button { flex: 1; min-height: 30px; padding: 3px 4px; white-space: nowrap; background: none; border: 0; border-radius: 0; color: var(--soft); font: inherit; font-size: var(--fs-micro); cursor: pointer; }
.flood-tabs button:hover { background: var(--hover); color: var(--ink); }
.flood-tabs button[aria-pressed="true"] { font-weight: 600; }
[data-sel="pick"] .time-bar { display: none; }
.choose > .panel-title { margin: 0; }
.rail-note { margin: var(--s3) 0 0; font-size: var(--fs-micro); line-height: 1.45; color: var(--muted); }
.rail-note:empty { display: none; }
.rail-label { display: block; margin: 0 0 var(--s2); font-size: var(--fs-small); color: var(--soft); }
#tab-blind > .panel-title { margin: var(--s5) 0 var(--s2); }
.layers-fold { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid var(--hairline); }
.sel-card .river-title { margin: 0; }
.sel-card .dash-sub { margin: var(--s3) 0 0; color: var(--soft); line-height: 1.5; }
.card-note { margin: var(--s3) 0 0; padding-left: var(--s3); border-left: 2px solid #e6aa1e; font-size: var(--fs-small); line-height: 1.45; color: var(--ink); }
.sel-card .readouts { margin: var(--s4) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--hairline); }
.kpi-lead { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); margin: 0; padding: 0; border: 0; }
.sel-card .kpi-lead .kpi-num { text-align: left; font-size: 2.2rem; }

.sel-card .kpi-trust { margin-top: var(--s2); }
.card-foot { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.card-foot > * { margin: 0; }
.card-foot .freshness:empty, .card-actions:empty, .card-actions:has(> [hidden]:only-child) { display: none; }
.card-primary { min-height: 36px; padding: 6px 16px; font-size: var(--fs-small); text-decoration: none; }
.flood-tools { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin: 0; padding: 0; background: none; }
.flood-tools .link-btn { color: var(--soft); font-size: var(--fs-micro); text-decoration-color: var(--hairline); text-underline-offset: 3px; }
.flood-tools .link-btn:hover, .flood-tools .link-btn.on { color: var(--ink); }
.sel-card > .collapse { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--hairline); }
.sel-card .collapse .panel-title { margin: var(--s5) 0 var(--s3); }
.sel-card .collapse .kpi:first-of-type { border-top: 0; }

.ramp { display: inline-flex; }
.ramp i { width: 9px; height: 8px; }
@media (max-width: 480px) {
  .dash-page .mini { top: 176px; }
  .dash-page .dock-row > .map-hud { top: 204px; }
  .dash-page .map-show { top: 200px; }
}
.next-fig { margin: var(--s4) 0 0; max-width: 560px; }
.next-fig img { display: block; width: 100%; height: auto; border-radius: var(--r-small); }
.next-fig figcaption { margin-top: var(--s2); font-size: var(--fs-micro); line-height: 1.5; color: var(--muted); }
.dash-page { --sect: var(--s4); }
.dash-page .glass-primary { padding: var(--s5); }
.sel-card .readouts, .sel-card .estimate, .card-foot, .sel-card > .collapse, .layers-fold { margin-top: var(--sect); padding-top: var(--sect); border-top: 1px solid var(--hairline); }
.sel-card .dash-sub { margin: var(--s2) 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }
.card-foot { gap: var(--s3); }
.choose .flood-tabs { margin: var(--s3) 0 0; }
.choose .flood-tab { margin-top: var(--s3); }
.choose .rail-note { margin-top: var(--s3); }
#tab-blind > .panel-title { margin: var(--sect) 0 var(--s2); }
.est-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.est { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.est-num { font: 600 1.4rem/1.15 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
#k-ha { color: #3fd8e8; }

.est .kpi-sub { font-size: var(--fs-micro); }
.what-if { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s4); cursor: pointer; }
.what-if-label { grid-column: 1 / -1; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.what-if input { width: 100%; margin: 0; accent-color: #3fd8e8; }
.what-if output { min-width: 3.4em; text-align: right; font: 600 var(--fs-small)/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.layer-ramp { display: flex; align-items: center; gap: 4px; margin: 0 0 var(--s2) 30px; font-size: var(--fs-micro); color: var(--muted); }
.layer-ramp:empty { display: none; }
.swatch.dot { border-radius: 50%; }
.layer-ramp { white-space: nowrap; }
.swatch.diamond { transform: rotate(45deg) scale(.8); }
.est-forest { color: #4fdcb0; }
.sel-card .estimate .atlas-level { margin: 0 0 var(--s3); font-size: var(--fs-small); }
.sel-card .collapse p { margin: 0 0 var(--s3); font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }
.sel-card .collapse .atlas-act b { color: var(--ink); }
.sel-card .collapse .atlas-not { margin: 0; padding: 0; border: 0; font-size: var(--fs-micro); color: var(--muted); }
.sel-card .collapse .link-btn { color: var(--soft); text-decoration-color: var(--hairline); }
.sel-card .collapse .link-btn:hover { color: var(--ink); }
.live-grid > .live-analysis { grid-column: 1 / -1; margin: 0; padding-top: var(--s5); }
@media (min-width: 1101px) {
  .live-grid { grid-template-rows: auto 1fr; }
  .live-cases { grid-column: 1; grid-row: 1; }
  .live-map-wrap { grid-column: 2; grid-row: 1; }
  .live-panel { grid-column: 3; grid-row: 1 / span 2; }
  .live-grid > .live-analysis { grid-column: 1 / 3; grid-row: 2; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .live-grid { grid-template-rows: auto auto 1fr; }
  .live-cases { grid-column: 1 / -1; grid-row: 1; }
  .live-map-wrap { grid-column: 1; grid-row: 2; }
  .live-panel { grid-column: 2; grid-row: 2 / span 2; }
  .live-grid > .live-analysis { grid-column: 1; grid-row: 3; }
  .live-grid > .live-analysis .analysis-grid { grid-template-columns: minmax(0, 1fr); }
}

.live-page { --sect: var(--s4); }
.live-lede { margin: 0; max-width: 46em; font-size: var(--fs-body); line-height: 1.5; color: var(--soft); }
.live-kind:empty, .live-panel > .live-result:empty { display: none; }
.live-panel .live-result, .live-panel .live-how, .live-panel .live-settings, .live-panel .live-dl { margin: var(--sect) 0 0; padding-top: var(--sect); border-top: 1px solid var(--hairline); }
.live-panel .live-notes { margin: var(--s3) 0 0; font-size: var(--fs-micro); line-height: 1.5; color: var(--muted); }
.live-panel .live-notes:empty { display: none; }
.live-result .run-area { margin: 0; }
.run-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); margin: var(--s3) 0 0; }
.run-score { font-size: var(--fs-small); color: var(--soft); }
.run-score b { margin-right: 4px; font: 600 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--water-ink); }
.run-none { color: var(--muted); }
.run-line { margin: var(--s2) 0 0; font-size: var(--fs-small); line-height: 1.45; color: var(--soft); }
.run-roads { font-weight: 600; color: #ff8c42; }
.live-how > summary, .live-settings > summary, .live-more > summary { min-height: 28px; cursor: pointer; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.live-how .live-steps { margin: var(--s3) 0 0; }
.live-how .cut-instr { margin: var(--s3) 0 0; }
.live-dl { font-size: var(--fs-small); color: var(--muted); }
.live-dl .link-btn { font-size: var(--fs-small); color: var(--soft); }
.live-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s5); margin-top: var(--s3); }
.live-legend .layer-row { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; font-size: var(--fs-small); color: var(--soft); }
.live-legend .legend-key { font-size: var(--fs-small); color: var(--muted); }

.live-analysis .fk-downloads { opacity: .7; }
.live-analysis .analysis-grid { align-items: start; gap: var(--s6) 44px; }
.live-analysis .analysis-fig { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--s3); align-content: start; padding-top: var(--s4); border-top: 1px solid var(--hairline); }
.live-analysis .analysis-fig > * { min-width: 0; }
.live-analysis .analysis-fig figcaption { order: -1; margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.live-analysis .analysis-fig figcaption b { display: block; margin-bottom: 2px; font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.live-analysis .fk-downloads { margin-top: var(--s2); }
.live-analysis .analysis-fig[hidden] { display: none; }

.live-banner { margin: 0 0 var(--s5); padding: var(--s3) var(--s4); max-width: 62em; border: 1px solid rgba(255, 207, 138, 0.45); border-left-width: 4px; border-radius: 8px; background: rgba(255, 207, 138, 0.08); color: var(--soft, #cfe3e8); line-height: 1.5; }
.live-banner b { color: #ffcf8a; }
.live-banner a { color: #ffcf8a; }

.topbar-tool, .topbar-plain, .bar-more > summary { border-radius: 0; text-decoration: none; }
.topbar-tool.here, .topbar-plain.here, button.topbar-plain.on { border-radius: 0; text-decoration: none; box-shadow: inset 0 -2px 0 var(--accent); }
.topbar-tool:not(.here):hover, .topbar-plain:not(.here):hover, .bar-more > summary:hover { text-decoration: none; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .35); }
.bar-more[open] > summary { box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .35); }

.tour-spot { position: fixed; z-index: 40; border-radius: var(--r); box-shadow: 0 0 0 2px var(--accent), 0 0 0 9999px rgba(2, 5, 9, .55); pointer-events: none; transition: left .25s, top .25s, width .25s, height .25s; }
.tour-pop { position: fixed; z-index: 41; width: min(300px, calc(100vw - 20px)); padding: var(--s4); background: #0b1218; border: 1px solid var(--glass-line); border-radius: var(--r); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: left .25s, top .25s; }
.tour-pop::before { content: ""; position: absolute; width: 12px; height: 12px; background: #0b1218; border: solid var(--glass-line); border-width: 0 0 1px 1px; }
.tour-pop[data-side="right"]::before { left: -7px; top: calc(var(--ay) - 6px); transform: rotate(45deg); }
.tour-pop[data-side="left"]::before { right: -7px; top: calc(var(--ay) - 6px); transform: rotate(-135deg); }
.tour-pop[data-side="below"]::before { top: -7px; left: calc(var(--ax) - 6px); transform: rotate(135deg); }
.tour-pop[data-side="above"]::before { bottom: -7px; left: calc(var(--ax) - 6px); transform: rotate(-45deg); }
.tour-count { margin: 0 0 var(--s1); font-size: var(--fs-micro); color: var(--muted); }
.tour-title { margin: 0 0 var(--s2); font: 600 var(--fs-body)/1.3 var(--sans); }
.tour-text { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }
.tour-nav { display: flex; justify-content: flex-end; align-items: center; gap: var(--s4); margin: var(--s4) 0 0; }
.tour-nav .btn-primary { min-height: 34px; padding: 4px 18px; }
.tour-back[hidden], .tour-skip[hidden] { display: none; }
.tour-close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.tour-close:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-pop { transition: none; } }

.river-card .dash-sub { min-height: 2lh; }
.river-card .est .kpi-sub { min-height: 2lh; }
.tour-skip { margin-right: auto; color: var(--muted); }

.live-page #cases-board { max-height: min(62vh, 640px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
@media (max-width: 760px) { .live-page #cases-board { max-height: 50vh; } }

.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 90% at 70% 40%, #07131c 0%, #03060a 60%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-glow { filter: blur(10px) saturate(1.4); mix-blend-mode: screen; }
.stage ~ header.finding, .stage ~ main, .stage ~ footer { position: relative; z-index: 1; }
.stage ~ .finding::after, .stage ~ main > .story::before, .stage ~ main > .story::after { display: none; }
.lantern, .lantern-stage { background: none; }
.lantern-stage:not(.pinned) .lantern-canvas, .lantern-stage:not(.pinned) .lantern-glow { visibility: hidden; }
.chapter { --lk: var(--brand); position: relative; height: 250vh; }

.chapter-pair { height: 440vh; }
.chapter-who { position: absolute; left: 0; right: 0; bottom: 0; height: 195vh; pointer-events: none; }
.chapter-then { margin-top: var(--s5); }
.chapter[data-act-card="1"] { --lk: #b9c4cb; }
.chapter[data-act-card="2"] { --lk: #f0a6f0; }
.chapter[data-act-card="3"] { --lk: #ffc98a; height: 150vh; }
.chapter-text { position: sticky; top: 34vh; width: min(420px, 36vw); margin-left: var(--gutter); }
.chapter .act-name { margin: 0 0 var(--s3); font: 600 clamp(2.1rem, 4.4vw, 3.4rem)/1.04 var(--display); letter-spacing: -.025em; color: var(--ink); }
.chapter-num { margin: var(--s5) 0 0; }
.chapter-num b { display: block; font: 600 clamp(2.6rem, 4.4vw, 4rem)/1 var(--display); letter-spacing: -.03em; color: #f2fbfd; }
.chapter-num span { display: block; margin-top: 6px; max-width: 26em; color: var(--soft); font-size: var(--fs-small); line-height: 1.5; }
@media (max-width: 760px) {
  .chapter { height: 215vh; }
  .chapter[data-act-card="3"] { height: 140vh; }

  .chapter-pair { height: 395vh; }
  .chapter-who { height: 180vh; }
  .chapter-then { margin-top: var(--s3); }
  .chapter-text { top: calc(54px + 50vh); width: auto; margin: 0 16px; }
  .chapter-num { margin-top: var(--s3); }
}
.town-globe:not(.live) .tg-canvas, .town-globe:not(.live) .tg-glow { visibility: hidden; }
.run-world { width: 100%; aspect-ratio: 2.3; margin: var(--s5) 0 var(--s2); }
.run-key { margin: 0 0 var(--s4); color: var(--muted); font-size: var(--fs-small); }
.stage, .lantern-canvas, .lantern-glow { transform: translate3d(var(--drift-x, 0), var(--drift-y, 0), 0); }

.sel-card .headline { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
.sel-card .headline .kpi-lead { min-width: 0; }
.sel-card .headline .kpi-num { font-size: 1.9rem; }
.sel-card .headline .kpi-num small { font-size: .5em; font-weight: 500; letter-spacing: 0; margin-left: .15em; color: var(--soft); }
.sel-card .headline .kpi-est .kpi-num { color: var(--water-ink); }
.river-card .headline .kpi-sub { min-height: 2lh; }
.sel-card .facts { margin-top: var(--sect); padding-top: var(--sect); border-top: 1px solid var(--hairline); }
.sel-card .facts:empty { display: none; }
.facts-head { margin: var(--s5) 0 var(--s3); font: 600 var(--fs-micro)/1.3 var(--sans); letter-spacing: .04em; color: var(--soft); }
.facts-head span { margin-left: 6px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.facts-head:first-child { margin-top: 0; }
.facts-list { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 9px 14px; margin: 0; font-size: var(--fs-small); line-height: 1.35; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; color: var(--soft); font-variant-numeric: tabular-nums; }
.facts-list dd b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.facts-list dd span { font-size: var(--fs-micro); color: var(--muted); }
.facts-list .f-red { color: #ef6a6a; }
.facts-list .f-nisar { color: var(--nisar-ink); }
.facts-list .f-water { color: var(--water-ink); }
.facts-list .f-road { color: #ff9b5a; }
.facts-list .f-forest { color: var(--forest); }
.facts-list .f-official { color: var(--official-ink); }

.story-cue { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: var(--s5); color: var(--brand); font: 600 var(--fs-small)/1 var(--sans); text-decoration: none; white-space: nowrap; transition: opacity .4s; animation: story-bob 1.8s ease-in-out infinite; }
.story-cue:hover { color: var(--ink); }
.story-cue.gone { opacity: 0; pointer-events: none; }
@keyframes story-bob { 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .story-cue { animation: none; } }
@media (max-width: 760px) {
  .story-cue { position: fixed; z-index: 20; left: 50%; bottom: calc(var(--s4) + env(safe-area-inset-bottom, 0px)); margin: 0; padding: 8px 14px; transform: translateX(-50%); background: rgba(3, 6, 10, .82); border: 1px solid var(--hairline); border-radius: 999px; animation-name: story-bob-phone; }
  @keyframes story-bob-phone { 50% { transform: translate(-50%, 5px); } }
}

.live-map-wrap .cut-instr { margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--hairline); }
.live-map-wrap .cut-instr canvas { height: 160px; }
.cut-title { margin: 0 0 var(--s2); font: 600 var(--fs-body)/1.3 var(--sans); color: var(--ink); }
.live-map-wrap .cut-instr figcaption { margin-top: var(--s2); font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 1101px) { .live-map-wrap.with-cut .live-map { height: calc(100vh - 530px); min-height: 320px; } }

@media (min-width: 1101px) {
  .live-page .live-grid { align-items: stretch; }
  .live-page .live-cases, .live-page .live-panel { contain: size; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .live-page .live-cases { display: flex; flex-direction: column; }
  .live-page #pane-ready { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .live-page #cases-board { flex: 1; min-height: 0; max-height: none; }
  .live-page .live-panel { grid-row: 1; padding-top: 0; padding-bottom: 0; }
  .live-page .live-grid > .live-analysis { grid-column: 1 / -1; grid-row: 2; }
}

.live-result .run-trust { margin-top: var(--s3); }
.live-result .run-trust .trust-why { line-height: 1.5; }

.tl-head .tl-cause { margin-top: var(--s2); font-size: var(--fs-small); color: var(--muted); }

@media (min-width: 901px) {
  .game-grid { align-items: stretch; }
  .game-stage { display: flex; flex-direction: column; }
  .game-stage .game-map { flex: 1 1 auto; height: auto; min-height: 440px; }
}

.rail-left > .choose { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
.choose > *, .choose > .flood-tab > * { flex: none; }
.choose > .flood-tab:not([hidden]) { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
.choose .events { flex: 0 1 auto; min-height: 96px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(205, 219, 226, .25) transparent; }
.choose .events-head { position: sticky; top: 0; z-index: 1; background: #0b1117; }
.night .choose .events-head { background: #05090d; }
#tab-blind:not([hidden]) { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

@media (min-width: 1025px) {
  .dash-page .rail { top: calc(var(--bar) + var(--gap)); bottom: calc(var(--drawer) + var(--gap)); overflow: hidden; }
  .dash-page .rail > .glass { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(205, 219, 226, .25) transparent; }
  .dash-page .map-show, .dash-page .map-tools { top: calc(var(--bar) + var(--gap)); }
  .dash-page .maplibregl-ctrl-bottom-right { right: calc(var(--rail-r) + 2 * var(--gap)); }
}
.sel-card .estimate .what-if { margin-top: 0; }
.sel-card .estimate + .facts { margin-top: var(--s3); }
.live-scope { margin: var(--s3) 0 0; padding-left: var(--s3); border-left: 2px solid #e6aa1e; font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }
.live-scope b { color: var(--ink); }
.live-run[hidden], .live-settings[hidden] { display: none; }

.ev-summary { max-width: 820px; margin: var(--s6) 0 var(--s7); font-size: var(--fs-lead, 1.12rem); line-height: 1.6; color: var(--ink); }
.ev-summary a, .fig-take a { color: inherit; }
.ev-fold { margin: var(--s5) 0 0; border-top: 1px solid var(--hairline); }
.ev-fold > summary, .fig-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; font-weight: 600; color: var(--soft); }
.ev-fold > summary::-webkit-details-marker, .fig-more > summary::-webkit-details-marker { display: none; }
.ev-fold > summary::before, .fig-more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--hairline); border-radius: 3px; font: 400 13px/1 var(--sans); color: var(--muted); }
.ev-fold[open] > summary::before, .fig-more[open] > summary::before { content: "−"; }
.ev-fold > summary:hover, .fig-more > summary:hover { color: var(--ink); }
.ev-fold > summary { padding: var(--s4) 0; font-size: var(--fs-body); }
.ev-fold .abstract { margin-top: 0; }
.ev-more > .paper-fig:first-of-type { margin-top: 0; }
.paper-fig figcaption .fig-take { color: var(--soft); font-size: var(--fs-body); line-height: 1.55; }
.fig-more { margin-top: var(--s2); }
.fig-more > summary { min-height: 28px; font-size: var(--fs-small); font-weight: 500; }
.fig-more > p { margin: var(--s2) 0 0; }
.paper-table .fig-more p { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); max-width: 920px; }
#methods-fold .methods { padding-top: 0; }
@media print { .ev-fold > summary, .fig-more > summary { display: none; } }
.evidence-head .ev-findings { gap: var(--s6) var(--s7); margin-bottom: var(--s7); }
.evidence-head .ev-findings .stat-num { margin-bottom: var(--s2); }
.evidence-head .ev-findings .ev-title { margin-bottom: var(--s2); }
.fk-shade { stroke: none; }
.fk-shade-label { fill: var(--fk-soft); font-size: 10.5px; font-style: italic; }
.finding h1 .h1-motto { display: block; margin-top: var(--s2); font-size: .55em; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--soft); -webkit-text-fill-color: currentColor; }
