/* ============================================================
   WWIII.REPORT — phosphor terminal theme
   Type: VT323 (display/numerals) + Share Tech Mono (body/data)
   Tension bands: ROUTINE #4dff88 · ELEVATED #cdf556 ·
                  BUILDUP #ffb000 · CRITICAL #ff7a2f · WAR #ff453a
   ============================================================ */

:root {
  --bg:          #050806;
  --bg-deep:     #030504;
  --bg-panel:    rgba(10, 22, 14, .55);
  --phos:        #4dff88;
  --phos-bright: #b4ffd0;
  --phos-dim:    #1d5c35;
  --phos-faint:  #0d2718;
  --text:        #a9e3bc;
  --text-dim:    #558a68;
  --amber:       #ffb000;
  --lime:        #cdf556;
  --orange:      #ff7a2f;
  --red:         #ff453a;
  --f-display:   "VT323", "Share Tech Mono", ui-monospace, monospace;
  --f-mono:      "Share Tech Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg-deep); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(45, 120, 70, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--phos); color: #03140a; }

a { color: var(--phos); text-decoration: none; }
a:hover { color: var(--phos-bright); text-shadow: 0 0 8px rgba(77,255,136,.55); }
:focus-visible { outline: 2px dashed var(--amber); outline-offset: 3px; }

/* ---------- CRT overlays ---------- */

body::after {                       /* scanlines + vignette */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.20) 0 1px, transparent 1px 3px),
    radial-gradient(115% 115% at 50% 45%, transparent 55%, rgba(0,0,0,.42) 100%);
}
.rollbar {                          /* slow drifting brightness band */
  position: fixed; left: 0; right: 0; height: 22vh; top: -25vh;
  pointer-events: none; z-index: 91;
  background: linear-gradient(180deg, transparent, rgba(170,255,200,.028), transparent);
  animation: roll 13s linear infinite;
}
@keyframes roll { to { top: 115vh; } }

.page { animation: flicker 6s steps(60) infinite; }
@keyframes flicker {
  0%, 100% { opacity: 1; } 92% { opacity: 1; }
  93% { opacity: .984; } 94% { opacity: 1; } 97% { opacity: .992; }
}

/* ---------- Layout shell ---------- */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 18px; }

.statusbar {
  border-bottom: 1px solid var(--phos-dim);
  background: rgba(5, 12, 8, .8);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(3px);
}
.statusbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: baseline; padding-top: 10px; padding-bottom: 8px;
}
.brand {
  font-family: var(--f-display); font-size: 32px; letter-spacing: .05em;
  color: var(--phos); text-shadow: 0 0 10px rgba(77,255,136,.5);
  margin-right: auto; white-space: nowrap;
}
.brand a { color: inherit; }
.brand .cur { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.sb-item { font-size: 14.5px; color: var(--text-dim); letter-spacing: .04em; white-space: nowrap; }
.sb-item b { color: var(--text); font-weight: 400; }

.simband {
  border: 1px dashed rgba(255,176,0,.55);
  color: var(--amber);
  background: rgba(255,176,0,.05);
  font-size: 14px; letter-spacing: .06em;
  padding: 6px 12px; margin: 14px 0 0;
  text-transform: uppercase;
}

/* ---------- Panels ---------- */

.panel {
  position: relative;
  border: 1px solid var(--phos-dim);
  background: var(--bg-panel);
  margin-top: 18px;
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 15px; height: 15px; pointer-events: none;
}
.panel::before { top: -1px; left: -1px; border-top: 2px solid var(--phos); border-left: 2px solid var(--phos); }
.panel::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--phos); border-right: 2px solid var(--phos); }

.panel-head {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline;
  padding: 9px 14px; border-bottom: 1px solid var(--phos-faint);
  font-family: var(--f-display); font-size: 21px; letter-spacing: .08em;
  color: var(--phos); text-shadow: 0 0 8px rgba(77,255,136,.4);
}
.panel-head small { font-family: var(--f-mono); font-size: 13.5px; color: var(--text-dim); letter-spacing: .05em; }
.panel-body { padding: 14px; }

/* ---------- Global tension strip ---------- */

.globalbar { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; }
.g-num {
  font-family: var(--f-display); font-size: 68px; line-height: .9;
  color: var(--phos); text-shadow: 0 0 14px rgba(77,255,136,.55);
}
.g-block { min-width: 150px; }
.g-label { font-size: 13px; letter-spacing: .14em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 4px; }
.g-value { font-family: var(--f-display); font-size: 28px; letter-spacing: .06em; }
.g-meter { flex: 1 1 220px; max-width: 340px; } /* capped so the sitrep CTA fits the banner row */

/* ---------- Segmented meters ---------- */

.meter { display: flex; gap: 3px; height: 13px; }
.meter i { flex: 1; background: var(--phos-faint); border-radius: 1px; }
.meter i.on { background: currentColor; box-shadow: 0 0 7px currentColor; }
.meter.big { height: 17px; }

/* ---------- Map stage ---------- */

.map-stage {
  position: relative; width: 100%;
  aspect-ratio: 360 / 132;
  min-height: 205px;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 40%, rgba(28, 80, 48, .12), transparent 70%);
}
.map-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.sweep { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sweep::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 130px; left: -18%;
  background: linear-gradient(90deg,
    transparent 0%, rgba(120,255,170,.05) 55%, rgba(150,255,190,.14) 88%,
    rgba(200,255,220,.5) 99%, transparent 100%);
  animation: sweep 8.5s linear infinite;
}
@keyframes sweep { to { left: 112%; } }

.marker {
  position: absolute; transform: translate(-50%, -50%);
  z-index: 5; display: block; width: 14px; height: 14px;
}
.marker .blip {
  position: absolute; inset: 4px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 9px currentColor, 0 0 18px currentColor;
}
.marker .ring {
  position: absolute; inset: -4px; border: 1px solid currentColor; border-radius: 50%;
  animation: ping 2.4s cubic-bezier(.2,.6,.4,1) infinite; opacity: 0;
}
@keyframes ping {
  0% { transform: scale(.45); opacity: .9; }
  100% { transform: scale(2.7); opacity: 0; }
}
.marker .mlabel {
  position: absolute; left: 17px; top: -4px;
  font-family: var(--f-display); font-size: 17px; letter-spacing: .07em;
  color: currentColor; text-shadow: 0 0 6px currentColor, 0 1px 2px #000;
  white-space: nowrap;
}
.marker.flip .mlabel { left: auto; right: 17px; text-align: right; }
.marker.dim { opacity: .28; }
.marker:hover .mlabel, .marker:focus-visible .mlabel { color: var(--phos-bright); }

.map-tip {
  position: absolute; z-index: 9; pointer-events: none;
  border: 1px solid var(--phos-dim); background: rgba(4, 10, 6, .92);
  padding: 5px 9px; font-size: 14px; letter-spacing: .04em; white-space: nowrap;
  display: none;
}
.map-tip b { font-family: var(--f-display); font-size: 17px; letter-spacing: .06em; font-weight: 400; }


/* ---------- Theater cards ---------- */

.cards {
  display: grid; gap: 14px; margin: 18px 0 0;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}
.card {
  position: relative; border: 1px solid var(--phos-dim); background: var(--bg-panel);
  padding: 13px 14px 12px; display: flex; flex-direction: column; gap: 9px;
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px;
  border-top: 2px solid currentColor; border-left: 2px solid currentColor; opacity: .9;
}
.card-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.card-title {
  font-family: var(--f-display); font-size: 23px; letter-spacing: .04em;
  color: var(--phos-bright); text-shadow: 0 0 8px rgba(77,255,136,.35);
  margin-right: auto;
  /* one line, always: tighten spacing first, then clip with an ellipsis.
     The full name stays available via the title tooltip. */
  min-width: 0; flex: 1 1 auto;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-title .flag { vertical-align: -2px; }
.card-top .chip { flex: none; }
.chip {
  border: 1px solid currentColor; padding: 0 7px; font-family: var(--f-display);
  font-size: 16px; letter-spacing: .1em; line-height: 1.5; white-space: nowrap;
}
.card-score { display: flex; align-items: baseline; gap: 12px; }
.score-num { font-family: var(--f-display); font-size: 44px; line-height: .9; text-shadow: 0 0 12px currentColor; }
.delta { font-size: 15px; letter-spacing: .05em; }
.map-readout .delta {            /* same size as the DATE value beside it */
  font-family: var(--f-display); font-size: 25px; letter-spacing: .06em;
}
.delta.up   { color: var(--orange); }
.delta.down { color: var(--phos); }
.delta.flat { color: var(--text-dim); }
.card .sub { font-size: 14.5px; color: var(--text-dim); line-height: 1.5; }
.card .spark { margin-top: 2px; }
.spark svg { display: block; width: 100%; height: 38px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.stale { color: var(--amber); font-size: 13.5px; letter-spacing: .06em; }

.btn {
  display: inline-block; border: 1px solid var(--phos-dim); color: var(--phos);
  font-family: var(--f-mono); font-size: 14.5px; letter-spacing: .07em;
  padding: 5px 11px; background: transparent; cursor: pointer;
}
.btn:hover { background: var(--phos-faint); color: var(--phos-bright); }

/* ---------- Theater detail ---------- */

.crumb { font-size: 14.5px; color: var(--text-dim); margin: 16px 0 0; letter-spacing: .05em; }

.readout { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: flex-end; }
.readout h1 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 5vw, 48px);
  letter-spacing: .05em; line-height: 1; margin: 0 auto 0 0;
  color: var(--phos-bright); text-shadow: 0 0 14px rgba(77,255,136,.45);
}
.readout .score-num { font-size: 76px; }
.readout .g-label { margin-bottom: 2px; }

.sitrep p { margin: 0 0 14px; max-width: 78ch; }
.sitrep p:last-child { margin-bottom: 0; }
.rationale { color: var(--text-dim); font-size: 15px; border-left: 2px solid var(--phos-dim); padding-left: 10px; }

.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li {
  padding: 7px 0 7px 20px; position: relative; max-width: 78ch;
  border-bottom: 1px dashed var(--phos-faint); font-size: 16px;
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "\25B8"; position: absolute; left: 2px; color: var(--phos);
  text-shadow: 0 0 6px rgba(77,255,136,.5);
}

/* ---------- Map panel: readout merged over the map's empty south ---------- */

.map-panel .map-stage { margin-top: 4px; }
.panel-head .global-cta {
  margin-left: auto; align-self: center; padding: 6px 14px; white-space: nowrap;
}

.map-readout {
  position: relative; z-index: 6;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px;
  padding: 0 16px 16px;
  /* Sits over the empty southern ocean. The offset must leave the readout a
     positive net height, or the stage paints over the panel's bottom border. */
  margin-top: -68px;
  pointer-events: none;                 /* markers underneath stay reachable */
}
.map-readout .btn, .map-readout a { pointer-events: auto; }
.map-readout .g-num { font-size: 60px; line-height: .85; }
.map-readout .g-block { min-width: auto; }
.map-readout .g-value { font-size: 25px; }
.map-readout .g-meter { flex: 1 1 240px; max-width: 420px; min-width: 150px; }
.g-scale { color: var(--text-dim); font-size: 12px; letter-spacing: .1em; margin-left: 8px; }
.map-readout > :last-child { margin-right: 4px; }   /* even trailing rhythm */

/* Readable backdrop for the readout without hiding the map behind it. */
.map-panel .map-stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  pointer-events: none; z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 6, .55) 55%, rgba(5, 8, 6, .88));
}

@media (max-width: 780px) {
  .map-readout { margin-top: -6px; gap: 8px 20px; }
  .map-readout .g-num { font-size: 48px; }
  .map-panel .map-stage::after { display: none; }
  .panel-head .global-cta { margin-left: 0; }
}

/* ---------- Breaking ticker ---------- */

.ticker[hidden] { display: none; }
.ticker {
  display: flex; align-items: stretch; margin-top: 18px;
  border: 1px solid var(--phos-dim); background: rgba(10, 22, 14, .55);
  overflow: hidden;
}
.ticker-label {
  flex: none; display: flex; align-items: center; padding: 0 14px;
  background: var(--red); color: #170402;
  font-family: var(--f-display); font-size: 21px; letter-spacing: .12em;
  box-shadow: 0 0 16px rgba(255, 69, 58, .5);
  animation: tk-pulse 2.4s ease-in-out infinite;
}
@keyframes tk-pulse { 50% { background: #ff6b61; } }

.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-track::after {          /* fade the right edge into the panel */
  content: ""; position: absolute; inset: 0 0 0 auto; width: 60px; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(10, 22, 14, .95));
}
.ticker-track::before {         /* and stop text butting against the BREAKING box */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 34px; pointer-events: none; z-index: 2;
  background: linear-gradient(270deg, transparent, rgba(10, 22, 14, .95));
}
.ticker-run {
  display: inline-flex; white-space: nowrap; padding: 9px 0;
  animation: tk-scroll 60s linear infinite;
  will-change: transform;
}
@keyframes tk-scroll { to { transform: translateX(-50%); } }
.ticker:hover .ticker-run { animation-play-state: paused; }

.tk-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; color: var(--text); }
.tk-item:hover { color: var(--phos-bright); text-shadow: none; }
.tk-item + .tk-item { border-left: 1px dashed var(--phos-faint); }
.tk-flags { display: inline-flex; gap: 3px; flex: none; }
.tk-flags .flag { width: 17px; height: 11px; }
.tk-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; box-shadow: 0 0 7px currentColor; }
.tk-text { font-size: 15.5px; letter-spacing: .02em; }

@media (max-width: 640px) {
  .ticker-label { font-size: 18px; padding: 0 10px; }
  .tk-text { font-size: 14.5px; }
}

/* ---------- Party flags (simplified, CRT-muted) ---------- */

/* chips sit inline in titles, each next to its own country name */
.flag {
  width: 20px; height: 13px; position: relative; display: inline-block; flex: none;
  border: 1px solid var(--phos-dim); overflow: hidden; vertical-align: -1px;
  box-shadow: 0 0 6px rgba(77,255,136,.18);
}
.flag svg { display: block; width: 100%; height: 100%; filter: saturate(.42) brightness(.9); }
.flag::after { /* phosphor wash + scanlines over the artwork */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.30) 0 1px, transparent 1px 3px),
    rgba(77,255,136,.16);
}
.readout h1 .flag { width: 32px; height: 21px; vertical-align: -1px; }
.h1sub {
  display: block; font-family: var(--f-mono); font-size: 14.5px;
  letter-spacing: .12em; color: var(--text-dim); text-shadow: none; margin-top: 7px;
}
.master .gsec-head .flag { width: 18px; height: 12px; }

/* ---------- Global sitrep (banner CTA + combined report page) ---------- */

/* whole banner is a click target for the global report */
.global-panel { position: relative; transition: border-color .15s; }
.global-panel:hover { border-color: var(--phos); }
.global-cta { white-space: nowrap; margin-left: auto; }
.global-cta::after { content: ""; position: absolute; inset: 0; }
.global-panel:hover .global-cta { background: var(--phos-faint); color: var(--phos-bright); }

.gsec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.gsec-meta { display: inline-flex; align-items: baseline; gap: 12px; }
.gsec-score {
  font-family: var(--f-display); font-size: 30px; line-height: 1;
  color: currentColor; text-shadow: 0 0 10px currentColor;
}
.master .gsec-head { margin: 26px 0 10px; padding-top: 18px; border-top: 1px dashed var(--phos-faint); }
.master .gsec-title {
  color: inherit; font-family: var(--f-display); font-size: 23px;
  letter-spacing: .06em; text-shadow: 0 0 8px currentColor;
}
.master .gsec-title:hover { color: var(--phos-bright); }
.master .gsec-head.outlook { color: var(--phos); }
.master p { max-width: 88ch; }

/* ---------- Display settings ---------- */

.icon-btn {
  width: 34px; height: 30px; display: inline-flex; align-items: center;
  justify-content: center; align-self: center; padding: 0;
  background: transparent; border: 1px solid var(--phos-dim); color: var(--phos);
  cursor: pointer;
}
.icon-btn svg { width: 17px; height: 17px; display: block; }
.icon-btn:hover { background: var(--phos-faint); color: var(--phos-bright); }

.modal-backdrop[hidden] { display: none; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2, 4, 3, .82); backdrop-filter: blur(2px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 9vh 16px 16px; overflow-y: auto;
}
.panel.modal {
  width: 100%; max-width: 760px; margin: 0; background: #081209;
  box-shadow: 0 0 44px rgba(0, 0, 0, .65), 0 0 18px rgba(77, 255, 136, .07);
}
.modal-close { margin-left: auto; padding: 3px 8px; font-size: 13.5px; white-space: nowrap; }

/* ---------- Archive calendar + archive-view band ---------- */

.archband[hidden] { display: none; }
.archband {
  border: 1px dashed var(--phos-dim); color: var(--phos);
  background: rgba(77, 255, 136, .05);
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; margin: 14px 0 0;
  display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: baseline;
}
.archband a { margin-left: auto; white-space: nowrap; }

.cal-nav { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 14px; }
.cal-month {
  font-family: var(--f-display); font-size: 25px; letter-spacing: .1em;
  color: var(--phos); min-width: 210px; text-align: center;
  text-shadow: 0 0 8px rgba(77,255,136,.4);
}
.cal-nav .btn:disabled { opacity: .35; cursor: default; }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  max-width: 430px; margin: 0 auto;
}
.cal-grid .dow { text-align: center; font-size: 12.5px; color: var(--text-dim); letter-spacing: .12em; padding-bottom: 3px; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 15.5px; color: var(--text-dim);
  background: transparent; border: 1px solid transparent; padding: 0; opacity: .45;
}
.cal-day.has {
  opacity: 1; color: var(--phos); border-color: var(--phos-dim); cursor: pointer;
  text-shadow: 0 0 7px rgba(77,255,136,.55);
}
.cal-day.has:hover { background: var(--phos-faint); color: var(--phos-bright); }
.cal-day.today { border-style: dashed; border-color: var(--text-dim); opacity: .8; }
.cal-day.sel { background: var(--phos-faint); box-shadow: inset 0 0 8px rgba(77,255,136,.25); }
.toggles { display: grid; gap: 2px 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.toggle {
  display: flex; align-items: baseline; gap: 9px; padding: 7px 0;
  border-bottom: 1px dashed var(--phos-faint); cursor: pointer; user-select: none;
}
.toggle input { position: absolute; opacity: 0; }
.toggle .box { color: var(--text-dim); white-space: pre; }
.toggle .box::before { content: "[ ]"; }
.toggle input:checked + .box { color: var(--phos); text-shadow: 0 0 6px rgba(77,255,136,.5); }
.toggle input:checked + .box::before { content: "[\2715]"; }
.toggle input:focus-visible + .box { outline: 1px dashed var(--phos); outline-offset: 2px; }
.toggle b { font-weight: 400; color: var(--text); letter-spacing: .04em; white-space: nowrap; }
.toggle small { color: var(--text-dim); font-size: 13px; letter-spacing: .05em; }
.toggle:has(input:not(:checked)) b { color: var(--text-dim); text-decoration: line-through; }
.settings-note { margin: 12px 0 0; font-size: 14px; color: var(--text-dim); max-width: 90ch; }

.evlog { list-style: none; margin: 0; padding: 0; }
.evlog li {
  display: flex; gap: 14px; align-items: baseline; padding: 6px 0;
  border-bottom: 1px dashed var(--phos-faint); font-size: 15.5px;
}
.evlog li:last-child { border-bottom: 0; }
.ev-date { flex: none; color: var(--text-dim); font-size: 14px; letter-spacing: .06em; }
.ev-score {
  flex: none; min-width: 46px; font-family: var(--f-display); font-size: 19px;
  line-height: 1; text-shadow: 0 0 7px currentColor;
}
.ev-text { flex: 1; max-width: 78ch; }

.sources { list-style: none; margin: 0; padding: 0; }
.sources li { padding: 8px 0; border-bottom: 1px dashed var(--phos-faint); font-size: 15.5px; }
.sources li:last-child { border-bottom: 0; }
.sources .outlet { color: var(--text-dim); font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin-right: 10px; }

.rubric { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--text-dim); }
.rubric b { font-weight: 400; }
.rubric i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: currentColor; box-shadow: 0 0 5px currentColor; }

.two-col { display: grid; gap: 18px; grid-template-columns: 1fr 340px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Trend chart ---------- */

.trend svg { display: block; width: 100%; height: 130px; }

/* ---------- Footer ---------- */

footer { margin: 34px 0 26px; }
.foot-note { font-size: 14px; color: var(--text-dim); line-height: 1.7; max-width: 90ch; }
.foot-note b { color: var(--text); font-weight: 400; letter-spacing: .08em; }

/* ---------- States ---------- */

.feed-error {
  padding: 40px 14px; text-align: center; color: var(--amber);
  font-family: var(--f-display); font-size: 24px; letter-spacing: .08em;
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .brand { font-size: 27px; }
  .g-num { font-size: 54px; }
  .readout .score-num { font-size: 60px; }
  .map-stage { min-height: 165px; }
  .marker .mlabel { font-size: 15px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .sweep::before, .rollbar { animation: none; display: none; }
  .marker .ring { animation: none; opacity: .35; transform: scale(1.4); }
  .page { animation: none; }
  .brand .cur { animation: none; }
  /* ticker becomes a manually scrollable strip instead of a moving one */
  .ticker-run { animation: none; }
  .ticker-label { animation: none; }
  .ticker-track { overflow-x: auto; }
  .ticker-track::after, .ticker-track::before { display: none; }
}
