  @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700;800;900&family=Newsreader:opsz,wght@6..72,200..800&display=swap');

  * { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Ã¢ÂÂÃ¢ÂÂÃ¢ÂÂ FOUR FINGERS NEWS Ã¢ÂÂ WSJ/NYT NEWSPRINT PALETTE Ã¢ÂÂÃ¢ÂÂÃ¢ÂÂ
       White page, black ink, red nameplate. Structure from rules
       and typography, not from color. Atmosphere through accent
       sparingly, never through ground. */
    --bg: #ffffff;              /* pure paper */
    --surface: #ffffff;         /* cards blend into page, structure from rules */
    --surface-hover: #f5f5f5;   /* neutral gray hover */
    --border: #d4d4d4;          /* neutral gray rule */
    --border-glow: #b5b5b5;     /* darker neutral rule for emphasis */
    --text: #121212;            /* near-black ink */
    --text-dim: #333333;        /* body-secondary */
    --text-muted: #6b6b6b;      /* tertiary / bylines */
    --accent: #8b4513;          /* saddle-brown whiskey accent */
    --accent-glow: rgba(139, 69, 19, 0.12);
    --green: #2d7a3e;           /* readable market green */
    --red: #a42020;             /* nameplate red / market down */
    --amber: #b8860b;           /* dark goldenrod Ã¢ÂÂ readable */
    --copper: #8b4513;          /* same as accent, for compatibility */
    --brass: #8a6d3b;           /* muted brass for rules */
    --forest-dark: #121212;     /* neutralized Ã¢ÂÂ legacy alias for ink */
    --forest-light: #121212;    /* neutralized Ã¢ÂÂ legacy alias for ink */
    --mountain-blue: #34495e;
    --mountain-slate: #566573;
    --seahawks-green: #69BE28;
    --seahawks-blue: #002244;
    --mariners-teal: #005C5C;
    --mariners-blue: #0C2C56;
    --kraken-teal: #99D9D9;
    --kraken-blue: #001628;
    --uw-purple: #4B2E83;
    --uw-gold: #B7A57A;
    --nba-blue: #1D428A;
    --nba-red: #C8102E;
  }

  /* ─── DARK MODE PALETTE ───
     Triggered by `data-theme="dark"` on <html>. Set by an inline preflight
     script in each page's <head> (before first paint, so no flash). User
     preference persists in localStorage('ffnTheme'); falls back to OS preference.
     Most rules already use the variables below, so this single override flips
     the entire site. Hardcoded colors get patched in spot rules underneath. */
  html[data-theme="dark"] {
    --bg: #0e0f12;
    --surface: #15171c;
    --surface-hover: #1d1f25;
    --border: #2a2d33;
    --border-glow: #3a3d44;
    --text: #ebe7d8;
    --text-dim: #b8b4a6;
    --text-muted: #807c70;
    --accent: #d4a017;
    --accent-glow: rgba(212, 160, 23, 0.18);
    --green: #5fbf75;
    --red: #e85e5e;
    --amber: #d4a017;
    --copper: #d4a017;
    --brass: #b89556;
    --forest-dark: #ebe7d8;
    --forest-light: #ebe7d8;
  }

  /* Spot-fix common hardcoded backgrounds that don't use --bg / --surface */
  html[data-theme="dark"] body { background: var(--bg); color: var(--text); }
  html[data-theme="dark"] .editor-note { background: #1a1c20 !important; color: var(--text); }
  html[data-theme="dark"] .editor-note .en-text { color: var(--text-dim) !important; }
  html[data-theme="dark"] .rd-panel,
  html[data-theme="dark"] .rd-rundown,
  html[data-theme="dark"] [class^="rd-"] { color: var(--text); }
  html[data-theme="dark"] .landing-card { background: var(--surface); border-color: var(--border); }
  html[data-theme="dark"] .landing-card:hover { background: var(--surface-hover); }
  html[data-theme="dark"] table { color: var(--text); }
  html[data-theme="dark"] th { background: var(--surface) !important; color: var(--text-dim) !important; }
  html[data-theme="dark"] td { background: transparent; color: var(--text); border-color: var(--border); }
  html[data-theme="dark"] .header { background: var(--surface) !important; border-color: var(--border); }
  html[data-theme="dark"] .header-title,
  html[data-theme="dark"] .header-subtitle { color: var(--text); }
  html[data-theme="dark"] .nav,
  html[data-theme="dark"] nav { background: var(--surface); border-color: var(--border); }
  html[data-theme="dark"] .nav a { color: var(--text-dim); }
  html[data-theme="dark"] .nav a:hover,
  html[data-theme="dark"] .nav a.active { color: var(--amber); }
  html[data-theme="dark"] .footer { background: var(--surface); color: var(--text-muted); border-color: var(--border); }
  html[data-theme="dark"] .footer a { color: var(--text-dim); }
  html[data-theme="dark"] .footer-text .highlight { color: var(--text); }
  html[data-theme="dark"] hr { border-color: var(--border); }

  /* Theme-toggle button (injected into header by app.js on every page) */
  .ffn-theme-toggle {
    position: relative;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    margin-left: 12px;
    padding: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    flex-shrink: 0;
  }
  .ffn-theme-toggle:hover {
    background: var(--surface-hover);
    color: var(--amber);
    border-color: var(--amber);
  }
  .ffn-theme-toggle .ffn-icon-sun  { display: none; }
  .ffn-theme-toggle .ffn-icon-moon { display: inline; }
  html[data-theme="dark"] .ffn-theme-toggle .ffn-icon-sun  { display: inline; }
  html[data-theme="dark"] .ffn-theme-toggle .ffn-icon-moon { display: none; }


  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
  }

  /* Ã¢ÂÂÃ¢ÂÂ Newsprint Background Ã¢ÂÂ quiet warm page Ã¢ÂÂÃ¢ÂÂ */
  .bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: -1;
    pointer-events: none;
  }
  .bg-grid::after { content: none; }
  .particles { display: none !important; }

  /* &#9472;&#9472; Floating Particles &#9472;&#9472; */
  .particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  .particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--forest-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 4px rgba(111, 184, 150, 0.4);
  }

  @keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
  }

  /* &#9472;&#9472; Main Container &#9472;&#9472; */
  .main {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 24px 60px;
  }

  /* &#9472;&#9472; Header &#9472;&#9472; */
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .logo-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--forest-light), var(--mountain-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    animation: logoPulse 3s ease-in-out infinite;
  }

  @keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.08); }
    50% { box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); }
  }

  .header-title {
    font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1a1611;
  }

  .header-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-top: 2px;
    transition: opacity 0.35s ease;
    min-height: 1.2em;
  }
  .header-left { display: flex; align-items: center; }

  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'JetBrains Mono', monospace;
  }

  .live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 2px;
  }

  .live-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
  }

  @keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--green); }
    50% { opacity: 0.4; box-shadow: 0 0 12px var(--green); }
  }

  .clock {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
  }

  .clock-date {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* &#9472;&#9472; Section Titles &#9472;&#9472; */
  .section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 32px 0 16px;
  }

  .section-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--forest-light);
    padding: 5px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.03);
  }

  .section-quip {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
  }

  /* Ã¢ÂÂÃ¢ÂÂ Suggestion Box Ã¢ÂÂÃ¢ÂÂ */
  .suggest-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 24px;
    margin-bottom: 24px;
  }
  .suggest-inner {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .suggest-icon { font-size: 32px; flex-shrink: 0; }
  .suggest-text { flex: 1; }
  .suggest-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 4px;
  }
  .suggest-desc {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .suggest-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--forest-light), var(--mountain-blue));
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
  .suggest-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
  .suggest-note {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
  }
  @media (max-width: 600px) {
    .suggest-inner { flex-direction: column; text-align: center; }
    .suggest-btn { width: 100%; text-align: center; }
  }

  /* &#9472;&#9472; Birthday Banner &#9472;&#9472; */
  .birthday-banner {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1), rgba(255, 77, 106, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 2px;
    padding: 10px 18px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    animation: bannerShimmer 3s ease-in-out infinite;
  }

  @keyframes bannerShimmer {
    0%, 100% { border-color: rgba(255, 184, 0, 0.3); }
    33% { border-color: rgba(255, 77, 106, 0.4); }
    66% { border-color: rgba(0, 212, 255, 0.4); }
  }

  .birthday-banner::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.05), transparent);
    animation: bannerSweep 4s ease-in-out infinite;
  }

  @keyframes bannerSweep {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
  }

  .birthday-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .birthday-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .birthday-emoji {
    font-size: 22px;
    animation: bdayBounce 1s ease-in-out infinite;
  }

  @keyframes bdayBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  .birthday-name {
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--amber), #ff6b6b, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nameGlow 2s ease-in-out infinite;
  }

  @keyframes nameGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
  }

  .birthday-detail {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 1px;
  }

  .birthday-detail span {
    color: var(--amber);
    font-weight: 600;
  }

  .birthday-right {
    text-align: right;
  }

  .birthday-stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
  }

  .birthday-stat .val {
    color: var(--amber);
    font-weight: 600;
  }

  .birthday-roast {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid rgba(255, 184, 0, 0.1);
    padding-top: 4px;
  }

  /* &#9472;&#9472; Scrolling Ticker &#9472;&#9472; */
  .ticker-wrap {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 10px 0;
    margin-bottom: 24px;
  }

  .ticker {
    display: flex;
    gap: 40px;
    animation: tickerScroll 60s linear infinite;
    white-space: nowrap;
    width: max-content;
  }

  @keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .ticker-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ticker-symbol {
    font-weight: 600;
    color: var(--text);
  }

  .ticker-price {
    color: var(--text-dim);
  }

  .ticker-change {
    font-weight: 600;
    font-size: 11px;
  }

  .ticker-change.up { color: var(--green); }
  .ticker-change.down { color: var(--red); }

  .ticker-sep {
    color: var(--text-muted);
    font-size: 11px;
  }

  /* &#9472;&#9472; Cards Grid &#9472;&#9472; */
    .cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 8px;
  }

  .cards-row-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
  }

  .cards-row-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
  }

  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    border-radius: 2px 2px 0 0;
  }

  .card-seahawks::before { background: linear-gradient(90deg, var(--seahawks-green), var(--seahawks-blue)); }
  .card-mariners::before { background: linear-gradient(90deg, var(--mariners-teal), var(--mariners-blue)); }
  .card-kraken::before { background: linear-gradient(90deg, var(--kraken-teal), var(--kraken-blue)); }
  .card-nba::before { background: linear-gradient(90deg, var(--nba-blue), var(--nba-red)); }
  .card-nhl::before { background: linear-gradient(90deg, #000000, #a2aaad); }
  .card-uw::before { background: linear-gradient(90deg, var(--uw-purple), var(--uw-gold)); }

  .card-team-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 8px;
  }

  .card-score {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
  }

  .card-detail {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 2px;
  }

  .card-quip {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .card-next {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 8px;
  }

  /* &#9472;&#9472; Stock Cards &#9472;&#9472; */
  .stock-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 16px 20px;
    transition: all 0.3s ease;
  }

  .stock-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
  }

  .stock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .stock-symbol {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }

  .stock-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .stock-badge.up {
    color: var(--green);
    background: rgba(0, 230, 138, 0.1);
  }

  .stock-badge.down {
    color: var(--red);
    background: rgba(255, 77, 106, 0.1);
  }

  .stock-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
  }

  .stock-name {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
  }

  .sparkline-container {
    height: 40px;
    margin-top: 10px;
  }

  .sparkline-container canvas {
    width: 100%;
    height: 100%;
  }


/* ===== GAME DAY WAR ROOM ===== */
.gameday-banner{background:linear-gradient(135deg,rgba(0,44,89,0.3),rgba(0,91,50,0.2));border:2px solid rgba(0,91,50,0.5);border-radius:2px;padding:16px 20px;margin-bottom:16px;position:relative;overflow:hidden}
.gameday-banner::before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--red),#0c2c56,var(--red))}
.gameday-title{font-size:12px;letter-spacing:4px;color:#c4ced4;font-weight:700;margin-bottom:8px}
.gameday-headline{font-size:20px;font-weight:900;color:#fff;margin-bottom:4px}
.gameday-sub{font-size:13px;color:var(--text-dim);margin-bottom:10px}
.gameday-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gameday-stat{text-align:center;padding:8px 4px;background:rgba(0,0,0,0.2);border-radius:2px}
.gameday-stat-label{font-size:11px;letter-spacing:2px;color:var(--text-muted);margin-bottom:2px}
.gameday-stat-value{font-family:"JetBrains Mono",monospace;font-size:18px;font-weight:900;color:var(--accent)}
.gameday-stat-detail{font-size:11px;color:var(--text-dim);margin-top:2px}
.gameday-countdown{font-family:"JetBrains Mono",monospace;font-size:28px;font-weight:900;color:var(--amber);text-align:center;margin:8px 0}
.gameday-countdown-label{font-size:11px;color:var(--text-muted);text-align:center;letter-spacing:3px}
.gameday-matchup{display:flex;justify-content:space-around;align-items:center;margin:10px 0;padding:10px;background:rgba(0,0,0,0.15);border-radius:2px}
.gameday-team{text-align:center;flex:1}
.gameday-team-name{font-size:12px;font-weight:900;letter-spacing:2px}
.gameday-team-record{font-size:11px;color:var(--text-dim)}
.gameday-vs{font-size:14px;color:var(--text-muted);font-weight:300;padding:0 10px}
.gameday-hype{font-size:11px;color:var(--amber);font-style:italic;text-align:center;margin-top:8px}
.mariners-color{color:#0c2c56}
.guardians-color{color:#e31937}

/* ===== MARINERS SEASON HYPE ===== */
.ms-hype{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}
.ms-hype-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:10px 6px;text-align:center}
.ms-hype-name{font-size:11px;letter-spacing:2px;color:var(--text-dim);margin-bottom:4px}
.ms-hype-stat{font-family:"JetBrains Mono",monospace;font-size:20px;font-weight:900;color:var(--accent)}
.ms-hype-detail{font-size:11px;color:var(--text-muted);margin-top:2px}

/* ===== MARKET SENTIMENT ===== */
/* Single unified grid: gauge + tickers flow as peers. 4 cols fits gauge + 7 tickers in exactly 2 rows. */
.market-sentiment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}
@media(max-width:900px){.market-sentiment-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.market-sentiment-grid{grid-template-columns:1fr}}
/* Fill trailing blanks if ticker count ever lands on an odd row */
.market-sentiment-grid > .ticker-card:last-child:nth-child(4n+1):nth-child(n+5){grid-column:1 / -1}
.market-sentiment-grid > .ticker-card:last-child:nth-child(4n+2):nth-child(n+6){grid-column:2 / -1}
.market-sentiment-grid > .ticker-card:last-child:nth-child(4n+3):nth-child(n+7){grid-column:3 / -1}

/* Fear & Greed gauge — horizontal card layout matching ticker-card proportions */
.fg-gauge{display:flex;flex-direction:row;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:12px 14px;position:relative;overflow:hidden;transition:border-color 0.3s}
.fg-gauge:hover{border-color:var(--accent)}
.fg-gauge::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--amber)}
.fg-dial{width:70px;height:35px;position:relative;overflow:hidden;flex-shrink:0}
.fg-dial-bg{width:70px;height:35px;border-radius:35px 35px 0 0;background:linear-gradient(90deg,#e74c3c,#e67e22,#f1c40f,#2ecc71,#27ae60);position:absolute;top:0}
.fg-needle{width:2px;height:33px;background:var(--text);position:absolute;bottom:0;left:34px;transform-origin:bottom center;transition:transform 1s}
.fg-info{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.fg-caption{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-weight:700}
.fg-value{font-family:"JetBrains Mono",monospace;font-size:20px;font-weight:900;line-height:1.1}
.fg-label-text{font-size:11px;font-weight:700;letter-spacing:1px;margin-top:1px}
.fg-extreme-fear{color:#e74c3c}.fg-fear{color:#e67e22}.fg-neutral{color:var(--amber)}.fg-greed{color:var(--green)}.fg-extreme-greed{color:var(--green)}
.ticker-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:14px;position:relative;overflow:hidden;transition:border-color 0.3s}
.ticker-card:hover{border-color:var(--accent)}
.ticker-card::before{content:"";position:absolute;top:0;left:0;right:0;height:2px}
.ticker-card.up::before{background:var(--green)}.ticker-card.down::before{background:var(--red)}.ticker-card.flat::before{background:var(--amber)}
.ticker-symbol{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-weight:700;margin-bottom:4px}
.ticker-price{font-family:"JetBrains Mono",monospace;font-size:18px;font-weight:900;color:var(--text)}
.ticker-change{font-family:"JetBrains Mono",monospace;font-size:11px;font-weight:700;margin-top:2px}
.ticker-change.up{color:var(--green)}.ticker-change.down{color:var(--red)}.ticker-change.flat{color:var(--amber)}
.ticker-label{font-size:11px;letter-spacing:1px;color:var(--text-muted);margin-top:4px}
.energy-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
@media(max-width:700px){.energy-strip{grid-template-columns:repeat(2,1fr)}}
.energy-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:14px 16px;display:flex;align-items:center;gap:12px;position:relative;overflow:hidden;transition:border-color 0.3s}
.energy-card:hover{border-color:var(--accent)}
.energy-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#e67e22,#e74c3c)}
.energy-icon{font-size:24px;opacity:0.8}
.energy-info{flex:1}
.energy-label{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-weight:700;margin-bottom:4px}
.energy-price{font-family:"JetBrains Mono",monospace;font-size:22px;font-weight:900;color:var(--text)}
.energy-delta{text-align:right}
.energy-change{font-family:"JetBrains Mono",monospace;font-size:13px;font-weight:700}
.energy-change.up{color:var(--red)}.energy-change.down{color:var(--green)}.energy-change.flat{color:var(--amber)}
.energy-sublabel{font-size:11px;letter-spacing:1px;color:var(--text-muted);margin-top:2px}

/* ===== WORLD SECTION CARDS ===== */
.world-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.world-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:12px 10px;position:relative;overflow:hidden}
.world-card::before{content:"";position:absolute;top:0;left:0;width:100%;height:2px}
.world-card.politics::before{background:linear-gradient(90deg,#3498db,#e74c3c)}
.world-card.ai-tech::before{background:linear-gradient(90deg,#9b59b6,var(--text-muted))}
.world-card.medicine::before{background:linear-gradient(90deg,#2ecc71,#3498db)}
.world-card.conflict::before{background:linear-gradient(90deg,#e74c3c,#e67e22)}
.world-card.climate::before{background:linear-gradient(90deg,#1abc9c,#27ae60)}
.world-card.space::before{background:linear-gradient(90deg,#34495e,#9b59b6)}
.world-card-icon{font-size:18px;margin-bottom:4px}
.world-card-title{font-size:11px;letter-spacing:2px;color:var(--text-dim);font-weight:700;margin-bottom:6px}
.world-card-value{font-family:"JetBrains Mono",monospace;font-size:14px;font-weight:700;color:var(--accent);margin-bottom:4px}
.world-card-detail{font-size:11px;color:var(--text-muted);line-height:1.4}
@media(max-width:600px){.world-grid{grid-template-columns:1fr 1fr}.ms-hype{grid-template-columns:1fr 1fr}}

/* ===== COUNTDOWN STRIP ===== */
.countdown-strip{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.countdown-mini{flex:1;min-width:100px;background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:8px 6px;text-align:center}
.countdown-mini-label{font-size:11px;letter-spacing:2px;color:var(--text-dim);margin-bottom:2px}
.countdown-mini-val{font-family:"JetBrains Mono",monospace;font-size:16px;font-weight:900;color:var(--accent)}
.countdown-mini-unit{font-size:11px;color:var(--text-muted)}

/* ===== DAILY ROTATION ===== */
.daily-strip{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:12px 16px;margin-bottom:16px}
.daily-label{font-size:11px;letter-spacing:3px;color:var(--text-dim);margin-bottom:6px}
.daily-quote{font-size:12px;color:var(--text);line-height:1.5;font-style:italic}
/* ===== OBJECTIVES TRACKER ===== */
.objectives-panel{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:20px 22px;margin-bottom:16px;position:relative;overflow:hidden}
.objectives-panel::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#e74c3c,#e67e22,#f1c40f,#3498db)}
.objectives-header{margin-bottom:16px}
.objectives-title{font-size:18px;font-weight:900;color:var(--text);letter-spacing:2px;margin-bottom:6px}
.objectives-sub{font-size:12px;color:var(--text-muted);font-style:italic}
.objectives-by-person{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:700px){.objectives-by-person{grid-template-columns:repeat(2,1fr)}}
.obj-person-col{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:14px}
.obj-person-name{font-size:13px;font-weight:900;letter-spacing:2px;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid var(--border)}
.obj-quote{font-size:12px;color:var(--text-dim);line-height:1.5;padding:5px 0;border-bottom:1px dashed var(--border);font-style:italic}
.obj-quote:last-child{border-bottom:none}
/* ===== EAST ROOM TRACKER ===== */
.eastroom-panel{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:20px 22px;margin-bottom:16px;position:relative;overflow:hidden}
.eastroom-panel::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#002868,#bf0a30,#002868)}
.eastroom-header{margin-bottom:16px}
.eastroom-title{font-size:18px;font-weight:900;color:var(--text);letter-spacing:2px;margin-bottom:6px}
.eastroom-sub{font-size:12px;color:var(--text-muted);font-style:italic}
.eastroom-timeline{display:flex;flex-direction:column;gap:8px}
.er-event{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:2px;background:var(--surface);border:1px solid var(--border);transition:background 0.2s}
.er-event:hover{background:var(--surface-hover)}
.er-date{font-family:"JetBrains Mono",monospace;font-size:11px;font-weight:700;color:var(--text-muted);letter-spacing:1px;min-width:80px;flex-shrink:0}
.er-desc{font-size:13px;color:var(--text-dim);flex:1;line-height:1.5}
.er-tag{font-size:11px;font-weight:700;letter-spacing:2px;padding:4px 10px;border-radius:4px;flex-shrink:0}
.er-tag.trade{background:rgba(230,126,34,0.15);color:#e67e22}
.er-tag.spectacle{background:rgba(231,76,60,0.15);color:#e74c3c}
.er-tag.policy{background:rgba(52,152,219,0.15);color:#3498db}

/* ===== WAR COMPARISON ===== */
.war-compare-grid{display:flex;flex-direction:column;gap:0}
.war-row{display:grid;grid-template-columns:160px 200px 1fr;gap:14px;padding:10px 12px;border-bottom:1px solid var(--border);align-items:center}
@media(max-width:700px){.war-row{grid-template-columns:100px 120px 1fr;font-size:11px}}
.war-row.header-row{border-bottom:2px solid var(--border);margin-bottom:4px}
.war-row.header-row .war-name,.war-row.header-row .war-duration,.war-row.header-row .war-context{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-weight:700}
.war-row.highlight-row{background:rgba(255,184,0,0.08);border-radius:2px;border:1px solid rgba(255,184,0,0.2)}
.war-name{font-size:13px;font-weight:700;color:var(--text)}
.war-duration{font-family:"JetBrains Mono",monospace;font-size:13px;color:var(--accent)}
.war-note{font-size:11px;color:var(--text-muted);font-weight:400}
.war-funny{font-size:12px;color:var(--text-dim);font-style:italic}

.trump-quotes-strip{background:linear-gradient(135deg,rgba(180,40,40,0.08),rgba(0,40,104,0.08));border:1px solid rgba(180,40,40,0.25);border-top:3px solid rgba(180,40,40,0.5);border-radius:2px;padding:14px 18px;margin-bottom:16px;position:relative;overflow:hidden}
.trump-quotes-label{font-size:11px;letter-spacing:3px;color:var(--text-dim);font-weight:700;margin-bottom:8px}
.trump-quote-text{font-size:14px;color:var(--text);line-height:1.6;font-style:italic;font-weight:500}
.trump-quote-meta{font-size:11px;color:var(--text-muted);margin-top:6px;letter-spacing:1px}
.daily-source{font-size:11px;color:var(--text-muted);margin-top:4px;text-align:right}

/* ===== TRUTH SOCIAL LIVE FEED — TS-style re-skin ===== */
:root{
  --ts-navy: #1d2b4a;
  --ts-navy-dim: #4a5a7f;
  --ts-red: #ef3a42;
  --ts-red-dim: #b12931;
  --ts-page: #f3f4f6;
  --ts-card: #ffffff;
  --ts-border: #e5e7eb;
  --ts-text: #0f172a;
  --ts-muted: #6b7280;
  --ts-link: #1d4ed8;
}
.truth-feed-panel{background:var(--ts-page);border:1px solid var(--ts-border);border-radius:2px;padding:0;margin-bottom:16px;position:relative;overflow:hidden;font-family:var(--ffn-copy,'DM Sans',sans-serif)}
.truth-feed-panel .truth-feed-chrome{background:var(--ts-navy);padding:10px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid var(--ts-red)}
.truth-feed-panel .truth-feed-brand{display:flex;align-items:center;gap:10px}
.truth-feed-panel .truth-feed-mark{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--ts-red);color:#fff;font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);font-weight:900;font-size:18px;line-height:1;font-style:italic}
.truth-feed-panel .truth-feed-wordmark{color:#fff;font-size:15px;font-weight:900;letter-spacing:-0.2px;line-height:1}
.truth-feed-panel .truth-feed-wordmark small{display:block;font-weight:500;font-size:11px;letter-spacing:2px;color:rgba(255,255,255,0.6);margin-top:2px;text-transform:uppercase;font-family:'JetBrains Mono',monospace}
.truth-feed-header{display:flex;justify-content:space-between;align-items:center;margin:0;padding:8px 16px;background:#fff;border-bottom:1px solid var(--ts-border)}
.truth-feed-title{font-size:11px;font-weight:700;letter-spacing:0.3px;color:var(--ts-navy)}
.truth-feed-status span{font-size:11px !important;letter-spacing:1px !important;color:var(--ts-muted) !important;font-weight:600 !important}
.truth-feed-list{max-height:520px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--ts-border) transparent;background:var(--ts-card)}
.truth-feed-list::-webkit-scrollbar{width:8px}
.truth-feed-list::-webkit-scrollbar-thumb{background:var(--ts-border);border-radius:8px}
.truth-feed-list::-webkit-scrollbar-thumb:hover{background:var(--ts-navy-dim)}
.truth-item{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px 16px;border-bottom:1px solid var(--ts-border);background:var(--ts-card);transition:background 0.15s}
.truth-item:hover{background:#fafbff}
.truth-item:last-child{border-bottom:none}
.truth-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--ts-red),var(--ts-red-dim));display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);font-weight:900;font-style:italic;font-size:22px;line-height:1;border:2px solid var(--ts-card);box-shadow:0 0 0 1px var(--ts-border);flex-shrink:0}
.truth-body{min-width:0}
.truth-item-head{display:flex;align-items:baseline;gap:6px;margin-bottom:3px;flex-wrap:wrap}
.truth-item-name{font-size:15px;font-weight:800;color:var(--ts-text);letter-spacing:-0.1px}
.truth-item-handle{font-size:13px;color:var(--ts-muted);font-weight:500}
.truth-item-dot{font-size:13px;color:var(--ts-muted);font-weight:500}
.truth-item-time{font-size:13px;color:var(--ts-muted);font-weight:500}
.truth-item-text{font-size:14px;color:var(--ts-text);line-height:1.5;word-wrap:break-word}
.truth-item-text a{color:var(--ts-link);text-decoration:none}
.truth-item-text a:hover{text-decoration:underline}
.truth-item-engagement{display:flex;gap:0;margin-top:10px;margin-left:-6px;max-width:420px;justify-content:space-between}
.truth-item-engagement .eng{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:2px;font-size:12px;color:var(--ts-muted);font-weight:500;transition:all 0.15s;cursor:default}
.truth-item-engagement .eng-reply:hover{color:var(--ts-link);background:rgba(29,78,216,0.08)}
.truth-item-engagement .eng-retruth:hover{color:#16a34a;background:rgba(22,163,74,0.08)}
.truth-item-engagement .eng-like:hover{color:var(--ts-red);background:rgba(239,58,66,0.08)}
.truth-item-engagement .eng-view:hover{color:var(--ts-navy);background:rgba(29,43,74,0.08)}
.truth-item-engagement .eng-icon{font-family:-apple-system,sans-serif;font-size:14px;line-height:1;opacity:0.85}
.truth-feed-foot{background:#fff;border-top:1px solid var(--ts-border);padding:8px 16px;text-align:center;font-size:11px;color:var(--ts-muted);letter-spacing:0.3px}
.truth-feed-foot a{color:var(--ts-link);text-decoration:none;font-weight:600}
.truth-feed-foot a:hover{text-decoration:underline}
.truth-feed-aside{padding:8px 16px;background:var(--ts-page);font-size:11px;color:var(--ts-muted);text-align:center;font-style:italic;border-top:1px solid var(--ts-border)}

/* ===== SEATTLE LIFE ===== */
.seattle-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}
@media(max-width:700px){.seattle-grid{grid-template-columns:repeat(2,1fr)}}
.seattle-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:10px 8px;text-align:center}
.seattle-card-icon{font-size:16px;margin-bottom:4px}
.seattle-card-label{font-size:11px;letter-spacing:2px;color:var(--text-dim);margin-bottom:4px}
.seattle-card-value{font-family:"JetBrains Mono",monospace;font-size:12px;font-weight:700;color:var(--accent)}
.seattle-card-sub{font-size:11px;color:var(--text-muted);margin-top:2px}



/* ===== AGI COUNTER ===== */

/* ===== BINGO CARD ===== */
.bingo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;margin-bottom:16px;border-radius:2px;overflow:hidden}
.bingo-cell{background:var(--surface);padding:6px 4px;text-align:center;font-size:11px;color:var(--text-dim);border:1px solid var(--border);cursor:pointer;transition:all 0.3s;line-height:1.3}
.bingo-cell:hover{background:rgba(0,212,255,0.1)}
.bingo-cell.stamped{background:rgba(0,230,138,0.15);color:var(--green)}
.bingo-header{background:rgba(0,44,89,0.4);color:#c4ced4;font-weight:700;font-size:11px;letter-spacing:1px}

/* ===== REFRESH INDICATOR ===== */
.refresh-pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:4px;animation:pulse-live 2s infinite}
@keyframes pulse-live{0%,100%{opacity:1}50%{opacity:0.3}}

/* ===== NEWSPRINT MODE (always on) =====
   body.light-mode inherits the :root palette Ã¢ÂÂ no variable overrides.
   Class-specific color overrides below match WSJ/NYT neutral tone. */
body.light-mode { background: var(--bg); color: var(--text); }
body.light-mode .main { background: var(--bg); }
body.light-mode .header-title { background: none; -webkit-text-fill-color: #1a1611; color: #1a1611; }
body.light-mode .header-subtitle { color: #3c3c3c; }
body.light-mode .live-indicator { color: var(--green); }
body.light-mode .live-dot { background: var(--green); }
body.light-mode .section-tag { color: #121212; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.04); }
body.light-mode .section-header { color: var(--text-dim); }
body.light-mode .gameday-banner { background: linear-gradient(135deg, #fae6e6, #e6eefa); border-color: #8b2020; border-width: 2px; }
body.light-mode .gameday-banner::before { background: linear-gradient(90deg, #b42828, #002868, #b42828); }
body.light-mode .gameday-title { color: #0c2c56; }
body.light-mode .gameday-headline { color: #0c2c56; }
body.light-mode .gameday-sub { color: #3c3c3c; }
body.light-mode .gameday-countdown { color: #121212; }
body.light-mode .gameday-matchup { background: rgba(12,44,86,0.07); }
body.light-mode .gameday-team-name { color: #121212; }
body.light-mode .gameday-stat { background: rgba(12,44,86,0.05); }
body.light-mode .gameday-stat-value { color: #0c2c56; }
body.light-mode .gameday-stat-label { color: #6b6b6b; }
body.light-mode .gameday-stat-detail { color: #3c3c3c; }
body.light-mode .gameday-hype { color: #b5720a; }
body.light-mode .gameday-vs { color: #6b6b6b; }
body.light-mode .mariners-color { color: #0c2c56; }
body.light-mode .guardians-color { color: #c0392b; }
body.light-mode .bingo-cell { background: #ffffff; border-color: var(--border); color: #3c3c3c; }
body.light-mode .bingo-header { background: rgba(12,44,86,0.12); color: #0c2c56; }
body.light-mode .bingo-cell.stamped { background: rgba(45,122,62,0.12); color: #121212; }
body.light-mode .world-card { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); border-color: var(--border); }
body.light-mode .fg-gauge { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .fg-needle { background: #121212; }
body.light-mode .ticker-card { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .ticker-price { color: var(--text); }
body.light-mode .energy-card { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .energy-price { color: var(--text); }
body.light-mode .daily-strip { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .trump-quotes-strip { background: linear-gradient(135deg, rgba(180,40,40,0.06), rgba(0,40,104,0.06)); border-color: rgba(180,40,40,0.2); box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
body.light-mode .truth-feed-panel { background: linear-gradient(135deg, rgba(100,30,30,0.05), rgba(180,40,40,0.03)); border-color: rgba(180,40,40,0.15); box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
body.light-mode .truth-item { border-bottom-color: rgba(0,0,0,0.08); }
body.light-mode .objectives-panel { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .obj-person-col { background: rgba(0,0,0,0.02); }
body.light-mode .obj-quote { color: #3c3c3c; border-bottom-color: rgba(0,0,0,0.06); }
body.light-mode .eastroom-panel { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .pt-col-ticker { color: var(--text); }
body.light-mode .er-event { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.05); }
body.light-mode .er-event:hover { background: rgba(0,0,0,0.04); }
body.light-mode .seattle-card { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .ticker-wrap { background: var(--surface); border-color: var(--border); }
body.light-mode .birthday-banner { background: linear-gradient(135deg, rgba(204,119,0,0.08), rgba(204,34,68,0.08), rgba(0,100,190,0.08)); }
body.light-mode .curtis-mini { background: var(--surface); border-color: var(--border); }
body.light-mode .ms-hype-card { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
body.light-mode .ms-hype-stat { color: #0c2c56; }
body.light-mode .ms-hype-name { color: #3c3c3c; }
body.light-mode .leaderboard-card { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
body.light-mode .leaderboard-title { color: #121212; }
body.light-mode .lb-name { color: #121212; }
body.light-mode .lb-pos { color: #3c3c3c; }
body.light-mode .lb-score { color: #121212; }
body.light-mode .lb-score.under { color: #c0392b; }
body.light-mode .lb-score.over { color: #3c3c3c; }
body.light-mode .section-quip { color: #6b6b6b; }
body.light-mode .card-header { color: #121212; }
body.light-mode .card { background: var(--surface); border-color: var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
body.light-mode .section-subtitle { color: #3c3c3c; }
body.light-mode .card-score { color: #0c2c56; }
body.light-mode .card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
/* Theme toggle */

/* Ã¢ÂÂÃ¢ÂÂ Chyron Ticker Ã¢ÂÂ newsprint rule Ã¢ÂÂÃ¢ÂÂ */
.chyron {
  position: relative;
  z-index: 10;
  background: #eef2f2;
  border-top: 1px solid #d2dadc;
  border-bottom: 2px solid var(--brand, #425d69);
  box-shadow: none;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #26383f;
  letter-spacing: 0.5px;
}
.chyron-track {
  display: inline-block;
  padding: 8px 0;
  animation: chyronScroll 720s linear infinite;
}
.chyron-track:hover { animation-play-state: paused; }
@keyframes chyronScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.chyron-item { display: inline; padding: 0 32px; }
.chyron-sep { color: var(--accent, #8a5438); padding: 0 8px; }
.chyron-label {
  display: inline-block;
  background: var(--accent-glow, rgba(138, 84, 56, .14));
  border: 1px solid rgba(138, 84, 56, .24);
  color: var(--accent, #8a5438);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
body.light-mode .chyron { background: #eef2f2; color: #26383f; }

/* Ã¢ÂÂÃ¢ÂÂ PNW Mountain Banner Ã¢ÂÂÃ¢ÂÂ */
.mountain-banner {
  width: 100%;
  height: auto;
  max-height: 100px;
  margin-bottom: -10px;
  opacity: 0.6;
  display: block;
}
body.light-mode .mountain-banner { opacity: 0.75; }

/* Ã¢ÂÂÃ¢ÂÂÃ¢ÂÂ NEWSPRINT SECTION NAV + MASTHEADS Ã¢ÂÂÃ¢ÂÂÃ¢ÂÂ */
.section-nav{position:sticky;top:0;z-index:100;background:#ffffff;border-top:2px solid #1a1611;border-bottom:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,0.04);margin:0 0 20px 0;font-family:var(--ffn-copy,'DM Sans',sans-serif);}
.section-nav-inner{display:flex;justify-content:safe center;align-items:stretch;max-width:1400px;margin:0 auto;flex-wrap:nowrap;position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
.section-nav a{display:block;padding:12px 14px 10px 14px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#1a1611;text-decoration:none;border-right:1px solid var(--border);transition:all 0.18s ease;position:relative;font-variant:normal;white-space:nowrap;flex-shrink:0;}
.section-nav a:first-child{border-left:1px solid var(--border);}
.section-nav a:hover{color:var(--red);background:#f5f5f5;}
.section-nav a.active{color:var(--red);background:#f5f5f5;}
.section-nav a.active::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--red);}
@media (max-width:700px){.section-nav a{padding:10px 12px;font-size:11px;letter-spacing:1.5px;}}
/* Ã¢ÂÂÃ¢ÂÂÃ¢ÂÂ Newsprint section masthead Ã¢ÂÂ full-width rule + kicker + hed + deck Ã¢ÂÂÃ¢ÂÂÃ¢ÂÂ */
.lan-masthead{margin:56px 0 18px 0;padding:14px 4px 14px 4px;position:relative;background:transparent;border:none;border-top:6px solid #121212;border-bottom:1px solid #121212;border-radius:0;font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);}
.lan-masthead .lm-tag{font-size:11px;font-weight:700;letter-spacing:3px;color:var(--red);text-transform:uppercase;margin-bottom:6px;font-family:'JetBrains Mono',monospace;font-variant:small-caps;display:flex;align-items:center;gap:6px;}
.lan-masthead .lm-tag::before{content:"";display:inline-block;width:8px;height:8px;background:var(--red);}
.lan-masthead .lm-name{font-size:36px;font-weight:900;letter-spacing:0.5px;color:#121212;text-transform:uppercase;line-height:1.0;font-variant:small-caps;}
.lan-masthead .lm-kicker{font-size:13px;font-style:italic;color:var(--text-dim);letter-spacing:0.2px;margin-top:8px;}
.lan-masthead .lm-kicker::before{content:"\201C ";color:var(--text-muted);font-style:normal;opacity:0.75;}
.lan-masthead .lm-kicker::after{content:" \201D";color:var(--text-muted);font-style:normal;opacity:0.75;}
.section-anchor{scroll-margin-top:70px;}

/* —— Weather strip — 5-city micro-forecast grid —— */
.weather-label{display:flex;justify-content:space-between;align-items:baseline;margin:14px 4px 6px 4px;padding:0;}
.weather-label-left{font-size:11px;font-weight:700;letter-spacing:3px;color:var(--text-dim);text-transform:uppercase;}
.weather-label-right{font-size:11px;color:var(--text-muted);font-style:italic;letter-spacing:1px;}
.weather-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px;}
.weather-city{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;min-height:110px;}
.weather-city-name{font-size:11px;font-weight:900;letter-spacing:2px;color:var(--text);font-family:'JetBrains Mono',monospace;margin-bottom:2px;}
.weather-icon{font-size:22px;line-height:1;margin:2px 0;}
.weather-temp{font-family:'JetBrains Mono',monospace;font-size:18px;font-weight:900;color:var(--text);line-height:1.1;}
.weather-desc{font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--text-muted);text-transform:uppercase;font-family:'JetBrains Mono',monospace;}
.weather-distance{font-size:11px;letter-spacing:1px;color:var(--text-muted);font-style:italic;margin-top:2px;}
.weather-boise{background:var(--surface-hover);}
@media(max-width:700px){.weather-strip{grid-template-columns:repeat(2,1fr);}}

/* ════════ SECTION-LOCAL STYLES ════════ */
/* === editor_note === */
.editor-note{margin:0 0 16px 0;padding:14px 20px 14px 22px;position:relative;background:#ffffff;border:1px solid var(--border);border-top:3px solid var(--red);border-radius:2px;font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);overflow:hidden;}
    .editor-note::before{content:none;}
    .editor-note .en-tag{font-size:11px;font-weight:700;letter-spacing:3px;color:var(--red);text-transform:uppercase;margin-bottom:6px;font-family:'JetBrains Mono',monospace;font-variant:small-caps;}
    .editor-note .en-tag .en-date{color:var(--text-muted);margin-left:8px;font-weight:400;letter-spacing:2px;}
    .editor-note .en-text{font-size:15px;line-height:1.7;color:#1a1611;font-style:normal;}
    .editor-note .en-text .en-emph{font-style:normal;color:#d4a017;font-weight:600;}
    .editor-note .en-sig{margin-top:6px;font-size:11px;color:var(--text-muted);letter-spacing:1px;font-style:normal;text-align:right;}
    .editor-note .en-sig::before{content:"\2014 ";color:var(--text-muted);font-style:normal;}
    .editor-note .en-text .en-emph{font-style:normal;color:var(--red);font-weight:700;}
    .editor-note .en-text p{margin:0 0 1em 0;}
    .editor-note .en-text p:last-child{margin-bottom:0;}
    .editor-note .en-text.en-collapsed{max-height:26em;overflow:hidden;position:relative;}
    .editor-note .en-text.en-collapsed::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6.5em;background:linear-gradient(rgba(255,255,255,0),#ffffff 85%);pointer-events:none;}
    html[data-theme="dark"] .editor-note .en-text.en-collapsed::after{background:linear-gradient(rgba(26,28,32,0),#1a1c20 85%);}
    .editor-note .en-toggle{display:none;margin:8px 0 2px;padding:7px 14px;font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:700;letter-spacing:2px;color:var(--red);background:none;border:1px solid var(--red);border-radius:2px;cursor:pointer;text-transform:uppercase;font-style:normal;}
    .editor-note .en-toggle:hover{background:var(--red);color:#ffffff;}
    .editor-note .section-timestamp{font-size:.65rem;color:#777;letter-spacing:.03em;margin-top:.25rem;margin-bottom:.15rem;font-style:normal;opacity:.7;}

/* === run_down === */
#theRunDown{background:#ffffff;border:1px solid var(--border);border-top:3px solid #1a1611;border-radius:2px;padding:18px 22px;margin-bottom:18px;position:relative;overflow:hidden;font-family:var(--ffn-copy,'DM Sans',sans-serif);box-shadow:0 1px 3px rgba(0,0,0,0.04);}
    #theRunDown::before{content:none;}
    #theRunDown .rd-masthead{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:8px;margin-bottom:12px;border-bottom:2px solid #1a1611;flex-wrap:wrap;gap:6px;}
    #theRunDown .rd-title{font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);font-size:24px;font-weight:900;letter-spacing:0.5px;color:#1a1611;line-height:1;font-variant:small-caps;}
    #theRunDown .rd-sub{font-size:11px;letter-spacing:1px;color:var(--text-muted);font-style:italic;margin-top:3px;font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);}
    #theRunDown .rd-dateline{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;font-family:'JetBrains Mono',monospace;}
    #runDownList{display:grid;grid-template-columns:repeat(3,1fr);gap:0;list-style:none;margin:0;padding:0;}
    #runDownList article{padding:6px 14px 10px 14px;border-right:1px solid var(--border);break-inside:avoid;}
    /* Fill trailing blanks: if last article lands alone or 2-wide in a row below the lead, stretch to end.
       Lead is :nth-child(1). Smalls 1-2 fill col 3 rows 1-2. Smalls 3+ fill full rows.
       Last at positions 4,7,10... (3n+1, n>=1) = alone in row -> span all 3 cols.
       Last at positions 5,8,11... (3n+2, n>=1) = 2nd of 3 -> span cols 2-3. */
    #runDownList article:last-child:not(.lead):nth-child(n+4):nth-child(3n+1){grid-column:1 / -1;}
    #runDownList article:last-child:not(.lead):nth-child(n+5):nth-child(3n+2){grid-column:2 / -1;}
    #runDownList article:nth-child(3n){border-right:none;}
    #runDownList article:nth-child(n+4){padding-top:12px;border-top:1px solid var(--border);}
    #runDownList .rd-kicker{font-size:11px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase;color:var(--red);font-family:'JetBrains Mono',monospace;margin-bottom:4px;display:block;}
    #runDownList .rd-kicker.urgent{color:var(--red);}
    #runDownList .rd-head{font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);font-size:15px;font-weight:900;line-height:1.2;color:#1a1611;margin:0 0 4px 0;letter-spacing:-0.2px;}
    #runDownList .rd-dek{font-family:var(--ffn-copy,'DM Sans',sans-serif);font-size:12px;line-height:1.45;color:var(--text-dim);margin:0;}
    #runDownList .rd-src{margin-top:5px;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:1px;text-transform:uppercase;}
    #runDownList .rd-src a{color:var(--text-muted);text-decoration:none;border-bottom:1px dotted var(--border-glow);margin-right:5px;}
    #runDownList .rd-src a:hover{color:var(--red);border-bottom-color:var(--red);}
    /* From the Editor citations mirror The Dispatch: quiet mono source links. */
    .editor-note .en-src{margin-top:8px;font-family:'JetBrains Mono',monospace;font-size:10px;line-height:1.5;letter-spacing:1px;text-transform:uppercase;color:var(--text-muted);font-style:normal;}
    .editor-note .en-src a{color:var(--text-muted);text-decoration:none;border-bottom:1px dotted var(--border-glow);margin-right:5px;}
    .editor-note .en-src a:hover{color:var(--red);border-bottom-color:var(--red);}
    #runDownList article.lead{grid-column:span 2;grid-row:span 2;padding-bottom:12px;display:flex;flex-direction:column;}
    #runDownList article.lead .rd-head{font-size:22px;line-height:1.15;color:#1a1611;}
    #runDownList article.lead .rd-dek{font-size:14px;line-height:1.5;color:var(--text-dim);}
    #runDownList article.lead .rd-kicker{font-size:11px;}
    #runDownList article.lead .rd-factbox{margin-top:10px;padding:10px 12px;border-top:1px dashed var(--border-glow);border-bottom:1px dashed var(--border-glow);background:#f5f5f5;}
    #runDownList article.lead .rd-factbox-title{font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:900;letter-spacing:2px;color:var(--red);margin-bottom:4px;}
    #runDownList article.lead .rd-factbox ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:3px 14px;}
    #runDownList article.lead .rd-factbox li{font-family:var(--ffn-copy,'DM Sans',sans-serif);font-size:11px;line-height:1.4;color:var(--text);padding-left:10px;position:relative;}
    #runDownList article.lead .rd-factbox li::before{content:"\25B6";position:absolute;left:0;top:0;color:var(--red);font-size:11px;}
    #runDownList article.lead .rd-factbox li b{color:#1a1611;font-weight:900;}
    #runDownList article.lead .rd-pullquote{margin-top:10px;padding:6px 14px;border-top:3px solid var(--red);font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);font-style:italic;font-size:13px;line-height:1.45;color:var(--text-dim);}
    #runDownList article.lead .rd-pullquote cite{display:block;margin-top:4px;font-style:normal;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-muted);font-family:'JetBrains Mono',monospace;}
    /* Desktop: the 3-col grid + widow rules above handle ANY story count (4-8)
       without voids. LAYOUT CONTRACT: never hard-code nth-child layout to one
       day's edition shape - The Dispatch varies its article count day to day. */
    @media (min-width:901px){
      #runDownList article:nth-child(2),
      #runDownList article:nth-child(3){border-right:none;}
      #runDownList article:nth-child(3){padding-top:12px;border-top:1px solid var(--border);}
      #runDownList article:last-child{border-right:none;}
    }
    @media (max-width:900px){
      #runDownList{grid-template-columns:repeat(2,1fr);}
      #runDownList article{border-right:1px solid var(--border);}
      #runDownList article:nth-child(3n){border-right:1px solid var(--border);}
      #runDownList article:nth-child(2n){border-right:none;}
      #runDownList article.lead{grid-column:span 2;grid-row:auto;}
    }
    @media (max-width:560px){
      #runDownList{grid-template-columns:1fr !important;}
      #runDownList article,#runDownList article.lead{grid-column:auto !important;grid-row:auto !important;border-right:none !important;border-bottom:1px solid var(--border);padding:14px 4px;}
      #runDownList article.lead .rd-head{font-size:18px;}
      #runDownList article.lead .rd-dek{font-size:13px;}
    }
  

    .top-split{margin-bottom:0;}
    .top-split > #theRunDown{margin-bottom:0;}
    /* grid split disabled Ã¢ÂÂ Run Down is now full-width above section nav; Iran War moved into World section */

/* === track_troops === */
#trackTroops{background:#ffffff;border:1px solid var(--border);border-top:3px solid #121212;border-radius:2px;padding:14px 18px;margin-bottom:18px;font-family:'JetBrains Mono','Courier New',monospace;position:relative;overflow:hidden;color:#121212;}
    #trackTroops::before{content:none;}
    #trackTroops .tt-classbar{display:flex;justify-content:center;align-items:center;font-size:11px;font-weight:900;letter-spacing:3px;color:var(--red);padding:4px 0 10px 0;border-bottom:1px dashed var(--border);margin-bottom:10px;}
    #trackTroops .tt-classbar::before,#trackTroops .tt-classbar::after{content:"";flex:1;height:1px;background:var(--border);margin:0 10px;}
    #trackTroops .tt-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;flex-wrap:wrap;gap:6px;}
    #trackTroops .tt-title{font-size:14px;font-weight:900;letter-spacing:3px;color:#121212;font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);font-variant:small-caps;}
    #trackTroops .tt-subtitle{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-style:italic;margin-top:2px;}
    #trackTroops .tt-dateline{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;}
    #trackTroops table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed;}
    #trackTroops th{text-align:left;font-size:11px;font-weight:700;letter-spacing:2px;color:#121212;padding:6px 8px;border-bottom:2px solid #121212;white-space:nowrap;background:#ffffff;}
    #trackTroops th:nth-child(1){width:15%;}
    #trackTroops th:nth-child(2){width:7%;}
    #trackTroops th:nth-child(3){width:30%;}
    #trackTroops th:nth-child(4){width:8%;}
    #trackTroops th:nth-child(5){width:31%;}
    #trackTroops th:nth-child(6){width:9%;}
    #trackTroops td{padding:7px 8px;border-bottom:1px solid var(--border);color:#121212;vertical-align:top;word-wrap:break-word;overflow-wrap:break-word;}
    #trackTroops tr:hover td{background:#f5f5f5;}
    #trackTroops .tt-unit{font-weight:700;color:#121212;}
    #trackTroops .tt-branch{display:inline-block;font-size:11px;font-weight:900;padding:1px 5px;border-radius:2px;margin-right:5px;letter-spacing:1px;vertical-align:1px;}
    #trackTroops .tt-branch.navy{background:#1e3a5f;color:#ffffff;}
    #trackTroops .tt-branch.air{background:#4a5568;color:#ffffff;}
    #trackTroops .tt-branch.ground{background:var(--red);color:#ffffff;}
    #trackTroops tr.ground td{background:#fdf2f2;}
    #trackTroops tr.ground:hover td{background:#fbe6e6;}
    #trackTroops tr.ground td:first-child{border-left:3px solid var(--red);}
    #trackTroops .tt-pers{font-weight:700;color:#121212;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
    #trackTroops tr.ground .tt-pers{color:var(--red);font-weight:900;}
    #trackTroops .tt-loc{color:#121212;}
    #trackTroops .tt-status{font-size:11px;font-weight:700;color:var(--text-muted);}
    #trackTroops .tt-status.active{color:var(--red);}
    #trackTroops .tt-status.enroute{color:#c06c00;}
    #trackTroops .tt-status.station{color:var(--green);}
    #trackTroops .tt-obs{font-size:11px;color:var(--text-muted);}
    #trackTroops .tt-src{font-size:11px;color:var(--text-muted);}
    #trackTroops .tt-src a{color:var(--text-muted);text-decoration:none;border-bottom:1px dotted var(--border);}
    #trackTroops .tt-src a:hover{color:var(--red);border-bottom-style:solid;border-bottom-color:var(--red);}
    #trackTroops .tt-notes{margin-top:10px;padding:10px 12px;background:var(--surface-hover);border-top:3px solid var(--red);font-size:13px;line-height:1.6;color:var(--text);}
    #trackTroops .tt-notes b{color:#121212;}
    #trackTroops .tt-footer{margin-top:10px;padding-top:8px;border-top:1px dashed var(--border);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;font-size:11px;color:var(--text-muted);letter-spacing:1px;}
    #trackTroops .tt-footer a{color:var(--text-muted);text-decoration:none;margin-right:8px;}
    #trackTroops .tt-footer a:hover{color:var(--red);text-decoration:underline;}
    @media (max-width:700px){
      #trackTroops table, #trackTroops thead, #trackTroops tbody, #trackTroops tr, #trackTroops th, #trackTroops td{display:block;}
      #trackTroops thead{display:none;}
      #trackTroops tr{border-bottom:1px solid rgba(143,163,87,0.2);padding:8px 0;}
      #trackTroops td{border:none;padding:2px 0;}
      #trackTroops .tt-unit{font-size:11px;}
    }

/* === iran_war_banner === */

      @keyframes iranPulse{0%,100%{opacity:1}50%{opacity:0.6}}
      @keyframes noDeakFlash{0%,100%{text-shadow:0 0 10px rgba(255,60,60,0.4)}50%{text-shadow:0 0 30px rgba(255,60,60,0.8),0 0 60px rgba(255,165,0,0.3)}}
      .iran-flash{/* flash disabled Ã¢ÂÂ newsprint mode */}
      .iran-pulse{/* pulse disabled Ã¢ÂÂ newsprint mode */}
    

      #iranWarBanner .iw-stat-val--alert{color:var(--red);}
      #iranWarBanner .iw-contrast-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:16px;padding:8px 0;border-top:3px solid var(--text);font-family:var(--ffn-label,'JetBrains Mono',monospace);font-size:10px;font-weight:700;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;}
      #iranWarBanner .iw-contrast-head span:first-child{color:var(--accent);}
      #iranWarBanner .iw-delegations{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid var(--border);}
      #iranWarBanner .iw-del-box{min-width:0;padding:4px 18px 12px;text-align:left;border-right:1px solid var(--border);}
      #iranWarBanner .iw-del-box:last-child{border-right:0;}
      #iranWarBanner .iw-del-country{padding:8px 0 10px;font-family:var(--ffn-display,Newsreader,'Times New Roman',serif);font-size:20px;font-weight:500;line-height:1.2;color:var(--text);}
      #iranWarBanner .iw-del-country span{margin-right:6px;font-size:16px;}
      #iranWarBanner .iw-del-row{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--border);}
      #iranWarBanner .iw-del-key{padding-top:2px;font-family:var(--ffn-label,'JetBrains Mono',monospace);font-size:10px;font-weight:800;letter-spacing:2px;color:var(--brand,var(--red));}
      #iranWarBanner .iw-del-key--do{color:var(--accent);}
      #iranWarBanner .iw-del-copy{font-family:var(--ffn-copy,'DM Sans',sans-serif);font-size:13px;font-weight:400;line-height:1.55;color:var(--text-dim);}
/* === lebanon === */
    #lebanonTrack .lt-header, #ukraineTrack .lt-header, #gazaTrack .lt-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;flex-wrap:wrap;gap:6px;}
    #lebanonTrack .lt-title, #ukraineTrack .lt-title, #gazaTrack .lt-title{font-size:13px;font-weight:900;letter-spacing:3px;font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);font-variant:small-caps;color:var(--text);}
    #lebanonTrack .lt-subtitle, #ukraineTrack .lt-subtitle, #gazaTrack .lt-subtitle{font-size:12.5px;letter-spacing:1px;line-height:1.5;color:var(--text-muted);font-style:italic;margin-top:4px;}
    #lebanonTrack .lt-dateline, #ukraineTrack .lt-dateline, #gazaTrack .lt-dateline{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;}
    #iranWarBanner .iw-sources, #lebanonTrack .lt-footer, #ukraineTrack .lt-footer, #gazaTrack .lt-footer{margin-top:10px;padding-top:8px;border-top:1px dashed var(--border);font-family:var(--ffn-label,'JetBrains Mono',monospace);font-size:11px;line-height:1.7;color:var(--text-muted);letter-spacing:1px;}
    #iranWarBanner .iw-sources a, #lebanonTrack .lt-footer a, #ukraineTrack .lt-footer a, #gazaTrack .lt-footer a{color:var(--text-muted);text-decoration:none;margin-right:8px;border-bottom:1px dotted var(--border);}
    #iranWarBanner .iw-sources a:hover, #lebanonTrack .lt-footer a:hover, #ukraineTrack .lt-footer a:hover, #gazaTrack .lt-footer a:hover{color:var(--red);border-bottom-style:solid;border-bottom-color:var(--red);}

/* === national_gas === */
.gas-national{margin-bottom:16px}
.gas-national-header{display:flex;align-items:baseline;gap:10px;margin-bottom:8px;padding:0 4px}
.gas-national-title{font-size:11px;font-weight:700;letter-spacing:3px;color:var(--text-dim)}
.gas-national-src{font-size:11px;letter-spacing:1px;color:var(--text-muted);margin-left:auto}
.gas-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
@media(max-width:800px){.gas-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:500px){.gas-grid{grid-template-columns:repeat(2,1fr)}}
.gas-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:14px 12px;text-align:center;position:relative;overflow:hidden;transition:border-color 0.3s}
.gas-card:hover{border-color:var(--accent)}
.gas-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--amber),#e67e22)}
.gas-card-label{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-weight:700;margin-bottom:6px}
.gas-card-price{font-family:"JetBrains Mono",monospace;font-size:24px;font-weight:900;color:var(--text)}
.gas-card-change{font-family:"JetBrains Mono",monospace;font-size:11px;font-weight:700;margin-top:4px}
.gas-card-change.up{color:var(--red)}.gas-card-change.down{color:var(--green)}.gas-card-change.flat{color:var(--amber)}
.gas-card-sub{font-size:11px;letter-spacing:1px;color:var(--text-muted);margin-top:2px}
.gas-detail-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
@media(max-width:700px){.gas-detail-row{grid-template-columns:repeat(2,1fr)}}
.gas-detail-card{background:var(--surface);border:1px solid var(--border);border-radius:2px;padding:10px;text-align:center}
.gas-detail-label{font-size:11px;letter-spacing:1.5px;color:var(--text-muted);font-weight:700;margin-bottom:4px}
.gas-detail-val{font-family:"JetBrains Mono",monospace;font-size:14px;font-weight:700;color:var(--text)}
.gas-detail-delta{font-family:"JetBrains Mono",monospace;font-size:11px;margin-top:2px}
.gas-detail-delta.up{color:var(--red)}.gas-detail-delta.down{color:var(--green)}.gas-detail-delta.flat{color:var(--amber)}

/* === quantum_tracker === */
#quantumSection{background:#ffffff;border:1px solid var(--border);border-top:3px solid #1e3a5f;border-radius:2px;padding:14px 18px;margin-bottom:18px;font-family:var(--ffn-copy,'DM Sans',sans-serif);position:relative;overflow:hidden;color:#121212;}
    #quantumSection .qm-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;flex-wrap:wrap;gap:6px;}
    #quantumSection .qm-title{font-size:14px;font-weight:900;letter-spacing:3px;color:#121212;font-variant:small-caps;}
    #quantumSection .qm-subtitle{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-style:italic;margin-top:2px;}
    #quantumSection .qm-dateline{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;font-family:'JetBrains Mono',monospace;}
    #quantumSection .qm-panel{background:#ffffff;border:1px solid var(--border);border-top:2px solid #1e3a5f;border-radius:2px;padding:12px 14px;margin-bottom:14px;}
    #quantumSection .qm-panel-title{font-size:12px;font-weight:900;letter-spacing:2px;color:#121212;font-variant:small-caps;margin-bottom:4px;}
    #quantumSection .qm-panel-sub{font-size:11px;letter-spacing:1.5px;color:var(--text-muted);font-family:'JetBrains Mono',monospace;margin-bottom:10px;}
    #quantumSection .qm-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px;}
    #quantumSection .qm-stat{background:#f5f5f5;border:1px solid var(--border);border-top:2px solid #1e3a5f;border-radius:2px;padding:10px 6px;text-align:center;}
    #quantumSection .qm-stat-val{font-family:'JetBrains Mono',monospace;font-size:18px;font-weight:900;color:#1e3a5f;line-height:1.1;}
    #quantumSection .qm-stat-lbl{font-size:11px;letter-spacing:1.5px;color:var(--text-muted);margin-top:3px;font-family:'JetBrains Mono',monospace;}
    #quantumSection .qm-stat-sub{font-size:11px;color:var(--text-dim);margin-top:2px;}
    #quantumSection table{width:100%;border-collapse:collapse;font-size:11px;}
    #quantumSection th{text-align:left;font-size:11px;font-weight:700;letter-spacing:2px;color:#121212;padding:6px 8px;border-bottom:2px solid #121212;white-space:nowrap;background:#ffffff;font-family:'JetBrains Mono',monospace;}
    #quantumSection td{padding:6px 8px;border-bottom:1px solid var(--border);color:#121212;vertical-align:top;}
    #quantumSection tr:hover td{background:#f5f5f5;}
    #quantumSection .qm-player{font-weight:700;white-space:nowrap;}
    #quantumSection .qm-badge{display:inline-block;font-size:11px;font-weight:900;padding:1px 5px;border-radius:2px;margin-right:5px;letter-spacing:1px;vertical-align:1px;color:#ffffff;font-family:'JetBrains Mono',monospace;}
    #quantumSection .qm-badge.us{background:#1e3a5f;}
    #quantumSection .qm-badge.cn{background:var(--red);}
    #quantumSection .qm-badge.eu{background:#2d7a3e;}
    #quantumSection .qm-val{font-family:'JetBrains Mono',monospace;font-weight:700;white-space:nowrap;}
    /* Qubit race: reserve the reading room for analysis, not metadata. */
    #quantumRace{overflow-x:auto;}
    #quantumRace table{table-layout:fixed;min-width:960px;}
    #quantumRace th:nth-child(1){width:12%;}
    #quantumRace th:nth-child(2){width:14%;}
    #quantumRace th:nth-child(3){width:9%;}
    #quantumRace th:nth-child(4){width:11%;}
    #quantumRace th:nth-child(5){width:12%;}
    #quantumRace th:nth-child(6){width:42%;}
    #quantumRace td{padding:10px 9px;font-size:12px;line-height:1.4;}
    #quantumRace td:last-child{padding-right:14px;font-size:13px;line-height:1.52;}
    #quantumRace .qm-player{white-space:normal;}
    #quantumRace .qm-val{white-space:normal;overflow-wrap:anywhere;}
    #quantumSection .qm-dual{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
    #quantumSection .qm-wire{list-style:none;padding:0;margin:0;}
    #quantumSection .qm-wire li{padding:6px 0;border-bottom:1px dashed var(--border);font-size:13px;line-height:1.55;}
    #quantumSection .qm-wire li:last-child{border-bottom:none;}
    #quantumSection .qm-wire-tag{font-size:11px;font-weight:900;letter-spacing:1px;padding:1px 4px;border-radius:2px;margin-right:4px;vertical-align:1px;background:#1e3a5f;color:#fff;}
    #quantumSection .qm-wire-tag.red{background:var(--red);}
    #quantumSection .qm-wire-tag.amber{background:#b8860b;}
    #quantumSection .qm-wire-tag.green{background:#2d7a3e;}
    #quantumSection .qm-qday{text-align:center;padding:12px 0;margin-bottom:10px;background:#f5f5f5;border:1px solid var(--border);border-radius:2px;}
    #quantumSection .qm-qday-val{font-family:'JetBrains Mono',monospace;font-size:36px;font-weight:900;color:var(--red);line-height:1;}
    #quantumSection .qm-qday-label{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-weight:700;font-family:'JetBrains Mono',monospace;margin-top:4px;}
    #quantumSection .qm-qday-sub{font-size:11px;color:var(--text-dim);margin-top:4px;}
    #quantumSection .qm-meter{background:var(--surface-hover);height:10px;border-radius:2px;margin:8px 0;position:relative;border:1px solid var(--border);}
    #quantumSection .qm-meter-fill{height:100%;border-radius:2px;}
    #quantumSection .qm-meter-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--text-muted);font-family:'JetBrains Mono',monospace;letter-spacing:1px;margin-top:2px;}
    #quantumSection .qm-net-row{display:flex;gap:10px;margin-bottom:8px;align-items:stretch;}
    #quantumSection .qm-net-flag{font-size:11px;font-weight:900;letter-spacing:2px;color:#121212;font-family:'JetBrains Mono',monospace;width:24px;flex-shrink:0;padding-top:2px;}
    #quantumSection .qm-net-bar{flex:1;background:#f5f5f5;border:1px solid var(--border);border-radius:2px;padding:6px 10px;font-size:11px;line-height:1.5;}
    #quantumSection .qm-editorial{margin-top:10px;padding:10px 14px;border-top:3px solid #1e3a5f;font-size:11px;line-height:1.55;color:var(--text-dim);font-style:italic;}
    #quantumSection .qm-footer{margin-top:10px;padding-top:8px;border-top:1px dashed var(--border);font-size:11px;color:var(--text-muted);text-align:center;font-family:'JetBrains Mono',monospace;letter-spacing:1px;}
    #quantumSection .qm-footer a{color:var(--text-muted);text-decoration:none;border-bottom:1px dotted var(--border);margin:0 4px;}
    #quantumSection .qm-footer a:hover{color:#1e3a5f;border-bottom-color:#1e3a5f;}
    @media (max-width:700px){
      #quantumSection .qm-dual{grid-template-columns:1fr;}
      #quantumSection .qm-stats{grid-template-columns:repeat(3,1fr);}
    }

/* === rapture_tracker === */
#raptureSection{background:#ffffff;border:1px solid var(--border);border-top:3px solid #b8860b;border-radius:2px;padding:14px 18px;margin-bottom:18px;font-family:var(--ffn-copy,'DM Sans',sans-serif);position:relative;overflow:hidden;color:#121212;}
    #raptureSection .rp-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px;flex-wrap:wrap;gap:6px;}
    #raptureSection .rp-title{font-size:14px;font-weight:900;letter-spacing:3px;color:#121212;font-variant:small-caps;}
    #raptureSection .rp-subtitle{font-size:11px;letter-spacing:2px;color:var(--text-muted);font-style:italic;margin-top:2px;}
    #raptureSection .rp-dateline{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;font-family:'JetBrains Mono',monospace;}
    #raptureSection .rp-panel{background:#ffffff;border:1px solid var(--border);border-top:2px solid #b8860b;border-radius:2px;padding:12px 14px;margin-bottom:14px;}
    #raptureSection .rp-panel-title{font-size:12px;font-weight:900;letter-spacing:2px;color:#121212;font-variant:small-caps;margin-bottom:4px;}
    #raptureSection .rp-panel-sub{font-size:11px;letter-spacing:1.5px;color:var(--text-muted);font-family:'JetBrains Mono',monospace;margin-bottom:10px;}
    #raptureSection .rp-index-display{text-align:center;padding:10px 0;margin-bottom:10px;}
    #raptureSection .rp-index-val{font-family:'JetBrains Mono',monospace;font-size:42px;font-weight:900;color:#b8860b;line-height:1;}
    #raptureSection .rp-index-label{font-size:11px;letter-spacing:2px;color:var(--red);font-weight:700;font-family:'JetBrains Mono',monospace;margin-top:4px;}
    #raptureSection .rp-index-sub{font-size:11px;color:var(--text-muted);margin-top:4px;}
    #raptureSection .rp-meter{background:var(--surface-hover);height:10px;border-radius:2px;margin:8px 0;position:relative;border:1px solid var(--border);}
    #raptureSection .rp-meter-fill{height:100%;border-radius:2px;background:linear-gradient(90deg,#2d7a3e,#b8860b,#a42020);}
    #raptureSection .rp-meter-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--text-muted);font-family:'JetBrains Mono',monospace;letter-spacing:1px;margin-top:2px;}
    #raptureSection .rp-thresholds{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0;font-family:'JetBrains Mono',monospace;}
    #raptureSection .rp-thresh{text-align:center;padding:6px 4px;border-radius:2px;border:1px solid var(--border);}
    #raptureSection .rp-thresh-val{font-size:11px;font-weight:900;}
    #raptureSection .rp-thresh-lbl{font-size:11px;letter-spacing:1px;color:var(--text-muted);margin-top:2px;}
    #raptureSection .rp-thresh.active{background:#b8860b;border-color:#b8860b;}
    #raptureSection .rp-thresh.active .rp-thresh-val,
    #raptureSection .rp-thresh.active .rp-thresh-lbl{color:#ffffff;}
    #raptureSection table{width:100%;border-collapse:collapse;font-size:11px;}
    #raptureSection th{text-align:left;font-size:11px;font-weight:700;letter-spacing:2px;color:#121212;padding:6px 8px;border-bottom:2px solid #121212;white-space:nowrap;background:#ffffff;font-family:'JetBrains Mono',monospace;}
    #raptureSection td{padding:6px 8px;border-bottom:1px solid var(--border);color:#121212;vertical-align:top;}
    #raptureSection tr:hover td{background:#f5f5f5;}
    #raptureSection .rp-cat{font-weight:700;white-space:nowrap;}
    #raptureSection .rp-hot{color:var(--red);font-weight:900;}
    #raptureSection .rp-score{font-family:'JetBrains Mono',monospace;font-weight:700;text-align:center;width:40px;}
    #raptureSection .rp-score.max{color:var(--red);font-weight:900;}
    #raptureSection .rp-trend{font-family:'JetBrains Mono',monospace;text-align:center;width:30px;}
    #raptureSection .rp-verse{font-size:11px;color:var(--text-muted);font-style:italic;}
    #raptureSection .rp-dual{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
    #raptureSection .rp-checklist{list-style:none;padding:0;margin:0;}
    #raptureSection .rp-checklist li{padding:5px 0;border-bottom:1px dashed var(--border);font-size:13px;line-height:1.55;display:flex;gap:8px;}
    #raptureSection .rp-checklist li:last-child{border-bottom:none;}
    #raptureSection .rp-check{font-family:'JetBrains Mono',monospace;font-size:12px;flex-shrink:0;width:18px;text-align:center;}
    #raptureSection .rp-check.yes{color:var(--red);font-weight:900;}
    #raptureSection .rp-check.partial{color:#b8860b;font-weight:700;}
    #raptureSection .rp-check.no{color:var(--text-muted);}
    #raptureSection .rp-prophecy-ref{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--text-muted);margin-left:4px;}
    #raptureSection .rp-prophecy-map{font-size:11px;color:var(--text-dim);display:block;margin-top:1px;margin-left:26px;}
    #raptureSection .rp-wire{list-style:none;padding:0;margin:0;}
    #raptureSection .rp-wire li{padding:6px 0;border-bottom:1px dashed var(--border);font-size:13px;line-height:1.55;}
    #raptureSection .rp-wire li:last-child{border-bottom:none;}
    #raptureSection .rp-wire-date{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--text-muted);margin-right:6px;}
    #raptureSection .rp-wire-tag{font-size:11px;font-weight:900;letter-spacing:1px;padding:1px 4px;border-radius:2px;margin-right:4px;vertical-align:1px;background:#b8860b;color:#fff;}
    #raptureSection .rp-wire-tag.red{background:var(--red);}
    #raptureSection .rp-wire-tag.dark{background:#121212;}
    #raptureSection .rp-denom{padding:8px 10px;border-left:3px solid var(--border);margin-bottom:10px;font-size:11px;line-height:1.5;}
    #raptureSection .rp-denom:last-child{margin-bottom:0;}
    #raptureSection .rp-denom-name{font-size:11px;font-weight:900;letter-spacing:2px;color:#121212;font-family:'JetBrains Mono',monospace;margin-bottom:3px;}
    #raptureSection .rp-denom.evangelical{border-top-color:var(--red);}
    #raptureSection .rp-denom.catholic{border-top-color:#b8860b;}
    #raptureSection .rp-denom.orthodox{border-top-color:#2d7a3e;}
    #raptureSection .rp-denom.mainline{border-top-color:#4a5568;}
    #raptureSection .rp-editorial{margin-top:10px;padding:10px 14px;border-top:3px solid #b8860b;font-size:11px;line-height:1.55;color:var(--text-dim);font-style:italic;}
    /* ── Temple Mount Primer panel ── */
    .tm-primer{border-top:3px solid #b8860b !important;border-top:none !important;}
    .tm-primer-tag{font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:900;letter-spacing:2.5px;color:#1a1611;text-transform:uppercase;margin-bottom:4px;padding-bottom:6px;border-bottom:1px solid var(--border);}
    .tm-text{font-family:'DM Sans',-apple-system,sans-serif;font-size:14px;line-height:1.6;color:var(--text);margin:0 0 10px 0;}
    .tm-text b{color:#1a1611;}
    .tm-footer-note{font-size:11px;color:var(--text-muted);font-style:italic;margin-top:12px;padding-top:8px;border-top:1px dashed var(--border);}
    #raptureSection .rp-footer{margin-top:10px;padding-top:8px;border-top:1px dashed var(--border);font-size:11px;color:var(--text-muted);text-align:center;font-family:'JetBrains Mono',monospace;letter-spacing:1px;}
    #raptureSection .rp-footer a{color:var(--text-muted);text-decoration:none;border-bottom:1px dotted var(--border);margin:0 4px;}
    #raptureSection .rp-footer a:hover{color:#b8860b;border-bottom-color:#b8860b;}
    @media (max-width:700px){
      #raptureSection .rp-dual{grid-template-columns:1fr;}
      #raptureSection .rp-thresholds{grid-template-columns:repeat(2,1fr);}

      /* ── mobile card layout for hot categories table ── */
      #raptureSection #raptureHotCats thead { display: none; }
      #raptureSection #raptureHotCats tbody { display: block; }
      #raptureSection #raptureHotCats tbody tr {
        display: block;
        border: 1px solid var(--border);
        border-top: 3px solid #b8860b;
        border-radius: 2px;
        padding: 12px 14px;
        margin-bottom: 14px;
        background: #fff;
      }
      html[data-theme="dark"] #raptureSection #raptureHotCats tbody tr {
        background: var(--surface);
        border-top-color: #b8860b;
      }
      #raptureSection #raptureHotCats tbody td {
        display: block;
        width: 100%;
        padding: 4px 0;
        border-bottom: none;
        font-size: 13px;
        line-height: 1.55;
        text-align: left;
      }
      /* Category name — first cell, bold, acts as card title */
      #raptureSection #raptureHotCats tbody td:nth-child(1) {
        font-size: 14px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 8px;
      }
      /* Score */
      #raptureSection #raptureHotCats tbody td:nth-child(2) {
        width: auto;
        text-align: left;
      }
      #raptureSection #raptureHotCats tbody td:nth-child(2)::before {
        content: 'SCORE';
        display: inline-block;
        font-family: 'JetBrains Mono', monospace;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        color: #b8860b;
        margin-right: 8px;
        min-width: 60px;
      }
      /* Trend */
      #raptureSection #raptureHotCats tbody td:nth-child(3) {
        width: auto;
        text-align: left;
      }
      #raptureSection #raptureHotCats tbody td:nth-child(3)::before {
        content: 'TREND';
        display: inline-block;
        font-family: 'JetBrains Mono', monospace;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        color: #b8860b;
        margin-right: 8px;
        min-width: 60px;
      }
      /* Key Verse */
      #raptureSection #raptureHotCats tbody td:nth-child(4)::before {
        content: 'VERSE';
        display: inline-block;
        font-family: 'JetBrains Mono', monospace;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        color: #b8860b;
        margin-right: 8px;
        min-width: 60px;
      }
      /* Why It's Hot — full width text */
      #raptureSection #raptureHotCats tbody td:nth-child(5) {
        padding-top: 8px;
        border-top: 1px dashed var(--border);
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.5;
        color: var(--text-dim);
      }
    }

/* === ai_section === */
#aiSection{font-family:var(--ffn-copy,'DM Sans',sans-serif);color:#121212;}
    #aiSection .ai-panel{background:#ffffff;border:1px solid var(--border);border-top:3px solid #121212;border-radius:2px;padding:14px 18px;margin-bottom:18px;position:relative;overflow-x:auto;}
    #aiSection .ai-panel-title{font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);font-size:14px;font-weight:900;letter-spacing:2px;color:#121212;font-variant:small-caps;margin-bottom:4px;}
    #aiSection .ai-panel-sub{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;font-family:'JetBrains Mono',monospace;margin-bottom:12px;}
    #aiSection .ai-dateline{font-size:11px;letter-spacing:2px;color:var(--text-muted);text-transform:uppercase;font-family:'JetBrains Mono',monospace;text-align:right;margin-bottom:10px;}
    #aiSection table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed;}
    /* column proportions — fixed layout needs explicit widths or all 5 columns split equally */
    #aiDomesticTable th:nth-child(1){width:16%;}
    #aiDomesticTable th:nth-child(2){width:32%;}
    #aiDomesticTable th:nth-child(3){width:14%;}
    #aiDomesticTable th:nth-child(4){width:8%;}
    #aiDomesticTable th:nth-child(5){width:30%;}
    #aiIntlTable th:nth-child(1){width:16%;}
    #aiIntlTable th:nth-child(2){width:27%;}
    #aiIntlTable th:nth-child(3){width:15%;}
    #aiIntlTable th:nth-child(4){width:18%;}
    #aiIntlTable th:nth-child(5){width:24%;}
    #aiSection th{text-align:left;font-size:11px;font-weight:700;letter-spacing:2px;color:#121212;padding:6px 8px;border-bottom:2px solid #121212;white-space:nowrap;background:#ffffff;font-family:'JetBrains Mono',monospace;}
    #aiSection td{padding:7px 8px;border-bottom:1px solid var(--border);color:#121212;vertical-align:top;font-size:11px;word-wrap:break-word;overflow-wrap:break-word;}
    #aiSection tr:hover td{background:#f5f5f5;}
    #aiSection .ai-lab{font-weight:700;}
    #aiSection .ai-badge{display:inline-block;font-size:11px;font-weight:900;padding:1px 5px;border-radius:2px;margin-right:5px;letter-spacing:1px;vertical-align:1px;color:#ffffff;font-family:'JetBrains Mono',monospace;}
    #aiSection .ai-badge.us{background:#121212;}
    #aiSection .ai-badge.cn{background:var(--red);}
    #aiSection .ai-badge.eu{background:#0c2c56;}
    #aiSection .ai-val{font-family:'JetBrains Mono',monospace;font-weight:700;}
    #aiSection .ai-capex-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px;}
    #aiSection .ai-capex-card{background:#f5f5f5;border:1px solid var(--border);border-top:2px solid var(--red);border-radius:2px;padding:10px;text-align:center;}
    #aiSection .ai-capex-val{font-family:'JetBrains Mono',monospace;font-size:20px;font-weight:900;color:#121212;line-height:1.1;}
    #aiSection .ai-capex-lbl{font-size:11px;letter-spacing:1.5px;color:var(--text-muted);margin-top:3px;font-family:'JetBrains Mono',monospace;}
    #aiSection .ai-capex-sub{font-size:11px;color:var(--text-dim);margin-top:2px;}
    #aiSection .ai-feed{list-style:none;padding:0;margin:0;}
    #aiSection .ai-feed li{padding:6px 0;border-bottom:1px dashed var(--border);font-size:11px;line-height:1.5;}
    #aiSection .ai-feed li:last-child{border-bottom:none;}
    #aiSection .ai-feed-date{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--text-muted);margin-right:6px;}
    #aiSection .ai-feed-tag{font-size:11px;font-weight:900;letter-spacing:1px;padding:1px 4px;border-radius:2px;margin-right:4px;vertical-align:1px;}
    #aiSection .ai-feed-tag.release{background:#121212;color:#fff;}
    #aiSection .ai-feed-tag.policy{background:var(--red);color:#fff;}
    #aiSection .ai-feed-tag.china{background:#b8860b;color:#fff;}
    #aiSection .ai-dual{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
    #aiSection .ai-narrative{margin-top:0;padding:10px 14px;border-top:3px solid var(--red);font-size:13px;line-height:1.6;color:var(--text-dim);font-style:italic;}
    #aiSection .ai-src{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:1px;color:var(--text-muted);margin-top:8px;}
    #aiSection .ai-src a{color:var(--text-muted);text-decoration:none;border-bottom:1px dotted var(--border);margin-right:5px;}
    #aiSection .ai-src a:hover{color:var(--red);border-bottom-color:var(--red);}
    @media(max-width:700px){
      #aiSection .ai-capex-grid{grid-template-columns:repeat(2,1fr);}
      #aiSection .ai-dual{grid-template-columns:1fr;}
      /* ── mobile card layout for lab scorecard tables ── */
      #aiSection table{table-layout:auto;}
      #aiSection thead{display:none;}
      #aiSection tbody{display:block;}
      #aiSection tr{display:block;border:1px solid var(--border);border-top:3px solid #121212;border-radius:2px;padding:12px 14px;margin-bottom:14px;background:#fff;}
      #aiSection td{display:block;width:100%!important;padding:4px 0;border-bottom:none;font-size:12px;line-height:1.55;}
      /* lab name row */
      #aiSection td:nth-child(1){font-size:14px;font-weight:900;padding-bottom:8px;border-bottom:1px solid var(--border);margin-bottom:8px;}
      #aiSection td.ai-lab{white-space:normal;}
      /* label each cell — domestic table */
      #aiDomesticTable td:nth-child(2)::before{content:'FLAGSHIP';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiDomesticTable td:nth-child(3)::before{content:'VALUATION / CAPEX';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiDomesticTable td:nth-child(4)::before{content:'HEADCOUNT';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiDomesticTable td:nth-child(5)::before{content:'SAFETY POSTURE';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      /* label each cell — international table */
      #aiIntlTable td:nth-child(2)::before{content:'FLAGSHIP';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiIntlTable td:nth-child(3)::before{content:'CHIP ACCESS';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiIntlTable td:nth-child(4)::before{content:'BENCHMARK';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiIntlTable td:nth-child(5)::before{content:'NOTES';display:block;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:2px;}
      #aiSection td:nth-child(n+2){padding-top:8px;}
      /* ai-val mono stays readable */
      #aiSection .ai-val{font-size:12px;}
      /* badge spacing */
      #aiSection .ai-badge{margin-bottom:2px;}
      /* source links wrap better */
      #aiSection .ai-src{font-size:10px;line-height:1.8;}
      #aiSection .ai-src a{display:inline-block;margin-bottom:3px;}
    }

/* === seattle_teams === */
.sports-compact{margin-bottom:14px;}
    .sports-compact .section-header{margin-bottom:6px;}
    .sports-compact .section-tag{font-size:11px;padding:3px 8px;}
    .sports-compact .section-quip{font-size:11px;}
    .sports-compact .cards-row{gap:10px;grid-template-columns:repeat(4,1fr);}
    .sports-compact .card{padding:12px 14px;min-height:0;}
    .sports-compact .card-team-name{font-size:11px;letter-spacing:2px;margin-bottom:3px;}
    .sports-compact .card-score{font-size:18px;margin-bottom:3px;}
    .sports-compact .card-detail{font-size:11px;margin-bottom:3px;}
    .sports-compact .card-next{font-size:11px;margin-bottom:4px;}
    .sports-compact .card-quip{font-size:11px;line-height:1.5;max-height:5.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;}
/* ════════ MULTI-PAGE NAV + LANDING CARDS ════════ */
.section-nav a.active{color:var(--red);font-weight:600;border-bottom:2px solid var(--red);}
.landing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:18px 0 24px;align-items:start;}
.landing-card{display:block;background:#ffffff;border:1px solid var(--border);border-top:3px solid var(--red);border-radius:2px;padding:16px 18px;text-decoration:none;color:var(--text);transition:border-color .15s ease, transform .15s ease;}
.landing-card:hover{border-color:var(--text);transform:translateY(-1px);}
.landing-card .lc-tag{font-size:11px;letter-spacing:2.5px;font-weight:900;color:var(--red);text-transform:uppercase;font-family:'JetBrains Mono',monospace;margin-bottom:6px;}
.landing-card .lc-title{font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);font-size:20px;font-weight:900;line-height:1.15;color:#1a1611;margin-bottom:6px;letter-spacing:-0.3px;}
.landing-card .lc-dek{font-family:var(--ffn-copy,'DM Sans',sans-serif);font-size:13px;line-height:1.45;color:var(--text-dim);display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;}
.landing-card .lc-more{display:inline-block;margin-top:10px;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:2px;font-weight:700;color:var(--accent);text-transform:uppercase;}
.landing-card:hover .lc-more{color:var(--red);}
.lan-page-masthead{margin:14px 0 18px;padding-bottom:12px;border-bottom:2px solid var(--text);}
.lan-page-masthead .lpm-tag{font-size:11px;letter-spacing:3px;font-weight:900;color:var(--red);text-transform:uppercase;font-family:'JetBrains Mono',monospace;margin-bottom:4px;}
.lan-page-masthead .lpm-name{font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);font-size:38px;font-weight:900;letter-spacing:-0.5px;color:#1a1611;line-height:1;font-variant:small-caps;}
.lan-page-masthead .lpm-kicker{font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);font-size:14px;font-style:italic;color:var(--text-muted);margin-top:6px;}
.back-home{display:inline-block;margin-top:18px;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:2px;font-weight:700;color:var(--accent);text-transform:uppercase;text-decoration:none;border-bottom:1px dotted currentColor;}
.back-home:hover{color:var(--red);}

/* ════════════════════════════════════════════════════════════════
   READABILITY: small-print → DM Sans, headlines → keep serif.
   Headlines (.rd-head, .rd-title, .lpm-name, .lc-title, .lan-masthead
   .lm-name, section .*-title) use the shared Newsreader display token.
   Body text, deks, list items, captions, and kickers
   switch to DM Sans for easier reading at small sizes.
   ════════════════════════════════════════════════════════════════ */
.editor-note .en-text,
.editor-note .en-sig,
#theRunDown .rd-sub,
#runDownList .rd-dek,
#runDownList article.lead .rd-factbox li,
#runDownList article.lead .rd-pullquote,
.landing-card .lc-dek,
.lan-page-masthead .lpm-kicker,
.lan-masthead .lm-kicker,
#trackTroops .tt-notes,
#trackTroops td, #trackTroops th,
#quantumSection p,
#quantumSection li,
#quantumSection td,
#raptureSection p,
#raptureSection li,
#raptureSection td,
#aiSection p,
#aiSection li,
#aiSection td {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ════════════════════════════════════════════════════════════════
   WILD CARD page styles. Each .wc-entry is a card with a kicker tag,
   a date, a serif headline, sans-serif body paragraphs, optional
   pullquote, and a fact box. Voice is dry-sarcastic; styling stays
   newsprint-restrained.
   ════════════════════════════════════════════════════════════════ */
#wcFeed { display: flex; flex-direction: column; gap: 18px; }
.wc-entry {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
  padding: 18px 22px;
  position: relative;
}
.wc-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.wc-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
}
.wc-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.wc-headline {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: #1a1611;
  letter-spacing: -0.3px;
  margin: 8px 0 12px 0;
}
.wc-body p {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.wc-body p:last-child { margin-bottom: 0; }
.wc-pullquote {
  margin: 14px 0;
  padding: 8px 16px;
  border-top: 3px solid var(--red);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dim);
  background: #fafafa;
}
.wc-pullquote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.wc-factbox {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--surface-hover);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
}
.wc-factbox-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--amber);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.wc-factbox ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.wc-factbox li {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 12px;
  position: relative;
}
.wc-factbox li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  font-size: 11px;
}
.wc-factbox li b { color: #1a1611; font-weight: 700; }
@media (max-width: 600px) {
  .wc-factbox ul { grid-template-columns: 1fr; }
  .wc-headline { font-size: 19px; }
}

/* Resolution / update box on a Wild Card entry. Green left border to signal
   "filed; case closed." Smaller, slightly inset from the main body text. */
.wc-update {
  margin-top: 14px;
  padding: 12px 16px;
  background: #f5faf6;
  border: 1px solid #d4e8d8;
  border-top: 3px solid var(--green);
  border-radius: 2px;
}
.wc-update-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--green);
  text-transform: uppercase;
}
.wc-update p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* Photo figure inside a Wild Card entry. Constrained max-width so a tall
   portrait photo doesn't dominate; caption styled like the kicker labels. */
.wc-figure {
  margin: 16px auto;
  text-align: center;
}
.wc-figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.wc-figure figcaption {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.4;
}
.wc-figure figcaption em {
  text-transform: none;
  letter-spacing: 0.5px;
  font-style: italic;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  color: var(--text-dim);
}

/* Track the Troops auxiliary analyst panels: Macgregor wire, Heat Window,
   Desal Tripwire. Looser than .tt-notes (which is a tight one-liner SAY-vs-DO),
   each gets a labeled tag, two-paragraph body, and source row. */
.tt-analyst {
  margin-top: 14px;
  padding: 12px 16px 10px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brass);
  border-radius: 2px;
  color: #121212;
}
.tt-analyst-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.tt-analyst p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 10px 0;
}
.tt-analyst p:last-of-type { margin-bottom: 8px; }
.tt-analyst p b { color: #1a1611; font-weight: 700; }
.tt-analyst-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.tt-analyst-src a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 10px;
  border-bottom: 1px dotted var(--border-glow);
}
.tt-analyst-src a:hover { color: var(--red); border-bottom-color: var(--red); }

/* Heat Window: amber accent. Desal Tripwire: red accent. */
#ttHeatWindow { border-top-color: var(--amber); }
#ttHeatWindow .tt-analyst-tag { color: var(--amber); }
#ttDesalTripwire { border-top-color: var(--red); }
#ttDesalTripwire .tt-analyst-tag { color: var(--red); }

/* Beyond The Oil panel: dark accent (this one is the gut-punch). */
#ttBeyondOil { border-top-color: #1a1611; }
#ttBeyondOil .tt-analyst-tag { color: #1a1611; }

/* Roy Cohn Operating System: editorial framing panel on politics.html.
   Black left rule (it's the doctrine), tight numbered list, italic
   aphorism at the bottom. */
.rc-doctrine {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid #1a1611;
  border-radius: 2px;
  padding: 14px 18px 12px 18px;
  margin: 0 0 16px 0;
}
.rc-doctrine-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #1a1611;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.rc-doctrine p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.rc-rules {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px 0;
  padding-left: 22px;
}
.rc-rules li {
  margin-bottom: 8px;
}
.rc-rules li b {
  color: #1a1611;
  font-weight: 800;
}
.rc-aphorism {
  margin-top: 14px;
  padding: 10px 16px;
  border-top: 3px solid var(--red);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-dim);
}
.rc-aphorism cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* PAPER REALITY vs HARD ASSETS panel on markets.html. Two-column split,
   editorial aphorism top and bottom (top in red, bottom darker). */
.pvh-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  padding: 14px 18px 12px 18px;
  margin: 0 0 16px 0;
}
.pvh-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.pvh-aphorism {
  margin: 8px 0 10px 0;
  padding: 8px 16px;
  border-top: 3px solid var(--red);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-dim);
}
.pvh-aphorism cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pvh-aphorism-bottom { border-top-color: #1a1611; }
.pvh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 12px 0;
}
.pvh-col {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 14px;
}
.pvh-col-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #1a1611;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--border);
}
.pvh-col:first-child .pvh-col-tag { color: var(--green); }
.pvh-col:last-child .pvh-col-tag { color: var(--red); }
.pvh-col ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.pvh-col li { padding: 3px 0; }
.pvh-frame {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 12px 0 6px 0;
}
@media (max-width: 700px) { .pvh-grid { grid-template-columns: 1fr; } }

/* PAPER OIL vs SPOT tracker — three-column physical/futures spread panel. */
.pos-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--copper);
  border-radius: 2px;
  padding: 14px 18px 12px 18px;
  margin: 0 0 16px 0;
}
.pos-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.pos-intro {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px 0;
}
.pos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.pos-col {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-top: 3px solid var(--text-muted);
  border-radius: 2px;
  padding: 12px 14px;
}
.pos-col.pos-paper { border-top-color: var(--text-muted); }
.pos-col.pos-dated { border-top-color: var(--amber); }
.pos-col.pos-spot { border-top-color: var(--red); }
.pos-col-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pos-paper .pos-col-tag { color: var(--text-muted); }
.pos-dated .pos-col-tag { color: var(--amber); }
.pos-spot .pos-col-tag { color: var(--red); }
.pos-col-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 900;
  color: #1a1611;
  line-height: 1;
  margin-bottom: 4px;
}
.pos-col-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pos-col-note {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text);
}
.pos-spread {
  background: var(--surface-hover);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 2px;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.pos-spread-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.pos-spread-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 900;
  color: var(--amber);
}
.pos-spread-sub {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  color: #cccccc;
  flex: 1;
  min-width: 240px;
}
.pos-frame {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.pos-aphorism {
  margin: 8px 0 10px 0;
  padding: 10px 16px;
  border-top: 3px solid var(--red);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text-dim);
}
.pos-aphorism cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pos-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.pos-src a { color: var(--text-muted); text-decoration: none; margin-right: 10px; border-bottom: 1px dotted var(--border-glow); }
.pos-src a:hover { color: var(--red); border-bottom-color: var(--red); }
@media (max-width: 700px) { .pos-grid { grid-template-columns: 1fr; } }

/* CLAIMS LEDGER on politics.html — table of unfulfilled / disputed Truth
   Social claims with day-since counters and color-coded status cells. */
.cl-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  padding: 14px 18px 12px 18px;
  margin: 0 0 16px 0;
}
.cl-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.cl-intro {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px 0;
}
.cl-table-wrap { overflow-x: auto; margin-bottom: 10px; }
.cl-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
}
.cl-table thead th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 8px 10px;
  border-bottom: 2px solid #1a1611;
  background: #fafafa;
}
.cl-table tbody td {
  padding: 10px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  line-height: 1.5;
}
.cl-table tbody tr:last-child td { border-bottom: none; }
.cl-cell-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.cl-cell-days {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 900;
  color: #1a1611;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cl-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cl-no-receipts { background: #fff5e6; color: var(--amber); border: 1px solid #f0d699; }
.cl-denied      { background: #fde7e7; color: var(--red);   border: 1px solid #f0a8a8; }
.cl-expired     { background: #f5f5f5; color: var(--text-muted); border: 1px solid var(--border); }
.cl-disputed    { background: #fff5e6; color: var(--amber); border: 1px solid #f0d699; }
.cl-unverified  { background: #f5f5f5; color: var(--text-muted); border: 1px solid var(--border); }
.cl-policy      { background: #ebf3ee; color: var(--green); border: 1px solid #c4dfd0; }
.cl-fulfilled   { background: #ebf3ee; color: var(--green); border: 1px solid #c4dfd0; }
.cl-frame {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin: 12px 0 8px 0;
}
.cl-aphorism {
  margin: 8px 0 10px 0;
  padding: 10px 16px;
  border-top: 3px solid var(--red);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-dim);
}
.cl-aphorism cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cl-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.cl-src a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 10px;
  border-bottom: 1px dotted var(--border-glow);
}
.cl-src a:hover { color: var(--red); border-bottom-color: var(--red); }
@media (max-width: 700px) {
  /* ── mobile card layout for claims ledger ── */
  .cl-table thead { display: none; }
  .cl-table tbody { display: block; }
  .cl-table tbody tr { display: block; border: 1px solid var(--border); border-top: 3px solid #1a1611; border-radius: 2px; padding: 12px 14px; margin-bottom: 14px; background: #fff; }
  .cl-table tbody tr.cl-featured { background: #fff8ef; }
  .cl-table tbody td { display: block; width: 100%; padding: 4px 0; border-bottom: none; font-size: 13px; line-height: 1.55; }
  /* claim text — first cell, no label needed */
  .cl-table tbody td:nth-child(1) { font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
  /* asserted date + days + status inline row */
  .cl-table tbody td:nth-child(2)::before { content: 'ASSERTED'; display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); margin-bottom: 2px; }
  .cl-table tbody td:nth-child(3)::before { content: 'DAYS'; display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); margin-bottom: 2px; }
  .cl-table tbody td:nth-child(4)::before { content: 'STATUS'; display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); margin-bottom: 2px; }
  .cl-table tbody td:nth-child(5)::before { content: 'NOTES'; display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); margin-bottom: 2px; }
  .cl-table tbody td:nth-child(n+2) { padding-top: 8px; }
  .cl-cell-date { white-space: normal; }
  .cl-cell-days { font-size: 22px; text-align: left; }
}

/* Carrier Endurance: navy accent (Navy ship, Navy color) */
#ttCarrierEndurance { border-top-color: var(--seahawks-blue); }
#ttCarrierEndurance .tt-analyst-tag { color: var(--seahawks-blue); }

/* Featured (top-of-ledger) claim row: subtle tint + slightly darker bottom rule. */
.cl-table tbody tr.cl-featured td {
  background: #fff8ef;
  border-bottom: 2px solid #1a1611;
}

/* DUDE WATCH — daily auto-counter on the unnamed F-15E aircrew (Dude 44 A/B).
   Big number, dark headline, sustained editorial framing. */
.dude-watch {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  padding: 16px 20px 14px 20px;
  margin: 0 0 16px 0;
  position: relative;
  overflow: hidden;
}
.dude-watch::before{content:none;}
.dude-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.dude-headline {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 14px;
  font-style: italic;
}
.dude-counter {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.dude-counter-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 44px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 70px;
  text-align: center;
  flex-shrink: 0;
}
.dude-counter-lbl {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.dude-counter-lbl b { color: var(--red); font-weight: 800; }
.dude-body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.dude-days-inline {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  color: var(--amber);
}
.dude-aphorism {
  margin-top: 12px;
  padding: 10px 16px;
  border-top: 3px solid var(--amber);
  background: var(--surface-hover);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}
.dude-aphorism cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
}
@media (max-width: 700px) {
  .dude-watch { padding: 12px 14px 10px 14px; }
  .dude-watch > div[style*="display:flex"] { flex-direction: column; gap: 12px; }
  .dude-watch > div[style*="display:flex"] > img { width: 100%; max-width: 200px; align-self: center; order: -1; }
  .dude-counter { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
  .dude-counter-num { font-size: 40px; min-width: auto; text-align: left; }
  .dude-headline { font-size: 22px; margin-bottom: 6px; }
  .dude-tag { margin-bottom: 6px; padding-bottom: 4px; }
  .dude-body { font-size: 13px; }
  .dude-aphorism { font-size: 15px; padding: 8px 12px; }
}

/* Trump Ballroom post-hoc justification block: GOP quotes + on-the-facts rebuttal. */
.ballroom-pivot {
  margin-top: 14px;
  padding: 14px 18px 12px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
}
.bp-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.ballroom-pivot p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.bp-quotes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.bp-quote {
  padding: 10px 14px;
  background: #fafafa;
  border-top: 3px solid var(--amber);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.bp-quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bp-rebuttal {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--surface-hover);
  color: var(--text);
  border-top: 3px solid var(--red);
  border-radius: 2px;
}
.bp-rebuttal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #3a342c;
}
.bp-rebuttal p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.bp-rebuttal p:last-child { margin-bottom: 0; }
.bp-rebuttal b { color: var(--text); font-weight: 800; }

/* VAULT WATCH — foreign gold custody panel on markets.html. Gold accent
   (amber/brass), 4-column card grid for facts, dark Fort Knox card for
   visual asymmetry. */
.vault-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
  padding: 14px 18px 12px 18px;
  margin: 0 0 16px 0;
}
.vault-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.vault-intro {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px 0;
}
.vault-intro b { color: #1a1611; font-weight: 700; }
.vault-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.vault-card {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
  padding: 10px 12px;
}
.vault-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.vault-card-fact {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 900;
  color: #1a1611;
  line-height: 1;
  margin-bottom: 6px;
}
.vault-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.vault-card-sub {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text);
}
.vault-frame {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 10px 0;
}
.vault-aphorism {
  margin: 8px 0 10px 0;
  padding: 10px 16px;
  border-top: 3px solid var(--amber);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text-dim);
}
.vault-aphorism cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.vault-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.vault-src a { color: var(--text-muted); text-decoration: none; margin-right: 10px; border-bottom: 1px dotted var(--border-glow); }
.vault-src a:hover { color: var(--red); border-bottom-color: var(--red); }
@media (max-width: 900px) { .vault-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .vault-grid { grid-template-columns: 1fr; } }

/* Vault Watch extras: historical context + Macgregor wire side-by-side. */
.vault-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.vault-extra {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brass);
  border-radius: 2px;
  padding: 10px 14px;
}
.vault-extra-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.vault-extra p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}
.vault-aphorism-close {
  border-top-color: #1a1611;
  margin-top: 4px;
}
@media (max-width: 700px) { .vault-extras { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   THE POUR — newsletter archive page styling. Each issue is an
   <article class="pour-issue">. Sections within an issue use
   .pour-section. Headlines use Newsreader; body copy uses DM Sans.
   ════════════════════════════════════════════════════════════════ */
.pour-about {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  padding: 14px 18px;
  margin: 0 0 16px 0;
}
.pour-about-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.pour-about p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.pour-about p:last-of-type { margin-bottom: 12px; }
.pour-about p b { color: #1a1611; font-weight: 700; }
.pour-subscribe-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1a1611;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid #1a1611;
  transition: background .15s ease;
}
.pour-subscribe-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.pour-index {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 18px;
  margin: 0 0 18px 0;
}
.pour-index-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.pour-index ul { list-style: none; margin: 0; padding: 0; }
.pour-index li { padding: 4px 0; }
.pour-index a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  padding: 4px 0;
}
.pour-index a:hover { color: var(--red); }
.pour-idx-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--red);
  min-width: 50px;
}
.pour-idx-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  min-width: 110px;
}
.pour-idx-title {
  flex: 1;
  font-style: italic;
  color: var(--text);
}
.pour-idx-state {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 2px;
}
.pour-idx-draft {
  background: #fff5e6;
  color: var(--amber);
  border: 1px solid #f0d699;
}
.pour-idx-published {
  background: #ebf3ee;
  color: var(--green);
  border: 1px solid #c4dfd0;
}

.pour-issue {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid #1a1611;
  border-radius: 2px;
  padding: 22px 28px 18px 28px;
  margin: 0 0 22px 0;
  scroll-margin-top: 70px;
}
.pour-issue-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1a1611;
}
.pour-issue-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pour-issue-title {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  color: #1a1611;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
  font-style: italic;
}
.pour-issue-tagline {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
}

.pour-section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.pour-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.pour-section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.pour-section p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 12px 0;
}
.pour-section p:last-child { margin-bottom: 0; }
.pour-section p b { color: #1a1611; font-weight: 700; }
.pour-section p a { color: var(--red); text-decoration: none; border-bottom: 1px dotted currentColor; }
.pour-section p a:hover { border-bottom-style: solid; }

.pour-pull {
  margin: 14px 0 4px 0;
  padding: 10px 16px;
  border-top: 3px solid var(--red);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-dim);
  font-style: italic;
}
.pour-pull em {
  font-style: italic;
  color: var(--red);
  font-weight: 700;
}

.pour-section-editor { padding-top: 6px; }
.pour-sig {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 8px;
}

.pour-issue-foot {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 2px solid #1a1611;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
.pour-issue-foot a { color: var(--text-muted); border-bottom: 1px dotted currentColor; text-decoration: none; }
.pour-issue-foot a:hover { color: var(--red); border-bottom-color: var(--red); }

@media (max-width: 600px) {
  .pour-issue { padding: 16px 18px; }
  .pour-issue-title { font-size: 24px; }
  .pour-section p { font-size: 14px; }
}

/* ════════════════════════════════════════════════════════════════
   THE WATCH — curated video. Two-surface page: TIMELY + ABIDING.
   Runtime badges color-coded by commitment (green/amber/red).
   ════════════════════════════════════════════════════════════════ */
.watch-about {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid #1a1611;
  border-radius: 2px;
  padding: 14px 18px;
  margin: 0 0 16px 0;
}
.watch-about-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #1a1611;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.watch-about p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.watch-about p:last-child { margin-bottom: 0; }
.watch-about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.watch-about-list li {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  padding: 8px 12px;
  background: var(--surface-hover);
  border-radius: 2px;
}
.watch-about-list em { font-style: italic; color: var(--text-dim); }

/* Pills */
.watch-tier-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-right: 6px;
}
.watch-tier-timely {
  background: #fff5e6;
  color: var(--amber);
  border: 1px solid #f0d699;
}
.watch-tier-abiding {
  background: #ebf3ee;
  color: var(--green);
  border: 1px solid #c4dfd0;
}
.watch-rt-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-right: 6px;
}
.watch-rt-short  { background: #ebf3ee; color: var(--green); border: 1px solid #c4dfd0; }
.watch-rt-mid    { background: #fff5e6; color: var(--amber); border: 1px solid #f0d699; }
.watch-rt-long   { background: #fde7e7; color: var(--red);   border: 1px solid #f0a8a8; }
.watch-topic-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--surface-hover);
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-right: 6px;
}

/* Section headers */
.watch-section-head {
  margin: 22px 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #1a1611;
}
.watch-section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.watch-section-tag-timely { color: var(--amber); }
.watch-section-tag-abiding { color: var(--green); }
.watch-section-sub {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Feed */
.watch-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.watch-entry {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
  padding: 14px 18px 12px 18px;
}
.watch-entry-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.watch-entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.watch-entry-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.watch-entry-title {
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  margin: 6px 0 4px 0;
  letter-spacing: -0.3px;
}
.watch-entry-title a {
  color: #1a1611;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.watch-entry-title a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.watch-entry-creator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.watch-entry-take p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px 0;
}
.watch-entry-take p b { color: #1a1611; font-weight: 700; }
.watch-entry-take p a { color: var(--red); text-decoration: none; border-bottom: 1px dotted currentColor; }
.watch-entry-take p a:hover { border-bottom-style: solid; }
.watch-pull {
  margin-top: 10px;
  padding: 8px 14px;
  border-top: 3px solid var(--red);
  background: #fafafa;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-dim);
}
.watch-pull cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.watch-empty {
  background: var(--surface-hover);
  border: 1px dashed var(--border);
  border-radius: 2px;
  padding: 14px 18px;
  text-align: center;
}
.watch-empty p {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 6px 0;
  font-style: italic;
}
.watch-empty-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-style: normal !important;
}
@media (max-width: 600px) {
  .watch-entry { padding: 12px 14px; }
  .watch-entry-title { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — comprehensive small-screen overrides.
   Desktop keeps everything on one row; mobile wraps gracefully.
   ════════════════════════════════════════════════════════════════ */

/* — Main container: tighter padding on small screens — */
@media (max-width: 600px) {
  .main { padding: 8px 10px 40px; }
}

/* — Header: stack logo/title and clock vertically — */
@media (max-width: 600px) {
  .header {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
  }
  .header-left {
    justify-content: center;
    gap: 10px;
  }
  .header-title { font-size: 22px; }
  .header-subtitle { font-size: 10px; letter-spacing: 1.5px; }
  .header-right {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }
  .clock { font-size: 12px; }
}

/* — Section nav: horizontal scroll on mobile, not overflow — */
@media (max-width: 700px) {
  .section-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .section-nav-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
  }
  .section-nav a {
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  /* hide scrollbar but keep functionality */
  .section-nav::-webkit-scrollbar { display: none; }
  .section-nav { -ms-overflow-style: none; scrollbar-width: none; }
}

/* — Editor note: tighter on mobile — */
@media (max-width: 600px) {
  .editor-note { padding: 12px 14px 12px 16px; }
  .editor-note .en-text { font-size: 14px; line-height: 1.6; }
  .editor-note .en-tag { font-size: 10px; }
  .editor-note .en-tag .en-date { display: block; margin-left: 0; margin-top: 2px; }
}

/* — Cards row: 2-col then 1-col — */
@media (max-width: 700px) {
  .cards-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .cards-row { grid-template-columns: 1fr; }
  .cards-row-2 { grid-template-columns: 1fr; }
  .cards-row-3 { grid-template-columns: 1fr; }
}

/* — Landing grid: 2-col then 1-col — */
@media (max-width: 600px) {
  .landing-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .landing-card { padding: 12px 14px; }
  .landing-card .lc-title { font-size: 16px; }
  .landing-card .lc-dek { font-size: 12px; }
}
@media (max-width: 400px) {
  .landing-grid { grid-template-columns: 1fr; }
}

/* — Run Down: tighter on mobile — */
@media (max-width: 560px) {
  #theRunDown .rd-masthead { font-size: 12px; }
  #runDownList article .rd-head { font-size: 15px; }
  #runDownList article .rd-dek { font-size: 12px; }
  #runDownList article .rd-kicker { font-size: 10px; }
  #runDownList article.lead .rd-factbox ul { grid-template-columns: 1fr; }
}

/* — Iran War banner: delegations stack — */
@media (max-width: 480px) {
  #iranWarBanner .iw-contrast-head{align-items:flex-start;flex-direction:column;gap:3px;}
  #iranWarBanner .iw-delegations{grid-template-columns:1fr;}
  #iranWarBanner .iw-del-box{padding:4px 0 12px;border-right:0;}
  #iranWarBanner .iw-del-box + .iw-del-box{border-top:2px solid var(--text);}
  #iranWarBanner .iw-del-row{grid-template-columns:40px minmax(0,1fr);gap:8px;}
}

/* — Track the Troops: tighter padding — */
@media (max-width: 700px) {
  #trackTroops { padding: 10px 12px; }
}

/* — Market grids: already have breakpoints, add very-small — */
@media (max-width: 400px) {
  .energy-strip { grid-template-columns: 1fr; }
  .ms-hype { grid-template-columns: 1fr; }
}

/* — Seattle / weather / objectives: 1-col at very narrow — */
@media (max-width: 480px) {
  .seattle-grid { grid-template-columns: 1fr; }
  .weather-strip { grid-template-columns: 1fr; }
  .objectives-by-person { grid-template-columns: 1fr; }
  .world-grid { grid-template-columns: 1fr; }
  .gameday-grid { grid-template-columns: 1fr; }
  .bingo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* — War rows (politics page): stack on mobile — */
@media (max-width: 480px) {
  .war-row { grid-template-columns: 1fr; gap: 4px; }
  .war-row.header-row { display: none; }
}

/* — Countdown strip: full-width items — */
@media (max-width: 480px) {
  .countdown-strip { flex-direction: column; }
}

/* — Section page mastheads: scale down — */
@media (max-width: 600px) {
  .lan-masthead .lm-name, .lan-page-masthead .lpm-name { font-size: 26px; }
  .lan-masthead { margin: 32px 0 14px 0; padding: 10px 4px; }
}

/* — Chyron: smaller text on mobile — */
@media (max-width: 600px) {
  .chyron { font-size: 11px; padding: 4px 0; }
}

/* — Proposals grid: stack on mobile — */
@media (max-width: 700px) {
  .proposals-grid { grid-template-columns: 1fr !important; }
}

/* — AI section tables: card-stack on mobile — */
@media (max-width: 700px) {
  #aiSection table, #aiSection thead, #aiSection tbody, #aiSection tr, #aiSection th, #aiSection td { display: block; }
  #aiSection thead { display: none; }
  #aiSection tr { border-bottom: 1px solid var(--border); padding: 8px 0; margin-bottom: 6px; }
  #aiSection td { border: none; padding: 3px 0; font-size: 12px; }
  #aiSection td:first-child { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
  .ai-capex-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 400px) {
  .ai-capex-grid { grid-template-columns: 1fr !important; }
}

/* — Truth Social feed items: stack on very narrow — */
@media (max-width: 480px) {
  .truth-item { grid-template-columns: 1fr; gap: 6px; }
  .truth-item-head { font-size: 12px; }
}


/* === wildcard comic strip + video figure ===
   Two-up image layout for meme-vs-meme entries, stacks on mobile.
   Video element uses the same wc-figure framing as photos. */
.wc-comic-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.wc-comic-strip .wc-figure {
  margin: 0;
}
.wc-comic-strip .wc-figure img {
  max-height: 380px;
  width: 100%;
  object-fit: contain;
  background: #0d0d0d;
}
@media (max-width: 600px) {
  .wc-comic-strip {
    grid-template-columns: 1fr;
  }
}
.wc-figure video {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #0d0d0d;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}


/* === US Debt cross-source tripwire ===
   Lives on index.html between The Run Down and the landing grid.
   Big ticking counter at top (IMF baseline + IMF-projected deficit run-rate).
   Three small cells below: IMF baseline, OECD baseline, divergence flag.
   Sources annotated; never sources from US Treasury directly. */
.us-debt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px 10px;
  margin: 14px 0 18px;
  color: var(--text);
}
.usd-tag {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.usd-counter {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1.1;
  margin: 2px 0 4px;
  font-variant-numeric: tabular-nums;
}
.usd-counter-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.usd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.usd-cell {
  background: var(--surface-hover);
  border-left: 2px solid var(--amber);
  padding: 7px 10px;
}
.usd-cell.divergent {
  border-left-color: var(--brand);
}
.usd-cell.divergent .usd-val { color: var(--brand); }
.usd-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.usd-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.usd-asof {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.usd-foot {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.usd-foot a { color: var(--amber); text-decoration: none; border-bottom: 1px dotted var(--amber); }
@media (max-width: 600px) {
  .usd-counter { font-size: 18px; }
  .usd-grid { grid-template-columns: 1fr; }
}


/* === Track the Troops · Kinetic Force Laydown Map ===
   Lives on troops.html above the asset table.
   Self-contained SVG; no tile provider, no third-party CSS.
   Asset positions and headings come from a JSON island in the page,
   updated by the track-the-troops scheduled task each run. */
.tt-map-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px 12px;
  margin: 16px 0 22px;
}
.tt-map-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tt-map-stage {
  position: relative;
  background: #dfe7ee;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 2px;
}
.tt-map-svg {
  display: block;
  width: 100%;
  height: auto;
}
.tt-map-svg .tt-land {
  fill: #353026;          /* warm gray — higher contrast vs blue water */
  stroke: #4a4438;
  stroke-width: 0.8;
}
/* Subtle regional tinting — none more than ~6% lightness apart, so the map
   reads as a continuous landmass with regional context, not a political map. */
.tt-map-svg .tt-land path[data-name="Iran"] { fill: #3d2c22; }                       /* faint warm — adversary */
.tt-map-svg .tt-land path[data-name="Saudi Arabia"],
.tt-map-svg .tt-land path[data-name="United Arab Emirates"],
.tt-map-svg .tt-land path[data-name="Qatar"],
.tt-map-svg .tt-land path[data-name="Kuwait"],
.tt-map-svg .tt-land path[data-name="Bahrain"],
.tt-map-svg .tt-land path[data-name="Oman"],
.tt-map-svg .tt-land path[data-name="Yemen"]                  { fill: #3a3326; }    /* Arabian peninsula */
.tt-map-svg .tt-land path[data-name="Iraq"],
.tt-map-svg .tt-land path[data-name="Syria"],
.tt-map-svg .tt-land path[data-name="Lebanon"],
.tt-map-svg .tt-land path[data-name="Israel"],
.tt-map-svg .tt-land path[data-name="Jordan"],
.tt-map-svg .tt-land path[data-name="Turkey"]                 { fill: #36302a; }    /* Levant + Anatolia */
.tt-map-svg .tt-land path[data-name="Egypt"],
.tt-map-svg .tt-land path[data-name="Sudan"],
.tt-map-svg .tt-land path[data-name="Eritrea"],
.tt-map-svg .tt-land path[data-name="Djibouti"],
.tt-map-svg .tt-land path[data-name="Somalia"],
.tt-map-svg .tt-land path[data-name="Ethiopia"]               { fill: #2f2d31; }    /* horn of Africa cooler */
.tt-map-svg .tt-land path[data-name="Pakistan"],
.tt-map-svg .tt-land path[data-name="India"],
.tt-map-svg .tt-land path[data-name="Afghanistan"]            { fill: #38332c; }    /* subcontinent */
.tt-map-svg .tt-water-grid {
  stroke: #16304e;
  stroke-width: 0.5;
  opacity: 0.6;
}
.tt-map-svg .tt-country-label {
  fill: #888070;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-anchor: middle;
  pointer-events: none;
  opacity: 0.85;
  paint-order: stroke;
  stroke: rgba(0,0,0,0.5);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.tt-map-svg .tt-water-label {
  fill: #6e92c0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-anchor: middle;
  font-style: italic;
  pointer-events: none;
  opacity: 0.7;
}
.tt-map-svg .tt-asset-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  fill: #e8e2d0;
  text-anchor: start;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(0,0,0,0.6);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.tt-map-svg .tt-asset-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.5px;
  fill: #aaa;
  letter-spacing: 0.8px;
  text-anchor: start;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(0,0,0,0.55);
  stroke-width: 2;
  stroke-linejoin: round;
}

/* Carrier Strike Group: red core, amber ring, animated dashed heading arrow */
.tt-map-svg .tt-csg-core {
  fill: var(--red);
  stroke: #f0e9d2;
  stroke-width: 1.2;
}
.tt-map-svg .tt-csg-pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.2;
  opacity: 0.55;
  animation: ttPulseRing 2.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes ttPulseRing {
  0%   { transform: scale(0.8); opacity: 0.7; }
  80%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* MEU/ARG: blue square */
.tt-map-svg .tt-meu-core {
  fill: #4a8bd6;
  stroke: #f0e9d2;
  stroke-width: 1;
}

/* Bomber sortie origin (Diego Garcia): green diamond, no heading arrow */
.tt-map-svg .tt-bomber-core {
  fill: #6bbf6b;
  stroke: #f0e9d2;
  stroke-width: 1;
}

/* Base / fighter sqn: amber dot */
.tt-map-svg .tt-base-core {
  fill: var(--amber);
  stroke: #1a1813;
  stroke-width: 1;
}

/* THAAD / Patriot: white triangle */
.tt-map-svg .tt-thaad-core {
  fill: #f0e9d2;
  stroke: #1a1813;
  stroke-width: 1;
}

/* Hormuz blockade indicator: large pulsing red ring */
.tt-map-svg .tt-blockade {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  opacity: 0.75;
}
.tt-map-svg .tt-blockade-pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 1;
  opacity: 0.5;
  animation: ttBlockadePulse 3.2s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes ttBlockadePulse {
  0%   { transform: scale(0.7); opacity: 0.7; }
  85%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Heading arrows: dashed line + animated dash march for kinetic feel */
.tt-map-svg .tt-arrow {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.4;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  opacity: 0.8;
  animation: ttArrowMarch 1.4s linear infinite;
}
@keyframes ttArrowMarch {
  to { stroke-dashoffset: -20; }
}
.tt-map-svg .tt-arrowhead {
  fill: var(--amber);
}

/* Legend */
.tt-map-svg .tt-legend-bg {
  fill: rgba(10,10,10,0.85);
  stroke: var(--border);
  stroke-width: 0.5;
}
.tt-map-svg .tt-legend-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  fill: #c8c0a8;
  letter-spacing: 1px;
}

.tt-map-foot {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.tt-map-foot a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px dotted var(--amber);
}


/* === Wild Card · transcript scaffold ===
   Collapsible <details> block under a video entry. The user pastes
   transcribed text into the wc-lyrics <pre> block; styling matches the
   site's monospace dispatch aesthetic. */
.wc-transcript {
  margin: 18px 0 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: rgba(0,0,0,0.18);
}
.wc-transcript summary {
  cursor: pointer;
  padding: 10px 14px;
  list-style: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.wc-transcript summary::-webkit-details-marker { display: none; }
.wc-transcript summary::before {
  content: "▸";
  color: var(--amber);
  display: inline-block;
  transition: transform 0.15s ease;
}
.wc-transcript[open] summary::before {
  transform: rotate(90deg);
}
.wc-transcript[open] summary {
  border-bottom: 1px solid var(--border);
}
.wc-transcript summary em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}
.wc-lyrics {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--text);
  padding: 14px 20px 18px;
  margin: 0;
  background: transparent;
  overflow-x: auto;
}


/* === Track the Troops · map zoom controls ===
   Sits above the SVG stage. Buttons are small and dispatch-aesthetic;
   region presets jump the SVG viewBox to a known coordinate window. */
.tt-map-controls {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 0 8px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
}
.tt-map-controls button {
  background: #1a1813;
  color: #d4c8a0;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-transform: uppercase;
}
.tt-map-controls button:hover {
  background: var(--amber);
  color: #1a1813;
  border-color: var(--amber);
}
.tt-map-controls #ttZoomIn,
.tt-map-controls #ttZoomOut {
  font-size: 14px;
  padding: 3px 9px;
  min-width: 28px;
  line-height: 1;
}
.tt-map-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin: 0 4px;
}
.tt-map-hint {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-left: auto;
  text-transform: uppercase;
}
.tt-map-stage {
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.tt-map-stage.is-panning {
  cursor: grabbing;
}
@media (max-width: 600px) {
  .tt-map-hint { display: none; }
}


/* === Track the Troops · additional asset markers === */
.tt-map-svg .tt-amphib-core {
  fill: #6fa8e0;
  stroke: #f0e9d2;
  stroke-width: 0.6;
}
.tt-map-svg .tt-ddg-core {
  fill: #4a8bd6;
  stroke: #f0e9d2;
  stroke-width: 0.5;
}
.tt-map-svg .tt-lcs-core {
  fill: #62c9d6;
  stroke: #f0e9d2;
  stroke-width: 0.5;
}
.tt-map-svg .tt-ground-core {
  fill: #dc2626;
  stroke: #f0e9d2;
  stroke-width: 1;
}
.tt-map-svg .tt-target-stroke {
  stroke: #ff6464;
  stroke-width: 2;
  stroke-linecap: round;
}
.tt-map-svg .tt-target-ring {
  fill: none;
  stroke: #ff6464;
  stroke-width: 1;
  stroke-dasharray: 3 2;
  opacity: 0.7;
}


/* === Track the Troops · significance-based label visibility + hover tooltip ===
   Default view: only major assets (carriers, ARGs, bases, bombers, AD) show labels.
   Minor assets (DDG, LCS, amphib) reveal labels on hover.
   Tooltip overlay shows full status on any asset hover. */

/* Hide labels for low-significance assets by default — reveal on hover */
.tt-map-svg .tt-sig-low .tt-asset-label,
.tt-map-svg .tt-sig-low .tt-asset-sub {
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.tt-map-svg .tt-sig-low:hover .tt-asset-label,
.tt-map-svg .tt-sig-low:hover .tt-asset-sub,
.tt-map-svg .tt-sig-low.tt-hovered .tt-asset-label,
.tt-map-svg .tt-sig-low.tt-hovered .tt-asset-sub {
  opacity: 1;
}

/* Medium-significance: hide subtitle by default, show on hover */
.tt-map-svg .tt-sig-med .tt-asset-sub {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tt-map-svg .tt-sig-med:hover .tt-asset-sub,
.tt-map-svg .tt-sig-med.tt-hovered .tt-asset-sub {
  opacity: 1;
}

/* Hover boost across all assets — amber tint on label, slight scale on marker */
.tt-map-svg .tt-asset { cursor: pointer; }
.tt-map-svg .tt-asset:hover .tt-asset-label,
.tt-map-svg .tt-asset.tt-hovered .tt-asset-label {
  fill: #ffd960;
  font-weight: 700;
}
.tt-map-svg .tt-asset:hover circle.tt-csg-core,
.tt-map-svg .tt-asset:hover rect.tt-meu-core,
.tt-map-svg .tt-asset:hover polygon,
.tt-map-svg .tt-asset:hover circle.tt-base-core,
.tt-map-svg .tt-asset:hover circle.tt-lcs-core,
.tt-map-svg .tt-asset:hover rect.tt-amphib-core {
  filter: drop-shadow(0 0 6px rgba(255,217,96,0.85));
}

/* HTML tooltip overlay (positioned above SVG) */
.tt-map-stage { position: relative; }
.tt-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(8,10,14,0.96);
  border: 1px solid var(--amber);
  padding: 8px 12px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  color: var(--text);
  z-index: 100;
  max-width: 280px;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
  letter-spacing: 0.5px;
  line-height: 1.45;
}
.tt-tooltip[hidden] { display: none; }
.tt-tt-label {
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tt-tt-sub {
  color: var(--text-muted);
  margin-top: 3px;
  font-size: 10.5px;
}
.tt-tt-status {
  color: #888;
  margin-top: 5px;
  font-style: italic;
  font-size: 10px;
  border-top: 1px dotted #333;
  padding-top: 4px;
}


/* === Track the Troops · Word-comment-style callout leader === */
.tt-map-svg .tt-leader-line {
  stroke: #d4a017;
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
  fill: none;
  opacity: 0.85;
  pointer-events: none;
}
.tt-tooltip.tt-callout-right { text-align: left; }
.tt-tooltip.tt-callout-left  { text-align: left; }  /* keep text left-aligned regardless */


/* === Track the Troops · HTML legend overlay ===
   Moved out of SVG so it stays fixed at top-left during zoom/pan AND
   sits above all asset markers regardless of render order. */
.tt-legend-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 600;
  background: rgba(255,255,255,0.93);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 12px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10.5px;
  color: var(--text);
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  min-width: 196px;
}
.tt-legend-title {
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #e8e2d0;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
}
.tt-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tt-legend-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.tt-li-ic {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
}
.tt-li-ic svg {
  width: 16px;
  height: 16px;
  display: block;
}
@media (max-width: 700px) {
  .tt-legend-overlay {
    font-size: 9.5px;
    padding: 8px 10px;
  }
}


/* === DARK MODE: page-title + section-heading contrast fix ===
   The site has many hardcoded #121212 / #1a1611 colors on titles, names,
   headers, and table cells (a relic of the WSJ light theme). Force all of
   those to use --text in dark mode so they read against the dark background. */
html[data-theme="dark"] .lan-page-masthead .lpm-name,
html[data-theme="dark"] .lan-masthead .lm-name,
html[data-theme="dark"] .landing-card .lc-title,
html[data-theme="dark"] #theRunDown .rd-title,
html[data-theme="dark"] #runDownList .rd-head,
html[data-theme="dark"] #runDownList article.lead .rd-head,
html[data-theme="dark"] #runDownList article.lead .rd-factbox li b,
html[data-theme="dark"] #trackTroops .tt-title,
html[data-theme="dark"] #trackTroops td,
html[data-theme="dark"] #quantumSection .qm-title,
html[data-theme="dark"] #quantumSection .qm-panel-title,
html[data-theme="dark"] #raptureSection .rp-title,
html[data-theme="dark"] #raptureSection .rp-panel-title,
html[data-theme="dark"] #raptureSection .rp-denom-name,
html[data-theme="dark"] #aiSection .ai-panel-title,
html[data-theme="dark"] #aiSection td,
html[data-theme="dark"] #ttBeyondOil .tt-analyst-tag,
html[data-theme="dark"] .gameday-team-name,
html[data-theme="dark"] .leaderboard-title,
html[data-theme="dark"] .lb-name,
html[data-theme="dark"] .card-header,
html[data-theme="dark"] .section-tag {
  color: var(--text) !important;
}

/* Page H1-style mastheads need a touch of accent for hierarchy */
html[data-theme="dark"] .lan-page-masthead .lpm-name,
html[data-theme="dark"] .lan-masthead .lm-name {
  color: #f0e9d2 !important;  /* warm off-white, slightly brighter than --text for prominence */
}

/* Run Down kicker / dateline / source links — softer than headlines */
html[data-theme="dark"] .rd-kicker,
html[data-theme="dark"] .rd-dek,
html[data-theme="dark"] .rd-dateline,
html[data-theme="dark"] .rd-src a {
  color: var(--text-dim);
}

/* The header-title (FFN nameplate) — was using a gradient; force readable color in dark */
html[data-theme="dark"] .header-title {
  background: none !important;
  -webkit-text-fill-color: #f0e9d2 !important;
  color: #f0e9d2 !important;
}
html[data-theme="dark"] .header-subtitle {
  color: var(--text-dim) !important;
}

/* Section nav (HOME / IRAN WAR / LEBANON / TROOPS / ...) */
html[data-theme="dark"] .nav,
html[data-theme="dark"] nav {
  background: var(--surface);
  border-color: var(--border);
}
html[data-theme="dark"] .nav a,
html[data-theme="dark"] nav a {
  color: var(--text-dim);
}
html[data-theme="dark"] .nav a:hover,
html[data-theme="dark"] .nav a.active,
html[data-theme="dark"] nav a:hover,
html[data-theme="dark"] nav a.active {
  color: var(--amber);
}

/* The Run Down dateline / shorts reference */
html[data-theme="dark"] .rd-dek,
html[data-theme="dark"] #runDownList .rd-dek {
  color: var(--text-dim) !important;
}

/* Tt-dateline ("OSINT AS OF: ...") */
html[data-theme="dark"] .tt-dateline,
html[data-theme="dark"] .tt-subtitle {
  color: var(--text-dim);
}

/* Editor's note prose */
html[data-theme="dark"] .editor-note .en-text {
  color: #d8d2c0 !important;
}
html[data-theme="dark"] .editor-note .en-tag {
  color: var(--amber);
}


/* === DARK MODE: section-nav + masthead nameplate (specificity bumps) ===
   The site uses .section-nav (not .nav) for the section bar, with hardcoded
   #ffffff background and #1a1611 text color. Dark mode needs explicit
   overrides because those literals beat var-based defaults. */
html[data-theme="dark"] .section-nav {
  background: var(--surface) !important;
  border-top-color: var(--border) !important;
  border-bottom-color: var(--border) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
html[data-theme="dark"] .section-nav a {
  color: var(--text-dim) !important;
  border-right-color: var(--border) !important;
}
html[data-theme="dark"] .section-nav a:first-child {
  border-left-color: var(--border) !important;
}
html[data-theme="dark"] .section-nav a:hover,
html[data-theme="dark"] .section-nav a.active {
  color: var(--amber) !important;
  background: var(--surface-hover) !important;
}
html[data-theme="dark"] .section-nav a.active {
  color: #ff6464 !important;  /* matches the red accent of the active marker */
}
html[data-theme="dark"] .section-nav a.active::after {
  background: #ff6464;
}

/* Page mastheads — brighter gold for visibility (was #f0e9d2 but Playfair at large
   sizes washes against deep-dark backgrounds). Use --amber as the accent. */
html[data-theme="dark"] .lan-page-masthead .lpm-name,
html[data-theme="dark"] .lan-masthead .lm-name {
  color: var(--amber) !important;
  text-shadow: 0 0 18px rgba(212, 160, 23, 0.18);
}

/* FFN nameplate — nuke any inherited gradient/transparent text fill */
html[data-theme="dark"] .header-title,
html[data-theme="dark"] .header .header-title,
html[data-theme="dark"] .ffn-nameplate {
  background: none !important;
  background-image: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #f0e9d2 !important;
  color: #f0e9d2 !important;
  text-shadow: 0 0 1px rgba(255, 240, 200, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════
   DARK MODE: comprehensive panel + section backgrounds
   The site's light theme hardcodes #ffffff / #fafafa / #f5f5f5 on dozens
   of panels, cards, and section containers. Dark mode text vars switch to
   cream (#ebe7d8) but these backgrounds stay white → invisible text.
   This block catches every known offender site-wide.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Major section containers ── */
html[data-theme="dark"] #theRunDown,
html[data-theme="dark"] #trackTroops,
html[data-theme="dark"] #quantumSection,
html[data-theme="dark"] #raptureSection,
html[data-theme="dark"] #aiSection .ai-panel,
html[data-theme="dark"] .war-track,
html[data-theme="dark"] #ttBeyondOil,
html[data-theme="dark"] .rc-doctrine,
html[data-theme="dark"] .cl-panel,
html[data-theme="dark"] .ballroom-pivot,
html[data-theme="dark"] .vault-panel,
html[data-theme="dark"] .pvh-panel,
html[data-theme="dark"] .newsletter-signup,
html[data-theme="dark"] .landing-card {
  background: var(--surface) !important;
  border-color: var(--border);
}

/* ── Sub-panels inside sections ── */
html[data-theme="dark"] #quantumSection .qm-panel,
html[data-theme="dark"] #raptureSection .rp-panel,
html[data-theme="dark"] #trackTroops .tt-notes,
html[data-theme="dark"] .war-track-stat,
html[data-theme="dark"] #quantumSection .qm-stat,
html[data-theme="dark"] #quantumSection .qm-net-bar,
html[data-theme="dark"] #quantumSection .qm-qday,
html[data-theme="dark"] #aiSection .ai-capex-card {
  background: var(--bg) !important;
  border-color: var(--border) !important;
}

/* ── Table headers (all sections) ── */
html[data-theme="dark"] #trackTroops th,
html[data-theme="dark"] #quantumSection th,
html[data-theme="dark"] #raptureSection th,
html[data-theme="dark"] #aiSection th,
html[data-theme="dark"] .cl-table thead th {
  background: var(--surface) !important;
  color: var(--text-dim) !important;
  border-bottom-color: var(--border) !important;
}

/* ── Hardcoded #121212 text → readable in dark ── */
html[data-theme="dark"] #trackTroops,
html[data-theme="dark"] #quantumSection,
html[data-theme="dark"] #raptureSection,
html[data-theme="dark"] #trackTroops .tt-notes,
html[data-theme="dark"] #quantumSection .qm-title,
html[data-theme="dark"] #quantumSection .qm-panel-title,
html[data-theme="dark"] #raptureSection .rp-title,
html[data-theme="dark"] #raptureSection .rp-panel-title {
  color: var(--text) !important;
}

/* ── Temple Mount Primer (dark mode) ── */
html[data-theme="dark"] .tm-primer-tag {
  color: var(--text) !important;
  border-bottom-color: var(--border);
}
html[data-theme="dark"] .tm-text b {
  color: var(--text) !important;
}

/* ── Table row hovers ── */
html[data-theme="dark"] #trackTroops tr:hover td,
html[data-theme="dark"] #quantumSection tr:hover td,
html[data-theme="dark"] #raptureSection tr:hover td,
html[data-theme="dark"] #aiSection tr:hover td,
html[data-theme="dark"] #runDownList article.lead .rd-factbox {
  background: var(--surface-hover) !important;
}

/* ── Roy Cohn doctrine panel (politics.html) ── */
html[data-theme="dark"] .rc-doctrine-tag {
  color: var(--text) !important;
  border-bottom-color: var(--border);
}
html[data-theme="dark"] .rc-rules li b {
  color: var(--text) !important;
}
html[data-theme="dark"] .rc-aphorism,
html[data-theme="dark"] .cl-aphorism,
html[data-theme="dark"] .bp-quote,
html[data-theme="dark"] .pvh-aphorism {
  background: var(--bg) !important;
  border-top-color: var(--border-glow);
}

/* ── Claims Ledger (politics.html) ── */
html[data-theme="dark"] .cl-cell-days {
  color: var(--text) !important;
}
html[data-theme="dark"] .cl-table tbody tr.cl-featured td {
  background: rgba(212, 160, 23, 0.08) !important;
  border-bottom-color: var(--border) !important;
}
/* Status badges — dark-mode friendly backgrounds */
html[data-theme="dark"] .cl-no-receipts,
html[data-theme="dark"] .cl-disputed {
  background: rgba(212, 160, 23, 0.15) !important;
  border-color: rgba(212, 160, 23, 0.3) !important;
}
html[data-theme="dark"] .cl-denied {
  background: rgba(232, 94, 94, 0.15) !important;
  border-color: rgba(232, 94, 94, 0.3) !important;
}
html[data-theme="dark"] .cl-expired,
html[data-theme="dark"] .cl-unverified {
  background: rgba(128, 124, 112, 0.15) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .cl-policy,
html[data-theme="dark"] .cl-fulfilled {
  background: rgba(95, 191, 117, 0.15) !important;
  border-color: rgba(95, 191, 117, 0.3) !important;
}

/* ── Mobile card layouts (claims ledger + AI tables) ── */
@media (max-width: 700px) {
  html[data-theme="dark"] .cl-table tbody tr {
    background: var(--surface) !important;
    border-top-color: var(--border) !important;
  }
  html[data-theme="dark"] .cl-table tbody tr.cl-featured {
    background: rgba(212, 160, 23, 0.08) !important;
  }
}
@media (max-width: 600px) {
  html[data-theme="dark"] #aiSection tr {
    background: var(--surface) !important;
    border-top-color: var(--border) !important;
  }
}

/* ── Ballroom pivot panel (politics.html) ── */
html[data-theme="dark"] .bp-quote {
  background: var(--bg) !important;
  border-top-color: var(--amber) !important;
}

/* ── Truth Social feed (politics.html) ── */
html[data-theme="dark"] .truth-feed-panel {
  --ts-page: #15171c;
  --ts-card: #15171c;
  --ts-border: #2a2d33;
  --ts-text: #ebe7d8;
  --ts-muted: #807c70;
  --ts-link: #6b9fff;
}
html[data-theme="dark"] .truth-feed-header,
html[data-theme="dark"] .truth-feed-foot {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .truth-feed-title {
  color: var(--text-dim) !important;
}
html[data-theme="dark"] .truth-item:hover {
  background: var(--surface-hover) !important;
}

/* ── War rows / event timeline (politics.html) ── */
html[data-theme="dark"] .war-row.highlight-row {
  background: rgba(255, 184, 0, 0.06);
  border-color: rgba(255, 184, 0, 0.15);
}
html[data-theme="dark"] .war-row .war-name,
html[data-theme="dark"] .war-row .war-duration,
html[data-theme="dark"] .war-row .war-context {
  color: var(--text-dim);
}

/* ── Bingo cards (if on politics page) ── */
html[data-theme="dark"] .bingo-cell {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

/* ── Generic: any remaining #fafafa / #f5f5f5 hover/focus states ── */
html[data-theme="dark"] .er-event {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .er-event:hover {
  background: var(--surface-hover) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   NEWSLETTER SIGNUP — Buttondown integration
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Primary form (below From the Editor) ── */
.newsletter-signup {
  margin: 0 0 20px 0;
  padding: 20px 24px;
  background: #faf9f7;
  border: 1px solid #d4d4d4;
  border-top: 3px solid #a42020;
  border-radius: 2px;
  text-align: center;
}
.newsletter-signup .ns-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #a42020;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.newsletter-signup .ns-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #6b6b6b;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-style: italic;
  margin-bottom: 14px;
}
.newsletter-signup .ns-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-signup .ns-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: #121212;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-signup .ns-form input[type="email"]::placeholder {
  color: #6b6b6b;
  opacity: 0.7;
}
.newsletter-signup .ns-form input[type="email"]:focus {
  border-color: #a42020;
}
.newsletter-signup .ns-form button {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  background: #a42020;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.newsletter-signup .ns-form button:hover {
  opacity: 0.85;
}
.newsletter-signup .ns-fine {
  margin-top: 10px;
  font-size: 11px;
  color: #6b6b6b;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
}
.newsletter-signup .ns-fine a {
  color: #6b6b6b;
  text-decoration: none;
  border-bottom: 1px dotted #d4d4d4;
}
.newsletter-signup .ns-fine a:hover {
  color: #a42020;
  border-bottom-color: #a42020;
}

/* ── Footer form (compact) ── */
.newsletter-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #d4d4d4;
  text-align: center;
}
.newsletter-footer .nf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #6b6b6b;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}
.newsletter-footer .nf-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: 380px;
  margin: 0 auto;
}
.newsletter-footer .nf-form input[type="email"] {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: #121212;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-footer .nf-form input[type="email"]::placeholder {
  color: #6b6b6b;
  opacity: 0.7;
}
.newsletter-footer .nf-form input[type="email"]:focus {
  border-color: #a42020;
}
.newsletter-footer .nf-form button {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  background: #a42020;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.newsletter-footer .nf-form button:hover {
  opacity: 0.85;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .newsletter-signup { padding: 16px; }
  .newsletter-signup .ns-form { flex-direction: column; }
  .newsletter-signup .ns-form input[type="email"],
  .newsletter-signup .ns-form button { width: 100%; }
  .newsletter-footer .nf-form { flex-direction: column; }
  .newsletter-footer .nf-form input[type="email"],
  .newsletter-footer .nf-form button { width: 100%; }
}

/* ── Dark-mode overrides ── */
html[data-theme="dark"] .newsletter-signup {
  background: var(--surface);
  border-color: var(--border);
  border-top-color: var(--red);
}
html[data-theme="dark"] .newsletter-signup .ns-tag {
  color: var(--red);
}
html[data-theme="dark"] .newsletter-signup .ns-tagline {
  color: var(--text-muted);
}
html[data-theme="dark"] .newsletter-signup .ns-form input[type="email"] {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}
html[data-theme="dark"] .newsletter-signup .ns-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
html[data-theme="dark"] .newsletter-signup .ns-form button {
  background: var(--red);
}
html[data-theme="dark"] .newsletter-signup .ns-fine {
  color: var(--text-muted);
}
html[data-theme="dark"] .newsletter-signup .ns-fine a {
  color: var(--text-muted);
  border-bottom-color: var(--border);
}
html[data-theme="dark"] .newsletter-footer {
  border-top-color: var(--border);
}
html[data-theme="dark"] .newsletter-footer .nf-label {
  color: var(--text-muted);
}
html[data-theme="dark"] .newsletter-footer .nf-form input[type="email"] {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}
html[data-theme="dark"] .newsletter-footer .nf-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
html[data-theme="dark"] .newsletter-footer .nf-form button {
  background: var(--red);
}



/* === track-the-troops Leaflet map (Google-Earth-style basemap) === */
.tt-leaflet-map { height: 540px; width: 100%; border-radius: 10px; z-index: 1; }
@media (max-width: 700px){ .tt-leaflet-map { height: 380px; } }
.tt-map-stage .tt-legend-title { color: #1a1611; }
.tt-map-stage .tt-legend-list li { color: #4d4841; }
.tt-lf-fail { padding: 48px 16px; text-align:center; color: var(--text-muted); font-size: 13px; }
.tt-lf-pop b { font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif); font-size: 14px; color: var(--text); }
.tt-lf-sub { font-size: 11px; color: var(--text-muted); font-family:'JetBrains Mono',monospace; margin-top:2px; }
.tt-lf-status { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--red); margin-top:4px; }
.leaflet-tooltip.tt-lf-label { background: rgba(255,255,255,0.92); border:1px solid var(--border);
  box-shadow:0 1px 2px rgba(0,0,0,0.12); border-radius:4px; color: var(--text);
  font:700 10px 'JetBrains Mono',monospace; padding:2px 6px; }
.leaflet-tooltip.tt-lf-label.tgt { color: var(--red); border-color: rgba(164,32,32,0.35); }
.leaflet-tooltip.tt-lf-label::before { display:none; }


/* ============================================================================
   TYPE SCALE — Four Fingers News (added in the readability pass)
   Newsroom convention: a clear ratio between display, headings, and body so
   nothing reads as a tiny wall. Body copy floor is 13px; labels/eyebrows/meta
   may stay smaller (they're scannable chrome, not reading text).

     Nameplate / hero ....... 30–42px  (serif display)
     Section title .......... 18–24px  (.qm-panel-title, .rp-panel-title, h2)
     Card / panel head ...... 15–16px
     Body copy (READ) ....... 13–14px  ← minimum for sentences
     Bullets / feed prose ... 13px
     Labels / eyebrows ...... 9–11px   (uppercase mono, letter-spaced)
     Meta / timestamps ...... 9–11px

   Why: at 13px body / ~18px head the ratio is ~1.4 — comfortable and standard.
   Sub-13px reading prose was the "too small" problem; this floors it.
   ============================================================================ */
.qm-wire-desc, .qm-net-desc, .rp-cat-why, .rp-news-desc,
.rp-panel-sub, .qm-wire-item {
  font-size: 13px;
  line-height: 1.55;
}
.qm-wire-title, .rp-news-title, .rp-cat-name { font-size: 13.5px; }


/* === MapLibre 3D terrain map (Track the Troops) === */
#ttTerrainMap { height: 540px; width: 100%; border-radius: 2px; overflow: hidden; }
@media (max-width: 700px){ #ttTerrainMap { height: 400px; } }
#ttTerrainMap canvas { outline: none; }
.maplibregl-popup.tt-mlpop .maplibregl-popup-content { font-family:'DM Sans',-apple-system,sans-serif; border-radius:8px; padding:8px 11px; box-shadow:0 2px 10px rgba(0,0,0,0.18); }
.tt-mlpop .maplibregl-popup-content b { font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif); font-size:14px; color:#1a1611; }
.tt-mlpop .tt-lf-sub { font-size:11px; color:var(--text-muted); font-family:'JetBrains Mono',monospace; margin-top:2px; }
.tt-mlpop .tt-lf-status { font-size:11px; font-weight:700; letter-spacing:1px; color:var(--red); margin-top:4px; }

/* === Track the Troops · Base Network focus === */
.tt-focusbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.tt-view-switch,
.tt-base-filters { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tt-map-control,
.tt-base-filter {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text-muted);
  min-height: 32px;
  padding: 7px 10px;
  font: 800 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 1.2px;
  cursor: pointer;
}
.tt-map-control:hover,
.tt-base-filter:hover { color: var(--text); border-color: var(--text-muted); background: var(--surface-hover); }
.tt-map-control:focus-visible,
.tt-base-filter:focus-visible,
.tt-base-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.tt-map-control.is-active { color: #fff; border-color: var(--amber); background: var(--amber); }
.tt-base-filter.is-active { color: var(--amber); border-color: var(--amber); background: rgba(184,134,11,.08); }
.tt-filter-label { color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: 1.6px; margin-right: 2px; }
.tt-map-mode-status {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1px;
  text-align: right;
  max-width: 250px;
}
.tt-map-container:not(.tt-base-mode) .tt-base-filters,
.tt-map-container:not(.tt-base-mode) #ttBaseDetail,
.tt-map-container:not(.tt-base-mode) #ttBaseRosterWrap { display: none; }
.tt-base-mode #ttLegend { display: none; }
.tt-map-container:not(.tt-base-mode) #ttBaseLegend { display: none; }
.tt-base-key {
  width: 11px;
  height: 11px;
  display: inline-block;
  flex: 0 0 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.22);
}
.tt-base-key-air { background: #c58920; }
.tt-base-key-naval { background: #22577a; }
.tt-base-key-ground { background: #b3271e; }
.tt-base-key-transitioned { background: #777269; opacity: .58; }
.tt-legend-note {
  max-width: 230px;
  padding-top: 7px;
  margin-top: 7px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font: 500 13px/1.4 'DM Sans', -apple-system, sans-serif;
  letter-spacing: 0;
}
.tt-base-detail {
  display: grid;
  grid-template-columns: 155px minmax(0,1fr);
  gap: 18px;
  padding: 14px 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  font-family: 'DM Sans', -apple-system, sans-serif;
}
.tt-base-detail-kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font: 800 9px/1.35 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tt-base-status { padding: 4px 6px; border-radius: 2px; }
.tt-base-status.is-current { color: #3f6f3f; background: rgba(63,111,63,.08); border: 1px solid rgba(63,111,63,.45); }
.tt-base-status.is-transitioned { color: var(--text-muted); background: var(--surface-hover); border: 1px solid var(--border); }
.tt-base-detail-main { display: grid; grid-template-columns: minmax(190px,.9fr) minmax(220px,1.4fr) auto; gap: 18px; align-items: center; }
.tt-base-detail h3 { margin: 0 0 3px; color: var(--text); font-family: var(--ffn-display); font-size: 20px; font-weight: 700; line-height: 1.1; }
.tt-base-unit { color: var(--text-muted); font-size: 11px; line-height: 1.4; }
.tt-base-detail p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.5; }
.tt-base-detail a {
  white-space: nowrap;
  color: var(--amber);
  border-bottom: 1px solid var(--amber);
  text-decoration: none;
  font: 800 9px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 1px;
}
.tt-base-roster-wrap { margin-top: 8px; padding: 10px; border: 1px solid var(--border); background: var(--surface); }
.tt-base-roster-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--text-muted);
  font: 800 8px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 1.6px;
}
.tt-base-roster { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.tt-base-card {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.tt-base-card:hover { border-color: var(--text-muted); background: var(--surface-hover); }
.tt-base-card.is-selected { border-color: var(--amber); background: rgba(184,134,11,.08); box-shadow: inset 3px 0 var(--amber); }
.tt-base-card.is-transitioned { opacity: .62; }
.tt-base-card-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--base-color); box-shadow: 0 0 0 2px rgba(0,0,0,.1); }
.tt-base-card span:last-child { min-width: 0; }
.tt-base-card b,
.tt-base-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-base-card b { color: inherit; font: 800 9px/1.2 'JetBrains Mono', monospace; letter-spacing: .6px; }
.tt-base-card small { margin-top: 3px; color: var(--text-muted); font: 500 8px/1.2 'JetBrains Mono', monospace; text-transform: uppercase; }
.tt-base-popup-copy { max-width: 260px; margin-top: 7px; color: #4d4841; font-size: 13px; line-height: 1.45; }

@media (max-width: 900px) {
  .tt-focusbar { grid-template-columns: 1fr auto; }
  .tt-base-filters { grid-column: 1 / -1; grid-row: 2; }
  .tt-base-detail-main { grid-template-columns: 1fr 1.2fr; }
  .tt-base-detail-main a { grid-column: 1 / -1; justify-self: start; }
  .tt-base-roster { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .tt-map-container { padding: 10px; }
  .tt-focusbar { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .tt-view-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .tt-map-control { width: 100%; }
  .tt-map-mode-status { max-width: none; text-align: left; }
  .tt-base-legend { max-width: 205px; min-width: 0; }
  .tt-base-legend .tt-legend-note { display: none; }
  .tt-base-detail { grid-template-columns: 1fr; gap: 10px; }
  .tt-base-detail-kicker { flex-direction: row; align-items: center; }
  .tt-base-detail-main { grid-template-columns: 1fr; gap: 10px; }
  .tt-base-detail-main a { grid-column: auto; }
  .tt-base-roster { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 430px) {
  .tt-base-roster { grid-template-columns: 1fr; }
  .tt-base-filter { flex: 1; padding-inline: 6px; }
}

/* ── Mobile layout fixes (belt-and-suspenders, placed last to win cascade) ── */
@media (max-width:600px){
  #runDownList{display:block !important;}
  #runDownList article{display:block;border-right:none !important;border-bottom:1px solid var(--border);padding:14px 4px;}
  #runDownList article.lead{display:block;}
  #runDownList article.lead .rd-head{font-size:18px;}
  #runDownList article.lead .rd-dek{font-size:13px;line-height:1.5;}
  #theRunDown{padding:12px 14px;}
  .editor-note{padding:10px 14px 10px 16px;}
  .landing-grid{grid-template-columns:1fr !important;}
}

/* === Redaction Bars brand system ===
   Approved light-first treatment: white field, black editorial rules, muted
   whiskey accents, and red section labels. Redaction bars are structural
   ornaments rather than dark content panels. */
body.redaction-theme {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f6f1e9;
  --border: #c9c2b8;
  --border-glow: #181512;
  --text: #171411;
  --text-dim: #4a4239;
  --text-muted: #75695d;
  --accent: #8b4513;
  --red: #9f2925;
  --amber: #9b5b1a;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(23, 20, 17, .009) 0, rgba(23, 20, 17, .009) 1px, transparent 1px, transparent 4px);
  color: var(--text);
}

body.redaction-theme .bg-grid { background: transparent; }

body.redaction-theme .main {
  max-width: 1240px;
  padding: 12px 28px 64px;
}

body.redaction-theme .chyron {
  background: #eef2f2;
  border-top: 1px solid #d2dadc;
  border-bottom: 2px solid var(--brand);
  color: #26383f;
  box-shadow: none;
  letter-spacing: .2px;
}

body.redaction-theme .chyron-label {
  background: var(--accent-glow);
  border-color: rgba(138, 84, 56, .24);
  color: var(--accent);
}

body.redaction-theme .chyron-sep { color: var(--accent); }

body.redaction-theme .header {
  position: relative;
  min-height: 132px;
  margin: 0 0 12px;
  padding: 18px 0 16px;
  border-top: 2px solid var(--text);
  border-bottom: 6px solid var(--text);
  background: transparent !important;
  overflow: hidden;
}

body.redaction-theme .header-left,
body.redaction-theme .header-right {
  position: relative;
  z-index: 1;
}

body.redaction-theme .header-left { gap: 20px; }

body.redaction-theme .header-logo {
  flex: 0 0 auto;
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
  border: 1px solid var(--text);
  border-radius: 0 !important;
  box-shadow: 5px 5px 0 rgba(139, 69, 19, .2);
  filter: none !important;
}

body.redaction-theme .header-left > div {
  padding: 4px 14px 7px 0;
  background: transparent;
}

body.redaction-theme .header-title {
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  background: none !important;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif) !important;
  font-size: clamp(36px, 3.6vw, 48px) !important;
  font-weight: 900;
  line-height: .96;
  letter-spacing: -0.8px !important;
  white-space: nowrap;
  text-transform: uppercase;
}

body.redaction-theme .header-subtitle {
  min-height: 24px;
  margin-top: 10px;
  color: var(--red) !important;
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 15px !important;
  font-weight: 500;
  font-style: italic;
  letter-spacing: .8px;
  opacity: 1 !important;
  text-transform: none;
}

body.redaction-theme .header-right {
  align-self: flex-end;
  gap: 12px;
  padding: 8px 10px;
  border-left: 8px solid var(--text);
  background: transparent;
}

body.redaction-theme .live-indicator { color: var(--red); }

body.redaction-theme .live-dot {
  background: var(--red);
  box-shadow: none;
}

body.redaction-theme .section-nav {
  margin: 0 0 24px;
  background: var(--surface);
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  box-shadow: none;
}

body.redaction-theme .section-nav a {
  padding: 11px 14px 9px;
  color: var(--text);
  border-right-color: #c8bbaa;
  font-family: var(--ffn-copy, 'DM Sans', sans-serif);
  font-weight: 600;
  font-variant: normal;
  letter-spacing: 1.4px;
}

body.redaction-theme .section-nav a:hover,
body.redaction-theme .section-nav a.active {
  color: var(--red);
  background: #f5f5f5;
}

body.redaction-theme .section-nav a.active {
  font-weight: 600;
  border-bottom: 2px solid var(--red);
}

body.redaction-theme .section-nav a.active::after {
  height: 2px;
  background: var(--red);
}

body.redaction-theme .editor-note {
  margin-bottom: 20px;
  padding: 18px 26px !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid var(--text) !important;
  border-left: 9px solid var(--text) !important;
  border-radius: 0 !important;
  box-shadow: 7px 7px 0 rgba(139, 69, 19, .1);
}

body.redaction-theme .editor-note .en-tag,
body.redaction-theme .editor-note .en-text .en-emph { color: var(--red) !important; }

body.redaction-theme .editor-note .en-text { color: var(--text) !important; }

body.redaction-theme .newsletter-signup {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--text);
  border-top: 7px solid var(--text);
  border-radius: 0;
  box-shadow: none;
}

body.redaction-theme .newsletter-signup .ns-tag,
body.redaction-theme .newsletter-signup .ns-form button {
  color: #f8f0e4;
  background: var(--text);
}

body.redaction-theme #theRunDown {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--text);
  border-top: 9px solid var(--text);
  border-radius: 0;
  box-shadow: none;
}

body.redaction-theme #theRunDown .rd-masthead {
  position: relative;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--text);
}

body.redaction-theme #theRunDown .rd-title {
  color: var(--text);
  font-size: 30px;
  letter-spacing: -1px;
}

body.redaction-theme #runDownList article { border-color: #c8bbaa; }

body.redaction-theme #runDownList article.lead {
  border-left: 8px solid var(--text);
  padding-left: 18px;
}

body.redaction-theme .rd-kicker,
body.redaction-theme .rd-kicker.urgent {
  color: var(--red);
  background: transparent;
}

body.redaction-theme .rd-kicker.urgent { padding: 0; }

body.redaction-theme .rd-head,
body.redaction-theme .landing-card .lc-title { color: var(--text); }

body.redaction-theme .rd-src a,
body.redaction-theme .landing-card .lc-more { color: var(--accent); }

body.redaction-theme .rd-factbox {
  background: #efe5d6;
  border-color: var(--text);
  border-radius: 0;
}

body.redaction-theme .inside-paper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 0;
  padding: 8px 4px 4px;
}

body.redaction-theme .inside-paper-label {
  color: var(--brand);
  font-family: var(--ffn-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
  white-space: nowrap;
}

body.redaction-theme .inside-paper-updated {
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 1px;
  line-height: 1.2;
  opacity: .82;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

body.redaction-theme .inside-paper-head + .landing-grid {
  margin-top: 8px;
}

@media (max-width: 360px) {
  body.redaction-theme .inside-paper-head {
    flex-wrap: wrap;
    gap: 3px 10px;
  }

  body.redaction-theme .inside-paper-updated {
    width: 100%;
    text-align: left;
  }
}

body.redaction-theme .landing-grid {
  gap: 18px;
  margin-top: 12px;
}

body.redaction-theme .landing-card {
  position: relative;
  overflow: hidden;
  padding: 23px 20px 18px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--text);
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
}

body.redaction-theme .landing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: var(--text);
}

body.redaction-theme .landing-card::after {
  content: "";
  position: absolute;
  top: 21px;
  right: 16px;
  width: 70px;
  height: 31px;
  opacity: .09;
  background:
    linear-gradient(var(--text) 0 0) 0 0 / 100% 5px no-repeat,
    linear-gradient(var(--text) 0 0) 0 8px / 82% 5px no-repeat,
    linear-gradient(var(--text) 0 0) 0 16px / 65% 5px no-repeat,
    linear-gradient(var(--text) 0 0) 0 24px / 48% 5px no-repeat;
}

body.redaction-theme .landing-card:nth-child(3n + 2)::before { background: var(--red); }

body.redaction-theme .landing-card:hover {
  transform: translate(-3px, -3px);
  background: #f9f6f1;
  border-color: var(--text);
  box-shadow: 7px 7px 0 rgba(139, 69, 19, .22);
}

body.redaction-theme .landing-card .lc-tag {
  max-width: none;
  color: var(--red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 6px;
}

body.redaction-theme .landing-card .lc-title {
  font-size: 21px;
  line-height: 1.12;
}

body.redaction-theme .landing-card .lc-dek { color: var(--text-dim); }

body.redaction-theme .us-debt-card {
  background: #ffffff;
  border: 1px solid var(--text);
  border-top: 9px solid var(--text);
  border-radius: 0;
  box-shadow: none;
}

body.redaction-theme .footer {
  margin-top: 30px;
  padding-top: 22px;
  color: var(--text-dim);
  background: transparent;
  border-top: 8px solid var(--text);
  border-bottom: 2px solid var(--text);
}

body.redaction-theme .footer-text .highlight,
body.redaction-theme .nf-label { color: var(--red); }

/* Footer meta lines: newsprint-small, not body-size (Aug 6 2026) */
.footer-text { font-size: 12px; }
.last-refresh { font-size: 11px; }

body.redaction-theme button,
body.redaction-theme input { border-radius: 0 !important; }

/* Preserve the reader-controlled dark option while keeping white as default. */
html[data-theme="dark"] body.redaction-theme {
  --bg: #0e0f12;
  --surface: #15171c;
  --surface-hover: #1d1f25;
  --border: #3b3d43;
  --border-glow: #686b72;
  --text: #eee9df;
  --text-dim: #c9c2b8;
  --text-muted: #938b80;
  --accent: #d49a56;
  --red: #ef746c;
  --amber: #d9a35e;
  background-color: var(--bg);
  color: var(--text);
}

html[data-theme="dark"] body.redaction-theme .section-nav,
html[data-theme="dark"] body.redaction-theme .landing-card,
html[data-theme="dark"] body.redaction-theme .us-debt-card,
html[data-theme="dark"] body.redaction-theme #theRunDown {
  background: var(--surface);
  border-color: var(--border-glow);
}

html[data-theme="dark"] body.redaction-theme .section-nav a {
  background: var(--surface);
  border-color: var(--border);
}

html[data-theme="dark"] body.redaction-theme .section-nav a:hover,
html[data-theme="dark"] body.redaction-theme .section-nav a.active,
html[data-theme="dark"] body.redaction-theme .landing-card:hover {
  background: var(--surface-hover);
}

html[data-theme="dark"] body.redaction-theme .editor-note,
html[data-theme="dark"] body.redaction-theme .newsletter-signup {
  background: var(--surface) !important;
}

html[data-theme="dark"] body.redaction-theme .rd-factbox { background: var(--surface-hover); }

@media (max-width: 900px) {
  body.redaction-theme .header-title {
    font-size: 36px !important;
    white-space: normal;
  }

  body.redaction-theme .header-logo {
    width: 84px !important;
    height: 84px !important;
  }
}

@media (max-width: 680px) {
  body.redaction-theme .main { padding: 8px 14px 44px; }

  body.redaction-theme .header {
    min-height: 116px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    text-align: left;
    padding: 12px 0 14px;
  }

  body.redaction-theme .header-left {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  body.redaction-theme .header-left > div {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
  }

  body.redaction-theme .header-logo {
    width: 68px !important;
    height: 68px !important;
    box-shadow: 3px 3px 0 rgba(139, 69, 19, .18);
  }

  body.redaction-theme .header-title {
    max-width: 260px;
    font-size: 29px !important;
    line-height: .94;
    letter-spacing: -1px !important;
  }

  body.redaction-theme .header-subtitle {
    margin-top: 7px;
    font-size: 13px !important;
  }

  body.redaction-theme .header-right { display: none; }

  body.redaction-theme .editor-note { padding: 15px 18px 15px 22px !important; }

  body.redaction-theme #theRunDown { padding: 16px 15px; }

  body.redaction-theme .landing-grid { grid-template-columns: 1fr !important; }
}

/* === Redaction Bars typography & hierarchy consistency pass ===
   One publication-wide visual grammar:
   - Newsreader for display and panel headings
   - DM Sans for sentences and reading copy
   - JetBrains Mono for labels, dates, and data chrome only
   The overrides live last so older section-specific modules inherit the same
   hierarchy without disturbing their data hooks or refresh automation. */
body.redaction-theme {
  --ffn-display: 'Newsreader', 'Times New Roman', serif;
  --ffn-copy: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ffn-label: 'JetBrains Mono', 'Courier New', monospace;
  --ffn-panel-title-size: clamp(18px, 1.7vw, 21px);
}

/* === publication_typography_system ===
   Newsreader carries display/editorial voice, DM Sans handles navigation and
   reading copy, and JetBrains Mono is reserved for labels and data. */
body.redaction-theme :is(
  .header-title,
  .header-subtitle,
  .lan-page-masthead,
  .lan-page-masthead .lpm-name,
  .lan-page-masthead .lpm-kicker,
  .editor-note,
  .editor-note .en-text,
  .newsletter-signup .ns-tagline,
  #theRunDown .rd-title,
  #theRunDown .rd-sub,
  #runDownList .rd-head,
  #runDownList article.lead .rd-pullquote,
  .landing-card .lc-title,
  .dude-headline,
  .pour-issue-title,
  .watch-entry-title,
  .maplibregl-popup-content h3
) {
  font-family: var(--ffn-display) !important;
  font-optical-sizing: auto;
}

body.redaction-theme :is(
  .header-title,
  .lan-page-masthead .lpm-name,
  #theRunDown .rd-title,
  #runDownList .rd-head,
  .landing-card .lc-title,
  .dude-headline,
  .pour-issue-title,
  .watch-entry-title,
  .maplibregl-popup-content h3
) {
  font-weight: 500 !important;
}

body.redaction-theme .section-nav,
body.redaction-theme .section-nav a {
  font-family: var(--ffn-copy) !important;
}

body.redaction-theme .section-nav a {
  font-weight: 600 !important;
  font-variant: normal;
}

@media (min-width: 681px) {
  body.redaction-theme .header-title {
    transform: translateY(6px);
  }
}

/* Keep the signed-column voice without italicizing sustained reading copy. */
body.redaction-theme .editor-note .en-text {
  font-family: var(--ffn-display);
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 300;
  font-style: normal;
}

body.redaction-theme .editor-note .en-sig { font-style: normal; }

/* Landing cards use one structural rule. Red means the lead story, not an
   arbitrary grid position. Equal implicit rows keep the full index uniform;
   the single-column mobile layout returns to natural heights. */
body.redaction-theme .landing-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

body.redaction-theme .landing-card {
  display: flex;
  flex-direction: column;
  min-height: 244px;
}

body.redaction-theme .landing-card:nth-child(3n + 2)::before {
  background: var(--text);
}

body.redaction-theme .landing-card:first-child::before {
  background: var(--red);
}

body.redaction-theme .landing-card .lc-dek {
  font-family: var(--ffn-copy);
  font-size: 13.5px !important;
  line-height: 1.5;
  -webkit-line-clamp: 4;
}

body.redaction-theme .landing-card .lc-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.redaction-theme .landing-card .lc-more {
  margin-top: auto;
  padding-top: 10px;
}

@media (max-width: 680px) {
  body.redaction-theme .landing-grid {
    align-items: start;
    grid-auto-rows: auto;
  }

  body.redaction-theme .landing-card {
    min-height: 0;
  }
}

/* Older dashboards become members of the same redaction/newsprint system. */
body.redaction-theme :is(
  #trackTroops,
  #quantumSection,
  #raptureSection,
  #aiSection .ai-panel,
  .objectives-panel,
  .eastroom-panel
) {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  border-top: 4px solid var(--text) !important;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--ffn-copy);
}

body.redaction-theme .objectives-panel::before,
body.redaction-theme .eastroom-panel::before {
  display: none;
}

body.redaction-theme :is(
  #quantumSection .qm-panel,
  #raptureSection .rp-panel
) {
  padding: 18px 20px;
  margin-bottom: 18px;
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  border-top: 4px solid var(--text);
  border-radius: 0;
}

/* The page masthead already names these sections. Their first dashboard no
   longer repeats the same identity in a second, smaller title treatment. */
body.redaction-theme :is(
  #trackTroops .tt-title,
  #quantumSection .qm-title,
  #raptureSection .rp-title,
  #lebanonTrack .lt-title,
  #ukraineTrack .lt-title,
  #gazaTrack .lt-title
) {
  display: none;
}

body.redaction-theme :is(
  #trackTroops .tt-header,
  #quantumSection .qm-header,
  #raptureSection .rp-header,
  #lebanonTrack .lt-header,
  #ukraineTrack .lt-header,
  #gazaTrack .lt-header
) {
  align-items: flex-start;
  gap: 10px 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

body.redaction-theme :is(
  #trackTroops .tt-subtitle,
  #quantumSection .qm-subtitle,
  #raptureSection .rp-subtitle,
  #lebanonTrack .lt-subtitle,
  #ukraineTrack .lt-subtitle,
  #gazaTrack .lt-subtitle
) {
  max-width: 820px;
  margin: 0;
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
  letter-spacing: 0;
}

/* Panel headings share one size, face, case, and rhythm across beats. */
body.redaction-theme :is(
  #quantumSection .qm-panel-title,
  #raptureSection .rp-panel-title,
  #aiSection .ai-panel-title,
  .objectives-title,
  .eastroom-title
) {
  margin: 0 0 7px;
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: var(--ffn-panel-title-size);
  font-weight: 900;
  font-variant: normal;
  line-height: 1.15;
  letter-spacing: -.2px;
  text-transform: none;
}

body.redaction-theme #aiSection .ai-panel-kicker,
body.redaction-theme :is(
  #quantumSection .qm-panel-sub,
  #raptureSection .rp-panel-sub
) {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.redaction-theme #aiSection .ai-panel-kicker {
  margin-bottom: 5px;
  color: var(--red);
}

/* Sentences are reading copy, even when they live inside a tracker or table. */
body.redaction-theme :is(
  #trackTroops td,
  #quantumSection td,
  #raptureSection td,
  #aiSection td
) {
  color: var(--text);
  font-family: var(--ffn-copy);
  font-size: 13px;
  line-height: 1.5;
}

body.redaction-theme :is(
  #quantumSection .qm-editorial,
  #raptureSection .rp-editorial,
  #raptureSection .rp-denom,
  #raptureSection .rp-prophecy-map,
  #raptureSection .rp-index-sub,
  #aiSection .ai-feed li,
  .objectives-sub,
  .eastroom-sub,
  .obj-quote,
  .objectives-footer,
  .war-funny,
  .world-card-detail,
  .truth-feed-aside,
  .section-quip
) {
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.redaction-theme :is(
  #quantumSection .qm-stat,
  #raptureSection .rp-stat,
  #aiSection .ai-capex-card
) {
  background: var(--surface-hover);
  border-color: var(--border);
  border-top-color: var(--text);
}

body.redaction-theme :is(
  #quantumSection th,
  #raptureSection th,
  #aiSection th,
  #trackTroops th
) {
  color: var(--text);
  background: var(--surface);
  border-bottom-color: var(--text);
  font-family: var(--ffn-label);
}

body.redaction-theme #trackTroops :is(.tt-obs, .tt-src),
body.redaction-theme #aiSection .ai-capex-sub,
body.redaction-theme #quantumSection .qm-stat-sub {
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 680px) {
  body.redaction-theme .lan-page-masthead .lpm-name {
    font-size: 30px;
    line-height: 1.02;
  }

  body.redaction-theme .editor-note .en-text {
    font-size: 15px;
    line-height: 1.65;
  }

  body.redaction-theme :is(
    #trackTroops,
    #quantumSection,
    #raptureSection,
    #aiSection .ai-panel,
    .objectives-panel,
    .eastroom-panel
  ) {
    padding: 14px 15px;
  }

  body.redaction-theme :is(
    #quantumSection .qm-panel,
    #raptureSection .rp-panel
  ) {
    padding: 15px;
  }

  body.redaction-theme .objectives-by-person {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] body.redaction-theme #quantumSection .qm-stat-val {
  color: #8fb4d9;
}

html[data-theme="dark"] body.redaction-theme #aiSection .ai-capex-val {
  color: var(--text);
}

/* === ai weekly hierarchy ===
   One concise read, four numbers, five moves. The weekly refresh owns the
   content hooks; this layer keeps the page aligned with the other beats. */
body.redaction-theme #aiSection {
  font-family: var(--ffn-copy);
}

body.redaction-theme #aiSection .ai-brief {
  margin-bottom: 14px;
  padding: 19px 20px 18px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--text);
}

body.redaction-theme #aiSection .ai-brief-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 9px;
}

body.redaction-theme #aiSection .ai-brief-title {
  margin: 0;
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.45px;
}

body.redaction-theme #aiSection .ai-dateline {
  flex: 0 0 auto;
  margin: 3px 0 0;
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 1.4px;
  text-align: right;
  text-transform: uppercase;
}

body.redaction-theme #aiSection .ai-brief-lead {
  max-width: 980px;
  margin: 0;
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: 15.5px;
  line-height: 1.68;
}

body.redaction-theme #aiSection .ai-capex-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

body.redaction-theme #aiSection .ai-capex-card {
  min-width: 0;
  padding: 13px 14px 12px;
  text-align: left;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
}

body.redaction-theme #aiSection .ai-capex-val {
  color: var(--text);
  font-family: var(--ffn-label);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.6px;
}

body.redaction-theme #aiSection .ai-capex-lbl {
  margin-top: 7px;
  color: var(--text);
  font-family: var(--ffn-label);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 1.2px;
}

body.redaction-theme #aiSection .ai-capex-sub {
  margin-top: 4px;
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 12.5px;
  line-height: 1.45;
}

body.redaction-theme #aiSection .ai-moves {
  overflow: visible;
  padding: 18px 20px 12px;
}

body.redaction-theme #aiSection .ai-panel-dek {
  margin: 0 0 3px;
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 13.5px;
  line-height: 1.55;
}

body.redaction-theme #aiSection .ai-feed {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ai-move;
}

body.redaction-theme #aiSection .ai-feed li {
  position: relative;
  min-height: 56px;
  margin: 0;
  padding: 17px 0 17px 58px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  counter-increment: ai-move;
}

body.redaction-theme #aiSection .ai-feed li::before {
  content: counter(ai-move, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 0;
  width: 38px;
  padding-top: 5px;
  color: var(--red);
  border-top: 3px solid var(--red);
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
}

body.redaction-theme #aiSection .ai-feed li:last-child {
  border-bottom: 0;
}

body.redaction-theme #aiSection .ai-story-tag {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-family: var(--ffn-label);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.redaction-theme #aiSection .ai-feed li > b {
  display: block;
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.28;
}

body.redaction-theme #aiSection .ai-feed li > p {
  margin: 6px 0 0;
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 13.5px;
  line-height: 1.62;
}

body.redaction-theme #aiSection .ai-src {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 4px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--border);
  font-family: var(--ffn-label);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .4px;
}

body.redaction-theme #aiSection .ai-src-label {
  color: var(--text);
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

body.redaction-theme #aiSection .ai-src a {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
}

body.redaction-theme #aiSection .ai-src a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

@media (max-width: 820px) {
  body.redaction-theme #aiSection .ai-capex-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.redaction-theme #aiSection .ai-brief,
  body.redaction-theme #aiSection .ai-moves {
    padding: 15px;
  }

  body.redaction-theme #aiSection .ai-brief-head {
    display: block;
  }

  body.redaction-theme #aiSection .ai-dateline {
    margin-top: 9px;
    text-align: left;
  }

  body.redaction-theme #aiSection .ai-brief-lead {
    font-size: 15px;
    line-height: 1.62;
  }

  body.redaction-theme #aiSection .ai-feed li {
    padding-left: 48px;
  }

  body.redaction-theme #aiSection .ai-feed li::before {
    width: 31px;
  }
}

@media (max-width: 460px) {
  body.redaction-theme #aiSection .ai-capex-grid {
    grid-template-columns: 1fr;
  }
}

/* === mariners_desk === */
.md-desk {
  --md-navy: var(--mariners-blue);
  --md-teal: var(--mariners-teal);
  --md-gold: #a88643;
  color: var(--text);
}

.md-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  column-gap: 24px;
  margin: 14px 0 18px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--text);
}

.md-masthead-copy { min-width: 0; }

.md-eyebrow,
.md-section-label {
  color: var(--md-teal);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.md-dek {
  max-width: none;
}

.md-club-mark {
  display: grid;
  width: 90px;
  height: 90px;
  align-self: center;
  place-items: center;
  justify-self: end;
  overflow: hidden;
}

.md-club-mark img {
  display: block;
  width: 56px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px color-mix(in srgb, var(--md-navy) 16%, transparent));
}

.md-compass {
  position: relative;
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  color: var(--md-navy);
  border: 1px solid var(--md-navy);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 49.4%, color-mix(in srgb, var(--md-navy) 22%, transparent) 49.5% 50.5%, transparent 50.6%),
    linear-gradient(-45deg, transparent 49.4%, color-mix(in srgb, var(--md-navy) 22%, transparent) 49.5% 50.5%, transparent 50.6%);
}

.md-compass::before,
.md-compass::after {
  position: absolute;
  content: "";
  background: var(--md-teal);
}

.md-compass::before { width: 1px; height: 92px; }
.md-compass::after { width: 92px; height: 1px; }

.md-compass-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--md-navy);
  border: 5px double var(--md-navy);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.md-compass-n {
  position: absolute;
  top: 5px;
  color: var(--red);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 900;
}

.md-thesis {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.md-thesis strong {
  color: var(--red);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.md-thesis p {
  margin: 0;
  color: var(--text);
  font-family: var(--ffn-display, Newsreader, "Times New Roman", serif);
  font-optical-sizing: auto;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.md-thesis time {
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}

.md-nora {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(250px, auto);
  align-items: center;
  gap: 17px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--md-gold);
  background: var(--surface);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--md-gold) 12%, transparent);
  transition: border-color .18s ease, background-color .18s ease;
}

.md-nora.is-alert {
  border-color: var(--md-teal);
  border-left-color: var(--md-teal);
  background: var(--surface-hover);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--md-teal) 15%, transparent);
}

.md-nora-monogram {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--md-navy);
  border: 2px solid var(--md-gold);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 18px;
  font-weight: 900;
}

.md-nora.is-alert .md-nora-monogram {
  color: var(--surface);
  border-color: var(--md-teal);
  background: var(--md-teal);
}

.md-nora-kicker {
  margin-bottom: 3px;
  color: var(--md-gold);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.md-nora.is-alert .md-nora-kicker { color: var(--md-teal); }

.md-nora-copy h2 {
  margin: 0 0 4px;
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.md-nora-copy p {
  margin: 0;
  color: var(--text-dim);
  font-family: var(--ffn-copy, 'DM Sans', Arial, sans-serif);
  font-size: 13px;
  line-height: 1.55;
}

.md-nora-action {
  padding-left: 17px;
  border-left: 1px solid var(--border);
  text-align: right;
}

.md-nora-action span {
  display: block;
  color: var(--md-navy);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.md-nora.is-alert .md-nora-action span { color: var(--md-teal); }

.md-nora-action small {
  display: block;
  margin: 4px 0 8px;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.md-nora-action a {
  display: inline-block;
  color: var(--md-navy);
  border-bottom: 1px dotted currentColor;
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.md-score-strip {
  display: grid;
  grid-template-columns: 1.5fr repeat(6, minmax(96px, .65fr));
  margin: 20px 0 24px;
  border: 1px solid var(--md-navy);
  background: var(--surface);
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--md-navy) 9%, transparent);
}

.md-game-pill,
.md-stat-pill {
  min-width: 0;
  padding: 15px 17px;
  border-right: 1px solid var(--border);
}

.md-stat-pill:last-child { border-right: 0; }

.md-games-left-pill {
  background: color-mix(in srgb, var(--md-teal) 9%, var(--surface));
}

.md-games-left-pill b {
  color: var(--md-teal);
  font-size: 30px;
  font-weight: 700;
}

.md-game-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 5px solid var(--md-teal);
  background: var(--surface-hover);
}

.md-live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--md-teal);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--md-teal) 14%, transparent);
}

.md-pill-label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.md-game-pill b {
  display: block;
  color: var(--md-navy);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.md-game-pill small {
  display: block;
  margin-top: 3px;
  color: var(--text-dim);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.md-stat-pill b {
  display: block;
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.md-stat-pill small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
}

.md-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  gap: 18px;
}

.md-panel {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.md-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px 10px;
  border-top: 3px solid var(--md-teal);
  border-bottom: 1px solid var(--border);
}

.md-panel-top h2,
.md-panel-top h3 {
  margin: 0;
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.3px;
}

.md-panel-top h3 { font-size: 18px; }

.md-panel-meta {
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}

.md-game-body { padding: 19px; }

.md-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.md-team {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.md-team-right {
  grid-template-columns: auto minmax(0, 1fr) 54px;
  text-align: right;
}

.md-team-badge {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--md-navy);
  border: 2px solid var(--md-navy);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 17px;
  font-weight: 900;
}

.md-team-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.md-team-logo[hidden],
.md-team-badge > span[hidden] {
  display: none;
}

.md-team-badge.is-seattle {
  border-color: var(--md-teal);
  box-shadow: none;
}

.md-team-name {
  display: block;
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
}

.md-team-record {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.md-team-score {
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 29px;
  line-height: 1;
}

.md-versus {
  min-width: 76px;
  color: var(--text-muted);
  font-family: var(--ffn-copy, 'DM Sans', Arial, sans-serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
}

.md-versus b {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.md-probables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.md-probable {
  padding: 10px 12px;
  background: var(--surface-hover);
}

.md-probable:last-child { text-align: right; }

.md-probable span {
  display: block;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.md-probable b {
  color: var(--text);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.md-standings-wrap { overflow-x: auto; }

.md-standings {
  width: 100%;
  border-collapse: collapse;
}

.md-standings th,
.md-standings td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  white-space: nowrap;
}

.md-standings th:first-child,
.md-standings td:first-child { text-align: left; }

.md-standings th {
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.md-standings td {
  color: var(--text);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.md-standings tr.is-seattle {
  background: color-mix(in srgb, var(--md-teal) 12%, var(--surface));
}

.md-standings tr.is-seattle td {
  color: var(--md-navy);
  font-weight: 900;
}

.md-standings tr.is-seattle td:first-child::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--md-teal);
  content: "";
  vertical-align: 1px;
}

.md-race-note {
  margin: 0;
  padding: 12px 14px 14px;
  color: var(--text-muted);
  font-family: var(--ffn-copy, 'DM Sans', Arial, sans-serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

@media (min-width: 981px) {
  .md-lead-grid .md-game-body {
    padding: 15px;
  }

  .md-lead-grid .md-probables {
    margin-top: 12px;
    padding-top: 10px;
  }

  .md-lead-grid .md-probable {
    padding: 8px 10px;
  }

  .md-lead-grid .md-standings th,
  .md-lead-grid .md-standings td {
    padding: 7px 10px;
  }

  .md-lead-grid .md-race-note {
    padding: 9px 12px 11px;
    line-height: 1.45;
  }
}

.md-matters {
  margin: 14px 0 26px;
  border-top: 0;
  border-bottom: 1px solid var(--text);
}

.md-matters-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 13px;
}

.md-matters-head h2 {
  margin: 3px 0 0;
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.5px;
}

.md-matters-head p {
  max-width: none;
  margin: 0;
  color: var(--text-muted);
  font-family: var(--ffn-copy, 'DM Sans', Arial, sans-serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
  text-align: right;
}

.md-matters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.md-matter {
  position: relative;
  min-width: 0;
  padding: 20px 24px 23px 48px;
  border-right: 1px solid var(--border);
}

.md-matter:last-child { border-right: 0; }

.md-matter-number {
  position: absolute;
  top: 18px;
  left: 15px;
  color: var(--md-teal);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.md-matter h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.md-matter p {
  margin: 0;
  color: var(--text-dim);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 13px;
  line-height: 1.55;
}


.md-triple-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr .94fr;
  gap: 18px;
  margin-bottom: 24px;
}

.md-triple-grid.is-weston-hidden {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md-panel-body { padding: 15px; }

.md-empty {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--ffn-copy, 'DM Sans', Arial, sans-serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
}

.md-rotation-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.md-rotation-row:last-child { border-bottom: 0; }

.md-rotation-row > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 9px;
}

.md-rotation-day {
  color: var(--md-teal);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.md-rotation-row b {
  display: block;
  color: var(--text);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 13px;
  line-height: 1.4;
}

.md-rotation-row small {
  display: inline;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}

.md-rotation-time {
  color: var(--md-navy);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

.md-pulse-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.md-pulse-name {
  color: var(--text);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.md-pulse-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: var(--surface-hover);
}

.md-pulse-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--md-width);
  max-width: 100%;
  background: var(--md-teal);
}

.md-pulse-fill.is-negative { background: var(--red); }

.md-pulse-value {
  color: var(--md-navy);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.md-weston-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.md-weston-period {
  min-width: 0;
  padding: 12px 11px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--md-teal);
  background: var(--surface-hover);
}

.md-weston-period.is-since {
  border-top-color: var(--md-gold);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--md-gold) 22%, transparent);
}

.md-weston-period header {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

.md-weston-period header span,
.md-weston-line span,
.md-weston-period dt,
.md-weston-ops span {
  display: block;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.md-weston-period header span {
  color: var(--md-navy);
  font-size: 10px;
  font-weight: 900;
}

.md-weston-period.is-since header span { color: var(--md-teal); }

.md-weston-period header small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.35;
}

.md-weston-ops {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 11px 0 7px;
}

.md-weston-ops b {
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.md-weston-period.is-since .md-weston-ops b { color: var(--md-teal); }

.md-weston-line {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.md-weston-line b {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.md-weston-period dl { margin: 7px 0 0; }

.md-weston-period dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
}

.md-weston-period dt { margin: 0; }

.md-weston-period dd {
  margin: 0;
  color: var(--text);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-align: right;
}

.md-vibe {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.md-vibe-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.md-vibe-copy b {
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.md-vibe-copy span {
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}

.md-vibe-scale {
  position: relative;
  height: 9px;
  margin-top: 9px;
  background: linear-gradient(90deg, var(--red), var(--md-gold) 50%, var(--md-teal));
}

.md-vibe-marker {
  position: absolute;
  top: -5px;
  left: 74%;
  width: 4px;
  height: 19px;
  background: var(--text);
  box-shadow: 0 0 0 2px var(--surface);
}

.md-lower-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-bottom: 26px;
}

.md-schedule {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 126px;
}

.md-schedule > .md-empty {
  grid-column: 1 / -1;
  padding: 16px;
}

.md-schedule-game {
  min-width: 0;
  padding: 15px 10px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.md-schedule-game:last-child { border-right: 0; }

.md-schedule-game.is-today {
  background: color-mix(in srgb, var(--md-teal) 12%, var(--surface));
}

.md-schedule-game span {
  display: block;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.md-schedule-game b {
  display: block;
  margin: 7px 0 3px;
  color: var(--md-navy);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.md-schedule-game small {
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
}

.md-wire {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-wire li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 13px;
  line-height: 1.45;
}

.md-wire li:last-child { border-bottom: 0; }

.md-wire time {
  color: var(--md-teal);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.45;
}

.md-lower-grid .md-panel-body {
  padding: 7px 15px;
}

.md-lower-grid .md-wire li {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  padding: 3px 0;
  line-height: 1.3;
}

.md-seattle-rail {
  margin-bottom: 28px;
  border-top: 4px double var(--text);
  border-bottom: 1px solid var(--text);
}

.md-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 9px;
  border-bottom: 1px solid var(--border);
}

.md-rail-head h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.md-rail-head span {
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.md-rail-teams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.md-rail-team {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}

.md-rail-team:last-child { border-right: 0; }

.md-rail-logo-shell {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.md-rail-team-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--text) 13%, transparent));
}

.md-rail-logo-shell .md-rail-monogram { display: none; }

.md-rail-logo-shell.is-logo-fallback .md-rail-team-logo { display: none; }
.md-rail-logo-shell.is-logo-fallback .md-rail-monogram { display: grid; }

.md-rail-monogram {
  display: grid;
  width: 30px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--surface);
  border-radius: 50%;
  background: var(--seahawks-blue);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 900;
}

.md-rail-uw { background: var(--uw-purple); }
.md-rail-kraken { background: var(--kraken-blue); }

.md-rail-team > div b,
.md-rail-next > b {
  display: block;
  color: var(--md-navy);
  font-family: var(--ffn-copy, Arial, sans-serif);
  font-size: 12px;
  line-height: 1.25;
}

.md-rail-team small,
.md-rail-next small {
  display: block;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.35;
}

.md-rail-next { text-align: right; }

.md-source-note {
  margin: -10px 0 18px;
  color: var(--text-muted);
  font-family: var(--ffn-label, "JetBrains Mono", monospace);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .md-score-strip { grid-template-columns: 1.5fr repeat(4, 1fr); }
  .md-stat-pill:nth-last-child(-n+2) { display: none; }
  .md-lead-grid,
  .md-lower-grid { grid-template-columns: 1fr; }
  .md-triple-grid { grid-template-columns: 1fr 1fr; }
  .md-triple-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {

  .md-masthead {
    grid-template-columns: minmax(0, 1fr) 76px;
    column-gap: 14px;
  }

  .md-club-mark {
    width: 64px;
    height: 64px;
  }
  .md-club-mark img {
    width: 40px;
    height: 64px;
  }
  .md-thesis {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .md-thesis time { text-align: left; }

  .md-rotation-row > div { display: block; }
  .md-rotation-row small { display: block; }

  .md-nora { grid-template-columns: 48px 1fr; }
  .md-nora-monogram { width: 48px; }

  .md-nora-action {
    grid-column: 1 / -1;
    padding: 11px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
    text-align: left;
  }

  .md-score-strip { grid-template-columns: repeat(3, 1fr); }
  .md-game-pill { grid-column: 1 / -1; }
  .md-stat-pill:nth-child(n+5) { display: none; }
  .md-stat-pill { padding: 13px 10px; }

  .md-matchup {
    grid-template-columns: 1fr auto 1fr;
    gap: 7px;
  }

  .md-team {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .md-team-right {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .md-team-right .md-team-badge { grid-row: 1; }
  .md-team-right .md-team-score { grid-row: 3; }
  .md-team-name { font-size: 17px; }
  .md-team-score { font-size: 24px; }
  .md-probables { grid-template-columns: 1fr; }
  .md-probable:last-child { text-align: left; }

  .md-matters-head { display: block; }
  .md-matters-head p {
    margin-top: 8px;
    text-align: left;
  }

  .md-matters-grid,
  .md-triple-grid,
  .md-rail-teams { grid-template-columns: 1fr; }
  .md-triple-grid.is-weston-hidden { grid-template-columns: 1fr; }

  .md-matter {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .md-matter:last-child { border-bottom: 0; }
  .md-triple-grid > :last-child { grid-column: auto; }

  .md-schedule {
    grid-template-columns: repeat(5, 140px);
    overflow-x: auto;
  }

  .md-rail-team {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .md-rail-team:last-child { border-bottom: 0; }
}

/* === Shared war-track component: Iran, Lebanon, Gaza, and Ukraine === */
body.redaction-theme #iranWarBanner { --war-track-accent: var(--red); }
body.redaction-theme #lebanonTrack { --war-track-accent: var(--amber); }
body.redaction-theme #gazaTrack { --war-track-accent: var(--red); }
body.redaction-theme #ukraineTrack { --war-track-accent: #1e3a5f; }

body.redaction-theme .war-track {
  margin-bottom: 18px;
  padding: 16px 20px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--war-track-accent);
  border-radius: 2px;
}

body.redaction-theme .war-track-eyebrow {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-family: var(--ffn-label, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
}

body.redaction-theme .war-track-summary {
  max-width: 980px;
  margin: 0 auto 16px;
  color: var(--text);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
}

@media (min-width: 561px) {
  body.redaction-theme :is(.war-track-summary, #aiSection .ai-brief-lead) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

body.redaction-theme .war-track-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}

body.redaction-theme .war-track-stat {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  min-width: 0;
  column-gap: 10px;
  align-content: start;
  padding: 12px 14px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-top: 2px solid var(--text);
  border-radius: 2px;
  text-align: left;
}

body.redaction-theme .war-track-stat-icon {
  display: grid;
  grid-row: 1 / span 3;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}

body.redaction-theme .war-track-stat-value {
  min-width: 0;
  color: var(--text);
  font-family: var(--ffn-display, Newsreader, 'Times New Roman', serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

body.redaction-theme .war-track-stat-label {
  min-width: 0;
  margin-top: 4px;
  color: var(--text-muted);
  font-family: var(--ffn-label, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body.redaction-theme .war-track-stat-detail {
  min-width: 0;
  margin-top: 7px;
  color: var(--text-dim);
  font-family: var(--ffn-copy, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.redaction-theme .war-track-bullets {
  margin: 0 0 12px;
  padding: 0 0 0 20px;
  list-style: disc;
}

body.redaction-theme .war-track-bullets li {
  padding: 5px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-family: var(--ffn-copy, 'DM Sans', sans-serif);
  font-size: 13px;
  line-height: 1.55;
}

body.redaction-theme .war-track-bullets li b {
  font-weight: 600;
}

body.redaction-theme .war-track-bullets li:last-child {
  border-bottom: 0;
}

@media (max-width: 1120px) {
  body.redaction-theme .war-track-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.redaction-theme .war-track {
    padding: 14px 15px;
  }

  body.redaction-theme .war-track-summary {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  body.redaction-theme .war-track-stats {
    grid-template-columns: 1fr;
  }
}

/* === publication_wide_display_weight ===
   Newsreader has pronounced contrast at its top weights. Keep editorial
   titles at the approved medium cut while leaving data values and mono labels
   strong. */
body.redaction-theme :is(
  #quantumSection .qm-panel-title,
  #raptureSection .rp-panel-title,
  #aiSection .ai-panel-title,
  #aiSection .ai-brief-title,
  #aiSection .ai-feed li > b,
  .objectives-title,
  .eastroom-title,
  .md-masthead h1,
  .md-nora-copy h2,
  .md-panel-top h2,
  .md-panel-top h3,
  .md-team-name,
  .md-matters-head h2,
  .md-matter h3,
  .md-schedule-game b,
  .md-rail-head h2
) {
  font-weight: 500;
}

/* === mariners_desk_weight_hierarchy ===
   Newsreader carries the shape; it does not need black weights everywhere.
   Reserve firmer emphasis for live scores and the highlighted Seattle row. */
body.redaction-theme .md-desk :is(
  .md-compass-mark,
  .md-nora-monogram,
  .md-team-badge,
  .md-versus b,
  .md-matter-number,
  .md-weston-ops b,
  .md-vibe-copy b
) {
  font-weight: 500;
}

body.redaction-theme .md-desk :is(
  .md-eyebrow,
  .md-section-label,
  .md-compass-n,
  .md-thesis strong,
  .md-thesis time,
  .md-nora-kicker,
  .md-nora-action span,
  .md-nora-action small,
  .md-nora-action a,
  .md-pill-label,
  .md-game-pill small,
  .md-panel-meta,
  .md-team-record,
  .md-probable span,
  .md-standings th,
  .md-rotation-day,
  .md-rotation-row small,
  .md-rotation-time,
  .md-weston-period header span,
  .md-weston-period header small,
  .md-weston-line span,
  .md-weston-period dt,
  .md-weston-ops span,
  .md-vibe-copy span,
  .md-schedule-game span,
  .md-schedule-game small,
  .md-wire time,
  .md-rail-head span,
  .md-rail-team small,
  .md-rail-next small,
  .md-source-note
) {
  font-weight: 600;
}

body.redaction-theme .md-desk :is(
  .md-game-pill b,
  .md-probable b,
  .md-standings td,
  .md-rotation-row b,
  .md-pulse-name,
  .md-pulse-value,
  .md-weston-line b,
  .md-weston-period dd,
  .md-rail-monogram,
  .md-rail-team > div b,
  .md-rail-next > b
) {
  font-weight: 500;
}

body.redaction-theme .md-desk .md-standings tr.is-seattle td {
  font-weight: 600;
}

/* === night_reading_contract ===
   Dark mode is a complete high-contrast reading theme, not a variable swap
   laid over white-only legacy panels. Keep this block last so every published
   surface inherits the same paper, ink, rule, and accent hierarchy. */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body.redaction-theme {
  --bg: #0f1416;
  --surface: #172024;
  --surface-hover: #222d31;
  --border: #56666d;
  --border-glow: #839197;
  --text: #f4f6f4;
  --text-dim: #d4dcdd;
  --text-muted: #aab7bb;
  --accent: #d5a07c;
  --accent-glow: rgba(213, 160, 124, .18);
  --green: #95d5a8;
  --red: #f2837d;
  --amber: #dfae78;
  --copper: #d5a07c;
  --brass: #c4ad8b;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(196, 222, 229, .014) 0, rgba(196, 222, 229, .014) 1px, transparent 1px, transparent 4px);
  color: var(--text);
}

html[data-theme="dark"] body.redaction-theme .md-desk {
  --md-navy: #c9deeb;
  --md-teal: #82cccc;
  --md-gold: #e0b76f;
}

html[data-theme="dark"] body.redaction-theme :is(
  .editor-note,
  .newsletter-signup,
  .newsletter-footer,
  #theRunDown,
  .landing-card,
  .us-debt-card,
  #trackTroops,
  .tt-analyst,
  #quantumSection,
  #quantumSection .qm-panel,
  #raptureSection,
  #raptureSection .rp-panel,
  #aiSection .ai-panel,
  #aiSection .ai-brief,
  .war-track,
  .wc-entry,
  .rc-doctrine,
  .pvh-panel,
  .pos-panel,
  .cl-panel,
  .ballroom-pivot,
  .vault-panel,
  .pour-about,
  .pour-issue,
  .watch-about,
  .watch-entry,
  .objectives-panel,
  .eastroom-panel,
  .md-panel
) {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text);
}

html[data-theme="dark"] body.redaction-theme :is(
  #runDownList article.lead .rd-factbox,
  .rd-factbox,
  #trackTroops .tt-notes,
  .war-track-stat,
  #quantumSection .qm-stat,
  #quantumSection .qm-net-bar,
  #quantumSection .qm-qday,
  #aiSection .ai-capex-card,
  .wc-pullquote,
  .wc-factbox,
  .wc-update,
  .rc-aphorism,
  .pvh-aphorism,
  .pvh-col,
  .pos-col,
  .pos-spread,
  .pos-aphorism,
  .cl-aphorism,
  .bp-quote,
  .bp-rebuttal,
  .vault-card,
  .vault-aphorism,
  .pour-index,
  .pour-pull,
  .watch-about-list li,
  .watch-pull,
  .watch-empty,
  .md-thesis,
  .md-score-strip,
  .md-matters
) {
  background: var(--surface-hover) !important;
  border-color: var(--border) !important;
  color: var(--text-dim);
}

html[data-theme="dark"] body.redaction-theme :is(
  .header-title,
  .lan-page-masthead .lpm-name,
  .lan-masthead .lm-name,
  #theRunDown .rd-title,
  #runDownList .rd-head,
  .landing-card .lc-title,
  .wc-headline,
  .wc-factbox li b,
  .tt-analyst p b,
  #ttBeyondOil .tt-analyst-tag,
  .rc-doctrine-tag,
  .rc-rules li b,
  .pvh-col-tag,
  .pos-col-price,
  .cl-cell-days,
  .vault-intro b,
  .vault-card-fact,
  .pour-about p b,
  .pour-issue-title,
  .pour-section p b,
  .watch-about-tag,
  .watch-entry-title a,
  .watch-entry-take p b
) {
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  text-shadow: none;
}

html[data-theme="dark"] body.redaction-theme :is(
  .header,
  .section-nav,
  .lan-page-masthead,
  .lan-masthead,
  #theRunDown .rd-masthead,
  .pour-issue-head,
  .pour-issue-foot,
  .watch-section-head
) {
  border-color: var(--border-glow) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  input,
  select,
  textarea
) {
  background: var(--surface-hover) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .cl-no-receipts,
  .cl-disputed,
  .pour-idx-draft,
  .watch-tier-timely,
  .watch-rt-mid
) {
  background: rgba(229, 179, 110, .14) !important;
  border-color: rgba(229, 179, 110, .42) !important;
  color: var(--amber) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .cl-policy,
  .cl-fulfilled,
  .pour-idx-published,
  .watch-tier-abiding,
  .watch-rt-short
) {
  background: rgba(139, 206, 155, .14) !important;
  border-color: rgba(139, 206, 155, .4) !important;
  color: var(--green) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .cl-denied,
  .watch-rt-long
) {
  background: rgba(242, 130, 120, .14) !important;
  border-color: rgba(242, 130, 120, .4) !important;
  color: var(--red) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .cl-expired,
  .cl-unverified
) {
  background: rgba(181, 170, 156, .12) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}

html[data-theme="dark"] body.redaction-theme .pour-subscribe-btn {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* === bond_desk ===
   Official daily Treasury curve with a compact 5% threshold explainer. */
body.redaction-theme .bond-desk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--text);
  border-radius: 2px;
  margin: 18px 0 12px;
  padding: 16px 18px 14px;
}

body.redaction-theme .bond-desk-header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 7px;
}

body.redaction-theme .bond-desk-tag {
  color: var(--red);
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

body.redaction-theme .bond-desk h2 {
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: 1.08;
  margin: 0;
}

body.redaction-theme .bond-asof {
  color: var(--text-muted);
  flex: 0 0 auto;
  font-family: var(--ffn-label);
  font-size: 11px;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}

body.redaction-theme .bond-desk-lead {
  color: var(--text-dim);
  font-family: var(--ffn-display);
  font-size: 15px;
  font-optical-sizing: auto;
  font-weight: 350;
  line-height: 1.5;
  margin: 0 0 12px;
}

body.redaction-theme .bond-curve-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
}

body.redaction-theme .bond-yield-card {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brass);
  border-radius: 2px;
  min-width: 0;
  padding: 11px 13px 10px;
}

body.redaction-theme .bond-yield-card.benchmark {
  border-top-color: var(--amber);
}

body.redaction-theme .bond-yield-card.threshold {
  border-top-color: var(--red);
}

body.redaction-theme .bond-yield-tenor,
body.redaction-theme .bond-yield-role {
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.redaction-theme .bond-yield-value {
  color: var(--text);
  font-family: var(--ffn-label);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.1;
  margin: 3px 0 1px;
}

body.redaction-theme .bond-yield-delta {
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
}

body.redaction-theme .bond-yield-delta.higher {
  color: var(--red);
}

body.redaction-theme .bond-yield-delta.lower {
  color: var(--green);
}

body.redaction-theme .bond-yield-delta.flat {
  color: var(--text-muted);
}

body.redaction-theme .bond-meaning-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, .68fr) minmax(0, 1.75fr);
}

body.redaction-theme .bond-threshold-card {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  padding: 12px 14px;
}

body.redaction-theme .bond-threshold-card.is-hot {
  border-left-color: var(--red);
}

body.redaction-theme .bond-threshold-label,
body.redaction-theme .bond-threshold-state {
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.redaction-theme .bond-threshold-value {
  color: var(--text);
  font-family: var(--ffn-label);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 5px;
}

body.redaction-theme .bond-threshold-card.is-hot .bond-threshold-state {
  color: var(--red);
}

body.redaction-theme .bond-threshold-card p {
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 13px;
  line-height: 1.45;
  margin: 7px 0 9px;
}

body.redaction-theme .bond-spreads {
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--ffn-label);
  font-size: 11px;
  gap: 5px 14px;
  letter-spacing: .5px;
  padding-top: 7px;
  text-transform: uppercase;
}

body.redaction-theme .bond-spreads b {
  color: var(--text);
}

body.redaction-theme .bond-why-list {
  display: grid;
  gap: 0 18px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.redaction-theme .bond-why-list li {
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--ffn-copy);
  font-size: 13px;
  line-height: 1.5;
  padding: 7px 0;
}

body.redaction-theme .bond-why-list b {
  color: var(--text);
  font-weight: 700;
}

body.redaction-theme .bond-desk-src {
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--ffn-label);
  font-size: 11px;
  gap: 5px 14px;
  letter-spacing: .7px;
  margin-top: 10px;
  padding-top: 8px;
  text-transform: uppercase;
}

body.redaction-theme .bond-desk-src a {
  border-bottom: 1px dotted var(--border-glow);
  color: var(--text-muted);
  text-decoration: none;
}

body.redaction-theme .bond-desk-src a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  body.redaction-theme .bond-desk-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.redaction-theme .bond-asof {
    text-align: left;
  }

  body.redaction-theme .bond-curve-grid,
  body.redaction-theme .bond-why-list {
    grid-template-columns: 1fr 1fr;
  }

  body.redaction-theme .bond-meaning-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  body.redaction-theme .bond-why-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  body.redaction-theme .bond-curve-grid {
    grid-template-columns: 1fr;
  }
}

/* === markets_quick_read ===
   Markets is a dashboard first. The live tape stays above the editorial read;
   slow-moving analysis is available as compact, collapsed deep dives. */
body.redaction-theme .markets-read {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  margin: 18px 0 12px;
  padding: 16px 18px 14px;
}

body.redaction-theme .markets-read-tag {
  color: var(--red);
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

body.redaction-theme .markets-read h2 {
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -.2px;
  line-height: 1.08;
  margin: 0 0 12px;
}

body.redaction-theme .markets-read-list {
  display: grid;
  gap: 0 22px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.redaction-theme .markets-read-list li {
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--ffn-display);
  font-size: 15px;
  font-optical-sizing: auto;
  font-weight: 350;
  line-height: 1.5;
  padding: 9px 0;
}

body.redaction-theme .markets-read-list b {
  color: var(--text);
  font-weight: 600;
}

body.redaction-theme .markets-read-src,
body.redaction-theme .pvh-src {
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 11px;
  letter-spacing: 1px;
  padding-top: 8px;
  text-transform: uppercase;
}

body.redaction-theme .markets-read-src a,
body.redaction-theme .pvh-src a {
  border-bottom: 1px dotted var(--border-glow);
  color: var(--text-muted);
  margin-right: 12px;
  text-decoration: none;
}

body.redaction-theme .markets-deep-dive {
  background: var(--surface);
  color: var(--text);
  margin-bottom: 10px;
  overflow: hidden;
  padding: 0;
}

body.redaction-theme .markets-deep-dive summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px 18px;
  justify-content: space-between;
  list-style: none;
  padding: 14px 48px 14px 18px;
  position: relative;
}

body.redaction-theme .markets-deep-dive summary::-webkit-details-marker {
  display: none;
}

body.redaction-theme .markets-deep-dive summary::after {
  color: var(--text-muted);
  content: "+";
  font-family: var(--ffn-label);
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

body.redaction-theme .markets-deep-dive[open] summary {
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

body.redaction-theme .markets-deep-dive[open] summary::after {
  content: "\2212";
}

body.redaction-theme .markets-deep-dive summary span {
  color: var(--text);
  font-family: var(--ffn-display);
  font-size: 20px;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.1;
}

body.redaction-theme .markets-deep-dive summary small {
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}

body.redaction-theme .markets-deep-dive > :not(summary) {
  margin-left: 18px;
  margin-right: 18px;
}

body.redaction-theme .markets-deep-dive > :last-child {
  margin-bottom: 14px;
}

body.redaction-theme .pos-updated {
  color: var(--text-muted);
  font-family: var(--ffn-label);
  font-size: 11px;
  letter-spacing: 1.3px;
  margin-bottom: 10px;
}

body.redaction-theme .markets-deep-dive :is(
  .pvh-col li,
  .pvh-frame,
  .pos-col-note,
  .pos-spread-sub,
  .vault-intro,
  .vault-card-sub
) {
  color: var(--text-dim);
}

body.redaction-theme .markets-deep-dive .pvh-frame {
  font-family: var(--ffn-display);
  font-size: 15px;
  font-weight: 350;
}

body.redaction-theme .markets-deep-dive .pos-col-sub {
  margin-bottom: 5px;
}

body.redaction-theme .markets-deep-dive .pos-spread-sub {
  font-size: 13px;
}

@media (max-width: 700px) {
  body.redaction-theme .markets-read-list {
    grid-template-columns: 1fr;
  }

  body.redaction-theme .markets-deep-dive summary {
    align-items: flex-start;
    flex-direction: column;
  }

  body.redaction-theme .markets-deep-dive summary small {
    text-align: left;
  }
}

/* === Theatre Maps · geographic briefing surface === */
.theatre-map {
  margin-bottom: 18px;
  padding: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 2px;
  color: var(--text);
}

.theatre-map-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 22px;
  align-items: end;
  margin-bottom: 13px;
}

.theatre-map-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.theatre-map-title span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.6px;
}

.theatre-map-title strong {
  color: var(--text);
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.2px;
}

.theatre-map-lede {
  max-width: 760px;
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.theatre-map-reviewed {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0 2px 15px;
  border-left: 2px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.theatre-map-reviewed-label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.theatre-map-reviewed-time {
  color: var(--text);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.theatre-map-reviewed-status {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.theatre-map-statusbar {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 31px;
  margin: 0 -18px;
  padding: 0 18px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font: 800 9px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 1.25px;
}

.theatre-map-statusbar span {
  padding: 0 12px;
  border-right: 1px solid var(--border);
}

.theatre-map-statusbar span:first-child {
  padding-left: 0;
}

.theatre-map-statusbar span:last-child {
  border-right: 0;
}

.theatre-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  margin: 0 -18px;
  padding: 7px 18px;
  border-bottom: 1px solid var(--border);
}

.theatre-map-actions,
.theatre-map-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.theatre-map-filter-label {
  margin-right: 3px;
  color: var(--text-muted);
  font: 800 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 1.5px;
}

.theatre-map-control,
.theatre-map-filter {
  appearance: none;
  min-height: 30px;
  padding: 6px 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  cursor: pointer;
  font: 800 9px/1.15 'JetBrains Mono', monospace;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.theatre-map-control:hover,
.theatre-map-filter:hover,
.theatre-map-filter.is-active {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--text-muted);
}

.theatre-map-filter.is-active {
  box-shadow: inset 0 -2px 0 var(--red);
}

.theatre-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(285px, 0.8fr);
  margin: 14px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.theatre-map-canvas {
  position: relative;
  min-width: 0;
  background: #dfe7ee;
}

.theatre-map .tt-leaflet-map {
  height: 600px;
  border-radius: 0;
}

.theatre-map-rail {
  display: grid;
  grid-template-rows: minmax(220px, 46%) auto minmax(0, 1fr);
  height: 600px;
  min-width: 0;
  background: var(--surface);
  border-left: 1px solid var(--border);
}

.theatre-map-selected {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 17px 17px 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.theatre-map-selected-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font: 800 9px/1.25 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.theatre-map-selected-kind {
  color: var(--red);
}

.theatre-map-selected-date {
  flex: 0 0 auto;
  text-align: right;
}

.theatre-map-selected-title {
  margin: 0 0 8px;
  color: var(--text);
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.08;
}

.theatre-map-selected-copy {
  margin: 0;
  padding-right: 5px;
  overflow-y: auto;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.56;
  scrollbar-color: var(--border) transparent;
  scrollbar-width: thin;
}

.theatre-map-list-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font: 800 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 1.3px;
}

.theatre-map-list {
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--border) transparent;
  scrollbar-width: thin;
}

.theatre-map-item {
  appearance: none;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 9px 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.theatre-map-item:hover,
.theatre-map-item.is-active {
  background: var(--surface-hover);
}

.theatre-map-item.is-active {
  box-shadow: inset 3px 0 0 var(--red);
}

.theatre-map-item-dot {
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--border);
}

.theatre-map-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.theatre-map-item-text strong {
  overflow: hidden;
  color: var(--text);
  font: 800 12px/1.2 'DM Sans', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theatre-map-item-text span,
.theatre-map-item-date {
  overflow: hidden;
  color: var(--text-muted);
  font: 700 8px/1.3 'JetBrains Mono', monospace;
  letter-spacing: 0.45px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.theatre-map-item-date {
  max-width: 52px;
  text-align: right;
}

.theatre-map-legend {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 11px 1px 10px;
  color: var(--text-muted);
  font: 700 9px/1.35 'JetBrains Mono', monospace;
  letter-spacing: 0.55px;
}

.theatre-map-legend-label {
  color: var(--text);
  font-weight: 900;
  letter-spacing: 1.5px;
}

.theatre-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theatre-map-legend-item i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.theatre-map-legend-item i.is-line {
  width: 14px;
  height: 3px;
  border-radius: 0;
}

.theatre-map-method {
  margin: 0 -18px -18px;
  border-top: 1px solid var(--border);
}

.theatre-map-method summary {
  padding: 11px 18px;
  color: var(--text-muted);
  cursor: pointer;
  font: 900 9px/1.25 'JetBrains Mono', monospace;
  letter-spacing: 1.6px;
  list-style-position: inside;
}

.theatre-map-method[open] summary {
  color: var(--text);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.theatre-map-method-body {
  padding: 14px 18px 16px;
  background: var(--surface-hover);
}

.theatre-map-method-body p {
  max-width: 920px;
  margin: 0 0 9px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.58;
}

.theatre-map-method-body p:last-child {
  margin-bottom: 0;
}

.theatre-map-method-body strong {
  color: var(--text);
}

.theatre-map-popup .theatre-map-popup-meta {
  margin-bottom: 4px;
  color: #a42020;
  font: 800 9px/1.3 'JetBrains Mono', monospace;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.theatre-map-popup .tt-lf-sub {
  max-height: 190px;
  margin-top: 6px;
  overflow-y: auto;
  color: #4d4841;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

html[data-theme="dark"] .theatre-map,
html[data-theme="dark"] .theatre-map-rail,
html[data-theme="dark"] .theatre-map-control,
html[data-theme="dark"] .theatre-map-filter {
  background: var(--surface);
  border-color: var(--border);
}

html[data-theme="dark"] .theatre-map-item-dot {
  border-color: rgba(255,255,255,0.72);
}

@media (max-width: 900px) {
  .theatre-map-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  }

  .theatre-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .theatre-map {
    padding: 14px;
  }

  .theatre-map-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .theatre-map-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .theatre-map-title strong {
    font-size: 24px;
  }

  .theatre-map-reviewed {
    padding: 8px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .theatre-map-statusbar,
  .theatre-map-toolbar {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .theatre-map-statusbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .theatre-map-statusbar span {
    padding: 0;
    border-right: 0;
  }

  .theatre-map-layout {
    grid-template-columns: 1fr;
  }

  .theatre-map .tt-leaflet-map {
    height: 430px;
  }

  .theatre-map-rail {
    grid-template-rows: auto auto minmax(0, 360px);
    height: auto;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .theatre-map-selected {
    max-height: none;
  }

  .theatre-map-selected-copy {
    overflow-y: visible;
  }

  .theatre-map-legend {
    align-items: flex-start;
  }

  .theatre-map-method {
    margin-right: -14px;
    margin-bottom: -14px;
    margin-left: -14px;
  }
}

/* === open_editorial_layout ===
   Carry the newsletter's open-paper grammar onto the site. Editorial modules
   are separated by strong top rules, quiet bottom rules, and white space;
   complete boxes remain reserved for maps, controls, meters, and media. */
body.redaction-theme :is(
  .editor-note,
  .newsletter-signup,
  #theRunDown,
  .us-debt-card,
  #trackTroops,
  #quantumSection,
  #raptureSection,
  #aiSection .ai-panel,
  #aiSection .ai-brief,
  .war-track,
  .tt-analyst,
  .wc-entry,
  .rc-doctrine,
  .pvh-panel,
  .pos-panel,
  .cl-panel,
  .ballroom-pivot,
  .vault-panel,
  .pour-about,
  .pour-issue,
  .watch-about,
  .watch-entry,
  .objectives-panel,
  .eastroom-panel
) {
  background: transparent !important;
  border: 0 !important;
  border-top: 4px solid var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.redaction-theme :is(
  .newsletter-signup,
  #theRunDown,
  .us-debt-card,
  #trackTroops,
  #quantumSection,
  #raptureSection,
  #aiSection .ai-panel,
  #aiSection .ai-brief,
  .war-track,
  .tt-analyst,
  .wc-entry,
  .rc-doctrine,
  .pvh-panel,
  .pos-panel,
  .cl-panel,
  .ballroom-pivot,
  .vault-panel,
  .pour-about,
  .pour-issue,
  .watch-about,
  .watch-entry,
  .objectives-panel,
  .eastroom-panel
) {
  padding-right: 0;
  padding-left: 0;
}

body.redaction-theme :is(#open-editorial-note, .editor-note).editor-note {
  margin-bottom: 10px;
  padding: 18px 24px 20px !important;
  border-top-color: var(--red) !important;
  border-bottom: 0 !important;
  border-left: 8px solid var(--text) !important;
}

body.redaction-theme #theRunDown#theRunDown {
  padding: 22px 0 18px;
  border-top-width: 8px !important;
}

body.redaction-theme :is(#open-newsletter-signup, .newsletter-signup).newsletter-signup {
  padding-top: 0 !important;
  border-top-width: 0 !important;
}

body.redaction-theme :is(#open-debt-card, .us-debt-card).us-debt-card {
  border-top-width: 7px !important;
}

body.redaction-theme .landing-grid {
  gap: 0 24px;
}

body.redaction-theme .landing-card {
  min-height: 228px;
  padding: 20px 4px 18px;
  background: transparent;
  border: 0;
  border-top: 4px solid var(--text);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

body.redaction-theme .landing-card::before {
  display: none;
}

body.redaction-theme .landing-card::after {
  display: none;
}

body.redaction-theme .landing-card:first-child {
  border-top-color: var(--red);
}

body.redaction-theme .landing-card:hover {
  color: var(--text);
  background: transparent;
  border-color: var(--text);
  transform: none;
  box-shadow: none;
}

/* Nested editorial sections keep their hierarchy without rebuilding a box. */
body.redaction-theme :is(
  #quantumSection .qm-panel,
  #raptureSection .rp-panel
) {
  padding: 17px 0 18px;
  background: transparent;
  border: 0;
  border-top: 3px solid var(--text);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

/* Equal data columns stay intact; rules replace the individual cards. */
body.redaction-theme :is(
  .war-track-stats,
  #quantumSection .qm-stats,
  #aiSection .ai-capex-grid,
  .market-sentiment-grid,
  .energy-grid,
  .gas-grid,
  .cards-row,
  .world-grid,
  .seattle-grid,
  .weather-grid
) {
  gap: 0;
}

body.redaction-theme :is(
  .war-track-stat,
  #quantumSection .qm-stat,
  #aiSection .ai-capex-card,
  .ticker-card,
  .energy-card,
  .gas-card,
  .gas-detail-card,
  .card,
  .world-card,
  .seattle-card,
  .weather-city,
  .countdown-mini,
  .ms-hype-card,
  .obj-person-col,
  .er-event
) {
  background: transparent !important;
  border: 0 !important;
  border-top: 2px solid var(--text) !important;
  border-right: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.redaction-theme :is(
  .war-track-stat,
  #quantumSection .qm-stat,
  #aiSection .ai-capex-card,
  .ticker-card,
  .energy-card,
  .gas-card,
  .gas-detail-card,
  .card,
  .world-card,
  .seattle-card,
  .weather-city,
  .countdown-mini,
  .ms-hype-card,
  .obj-person-col,
  .er-event
):last-child {
  border-right: 0 !important;
}

body.redaction-theme :is(#open-war-track, .war-track).war-track {
  padding-top: 18px;
  border-top-color: var(--war-track-accent) !important;
}

body.redaction-theme .war-track-stats {
  margin-top: 4px;
  margin-bottom: 16px;
}

body.redaction-theme .war-track-stat {
  padding: 13px 16px;
}

body.redaction-theme :is(
  .ticker-card,
  .energy-card,
  .gas-card,
  .card,
  .world-card,
  .seattle-card,
  .weather-city,
  .countdown-mini,
  .ms-hype-card,
  .obj-person-col,
  .er-event
):hover {
  background: var(--surface-hover) !important;
  border-top-color: var(--red) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .editor-note,
  .newsletter-signup,
  #theRunDown,
  .us-debt-card,
  #trackTroops,
  #quantumSection,
  #quantumSection .qm-panel,
  #raptureSection,
  #raptureSection .rp-panel,
  #aiSection .ai-panel,
  #aiSection .ai-brief,
  .war-track,
  .war-track-stat,
  .tt-analyst,
  .wc-entry,
  .rc-doctrine,
  .pvh-panel,
  .pos-panel,
  .cl-panel,
  .ballroom-pivot,
  .vault-panel,
  .pour-about,
  .pour-issue,
  .watch-about,
  .watch-entry,
  .objectives-panel,
  .eastroom-panel,
  .landing-card,
  #quantumSection .qm-stat,
  #aiSection .ai-capex-card
) {
  background: transparent !important;
}

@media (max-width: 1120px) {
  body.redaction-theme :is(#open-war-track, .war-track) .war-track-stat:nth-child(2n) {
    border-right: 0 !important;
  }
}

@media (max-width: 680px) {
  body.redaction-theme :is(#open-editorial-note, .editor-note).editor-note {
    padding: 15px 12px 17px 18px !important;
  }

  body.redaction-theme :is(
    .newsletter-signup,
    #theRunDown,
    .us-debt-card,
    #trackTroops,
    #quantumSection,
    #raptureSection,
    #aiSection .ai-panel,
    #aiSection .ai-brief,
    .war-track,
    .tt-analyst,
    .wc-entry,
    .rc-doctrine,
    .pvh-panel,
    .pos-panel,
    .cl-panel,
    .ballroom-pivot,
    .vault-panel,
    .pour-about,
    .pour-issue,
    .watch-about,
    .watch-entry,
    .objectives-panel,
    .eastroom-panel,
    #quantumSection .qm-panel,
    #raptureSection .rp-panel
  ) {
    padding-right: 0;
    padding-left: 0;
  }

  body.redaction-theme .landing-card {
    min-height: 0;
    padding-right: 2px;
    padding-left: 2px;
  }
}

@media (max-width: 560px) {
  body.redaction-theme :is(#open-war-track, .war-track) .war-track-stat {
    border-right: 0 !important;
  }
}

/* === rain_and_cedar_palette ===
   Rain blue-gray replaces publication red; cedar carries the Northwest warmth.
   Semantic danger remains red so market losses and alerts stay legible. */
:root {
  --brand: #425d69;
  --brand-dark: #2f4650;
  --brand-slate: #5f7078;
  --brand-rain: #88979c;
  --brand-soft: rgba(66, 93, 105, 0.11);
  --danger: #a42020;
  --red: var(--brand); /* legacy brand-accent alias */
  --accent: #8a5438;
  --accent-glow: rgba(138, 84, 56, 0.14);
  --copper: #8a5438;
  --brass: #80694c;
  --forest-dark: var(--brand-dark);
  --forest-light: var(--brand);
  --mountain-blue: var(--brand-slate);
  --mountain-slate: var(--brand-rain);
}

html[data-theme="dark"] {
  --brand: #9bb4be;
  --brand-dark: #c0d0d6;
  --brand-slate: #9aabb2;
  --brand-rain: #a8b2b6;
  --brand-soft: rgba(155, 180, 190, 0.16);
  --danger: #ef7575;
  --red: var(--brand);
  --accent: #d0a07d;
  --accent-glow: rgba(208, 160, 125, 0.18);
  --copper: #d0a07d;
  --brass: #bea27e;
}

body.redaction-theme {
  --brand: #425d69;
  --brand-dark: #2f4650;
  --brand-slate: #5f7078;
  --brand-rain: #88979c;
  --brand-soft: rgba(66, 93, 105, 0.11);
  --danger: #a42020;
  --red: var(--brand);
  --accent: #8a5438;
  --accent-glow: rgba(138, 84, 56, 0.14);
  --amber: #8a5438;
  --copper: #8a5438;
  --brass: #80694c;
  --forest-dark: var(--brand-dark);
  --forest-light: var(--brand);
  --mountain-blue: var(--brand-slate);
  --mountain-slate: var(--brand-rain);
  --surface-hover: #f3f4f3;
  --border: #c9cfd0;
  --text-dim: #43494c;
  --text-muted: #727b7f;
}

html[data-theme="dark"] body.redaction-theme {
  --brand: #aac6d0;
  --brand-dark: #d3e0e4;
  --brand-slate: #b2c2c8;
  --brand-rain: #bec9cc;
  --brand-soft: rgba(170, 198, 208, 0.17);
  --danger: #ef7575;
  --red: var(--brand);
  --accent: #d0a07d;
  --accent-glow: rgba(208, 160, 125, 0.18);
  --amber: #d0a07d;
  --copper: #d0a07d;
  --brass: #bea27e;
}

html[data-theme="dark"] body.redaction-theme .chyron {
  background: var(--surface);
  border-top-color: var(--border);
  border-bottom-color: var(--brand);
  color: var(--text);
}

html[data-theme="dark"] body.redaction-theme .chyron-label {
  background: var(--accent-glow);
  border-color: rgba(208, 160, 125, .34);
  color: var(--accent);
}

html[data-theme="dark"] body.redaction-theme .chyron-sep {
  color: var(--accent);
}

/* True warning / loss states keep their semantic red. */
body.redaction-theme :is(
  .ticker-change.down,
  .energy-change.up,
  .gas-card-change.up,
  .gas-detail-delta.up,
  #iranWarBanner .iw-stat-val--alert,
  #quantumSection .qm-qday-val,
  #raptureSection .rp-hot,
  #raptureSection .rp-score.max,
  #raptureSection .rp-check.yes,
  .cl-denied,
  .watch-rt-long
) {
  color: var(--danger) !important;
}

body.redaction-theme :is(
  .ticker-card.down::before,
  #quantumSection .qm-wire-tag.red,
  #raptureSection .rp-wire-tag.red,
  #aiSection .ai-feed-tag.policy,
  .md-pulse-fill.is-negative
) {
  background: var(--danger) !important;
}

body.redaction-theme :is(
  #quantumSection .qm-badge.cn,
  #aiSection .ai-badge.cn
) {
  background: var(--accent) !important;
}

body.redaction-theme :is(
  .newsletter-signup .ns-form input[type="email"],
  .newsletter-footer .nf-form input[type="email"]
):focus {
  border-color: var(--brand) !important;
}

body.redaction-theme .newsletter-footer .nf-form button {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .newsletter-signup .ns-tag,
  .newsletter-signup .ns-form button,
  .newsletter-footer .nf-form button
) {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: var(--bg) !important;
}

html[data-theme="dark"] body.redaction-theme :is(
  .newsletter-signup .ns-form input[type="email"],
  .newsletter-footer .nf-form input[type="email"]
) {
  background: var(--surface-hover) !important;
  border-color: var(--border-glow) !important;
  color: var(--text) !important;
}

html[data-theme="dark"] body.redaction-theme .section-nav a:is(:hover, .active) {
  color: var(--brand) !important;
  border-bottom-color: var(--brand) !important;
}

html[data-theme="dark"] body.redaction-theme .section-nav a.active::after {
  background: var(--brand) !important;
}

/* === lightweight_editorial_rules ===
   Match the newsletter's quieter rule hierarchy on the landing page: a
   two-pixel Rain identifier, one-pixel gray separators, and three-pixel
   vertical editorial rules. Keep the structure; remove the black bars. */
body.redaction-theme .header {
  border-top: 1px solid var(--border) !important;
  border-bottom: 2px solid var(--brand) !important;
}

body.redaction-theme .header-right {
  border-left: 3px solid var(--brand);
}

body.redaction-theme .section-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body.redaction-theme .newsletter-signup .ns-tag {
  color: var(--brand) !important;
  background: transparent !important;
}

body.redaction-theme :is(#open-editorial-note, .editor-note).editor-note {
  border-top: 2px solid var(--brand) !important;
  border-bottom: 1px solid var(--border) !important;
  border-left: 3px solid var(--brand) !important;
}

body.redaction-theme #theRunDown#theRunDown {
  border-top: 2px solid var(--brand) !important;
}

body.redaction-theme #theRunDown .rd-masthead {
  border-bottom: 1px solid var(--border);
}

body.redaction-theme #runDownList article.lead {
  border-left: 3px solid var(--brand);
}

body.redaction-theme #runDownList article.lead .rd-pullquote {
  border-top-width: 2px;
}

body.redaction-theme .landing-card {
  border-top-width: 2px;
  border-top-color: var(--brand);
}

body.redaction-theme :is(#open-debt-card, .us-debt-card).us-debt-card {
  border-top: 2px solid var(--brand) !important;
}

body.redaction-theme .footer {
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 680px) {
  body.redaction-theme .header-title {
    max-width: none;
    font-size: clamp(20px, 6.5vw, 26px) !important;
    line-height: 1;
    letter-spacing: -0.8px !important;
    white-space: nowrap;
  }
}

/* === compact_pour_signup ===
   The Pour is the email product; The Dispatch below remains the news section.
   Keep the invitation to one line on desktop and no more than two on mobile. */
body.redaction-theme :is(#open-newsletter-signup, .newsletter-signup).newsletter-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: center;
  gap: 10px 24px;
  margin: 0 0 20px;
  padding: 10px 0 !important;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0;
  text-align: left;
}

body.redaction-theme .newsletter-signup .ns-copy {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

body.redaction-theme .newsletter-signup .ns-tag {
  flex: 0 0 auto;
  margin: 0;
  color: var(--brand) !important;
  background: transparent !important;
  border: 0 !important;
  white-space: nowrap;
}

body.redaction-theme .newsletter-signup .ns-tagline {
  min-width: 0;
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

body.redaction-theme .newsletter-signup .ns-form {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-content: flex-end;
}

body.redaction-theme .newsletter-signup .ns-form input[type="email"],
body.redaction-theme .newsletter-signup .ns-form button {
  min-height: 38px;
}

body.redaction-theme .newsletter-signup .ns-form input[type="email"] {
  min-width: 0;
  padding: 8px 12px;
}

body.redaction-theme .newsletter-signup .ns-form button {
  padding: 8px 18px;
}

@media (max-width: 960px) {
  body.redaction-theme :is(#open-newsletter-signup, .newsletter-signup).newsletter-signup {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.redaction-theme .newsletter-signup .ns-tagline {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  body.redaction-theme :is(#open-newsletter-signup, .newsletter-signup).newsletter-signup {
    gap: 7px;
    padding: 9px 0 !important;
  }

  body.redaction-theme .newsletter-signup .ns-copy {
    gap: 8px;
  }

  body.redaction-theme .newsletter-signup .ns-tagline {
    display: none;
  }

  body.redaction-theme .newsletter-signup .ns-form {
    flex-direction: row !important;
  }

  body.redaction-theme .newsletter-signup .ns-form input[type="email"] {
    width: auto !important;
  }

  body.redaction-theme .newsletter-signup .ns-form button {
    width: auto !important;
  }
}
