@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #f2f4f8;
  --surface: #ffffff;
  --soft: #eef1f6;
  --soft-2: #e3e8f0;
  --line: #dfe4ec;
  --line-strong: #c9d0db;
  --ink: #141821;
  --ink-2: #464d59;
  --ink-3: #6c7380;
  --primary: #2457d6;
  --primary-hover: #1b45b0;
  --primary-soft: #e6edfd;
  --primary-ink: #2457d6;
  --live: #e5484d;
  --live-soft: #fdeaea;
  --live-ink: #b42318;
  --ok: #1f8a4c;
  --header-bg: rgba(255, 255, 255, 0.95);
  --hover: #f7f9fc;
  --emerg-row: #fff5f5;
  --mark: #dbe7ff;
  --new-bg: #e6f4ea;
  --new-ink: #1b6b3a;
  --cal-1: #eef3fd;
  --cal-2: #cfdcfa;
  --cal-3: #8fb0f2;
  --cal-3-ink: #0b1f4d;
  --band-dark: #0f1a2e;
  --band-dark-2: #16233b;
  --band-tint: #e6edfa;
  --series: #2a78d6;
  --critical: #d03b3b;
  --good: #006300;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --muted: #898781;
  --accent: #2a78d6;
  --wave-idle-strong: rgba(20, 24, 33, 0.16);
  --wave-idle: rgba(20, 24, 33, 0.07);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 2px 6px rgba(16, 24, 40, 0.05);
  --radius: 10px;
  --font: 'Figtree', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0f15;
  --surface: #151a23;
  --soft: #1b212b;
  --soft-2: #252c38;
  --line: #262d39;
  --line-strong: #364050;
  --ink: #eef1f6;
  --ink-2: #bcc3ce;
  --ink-3: #8a93a1;
  --primary: #3d74f0;
  --primary-hover: #5a8af5;
  --primary-soft: #1a2a4d;
  --primary-ink: #8fb0ff;
  --live: #f0585d;
  --live-soft: #3a1a1d;
  --live-ink: #ff8f8f;
  --ok: #3cc178;
  --header-bg: rgba(21, 26, 35, 0.95);
  --hover: #1a2029;
  --emerg-row: #2a1719;
  --mark: #24427e;
  --new-bg: #173523;
  --new-ink: #7ddc9f;
  --cal-1: #17243d;
  --cal-2: #1f3a6e;
  --cal-3: #3366c9;
  --cal-3-ink: #ffffff;
  --band-dark: #080b10;
  --band-dark-2: #111724;
  --band-tint: #121b2c;
  --series: #3987e5;
  --critical: #e66767;
  --good: #3cc178;
  --grid: #2c2c2a;
  --axis: #383835;
  --muted: #898781;
  --accent: #3987e5;
  --wave-idle-strong: rgba(238, 241, 246, 0.2);
  --wave-idle: rgba(238, 241, 246, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); padding-bottom: 80px; overflow-x: hidden; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 2px; }
button, input, select { font: inherit; color: inherit; }
img, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8fb0ff; outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 0.9em; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -0.3px; text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.primary { display: flex; gap: 4px; }
.primary a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.primary a:hover { background: var(--soft); color: var(--ink); }
.primary a.active { color: var(--primary-ink); background: var(--primary-soft); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 18px; min-width: 0; }
.listening { font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.listening b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #a8afba; }
.pulse[data-state="online"] { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 138, 76, 0.15); }
.pulse[data-state="offline"] { background: var(--live); }
.header-search input { width: 220px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px 8px 34px; font-size: 15px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737a85' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 10px center / 16px; }
.header-search input:focus { background-color: var(--surface); border-color: var(--primary); outline: none; }

/* ---- page frame ---- */
.main { padding: 0 0 72px; min-height: 60vh; }
.pagehead { padding-top: 40px; margin-bottom: 28px; }
.pagehead h1 { font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -0.6px; margin: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.subnav:empty { display: none; }
.subnav a { padding: 6px 14px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: var(--soft); text-decoration: none; }
.subnav a:hover { background: var(--soft-2); color: var(--ink); }
.subnav a.active { background: var(--ink); color: var(--surface); }
.page { outline: none; }

.page h2 { font-size: 24px; line-height: 1.25; font-weight: 750; letter-spacing: -0.3px; margin: 56px 0 18px; }
.page > div > :first-child, .page > div > section:first-child > h2:first-child { margin-top: 0; }
.page h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; }
.page p { margin: 0 0 12px; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 56px 0 18px; }
.sechead h2 { margin: 0 !important; }
.sechead a { font-weight: 600; font-size: 15px; }
.lede { color: var(--ink-2); font-size: 18px; margin-bottom: 20px; max-width: 64ch; }
.crumbs { font-size: 15px; margin-bottom: 18px; color: var(--ink-3); }
.note { font-size: 14px; color: var(--ink-3); }
.empty { padding: 22px; color: var(--ink-3); background: var(--soft); border-radius: var(--radius); text-align: center; }
.loading { color: var(--ink-3); padding: 14px 0; }
.error { color: var(--live); padding: 10px 0; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; }
.cols-2 > section > h2:first-child, .cols-2 > section > .sechead:first-child { margin-top: 56px; }
.notice { background: var(--soft); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 22px; font-size: 16px; color: var(--ink-2); }
.notice b { color: var(--ink); }
.notice.emergency { background: var(--live-soft); }

/* ---- buttons, tabs, chips ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 8px; border: 0; background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--primary-hover); color: #fff; text-decoration: none; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-quiet, .btn-outline { background: var(--soft); color: var(--ink); }
.btn-quiet:hover, .btn-outline:hover { background: var(--soft-2); color: var(--ink); }
.btn-outline[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary-ink); }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--soft); border-radius: 10px; padding: 4px; }
.tabs button { border: 0; background: transparent; color: var(--ink-2); padding: 6px 14px; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 7px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--line); }
.toolbar { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin: 0 0 20px; }
.toolbar .grow { flex: 1; }
.toolbar input[type="search"], .toolbar select, .field { border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; background: var(--surface); font-size: 15px; min-width: 0; }
.toolbar input[type="search"]:focus, .toolbar select:focus { border-color: var(--primary); outline: none; }
.toolbar label { font-size: 15px; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 5px 12px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ---- home intro ---- */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 8px 0 8px; }
.intro h1 { font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -1px; margin: 0 0 16px; }
.intro p { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; max-width: 34ch; }
.intro .btnrow { margin: 0; }
.intro .facts-line { margin-top: 26px; font-size: 15px; color: var(--ink-3); }
.intro .facts-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.onair { border: 1px solid var(--line); border-radius: 14px; padding: 6px 0; }
.onair-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 8px; font-weight: 700; font-size: 15px; }
.onair-head span { color: var(--ink-3); font-weight: 500; }
.onair-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); }
.onair-row .nm { font-weight: 700; }
.onair-row .nm a { color: var(--ink); }
.onair-row .what { font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onair-row.is-live .what { color: var(--live); font-weight: 600; }
.onair-row .n { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- feed page head ---- */
.feedhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feedhead .btn { padding: 12px 20px; font-size: 17px; }
.btn-stop { background: var(--live); }
.btn-stop:hover { background: #c7343a; }
.fh-now { font-weight: 700; font-size: 18px; }
.fh-now.is-live { color: var(--live); }
.fh-meta { color: var(--ink-3); font-size: 15px; }

/* ---- feed tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); box-shadow: var(--shadow); }
.tile:hover { border-color: var(--line-strong); }
.tile.is-live { border-color: #f3b3b5; }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile h3 { margin: 0 !important; font-size: 19px; line-height: 1.2; }
.tile h3 a { color: var(--ink); }
.tile .agency { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.tile .now { font-size: 15px; color: var(--ink-2); min-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.is-live .now { color: var(--live); font-weight: 600; }
.tile .meta { display: flex; gap: 16px; font-size: 14px; color: var(--ink-3); margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.tile .meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tile .meta a { margin-left: auto; font-weight: 600; }

/* ---- tables ---- */
.tscroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.dtable th { text-align: left; font-weight: 600; font-size: 14px; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.dtable th:first-child, .dtable td:first-child { padding-left: 4px; }
.dtable th.c, .dtable td.c { text-align: center; }
.dtable th button { all: unset; cursor: pointer; }
.dtable th button:hover { color: var(--ink); }
.dtable th[aria-sort] button { color: var(--ink); }
.dtable th[aria-sort="descending"] button::after { content: ' \2193'; }
.dtable th[aria-sort="ascending"] button::after { content: ' \2191'; }
.dtable td { border-bottom: 1px solid var(--line); padding: 14px 14px; vertical-align: middle; }
.dtable tbody tr:hover td { background: var(--hover); }
.dtable td.num, .dtable th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable .desc { color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.dtable .feedname { font-weight: 700; }
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 11px 16px 11px 0; width: 46%; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts td { padding: 11px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }

.state { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink-3); }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #b5bcc6; }
.state.on::before { background: var(--ok); }
.state.on { color: var(--ok); }
.state.air::before { background: var(--live); box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.2); }
.state.air { color: var(--live); }

.playbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--primary); display: inline-grid; place-items: center; padding: 0; flex: none; }
.playbtn svg { width: 15px; height: 15px; fill: #fff; margin-left: 2px; }
.playbtn:hover { background: var(--primary-hover); }
.playbtn.on { background: var(--live); }
.playbtn.on svg { margin-left: 0; }
.playbtn.sm { width: 32px; height: 32px; }
.playbtn.sm svg { width: 12px; height: 12px; }

.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; vertical-align: 1px; }
.badge-live, .badge-emerg { background: var(--live-soft); color: var(--live-ink); }
.badge-lock { background: var(--soft-2); color: var(--ink-2); }
.badge-new { background: var(--new-bg); color: var(--new-ink); }
.badge-kind { background: var(--soft-2); color: var(--ink-2); }
.lock { color: var(--ink-3); }

/* ---- ranked bars ---- */
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(100px, 34%) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 0; font-size: 15px; }
.bars .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .bt { height: 12px; display: flex; gap: 2px; }
.bars .bf { height: 100%; background: var(--series); border-radius: 0 4px 4px 0; min-width: 2px; }
.bars .bf.emerg { background: var(--critical); }
.bars .bf.lead { border-radius: 0; }
.bars .bv { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; min-width: 50px; text-align: right; }
.bars.sub li { padding-left: 18px; font-size: 14px; }
.bars.sub .bf { background: #86b6ef; }
.bars li.expandable { cursor: pointer; }
.bars li.expandable .bl::before { content: '\25B8 '; color: var(--ink-3); }
.bars li.expandable[aria-expanded="true"] .bl::before { content: '\25BE '; }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); margin: 4px 0 10px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .sw-series { background: var(--series); }
.legend .sw-emerg { background: var(--critical); }
.legend .sw-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--critical); }
.legend .sw-avg { height: 2px; width: 14px; background: #1c5cab; border-radius: 0; }

/* ---- charts ---- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .base { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.chart text { font: 12px var(--font); fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .mark { fill: var(--series); }
.chart .mark.hi { fill: #1c5cab; }
.chart .mark.emerg { fill: var(--critical); }
.chart .line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.avg { stroke: #1c5cab; }
.chart .line.max { stroke: #86b6ef; stroke-width: 1.5; }
.chart .area { fill: var(--series); opacity: 0.1; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:focus { outline: none; fill: rgba(42, 120, 214, 0.08); }
.chart .xhair { stroke: #898781; stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.chart .dot { fill: var(--surface); stroke: var(--series); stroke-width: 2; pointer-events: none; }
.chart .dot.emerg { stroke: var(--critical); }
.chart .cell { stroke: var(--surface); stroke-width: 2; }
.chart-caption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.scale { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.scale i { display: inline-block; width: 18px; height: 10px; border-radius: 2px; }
.tooltip { position: fixed; z-index: 60; pointer-events: none; background: #141821; color: #fff; padding: 7px 10px; border-radius: 8px; font-size: 13px; line-height: 1.35; max-width: 260px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.tooltip b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.mapbox { position: relative; max-width: 480px; border-radius: 12px; overflow: hidden; background: #18487b; }
.mapbox img { display: block; width: 100%; height: auto; }
.mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapbox .heat { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1; }

/* ---- stats blocks ---- */
.compare td.delta { white-space: nowrap; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--good); }
.delta.down { color: var(--live-ink); }
.delta.flat { color: var(--ink-3); }
.nowline { font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.nowline b { font-variant-numeric: tabular-nums; }
.bignum { font-size: 32px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.statgrid > div { background: var(--soft); border-radius: 12px; padding: 16px 18px; }
.statgrid .lbl { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.statgrid .sub { font-size: 14px; color: var(--ink-3); }

/* ---- transmission rows ---- */
.callrow td { vertical-align: top; }
.callrow .t { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.callrow .tx { font-size: 16px; }
.callrow .tx.none { color: var(--ink-3); font-style: italic; }
.callrow.emergency td { background: var(--emerg-row); }
.callrow.playing td { background: var(--primary-soft) !important; }
.callrow.fresh td { animation: fresh 2.4s ease-out; }
@keyframes fresh { from { background: #e9effc; } }
.clipbar { height: 3px; background: var(--line); margin-top: 8px; border-radius: 2px; overflow: hidden; }
.clipbar i { display: block; height: 100%; width: 0; background: var(--primary); }
mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 3px; }

/* archive */
.arch { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.arch-side { position: sticky; top: 92px; }
.cal { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px; font-weight: 700; font-size: 16px; }
.cal-head button { background: none; border: 0; cursor: pointer; font-size: 14px; padding: 4px 10px; border-radius: 6px; color: var(--ink-2); }
.cal-head button:hover { background: var(--soft); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 6px; }
.cal-grid { padding-bottom: 8px; gap: 2px; }
.cal-dow span { font-size: 12px; text-align: center; color: var(--ink-3); padding: 4px 0; }
.cal-cell { text-align: center; font-size: 14px; padding: 7px 0; color: var(--line-strong); border: 0; background: none; border-radius: 6px; font-variant-numeric: tabular-nums; }
.cal-cell.has { color: var(--ink); cursor: pointer; }
.cal-cell.d1 { background: var(--cal-1); }
.cal-cell.d2 { background: var(--cal-2); }
.cal-cell.d3 { background: var(--cal-3); color: var(--cal-3-ink); }
.cal-cell.today { font-weight: 800; }
.cal-cell.selected { background: var(--primary); color: #fff; }
.cal-cell.has:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.arch-side .facts { margin-top: 16px; font-size: 15px; }
.dl-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: 15px; }
.wave { width: 100%; height: 32px; display: block; cursor: pointer; margin-top: 8px; }

/* alerts */
.alert-kind-emergency .badge-kind { background: var(--live-soft); color: var(--live-ink); }
.alert-kind-listeners .badge-kind { background: var(--primary-soft); color: var(--primary-ink); }
.alerts-mini { list-style: none; margin: 0; padding: 0; }
.alerts-mini li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.alerts-mini .when { font-size: 14px; color: var(--ink-3); display: block; }
.newslist { list-style: none; margin: 0; padding: 0; }
.newslist li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.newslist .d { color: var(--ink-3); font-variant-numeric: tabular-nums; margin-right: 8px; font-size: 14px; }

/* partner strip (home) */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; }
.market { width: 100%; border-collapse: collapse; font-size: 15px; }
.market td { padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.market td:nth-child(2), .market td:nth-child(3) { text-align: right; }
.up { color: var(--good); }
.down { color: var(--live-ink); }
.side-foot { font-size: 14px; color: var(--ink-3); margin-top: 8px; }

/* ads: one slim banner per page */
.adwrap { margin: 48px 0 8px; }
.ad-label { display: block; font-size: 12px; color: var(--ink-3); margin: 0 0 6px; }
.ad { display: flex; align-items: center; gap: 20px; border-radius: 12px; padding: 16px 22px; color: inherit; text-decoration: none !important; }
.ad .brand { font-weight: 800; font-size: 22px; line-height: 1; white-space: nowrap; }
.ad .copy { flex: 1; min-width: 0; }
.ad .line { font-size: 17px; font-weight: 700; line-height: 1.25; display: block; }
.ad .fine { font-size: 13px; opacity: 0.85; }
.ad .cta { flex: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 8px; }

/* premium */
.premium-table td, .premium-table th { text-align: center; }
.premium-table td:first-child, .premium-table th:first-child { text-align: left; }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--live-ink); font-weight: 700; }
.pricebox { background: var(--soft); border-radius: 14px; padding: 22px 24px; margin: 20px 0; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pricebox .price { font-size: 40px; font-weight: 800; letter-spacing: -1px; }

/* ---- footer ---- */
.site-footer { background: var(--band-dark); color: #c3cad6; padding: 48px 0 28px; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #c3cad6; }
.site-footer a:hover { color: #fff; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer-brand p { color: #9aa4b4; font-size: 15px; max-width: 42ch; margin: 12px 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; align-content: start; }
.footer-links a { font-size: 15px; }
.footer-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid #243047; font-size: 13px; color: #7f8a9c; }

/* ---- dock ---- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(16, 24, 40, 0.08); }
.dock-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.dock-play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.dock-play:hover { background: var(--primary-hover); }
.dock-play[disabled] { background: #c3c9d3; cursor: default; }
.dock-play svg { width: 20px; height: 20px; fill: #fff; }
.dock-play .i-stop { display: none; }
.dock[data-playing="true"] .dock-play { background: var(--live); }
.dock[data-playing="true"] .dock-play .i-play { display: none; }
.dock[data-playing="true"] .dock-play .i-stop { display: block; }
.dock-now { min-width: 0; flex: 1; }
.dock-feed { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; }
.dock-feed > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.dock-live { background: var(--live-soft); color: var(--live-ink); font-size: 12px; padding: 1px 8px; border-radius: 6px; }
.dock-sub { font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-vu { width: 120px; height: 24px; flex: none; }
.dock-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.dock-controls select { background: var(--soft); border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 10px; font-size: 14px; max-width: 200px; }
.dock-btn { background: var(--soft); border: 0; border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; color: var(--ink-2); }
.dock-btn:hover { background: var(--soft-2); color: var(--ink); }
.dock-btn[aria-pressed="true"], .dock-btn[aria-expanded="true"], .dock-btn.engaged { background: var(--primary-soft); color: var(--primary-ink); }
.dock-mute { background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: 2px; width: 32px; height: 32px; }
.dock-mute svg { width: 22px; height: 22px; fill: currentColor; }
.dock-mute .x { display: none; }
.dock-mute[aria-pressed="true"] .x { display: block; }
.dock-mute[aria-pressed="true"] .wave { display: none; }
.dock-vol { width: 100px; accent-color: var(--primary); }
.dock-panel { border-bottom: 1px solid var(--line); background: var(--soft); }
.dual { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; font-size: 15px; }
.dual select { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 8px; }
.dual-level input { width: 130px; vertical-align: middle; accent-color: var(--primary); }
.cc-list { list-style: none; margin: 0; padding: 10px 0; max-height: 160px; overflow-y: auto; font-size: 15px; }
.cc-list li { padding: 3px 0; }
.cc-list .who { color: var(--primary-ink); font-weight: 700; margin-right: 8px; }
.cc-list .t { color: var(--ink-3); margin-right: 8px; font-variant-numeric: tabular-nums; }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .header-search input { width: 170px; }
  .dock-vu { display: none; }
}
@media (max-width: 900px) {
  .header-search { display: none; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 124px; }
  .wrap { padding: 0 16px; }
  .header-in { height: auto; flex-wrap: wrap; gap: 4px 12px; padding-top: 10px; padding-bottom: 6px; }
  .primary { order: 3; width: 100%; overflow-x: auto; margin: 0 -8px; scrollbar-width: none; }
  .primary a { padding: 7px 10px; font-size: 15px; }
  .main { padding-top: 26px; }
  .pagehead h1 { font-size: 30px; }
  .intro h1 { font-size: 34px; }
  .intro p { font-size: 17px; }
  .page h2 { font-size: 21px; margin-top: 44px; }
  .cols-2, .arch, .partner, .footer-in { grid-template-columns: minmax(0, 1fr); }
  .arch-side { position: static; }
  .dtable { font-size: 15px; }
  .dtable td { padding: 12px 10px; }
  .dock-in { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .dock-controls { width: 100%; }
  .dock-controls select { flex: 1; max-width: none; }
  .dock-vol { width: 70px; }
  .bars li { grid-template-columns: minmax(80px, 38%) minmax(0, 1fr) auto; }
  .hide-sm { display: none; }
  .ad { flex-wrap: wrap; }
  #dock-dual { display: none; }
}
@media (prefers-reduced-motion: reduce) { .callrow.fresh td { animation: none; } }

/* ---- theme toggle ---- */
.theme-btn { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.theme-btn:hover { color: var(--ink); background: var(--soft); }
.theme-btn svg { width: 18px; height: 18px; fill: currentColor; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* ---- live ticker ---- */
.ticker { background: var(--band-dark); color: #dfe5ee; font-size: 14px; }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 40px; overflow: hidden; }
.ticker-tag { flex: none; background: var(--live); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 0.4px; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; text-decoration: none; }
.ticker-tag:hover { color: #fff; text-decoration: none; filter: brightness(1.1); }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker-run { display: inline-flex; gap: 34px; padding-right: 34px; animation: tick var(--tick-dur, 60s) linear infinite; }
.ticker-track:hover .ticker-run { animation-play-state: paused; }
.ticker-item { display: inline-flex; gap: 8px; align-items: baseline; }
.ticker-item .tt { color: #8796ab; font-variant-numeric: tabular-nums; font-size: 13px; }
.ticker-item a { color: #9cc3ff; font-weight: 700; }
.ticker-item .q { color: #eef2f7; }
.ticker-empty { color: #8796ab; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-run { animation: none; } }

/* ---- full-width bands ---- */
.band { padding: 56px 0; }
.band + .band { padding-top: 56px; }
.band-tint { background: var(--band-tint); }
.band-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap > h2:first-child, .band > .wrap > .sechead:first-child { margin-top: 0; }
.band-dark { background: var(--band-dark); color: #e9eef5; }
.band-dark a { color: #9cc3ff; }

/* hero over the satellite map */
.hero { position: relative; overflow: hidden; background: #0b1424 url('/img/satmap-hero.jpg') center 38% / cover no-repeat; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 26, 0.88) 0%, rgba(8, 14, 26, 0.6) 50%, rgba(8, 14, 26, 0.3) 100%); }
.hero > .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.hero .intro h1 { color: #fff; }
.hero .intro p { color: #c9d3e1; }
.hero .facts-line { color: #9aa8bd !important; }
.hero .facts-line b { color: #fff !important; }
.hero .btn-quiet { background: rgba(255, 255, 255, 0.12); color: #fff; }
.hero .btn-quiet:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.hero .onair { background: rgba(13, 21, 37, 0.92); border-color: #2a3954; color: #e9eef5; }
.hero .onair-row { border-top-color: #22304a; }
.hero .onair-row .nm a { color: #fff; }
.hero .onair-row .what, .hero .onair-row .n, .hero .onair-head span { color: #93a1b6; }
.hero .onair-row.is-live .what { color: #ff8f8f; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #9cc3ff; margin-bottom: 14px; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.25); }

/* feature row: quote + hot words + spotlight */
.features { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature h3 { margin: 0 !important; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-3); font-weight: 700; }
.quote { font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -0.2px; margin: 4px 0 0; }
.quote::before { content: '\201C'; color: var(--primary-ink); }
.quote::after { content: '\201D'; color: var(--primary-ink); }
.quote-by { font-size: 15px; color: var(--ink-3); margin-top: auto; }
.words { display: flex; flex-wrap: wrap; gap: 8px; }
.words a { background: var(--soft); color: var(--ink); border-radius: 8px; padding: 4px 10px; font-weight: 600; text-decoration: none; font-size: 15px; }
.words a:hover { background: var(--primary-soft); color: var(--primary-ink); }
.words a small { color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.spot-name { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.spot-name a { color: var(--ink); }
.spot-meta { color: var(--ink-2); font-size: 15px; }

/* week strip */
.weekgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.weekgrid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.weekgrid .lbl { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.weekgrid .sub { font-size: 14px; color: var(--ink-3); }
.weekgrid .delta { font-size: 14px; font-weight: 600; }

/* news cards */
.newsgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.news-lead { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); }
.news-lead img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--soft); }
.news-lead .nb { padding: 16px 20px 20px; }
.news-cat { font-size: 13px; font-weight: 700; color: var(--live-ink); text-transform: uppercase; letter-spacing: 0.4px; }
.news-lead .nt { font-size: 22px; font-weight: 750; line-height: 1.25; margin-top: 4px; }
.news-lead:hover .nt { color: var(--primary-ink); }
.news-side { display: flex; flex-direction: column; gap: 12px; }
.news-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); }
.news-item img, .news-item .ph { width: 112px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--soft-2); display: block; }
.news-item .ph { display: grid; place-items: center; color: var(--ink-3); font-weight: 800; font-size: 13px; }
.news-item .nt { font-weight: 700; font-size: 16px; line-height: 1.3; }
.news-item:hover .nt { color: var(--primary-ink); }

/* stocks */
.stocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.stock { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; }
.stock img, .stock .ph { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--soft-2); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--ink-3); }
.stock .sym { font-weight: 800; }
.stock .nm { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock .px { text-align: right; font-variant-numeric: tabular-nums; font-size: 15px; }
.stock .px b { display: block; }

/* ads: leaderboard and in-grid tile */
.ad { box-shadow: var(--shadow); }
.ad-art { flex: none; width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 26px; }
.tile.ad-tile { border: 0; padding: 0; overflow: hidden; }
.tile.ad-tile .ad { height: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; border-radius: 12px; padding: 18px; box-shadow: none; gap: 12px; }
.tile.ad-tile .ad-label { position: absolute; }
.adtag { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; opacity: 0.7; }

/* premium band */
.promo-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.promo-band h2 { margin: 0 0 6px !important; color: #fff; }
.promo-band p { margin: 0; color: #c9d3e1; max-width: 56ch; }

@media (max-width: 1000px) {
  .features { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .features > :first-child { grid-column: 1 / -1; }
  .weekgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .band { padding: 40px 0; }
  .hero > .wrap { padding-top: 40px; padding-bottom: 40px; }
  .features, .newsgrid { grid-template-columns: minmax(0, 1fr); }
  .weekgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .ticker-in { height: 36px; }
  .header-right { gap: 10px; }
}
.ad .copy .line, .ad .copy .fine { display: block; }
.tile.ad-tile .copy .brand { display: block; font-size: 20px; margin-bottom: 6px; }
.tile.ad-tile .ad-art { width: 48px; height: 48px; font-size: 20px; border-radius: 10px; }

/* ---- stats dashboard ---- */
.stats-bar { position: sticky; top: 68px; z-index: 20; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 12px 0; margin: -8px 0 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.jumps { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.jumps a { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 5px 9px; border-radius: 7px; text-decoration: none; }
.jumps a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 46px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.kpi .lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kpi .bignum { font-size: 30px; }
.kpi .delta { display: block; font-size: 13px; font-weight: 600; }
.kpi .sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34px; }
.spark polyline { fill: none; stroke: var(--series); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0.55; }
.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px 22px; box-shadow: var(--shadow); min-width: 0; scroll-margin-top: 140px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0 !important; font-size: 19px; }
.panel .cols-2 { gap: 0 28px; }
.panel .lede { font-size: 15px; }
.panel h3 { font-size: 15px; margin-top: 18px; }
.panel .empty { padding: 16px; }
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.livepill { font-size: 12px; font-weight: 700; color: var(--live-ink); background: var(--live-soft); padding: 2px 8px; border-radius: 6px; }
.nowgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 8px; }
.nowgrid .bignum { font-size: 28px; }
.nowgrid .sub { font-size: 13px; color: var(--ink-3); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .span-8, .span-7, .span-5, .span-4 { grid-column: span 12; } .jumps { display: none; } }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-bar { top: 0; position: static; } .panel { padding: 16px; } .dash { gap: 14px; } }

/* ad artwork (Codex-generated in-game scenes) */
.ad.has-img { position: relative; overflow: hidden; min-height: 132px; }
.ad.has-img > :not(.ad-img) { position: relative; z-index: 1; }
.ad-img { position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.ad.has-img .copy { max-width: 46%; }
.tile.ad-tile .ad.has-img { min-height: 0; }
.tile.ad-tile .ad.has-img .ad-img { position: static; display: block; width: calc(100% + 36px); height: auto; aspect-ratio: 16 / 9; margin: -18px -18px 2px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tile.ad-tile .ad.has-img .copy { max-width: none; }
.tile.ad-tile .ad.has-img .ad-art { display: none; }
@media (max-width: 760px) {
  .ad.has-img .ad-img { width: 100%; opacity: 0.35; -webkit-mask-image: none; mask-image: none; }
  .ad.has-img .copy { max-width: none; }
}

/* ---- section banner (subhero) ---- */
.subhero { background: var(--band-tint) center / cover no-repeat; position: relative; margin-bottom: 32px; }
.subhero > .wrap { position: relative; padding-top: 40px; padding-bottom: 26px; }
.subhero.has-img { color: #fff; }
.subhero.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 26, 0.86) 0%, rgba(8, 14, 26, 0.55) 60%, rgba(8, 14, 26, 0.35) 100%); }
.subhero.has-img > .wrap { padding-top: 64px; padding-bottom: 30px; }
.subhero h1 { font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -0.6px; margin: 0; }
.subhero.has-img h1 { color: #fff; }
.subhero-lede { margin: 8px 0 0; font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.subhero.has-img .subhero-lede { color: #d3dbe7; }
.subhero.has-img .subnav a { background: rgba(255, 255, 255, 0.14); color: #fff; }
.subhero.has-img .subnav a:hover { background: rgba(255, 255, 255, 0.24); }
.subhero.has-img .subnav a.active { background: #fff; color: #141821; }
.pagehead { margin: 0; padding: 0; }
@media (max-width: 760px) { .subhero h1 { font-size: 28px; } .subhero.has-img > .wrap { padding-top: 40px; } .subhero-lede { font-size: 16px; } }

/* zoomable CAD map */
.mapbox { position: relative; max-width: none; aspect-ratio: 2 / 3; max-height: 760px; overflow: hidden; touch-action: none; cursor: grab; user-select: none; }
.mapbox.zoomed:active { cursor: grabbing; }
.map-stage { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.map-stage img { width: 100%; height: 100%; display: block; pointer-events: none; }
.map-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-stage .heat { stroke: rgba(255, 255, 255, 0.7); stroke-width: 0.6; vector-effect: non-scaling-stroke; }
.map-ctl { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.map-ctl button { width: 34px; height: 34px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, 0.92); color: #141821; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.map-ctl button:hover { background: #fff; }
.map-scale { position: absolute; left: 10px; bottom: 10px; background: rgba(8, 14, 26, 0.75); color: #e9eef5; font-size: 12px; padding: 4px 8px; border-radius: 6px; z-index: 2; }
.kpis.kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cad-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; margin-bottom: 8px; }
@media (max-width: 1000px) { .cad-grid { grid-template-columns: minmax(0, 1fr); } .kpis.kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ad artwork shown whole: own 16:9 panel, never masked or squeezed */
.ad.has-img { min-height: 0; padding: 14px; gap: 20px; }
.ad.has-img .ad-img { position: static; order: 5; flex: none; width: auto; height: 164px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 8px; -webkit-mask-image: none; mask-image: none; }
.ad.has-img .copy { max-width: none; }
.ad.has-img .ad-art { display: none; }
.ad.has-img .brand { font-size: 24px; }
.ad.has-img > .brand { padding-left: 8px; }
.tile.ad-tile .ad.has-img { padding: 0 0 16px; gap: 10px; }
.tile.ad-tile .ad.has-img .ad-img { order: -1; width: 100%; height: auto; margin: 0; border-radius: 12px 12px 0 0; }
.tile.ad-tile .ad.has-img > :not(.ad-img) { margin-left: 16px; margin-right: 16px; }
@media (max-width: 900px) {
  .ad.has-img { flex-direction: column; align-items: flex-start; padding: 0 0 16px; }
  .ad.has-img .ad-img { order: -1; width: 100%; height: auto; border-radius: 12px 12px 0 0; opacity: 1; }
  .ad.has-img > :not(.ad-img) { margin-left: 16px; margin-right: 16px; }
}

/* home sub-hero band */
.subband { position: relative; background: var(--band-dark) center / cover no-repeat; color: #fff; }
.subband.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 26, 0.9) 0%, rgba(8, 14, 26, 0.7) 45%, rgba(8, 14, 26, 0.25) 100%); }
.subband-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.subband h2 { color: #fff; font-size: 32px; letter-spacing: -0.5px; margin: 0 0 12px !important; }
.subband p { color: #cfd8e5; font-size: 18px; max-width: 46ch; margin: 0 0 24px; }
.subband .btn-quiet { background: rgba(255, 255, 255, 0.14); color: #fff; }
.subband .btn-quiet:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.subband-facts { margin: 0; display: grid; gap: 12px; justify-self: end; min-width: 260px; }
.subband-facts > div { background: rgba(8, 14, 26, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 12px 16px; }
.subband-facts dt { font-size: 13px; color: #a9b6c8; }
.subband-facts dd { margin: 2px 0 0; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .subband-in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; } .subband-facts { justify-self: stretch; } .subband h2 { font-size: 26px; } }
.dlbtn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--ink-3); }
.dlbtn:hover { background: var(--soft); color: var(--primary-ink); text-decoration: none; }
.dlbtn svg { width: 18px; height: 18px; }
.subband-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); padding-top: 64px; padding-bottom: 64px; }
.subband-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: stretch; min-width: 0; margin-top: 28px; }
.subband-facts dd { font-size: 22px; }
.subband-shot { margin: 0; }
.subband-shot img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.subband-shot figcaption { font-size: 13px; color: #94a3b8; margin-top: 8px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer-base .flamenet { color: #c3cad6; font-size: 13px; white-space: nowrap; }
.footer-base .flamenet b { color: #fff; }
.footer-base .flamenet:hover b { text-decoration: underline; }
@media (max-width: 760px) { .subband-facts { grid-template-columns: minmax(0, 1fr); } }
.sechead-note { margin: -10px 0 18px !important; color: var(--ink-3); font-size: 15px; max-width: 70ch; }
.cols-2 .sechead-note { margin-top: -8px !important; }
