/* Road to El Paso — "FSM Election Desk".
   Free Speech Media palette at the core; Cohen/Cowart crimson, stars and scanlines and DTS cyan and crawl for energy.
   Rule: loud chrome, calm data. Glow and neon stay in the header, hero, crawl and section titles. Tables, tiles
   and cards are flat and high-contrast. */

@font-face { font-family: Anton; src: url(/fonts/anton-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url(/fonts/montserrat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Montserrat; src: url(/fonts/montserrat-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: Outfit; src: url(/fonts/outfit-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url(/fonts/outfit-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Outfit; src: url(/fonts/outfit-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Silkscreen; src: url(/fonts/silkscreen-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --void: #05060a;
  --panel: #12151d;
  --panel-2: #1a1e29;
  --line: rgba(255, 255, 255, .12);
  --gold: #c4ac39;          /* FSM logo gold: brand */
  --gold-hi: #ffd700;       /* bright gold: countdown and highlights only */
  --royal: #24337a;         /* FSM logo blue */
  --royal-deep: #141d4d;
  --crimson: #e11d2e;
  --cyan: #00e5ff;
  --ink: #f4f4f5;
  --ink-2: #d5d8e0;
  --muted: #a3a9b8;
  --up: #7ff3ff;
  --down: #ff9aa3;
  --card-grad: linear-gradient(160deg, #3a4248 0%, #1c1f26 55%, #0e1016 100%);
  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --label: Montserrat, system-ui, sans-serif;
  --body: Outfit, system-ui, sans-serif;
  --pixel: Silkscreen, ui-monospace, monospace;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gold-soft: #ecc572;     /* the hero's gold, from David's mockup */
  --cream: #f3f1ed;
  --tick-blue: #223479;
  --tick-red: #ac2430;
  --tick-cyan: #7bd6e5;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); }
a:hover { color: #7ff3ff; }
h1, h2, h3 { font-weight: 400; margin: 0; }   /* Anton ships one weight; never let the browser fake bold */
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.label {
  font-family: var(--label); font-weight: 800; text-transform: uppercase;
  letter-spacing: .16em; font-size: 12px;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-hi); color: #111; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ── header ── */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 6, 10, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 172, 57, .35);
}
header.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
header.top .wrap { min-height: 70px; }
.logo { display: block; flex-shrink: 0; line-height: 0; }
.logo img { height: 52px; width: auto; }   /* transparent webp cut from David's logo art; the glow fades into any dark ground */
nav.main { display: flex; gap: 20px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a {
  font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  color: var(--ink); text-decoration: none; opacity: .85; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--gold-hi); opacity: 1; }
nav.main a[aria-current="page"] { color: var(--gold-hi); opacity: 1; border-bottom-color: var(--gold); }

/* ── page heads (every inner page) ── */
.pagehead {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(36, 51, 122, .55), transparent 60%),
    linear-gradient(180deg, #0b0d14 0%, var(--void) 100%);
}
.pagehead::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px);
}
.pagehead .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 32px; }
.pagehead .label { color: var(--gold); display: block; margin-bottom: 10px; }
.pagehead h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 7vw, 76px); line-height: .92; }
.pagehead h1 em { font-style: normal; color: var(--gold-hi); }
.pagehead .dek { color: var(--ink-2); font-size: 19px; max-width: 60ch; margin: 14px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ── home hero: David's mockup (2026-11-25). Text left on the mountain-and-moon art, countdown box right. ── */
.hero {
  position: relative; overflow: hidden;
  background: #070b16 url(/img/hero-bg.webp) right center / cover no-repeat;
}
.hero .corner { position: absolute; width: 22px; height: 22px; border: 0 solid #c0404d; z-index: 2; pointer-events: none; }
.hero .corner.tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.hero .corner.tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.hero .corner.bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.hero .corner.br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
.hero .wrap { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 44px 34px 34px; }
.hero .kicker { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--gold-soft); }
.hero h1 { font-family: var(--display); text-transform: uppercase; line-height: .88; margin: 12px 0 14px; }
.hero h1 .l1 { display: block; color: var(--cream); font-size: clamp(56px, 7.4vw, 92px); }
.hero h1 .l2 { display: block; color: var(--gold-soft); font-size: clamp(82px, 11vw, 136px); }
.hero .dek { font-size: clamp(18px, 2vw, 22px); color: #c9ccd6; margin: 0 0 6px; }
.hero .when { font-size: 18px; color: #b8bdc9; margin: 0 0 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; background: var(--gold-soft); color: #14110a;
  font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px;
  padding: 15px 22px; border-radius: 4px; text-decoration: none;
}
.btn:hover { background: #f4d68f; color: #14110a; }
.btn span { font-size: 18px; letter-spacing: 0; }
.countbox {
  flex-shrink: 0; display: flex; align-items: center; gap: 0; background: rgba(17, 22, 45, .92);
  border-top: 3px solid var(--gold-soft); box-shadow: 0 10px 0 -9px rgba(255, 255, 255, .25); padding: 14px 26px 14px 26px;
}
.countbox .n { font-family: var(--display); font-size: clamp(64px, 7vw, 92px); line-height: 1; color: var(--gold-soft); padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .22); }
.countbox .what { display: flex; flex-direction: column; gap: 10px; padding-left: 28px; }
.countbox b { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: 15px; color: var(--cream); white-space: nowrap; }
.countbox small { font-family: var(--mono); font-weight: 600; letter-spacing: .14em; font-size: 15px; color: #a8b0c2; }

/* ── ticker under the hero ── */
.ticker { display: flex; align-items: stretch; background: var(--tick-blue); border-top: 1px solid rgba(236, 197, 114, .7); }
.ticker .tag { flex-shrink: 0; display: grid; place-items: center; background: var(--tick-red); color: #fff; padding: 0 26px; font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; }
.ticker .items { display: flex; overflow-x: auto; scrollbar-width: none; }
.ticker .items::-webkit-scrollbar { display: none; }
.ticker .item { flex-shrink: 0; padding: 15px 34px; color: #fff; font-size: 17px; white-space: nowrap; border-left: 1px solid rgba(255, 255, 255, .22); }
.ticker .item:first-child { border-left: 0; }
.ticker .item i { font-style: normal; font-family: var(--mono); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--tick-cyan); margin-right: 14px; }
.ticker .item b { font-weight: 400; color: var(--gold-soft); }

/* ── sections ── */
section.block { padding: 48px 0; border-bottom: 1px solid var(--line); }
section.block:last-child { border-bottom: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 4.5vw, 46px); line-height: .95; }
.sec-head h2 em { font-style: normal; color: var(--gold-hi); }
.sec-head .label { color: var(--gold); display: block; margin-bottom: 8px; }
.src { color: var(--muted); font-size: 14px; }
.prose { max-width: 70ch; color: var(--ink-2); }
.prose h2 { font-family: var(--display); text-transform: uppercase; font-size: 32px; color: var(--ink); margin: 36px 0 12px; line-height: 1; }
.prose h3 { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--gold); margin: 26px 0 8px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout { background: var(--panel); border-left: 3px solid var(--gold); padding: 14px 18px; margin: 18px 0; color: var(--ink-2); }

/* ── tracker cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card-grad); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
a.card:hover { color: var(--ink); border-top-color: var(--gold-hi); box-shadow: 0 0 0 1px rgba(196, 172, 57, .4); }
.card .big { font-family: var(--display); font-size: 54px; line-height: 1; }
.card h3 { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--gold-hi); }
.card p { margin: 0; color: #cfd3dc; }
.card .go { margin-top: auto; padding-top: 8px; font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.card .soon { align-self: start; font-family: var(--pixel); font-size: 11px; background: var(--panel-2); color: var(--muted); padding: 2px 8px; }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; }
.stat .v { font-size: 30px; font-weight: 700; line-height: 1.1; }
.stat .k { color: var(--muted); font-size: 14px; }

/* ── tile map: calm data ── */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.tile {
  position: relative; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
  border: 1px solid rgba(255, 255, 255, .08); color: #fff; line-height: 1.05; cursor: pointer;
  font: inherit; padding: 0; margin: 0; min-width: 0; appearance: none;
}
.tile:hover, .tile:focus-visible, .tile.open { outline: 2px solid var(--gold-hi); outline-offset: -2px; z-index: 5; }
.tile.dark { color: #111; }
.tile .id { font-family: var(--label); font-weight: 800; font-size: clamp(9px, 1.2vw, 13px); letter-spacing: .04em; }
.tile .s { font-size: clamp(11px, 1.6vw, 19px); font-weight: 700; }
.tile .d { font-size: clamp(8px, .95vw, 11px); }
.tile .d.up { color: var(--up); }
.tile .d.dn { color: var(--down); }
.tile.dark .d { color: #222; }

/* the pop-out: above the tile by default; below for the top rows, inward at the edges */
.tile .pop {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: 236px; padding: 12px 14px; text-align: left; line-height: 1.35; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .65); pointer-events: none;
}
.tile:hover .pop, .tile:focus-visible .pop, .tile.open .pop { display: block; }
.tile .pop.below { bottom: auto; top: calc(100% + 8px); }
.tile .pop.start { left: 0; transform: none; }
.tile .pop.end { left: auto; right: 0; transform: none; }
.pop-name { display: block; font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--gold-hi); }
.pop-total { display: block; font-size: 26px; font-weight: 700; margin: 2px 0 8px; }
.pop-total small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pop-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 5px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.pop-row > span { white-space: nowrap; }
.pop-row b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.pop-row i { font-style: normal; font-weight: 400; font-size: 12px; margin-left: 4px; }
.pop-row i.up { color: var(--up); }
.pop-row i.dn { color: var(--down); }
.pop-row em { font-style: normal; font-family: var(--pixel); font-size: 10px; color: var(--muted); margin-left: 4px; }
.pop-row em.moving { color: var(--cyan); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 14px; align-items: center; }
.legend .sw { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

/* ── tables ── */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: right; font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--gold); padding: 10px 12px; border-bottom: 2px solid var(--gold); white-space: nowrap; background: #0e1118; position: sticky; top: 0; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data th button { all: unset; cursor: pointer; }
table.data th button::after { content: " ↕"; color: var(--muted); }
table.data th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--gold-hi); }
table.data th[aria-sort="descending"] button::after { content: " ↓"; color: var(--gold-hi); }
table.data td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.data tbody tr:hover { background: var(--panel-2); }
table.data td.total { font-weight: 700; color: var(--ink); }
table.data .up { color: var(--up); }
table.data .dn { color: var(--down); }
table.data tfoot td { font-weight: 700; border-top: 2px solid var(--line); border-bottom: 0; }

.placeholder { background: var(--panel); border: 1px dashed rgba(255, 255, 255, .2); padding: 18px 20px; color: var(--muted); }
.placeholder strong { color: var(--ink); font-weight: 500; }
/* ── short linked lists ── */
.statelist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.statelist a { display: flex; justify-content: space-between; align-items: baseline; background: var(--panel); border: 1px solid var(--line); padding: 10px 14px; color: var(--ink); text-decoration: none; }
.statelist a:hover { border-color: var(--gold); color: var(--ink); }
.statelist .n { font-weight: 700; color: var(--gold-hi); }

/* ── key dates ── */
.dates { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dates li { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: baseline; background: var(--panel); border: 1px solid var(--line); padding: 12px 16px; }
.dates .d { font-weight: 700; }
.dates .left { color: var(--gold-hi); font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

/* ── candidate list ── */
.wrap.narrow { max-width: 860px; }
details.group { background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px; }
details.group > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary .pos { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
details.group > summary .n { margin-left: auto; color: var(--muted); font-size: 14px; }
details.group > summary .chev { color: var(--gold); transition: transform .15s; font-size: 12px; }
details.group[open] > summary .chev { transform: rotate(90deg); }
details.group.nested { margin: 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
details.group.nested > summary { padding: 10px 16px; }
details.group .meta { color: var(--muted); font-size: 14px; }
details.group .empty { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
a.row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.row:hover { background: var(--panel-2); color: var(--ink); }
a.row .who { display: flex; flex-direction: column; min-width: 0; }
a.row .nm { font-weight: 500; }
a.row .meta { color: var(--muted); font-size: 14px; }
.badge { margin-left: auto; font-size: 11px; font-family: var(--label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 7px; color: var(--muted); white-space: nowrap; }
.badge + .badge { margin-left: 6px; }
.badge.fec { color: var(--cyan); border-color: rgba(0, 229, 255, .4); }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: inline-grid; place-items: center; background: #2a3040; color: #8f98ad; font-family: var(--label); font-weight: 800; font-size: 13px; letter-spacing: .04em; object-fit: cover; }
.avatar.xl { width: 96px; height: 96px; font-size: 30px; border-radius: 0; background: transparent; }

/* ── candidate card: broadcast lower-third + body ── */
.lower3 { display: flex; align-items: stretch; }
.lower3 .photo { width: 120px; flex-shrink: 0; background: #2a3040; display: grid; place-items: center; }
.lower3 .bar { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.lower3 .bar .a { background: var(--royal); padding: 12px 16px; border-left: 4px solid var(--crimson); flex: 1; }
.lower3 .bar .a .label { display: block; color: var(--gold-hi); font-size: 11px; }
.lower3 .bar .a .nm { display: block; font-family: var(--display); text-transform: uppercase; font-size: 32px; line-height: 1.02; margin-top: 4px; overflow-wrap: anywhere; }
.lower3 .bar .b { background: var(--gold); color: #111; padding: 6px 16px; font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.lower3.big .photo { width: 160px; }
.lower3.big .bar .a .nm { font-size: clamp(36px, 6vw, 56px); }
.card-body { padding: 16px 20px 20px; }
.card-body h3 { margin: 18px 0 8px; font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--gold); }
.card-body p { color: var(--ink-2); margin: 0 0 8px; }
.issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.issues li { background: var(--panel-2); border-left: 3px solid var(--cyan); padding: 8px 12px; }
.issues li b { display: block; font-weight: 700; }
.issues li span { color: var(--ink-2); font-size: 15px; }
.issues li a.src { display: block; font-size: 13px; margin-top: 4px; }
.links { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.links a { font-size: 14px; border: 1px solid rgba(0, 229, 255, .35); padding: 4px 10px; text-decoration: none; }
.sources { margin: 0; padding-left: 1.3em; font-size: 14px; color: var(--muted); }
.sources a { overflow-wrap: anywhere; }
.verified { margin-top: 16px; color: var(--muted); font-size: 13px; }
.profile { background: var(--panel); border: 1px solid var(--line); }
.pagehead.slim .wrap { padding-top: 22px; padding-bottom: 6px; }

dialog.popout { padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 48px); background: var(--panel); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0, 0, 0, .7); overflow: auto; }
dialog.popout::backdrop { background: rgba(3, 4, 8, .8); }
dialog.popout .close { position: absolute; top: 6px; right: 8px; z-index: 2; background: rgba(0, 0, 0, .35); color: #fff; border: 0; font-size: 26px; line-height: 1; width: 34px; height: 34px; cursor: pointer; }
dialog.popout .close:hover { background: var(--crimson); }

/* ── conventions ── */
form.filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; margin-bottom: 22px; }
form.filters label { display: flex; flex-direction: column; gap: 4px; font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--gold); }
form.filters label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); padding-bottom: 8px; }
form.filters select { font: 15px var(--body); background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 7px 10px; min-width: 170px; }
form.filters button { font: 800 12px var(--label); letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: #111; border: 0; padding: 10px 16px; cursor: pointer; }
form.filters a { font-size: 14px; padding-bottom: 8px; }
.tile.cov { color: #fff; text-decoration: none; }
.tile.cov.set { background: #0b6b7a; }
.tile.cov.held { background: #5a4f20; }
.tile.cov.none { background: #1c2030; color: #8f98ad; }
.tile.cov.on { outline: 3px solid var(--gold-hi); outline-offset: -3px; }
.sw.cov-set { background: #0b6b7a; }
.sw.cov-held { background: #5a4f20; }
.sw.cov-none { background: #1c2030; border: 1px solid var(--line); }
h3.month { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--gold); margin: 22px 0 10px; }
h3.month:first-child { margin-top: 0; }
.dates.conv li { grid-template-columns: 170px 1fr auto; }
.dates.conv a { color: var(--ink); text-decoration: none; }
.dates.conv a:hover strong { color: var(--gold-hi); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill { display: inline-block; font-size: 11px; font-family: var(--label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; white-space: nowrap; }
.pill.tba { background: #2a3040; color: var(--muted); }
.pill.del { background: var(--gold-soft); color: #14110a; }
.pill.del.inferred { background: rgba(236, 197, 114, .14); color: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(236, 197, 114, .55); }
.pill.notdel { background: #2a3040; color: #b4bbcb; }
.pill.unk { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.pill small { font-size: inherit; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .85; }
.tags.start { justify-content: flex-start; }
.pill.lvl { background: rgba(0, 229, 255, .12); color: var(--cyan); }
ul.notposted { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
ul.notposted li { background: var(--panel); border: 1px solid var(--line); padding: 10px 14px; display: flex; flex-direction: column; }
ul.notposted a { color: var(--ink); text-decoration: none; }
ul.notposted a:hover { color: var(--gold-hi); }
.affiliate { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--royal); padding: 16px 20px; }
.affiliate h3 { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin-bottom: 8px; }
.affiliate p { color: var(--ink-2); margin: 0 0 8px; }
.affiliate strong { color: var(--ink); font-weight: 500; }
.affiliate a.src { font-size: 13px; margin-left: 4px; }
dl.facts { display: grid; grid-template-columns: 180px 1fr; margin: 0 0 18px; border-top: 1px solid var(--line); }
dl.facts dt, dl.facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
dl.facts dt { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--gold); padding-top: 13px; }

/* ── footer ── */
footer.site { padding: 40px 0 56px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--void), #0b0d14); }
footer.site .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
footer.site img { height: 56px; width: auto; mix-blend-mode: screen; }   /* the PNG has a black field; screen drops it until a transparent SVG arrives */
footer.site p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
footer.site p strong { color: var(--ink); font-weight: 500; }

@media (max-width: 960px) {
  .hero .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  footer.site .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  header.top .wrap { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  nav.main { margin-left: 0; width: 100%; gap: 18px; }
  .hero .wrap { padding: 38px 24px 28px; }
  .hero { background-position: 70% center; }
  .countbox { padding: 12px 18px; }
  .countbox .n { padding-right: 18px; }
  .countbox .what { padding-left: 18px; }
  .countbox b { font-size: 13px; letter-spacing: .14em; }
  .ticker .item { padding: 13px 20px; font-size: 15px; }
  .ticker .tag { padding: 0 16px; }
  .logo img { height: 44px; }
  .tiles { gap: 2px; }
  .tile .d { display: none; }
  .tile .pop { width: 224px; }
  .tile .pop.c4, .tile .pop.c5 { left: 0; transform: none; }       /* phones: open inward sooner */
  .tile .pop.c8, .tile .pop.c9 { left: auto; right: 0; transform: none; }
  .dates li, .dates.conv li { grid-template-columns: 1fr; gap: 2px; }
  .tags { justify-content: flex-start; }
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { border-bottom: 0; padding-bottom: 0; }
  .lower3 .photo { width: 84px; }
  .avatar.xl { width: 64px; height: 64px; font-size: 22px; }
  .lower3 .bar .a .nm { font-size: 26px; }
}
