@font-face { font-family: 'Geist'; src: url('../fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #030303;
  --bg-2: #0a0a0a;
  --bg-3: #111;
  --ink: #f2f2f2;
  --ink-2: #a3a3a3;
  --ink-3: #7f7f7f;
  --line: #1b1b1b;
  --line-2: #2b2b2b;
  --red: #ff3131;
  --red-ink: #ff5b52;
  --red-deep: #3a0707;
  --amber: #ffb020;
  --glow: 0 0 1px rgba(255,255,255,.9), 0 0 14px rgba(255,255,255,.45), 0 0 42px rgba(255,255,255,.18);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --bar-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* CRT scanlines, fixed so they never repaint with scroll */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}
::selection { background: var(--red); color: #000; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { display: block; }
.icon { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
html { scrollbar-color: #333 var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border: 2px solid var(--bg); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.glow { text-shadow: var(--glow); }
.empty { color: var(--ink-3); font: 400 13px/1.4 var(--mono); padding: 24px 0; list-style: none; }

/* ---------- top bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(3,3,3,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark { font: 700 17px/1 var(--sans); letter-spacing: -0.02em; text-decoration: none; text-shadow: var(--glow); white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { font: 500 13px/1 var(--mono); color: var(--ink-2); text-decoration: none; padding: 8px 10px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 18px; font: 500 12px/1 var(--mono); color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.status[data-state="live"] { color: var(--ink); }
.status[data-state="live"] .status-dot { background: var(--red); animation: beat 1.6s ease-in-out infinite; }
.status[data-state="error"] { color: var(--red-ink); }
.status[data-state="error"] .status-dot { background: transparent; border: 1px solid var(--red-ink); }
.clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
@keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #050505; box-shadow: 0 0 0 rgba(255,255,255,0); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { box-shadow: 0 0 28px rgba(255,255,255,.35); } }
.btn-primary[aria-disabled="true"] { background: transparent; color: var(--ink-2); border-color: var(--line-2); cursor: default; box-shadow: none; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
@media (hover: hover) and (pointer: fine) { .btn-quiet:hover { border-color: var(--ink-2); } }

.ca {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px;
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: 0;
  font: 500 13px/1 var(--mono); cursor: pointer; max-width: 100%;
  transition: border-color 160ms ease, transform 140ms var(--ease-out);
}
.ca:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .ca:hover { border-color: var(--ink-3); } }
.ca-label { color: var(--ink-3); }
.ca-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca[data-empty="true"] { cursor: default; }
.ca[data-empty="true"] .icon { display: none; }
.ca[data-empty="true"] .ca-value { color: var(--ink-2); }
.ca.copied { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--bar-h));
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-copy { position: relative; z-index: 2; padding-block: 64px 120px; }
h1 {
  margin: 0;
  font: 800 clamp(3.2rem, 7.2vw, 6rem)/0.92 var(--sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede { margin: 28px 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions .ca { flex: 0 1 auto; min-width: 0; }
.readout { margin-top: 44px; font: 400 13px/1.75 var(--mono); color: var(--ink-2); max-width: 46ch; min-height: 7em; }
.readout-line { margin: 0; }
.readout b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.readout .hot { color: var(--red-ink); }
.prompt { color: var(--ink-3); margin-right: 6px; }
.caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; vertical-align: -0.18em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.globe-wrap { position: relative; align-self: stretch; min-height: 520px; margin-right: calc(var(--gutter) * -1); }
.globe { position: absolute; inset: 0; }
.globe canvas { display: block; cursor: grab; touch-action: pan-y; opacity: 0; }
.globe canvas:active { cursor: grabbing; }
.legend { position: absolute; left: 0; bottom: 72px; margin: 0; padding: 0; list-style: none; display: flex; gap: 18px; font: 400 12px/1 var(--mono); color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.key { width: 2px; height: 14px; }
.key-claim { background: var(--red); }
.key-news { background: var(--ink); opacity: .7; }
.key-hole { width: 9px; height: 9px; border: 1.5px solid var(--amber); border-radius: 50%; }
.globe-label[data-kind="hole"] { border-color: #5a4210; }
.globe-label[data-kind="hole"]::before { background: var(--amber); }
.globe-label[data-kind="hole"] .gl-kind { color: var(--amber); }
.sev.armed, .readout .armed { color: var(--amber); }
.x-top { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; color: var(--ink-2); transition: color 160ms ease; }
.x-top .icon { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) { .x-top:hover { color: var(--ink); } }

.globe-label {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  width: max-content; max-width: 260px;
  margin: -14px 0 0 18px;
  padding: 10px 12px 11px;
  background: rgba(5,5,5,.88);
  border: 1px solid var(--line-2);
  display: grid; gap: 4px;
  transition: opacity 200ms ease;
  will-change: transform;
}
.globe-label::before { content: ''; position: absolute; left: -18px; top: 14px; width: 18px; height: 1px; background: var(--ink-3); }
.globe-label.flip { margin-left: 0; translate: calc(-100% - 18px) 0; }
.globe-label.flip::before { left: auto; right: -18px; }
.globe-label.dim { opacity: 0; }
.globe-label[data-kind="claim"] { border-color: #5a1414; }
.globe-label[data-kind="claim"]::before { background: var(--red); }
.globe-label .gl-kind { font: 500 11px/1 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.globe-label[data-kind="claim"] .gl-kind { color: var(--red-ink); }
.globe-label strong { font: 600 14px/1.3 var(--sans); color: var(--ink); }
.globe-label .gl-meta { font: 400 12px/1.4 var(--mono); color: var(--ink-2); }

.lasthit {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; margin: 0;
  padding: 16px 0 18px; border-top: 1px solid var(--line);
  font: 400 13px/1.4 var(--mono); color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2;
}
.lasthit b { color: var(--ink); font-weight: 600; }
.lasthit .tag { color: var(--red-ink); margin-right: 10px; }

/* ---------- sections ---------- */
main > section:not(.hero) { padding: clamp(80px, 11vw, 144px) var(--gutter) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
h2 { margin: 0; font: 700 clamp(2rem, 4.6vw, 3.6rem)/1 var(--sans); letter-spacing: -0.04em; text-wrap: balance; }
.deck { margin: 16px 0 0; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.deck a { color: var(--ink); }

/* ---------- claims wall ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  perspective: 1200px;
}
.tiles > .empty { background: var(--bg); padding: 32px 20px; grid-column: 1 / -1; }
.tile {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 188px; padding: 18px 18px 16px;
  background: var(--bg);
  text-decoration: none; color: inherit;
  transition: background-color 160ms ease;
  transform-origin: 50% 0;
}
@media (hover: hover) and (pointer: fine) { a.tile:hover { background: var(--bg-2); } a.tile:hover .tile-go { opacity: 1; transform: none; } }
.tile-top { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.2 var(--mono); color: var(--ink-2); }
.tile-group { color: var(--red-ink); text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-top time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile h3 { margin: 0; font: 650 1.2rem/1.2 var(--sans); letter-spacing: -0.02em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-meta { margin: auto 0 0; font: 400 12px/1.5 var(--mono); color: var(--ink-3); }
.tile-meta span { color: var(--ink-2); }
.tile-flags { display: flex; gap: 8px; }
.flag { font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 6px 4px; border: 1px solid var(--line-2); color: var(--ink-2); }
.flag-exposed { border-color: #5a1414; color: var(--red-ink); }
.flag-new { background: var(--red); border-color: var(--red); color: #000; }
.tile-go { position: absolute; right: 16px; bottom: 16px; width: 16px; height: 16px; color: var(--ink-2); opacity: 0; transform: translate(-3px, 3px); transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.tile.arrive { animation: flip-in 900ms var(--ease-out) both; }
.tile.arrive::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px var(--red); animation: fade-out 2.4s ease 400ms both; }
@keyframes flip-in { from { transform: rotateX(-88deg); opacity: 0; filter: brightness(2.2); } 60% { filter: brightness(1.6); } to { transform: none; opacity: 1; filter: none; } }
@keyframes fade-out { to { opacity: 0; } }
.more { margin-top: 24px; }

/* ---------- crypto hacks ---------- */
.crypto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.crypto-head { position: sticky; top: calc(var(--bar-h) + 32px); }
.crypto-total { margin: 28px 0 0; font: 600 clamp(2.4rem, 6vw, 4.8rem)/1 var(--mono); letter-spacing: -0.04em; color: var(--red-ink); font-variant-numeric: tabular-nums; text-shadow: 0 2px 28px rgba(255, 49, 49, .28); overflow-wrap: anywhere; }
.crypto .deck { margin-top: 14px; }
.hacks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.hack { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hack-date { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
.hack-name { font: 600 1.1rem/1.3 var(--sans); text-decoration: none; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) { .hack-name:hover { text-decoration: underline; } }
.hack-usd { font: 600 1rem/1.3 var(--mono); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.hack-usd.big { color: var(--red-ink); }
.hack-usd.none { font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.hack-how { grid-column: 2 / -1; font: 400 12.5px/1.45 var(--mono); color: var(--ink-2); }
.toast[data-kind="crypto"] .toast-kind { color: var(--red-ink); }
.toast[data-kind="crypto"] { border-color: #4a1212; }
@media (max-width: 860px) {
  .crypto { grid-template-columns: minmax(0, 1fr); }
  .crypto-head { position: static; }
}

/* ---------- wire ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  font: 500 12px/1 var(--mono); color: var(--ink-2); background: transparent;
  border: 1px solid var(--line-2); border-radius: 0; padding: 9px 11px; cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #050505; }
@media (hover: hover) and (pointer: fine) { .chip:hover:not([aria-pressed="true"]) { color: var(--ink); border-color: var(--ink-3); } }
.chip .n { opacity: .6; margin-left: 4px; }

.transcript { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 1100px; }
.line {
  display: grid;
  grid-template-columns: 4.6rem 11rem minmax(0, 1fr) 2.6rem;
  gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.line time, .line .src, .line .cc { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.line .src { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line .cc { text-align: right; }
.line a { font: 500 1.02rem/1.4 var(--sans); text-decoration: none; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .line a:hover { text-decoration: underline; } }
.line.arrive { animation: phosphor 1.8s ease-out both; }
.line.arrive a { animation: type-in 700ms steps(28, end) both; }
@keyframes phosphor { from { background: rgba(255,255,255,.07); } to { background: transparent; } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.wire-more { margin-top: 24px; }

/* ---------- holes ---------- */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.ledger h3 { margin: 0 0 8px; padding-bottom: 14px; font: 600 1.1rem/1.2 var(--sans); border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.src { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.kev, .cves { list-style: none; margin: 0; padding: 0; }
.hole { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; }
.hole + .hole { border-top: 1px solid var(--line); }
.hole a { font: 500 1rem/1.35 var(--sans); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .hole a:hover { text-decoration: underline; } }
.hole .id { font: 400 12px/1.4 var(--mono); color: var(--ink-3); grid-column: 1; }
.hole .side { grid-row: 1 / span 2; grid-column: 2; text-align: right; font: 500 12px/1.4 var(--mono); color: var(--ink-2); white-space: nowrap; }
.score { display: block; font: 600 1.35rem/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.score.crit { color: var(--red-ink); }
.sev { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.sev.crit { color: var(--red-ink); }
.ransom { color: var(--red-ink); }

/* ---------- the 48 hours ---------- */
.tier { margin: 56px 0 0; padding-bottom: 14px; font: 500 13px/1 var(--mono); color: var(--ink-2); border-bottom: 1px solid var(--line-2); text-transform: uppercase; letter-spacing: .08em; }
.section-head + .tier { margin-top: 0; }
.cases { list-style: none; margin: 0; padding: 0; counter-reset: case 0; display: grid; }
.cases-month { counter-reset: case 10; }
.cases-also { counter-reset: case 23; }
.cases li { counter-increment: case; position: relative; }
.cases li::before { content: counter(case, decimal-leading-zero); font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.cases b { font-weight: 700; letter-spacing: -0.02em; }
.cases li > span { color: var(--ink-2); text-wrap: pretty; }

.cases-year { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.cases-year li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.cases-year li::before { grid-row: 1 / span 2; font-size: 2.6rem; line-height: .9; font-weight: 600; color: var(--ink); text-shadow: var(--glow); }
.cases-year b { font-size: 1.45rem; line-height: 1.15; }
.cases-year li > span { margin-top: 6px; font-size: 1rem; }

.cases-month { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.cases-month li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--line); }
.cases-month li::before { grid-row: 1 / span 2; font-size: 13px; padding-top: 4px; }
.cases-month b { font-size: 1.05rem; }
.cases-month li > span { font-size: .94rem; margin-top: 2px; }

.cases-also { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.cases-also li { padding: 16px 0; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); }
.cases-also li::before { grid-row: 1 / span 2; font-size: 12px; padding-top: 3px; }
.cases-also b { font-size: .98rem; }
.cases-also li > span { font-size: .9rem; }

.case-src { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 0; font: 500 12px/1.2 var(--mono); color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color 160ms ease, border-color 160ms ease; }
.case-src .case-when { color: var(--ink-3); font-weight: 400; }
.case-src .case-go { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .case-src:hover { color: var(--ink); border-color: var(--ink-2); } }
.cases-also .case-src, .cases-month .case-src { margin-top: 8px; }

/* ---------- coin ---------- */
.coin { text-align: center; display: flex; flex-direction: column; align-items: center; }
.coin h2 { font-size: clamp(2.6rem, 9vw, 6rem); letter-spacing: -0.05em; overflow-wrap: anywhere; }
.coin-line { margin: 20px 0 0; color: var(--ink-2); max-width: 44ch; font-size: 1.1rem; }
.actions-center { justify-content: center; }
.ca-big { margin-top: 16px; font-size: 14px; }

/* ---------- footer ---------- */
.foot { padding: 40px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); }
.sources { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 12px/1.6 var(--mono); color: var(--ink-3); }
.sources .s-ok { color: var(--ink-2); }
.sources .s-down { color: var(--red-ink); }
.sources .s-stale { color: var(--ink-2); font-style: italic; }
.sources .when { color: var(--ink-2); }
.fine { margin: 20px 0 0; font-size: 13px; color: var(--ink-3); max-width: 70ch; }

/* ---------- elapsed counter ---------- */
.elapsed { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font: 400 13px/1.2 var(--mono); color: var(--ink-2); }
.elapsed-label { color: var(--red-ink); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.elapsed-time { font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.elapsed-time b { color: var(--ink); font-weight: 600; text-shadow: var(--glow); }
.elapsed-since { flex-basis: 100%; color: var(--ink-3); font-size: 12px; }

/* ---------- live alerts ---------- */
.toasts {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 32px));
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  position: relative; pointer-events: auto;
  display: grid; gap: 5px; padding: 14px 44px 14px 16px;
  background: #080808; border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  text-decoration: none; color: var(--ink);
  opacity: 0; transform: translateY(14px); filter: blur(3px);
  transition: opacity 260ms var(--ease-out), transform 360ms var(--ease-out), filter 260ms var(--ease-out), border-color 160ms ease;
}
.toast.in { opacity: 1; transform: none; filter: none; }
.toast.leaving { opacity: 0; transform: translateX(24px); transition-duration: 180ms; }
.toast[data-kind="claim"], .toast[data-kind="latest"] { border-color: #4a1212; }
@media (hover: hover) and (pointer: fine) { a.toast:hover { border-color: var(--ink-3); } a.toast:hover .toast-go { opacity: 1; } }
.toast-kind { font: 500 11px/1 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.toast[data-kind="claim"] .toast-kind, .toast[data-kind="latest"] .toast-kind { color: var(--red-ink); }
.toast-title { font: 600 14.5px/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast-meta { font: 400 12px/1.3 var(--mono); color: var(--ink-2); }
.toast-go { position: absolute; right: 14px; bottom: 14px; width: 14px; height: 14px; color: var(--ink-2); opacity: .6; transition: opacity 160ms ease; }
.toast-x { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: var(--ink-3); cursor: pointer; border-radius: 0; }
.toast-x svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .toast-x:hover { color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.leaving { transform: none; filter: none; transition: opacity 150ms ease; } }
@media (max-width: 560px) {
  .toasts { left: 16px; right: 16px; width: auto; }
  .toast:not(:last-child) { display: none; } /* one alert at a time on phones */
}

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: power-on 1100ms var(--ease-out) both; }
  .hero .lede { animation: rise 700ms var(--ease-out) 260ms both; }
  .hero .actions { animation: rise 700ms var(--ease-out) 360ms both; }
  .hero .readout { animation: rise 700ms var(--ease-out) 460ms both; }
  @keyframes power-on {
    0% { opacity: .55; filter: blur(6px); text-shadow: none; }
    35% { opacity: 1; filter: blur(1px) brightness(2); }
    42% { opacity: .45; }
    50% { opacity: 1; }
    100% { filter: none; }
  }
  @keyframes rise { from { opacity: .4; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret, .status[data-state="live"] .status-dot { animation: none; }
  .tile.arrive, .tile.arrive::after, .line.arrive, .line.arrive a { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .cases-month { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-also { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --bar-h: 54px; }
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 0; padding-bottom: 64px; }
  .hero-copy { padding-block: 40px 0; }
  .globe-wrap { min-height: 0; height: min(104vw, 560px); margin: 8px calc(var(--gutter) * -1) 0; }
  .legend { right: auto; left: var(--gutter); bottom: 8px; }
  .readout { margin-top: 32px; min-height: 0; }
  .lasthit { font-size: 12px; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .cases-year { grid-template-columns: minmax(0, 1fr); }
  .line { grid-template-columns: 3.6rem minmax(0, 1fr) 2rem; gap: 4px 12px; }
  .line .src { grid-column: 2; grid-row: 1; }
  .line a { grid-column: 1 / -1; grid-row: 2; }
  .line .cc { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) {
  .bar { gap: 12px; }
  .clock { display: none; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn, .actions .ca { width: 100%; justify-content: center; }
  .cases-month, .cases-also { grid-template-columns: minmax(0, 1fr); }
  .cases-year li::before { font-size: 2rem; }
  .cases-year li { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .tile { min-height: 0; }
  .globe-label { max-width: 200px; }
}
