/* Sport Slate — site styles, layered on the Sky design system (_ue/sky.css + components.css). */

/* ============================================================
   THEME — "Scoreboard / stadium dark".
   Pins a near-black + neon-green palette across ALL sky phases
   (custom-property !important beats the per-[data-theme] sets),
   kills the star-field, and hides the time-of-day cycler.
   ============================================================ */
:root {
  --bg: #06080a !important;
  --panel: rgba(13, 20, 17, 0.66) !important;
  --panel-shadow: 0 18px 50px rgba(0, 0, 0, 0.55) !important;
  --surface: rgba(255, 255, 255, 0.045) !important;
  --surface-2: rgba(255, 255, 255, 0.085) !important;
  --text: #eaf3ee !important;
  --muted: #8ea69b !important;
  --faint: #5e7268 !important;
  --border: rgba(255, 255, 255, 0.09) !important;
  --border-strong: rgba(31, 221, 134, 0.30) !important;
  --accent: #1fdd86 !important;
  --accent-bg: rgba(31, 221, 134, 0.13) !important;
  --on-accent: #04140d !important;
  --danger: #ff4d4d !important;
  --danger-bg: rgba(255, 77, 77, 0.16) !important;
  --sky:
    radial-gradient(900px 520px at 50% 118%, rgba(31, 221, 134, 0.10), transparent 60%),
    radial-gradient(1100px 760px at 50% -12%, #0c1714 0%, #081011 46%, #06080a 100%) !important;
  --tex-opacity: 0 !important;
  --tex2-opacity: 0 !important;
}
.sky-fx { display: none !important; }       /* no moon / shooting stars */
#theme-toggle { display: none !important; } /* palette is fixed, not time-of-day */
.brand { letter-spacing: 0.02em; }
.brand-icon { filter: drop-shadow(0 0 10px rgba(31, 221, 134, 0.5)); }

/* ---------- controls ---------- */
.controls { padding: 16px 18px; }
.ctl-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ctl-row + .ctl-row { margin-top: 12px; }
.ctl { display: inline-flex; flex-direction: column; gap: 4px; }
.ctl-l { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ctl-sel { min-width: 200px; }
.print-cta { margin-left: auto; }
.ss-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }

/* ---------- board ---------- */
.board { margin-top: 8px; }
.board-h { font-size: 1.15rem; margin: 18px 0 4px; }
.board-empty { padding: 26px 14px; text-align: center; color: var(--muted); font-size: 0.92rem; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: var(--surface); }

.sport-block { margin: 18px 0 10px; }
.sport-h { display: flex; align-items: center; gap: 9px; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.sport-ic { font-size: 1.15rem; }
.sport-n { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--accent); background: var(--accent-bg); padding: 2px 9px; border-radius: 999px; }
.day-block { margin: 14px 0; }
.day-h { font-size: 0.92rem; color: var(--muted); margin: 0 0 4px; position: sticky; top: 0; }

.games { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }

/* ---------- one game row ---------- */
.game {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 8px 14px; align-items: center;
  padding: 11px 14px; border-bottom: 1px solid var(--border);
}
.game:last-child { border-bottom: 0; }
.game.state-in { background: var(--accent-bg); box-shadow: inset 3px 0 0 var(--accent); }
.g-when { display: flex; flex-direction: column; line-height: 1.2; }
.g-time { font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--accent); letter-spacing: 0.01em; }
.g-day { font-size: 0.72rem; color: var(--muted); }
.g-match { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.95rem; min-width: 0; }
.team { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.team.win { color: var(--text); }
.t-score { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); margin-left: 4px; }
.vee { color: var(--faint); font-size: 0.8rem; }
.ev-title { font-weight: 600; }
.g-live { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; color: #fff; background: var(--danger); padding: 2px 8px; border-radius: 999px; box-shadow: 0 0 10px rgba(255, 77, 77, 0.6); animation: ss-pulse 1.6s ease-in-out infinite; }
@keyframes ss-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.g-ft { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.g-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.g-league { font-size: 0.72rem; color: var(--muted); }
.g-chan { font-size: 0.8rem; font-weight: 600; color: var(--accent); }
.g-chan.none { color: var(--faint); font-weight: 500; }
.g-chan.none a { color: var(--muted); }

@media (max-width: 560px) {
  .game { grid-template-columns: 78px 1fr; }
  .g-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding-top: 2px; border-top: 1px dashed var(--border); }
}

/* ---------- sport index ---------- */
.idx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.idx-group h3 { font-size: 0.92rem; margin: 0 0 8px; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lg-chip { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.lg-chip:hover { border-color: var(--accent); background: var(--surface-2); text-decoration: none; }
.lg-chip-hub { border-color: var(--border-strong); background: var(--accent-bg); color: var(--accent); font-weight: 700; }
.lg-chip-hub:hover { border-color: var(--accent); background: var(--accent-bg); }
.idx-hub { color: var(--text); }
.idx-hub:hover { color: var(--accent); text-decoration: none; }
.idx-hub-arr { color: var(--accent); font-weight: 700; }

/* ---------- where-to-watch table ---------- */
.watch-season { font-size: 0.82rem; color: var(--muted); margin: 0 0 12px; }
.watch-tbl th { white-space: nowrap; color: var(--text); font-weight: 600; vertical-align: top; }
.watch-tbl td { white-space: normal; }
.chan { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; margin: 2px 4px 2px 0; }
.chan.is-tv { color: var(--accent); background: var(--accent-bg); }
.chan.is-stream { color: var(--warn); background: var(--warn-bg); }
.chan.chan-none { color: var(--faint); background: var(--surface-2); font-weight: 500; }
.verify { font-size: 0.74rem; color: var(--muted); }
.chan-note { font-size: 0.74rem; color: var(--faint); margin-top: 4px; }

/* ---------- how-list / prose ---------- */
.how-list { margin: 6px 0 0; padding-left: 18px; }
.how-list li { margin: 8px 0; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.how-list strong { color: var(--text); }
.faq-wrap { margin-top: 22px; }
.faq-wrap > h2 { font-size: 1.15rem; margin-bottom: 8px; }
.prose h2 { font-size: 1.08rem; margin: 18px 0 6px; }
.prose p { font-size: 0.92rem; line-height: 1.65; color: var(--muted); margin: 0 0 10px; }
.prose a { color: var(--accent); }

/* ---------- print header (screen: hidden) ---------- */
.print-header { display: none; }

/* ============================================================
   PER-SPORT THEMES.
   Each /sport/<slug>/ page wraps its body in
   `.sport-page.theme-<group>` (see pages/render.mjs). A theme block
   re-declares the accent custom-properties on that wrapper — a NORMAL
   (non-!important) declaration on `.theme-*` wins over the inherited
   `:root{--accent …!important}` for every descendant, because the
   :root !important only binds the html element, not children that have
   their own matching declaration. So the whole content surface recolors
   with no FOUC and no scaffold change. `.sport-bg` is a fixed, full-bleed,
   pointer-inert layer that paints a CSS-only, sport-congruent texture
   across the viewport (behind everything), kept low-opacity over the
   near-black scoreboard base so every game row stays readable.
   ============================================================ */
.sport-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.sport-hero {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 12px; padding: 6px 15px 6px 9px; border-radius: 999px;
  background: var(--accent-bg); border: 1px solid var(--border-strong);
}
.sport-hero-ic { font-size: 1.35rem; line-height: 1; filter: drop-shadow(0 0 9px var(--accent)); }
.sport-hero-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }

/* ⚽ Soccer — Telstar hex/seam mesh + pitch mow stripes (grass green) */
.theme-soccer { --accent: #3fdd6f; --accent-bg: rgba(63,221,111,0.14); --on-accent: #04140d; --border-strong: rgba(63,221,111,0.34); }
.theme-soccer .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(63,221,111,0.10), transparent 60%),
    repeating-linear-gradient(60deg, transparent 0 37px, rgba(255,255,255,0.035) 37px 39px),
    repeating-linear-gradient(-60deg, transparent 0 37px, rgba(255,255,255,0.035) 37px 39px),
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(255,255,255,0.035) 37px 39px),
    repeating-linear-gradient(90deg, rgba(63,221,111,0.045) 0 92px, transparent 92px 184px);
}

/* 🏈 NFL / gridiron — white yard lines on a faint field (first-down gold) */
.theme-football { --accent: #f5c542; --accent-bg: rgba(245,197,66,0.15); --on-accent: #1c1400; --border-strong: rgba(245,197,66,0.36); }
.theme-football .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(245,197,66,0.09), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255,255,255,0.07) 74px 77px, transparent 77px 80px),
    linear-gradient(0deg, rgba(34,84,50,0.12), rgba(18,48,30,0.05));
}

/* 🏀 NBA — hardwood planks + faint center-court ring (basketball orange) */
.theme-basketball { --accent: #f2792e; --accent-bg: rgba(242,121,46,0.15); --on-accent: #1c0c00; --border-strong: rgba(242,121,46,0.36); }
.theme-basketball .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(242,121,46,0.10), transparent 60%),
    radial-gradient(440px 440px at 50% 7%, transparent 205px, rgba(242,121,46,0.10) 206px 209px, transparent 210px),
    repeating-linear-gradient(90deg, rgba(180,110,60,0.05) 0 24px, rgba(120,72,36,0.05) 24px 48px);
}

/* ⚾ MLB — red stitch seams + outfield-grass arc (ballpark royal) */
.theme-baseball { --accent: #4a8df0; --accent-bg: rgba(74,141,240,0.16); --on-accent: #ffffff; --border-strong: rgba(74,141,240,0.36); }
.theme-baseball .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(74,141,240,0.10), transparent 60%),
    radial-gradient(150% 90% at 50% 125%, rgba(70,120,70,0.10), transparent 55%),
    repeating-linear-gradient(35deg, rgba(226,59,46,0.09) 0 3px, transparent 3px 15px);
}

/* 🏒 NHL — ice sheet: red center line, blue lines, face-off rings (ice cyan) */
.theme-hockey { --accent: #5fd0e6; --accent-bg: rgba(95,208,230,0.16); --on-accent: #052028; --border-strong: rgba(95,208,230,0.36); }
.theme-hockey .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(95,208,230,0.10), transparent 60%),
    radial-gradient(300px 300px at 22% 30%, transparent 58px, rgba(220,40,40,0.07) 59px 61px, transparent 62px),
    radial-gradient(300px 300px at 78% 30%, transparent 58px, rgba(220,40,40,0.07) 59px 61px, transparent 62px),
    linear-gradient(90deg, transparent 0 49.5%, rgba(220,40,40,0.10) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 0 31%, rgba(70,120,220,0.10) 31% 31.8%, transparent 31.8% 68.2%, rgba(70,120,220,0.10) 68.2% 69%, transparent 69%),
    linear-gradient(0deg, rgba(120,180,230,0.05), rgba(150,200,235,0.03));
}

/* 🏁 F1 / motorsport — checkered flag + asphalt + red speed glow (racing red) */
.theme-motorsport { --accent: #ff3b30; --accent-bg: rgba(255,59,48,0.15); --on-accent: #ffffff; --border-strong: rgba(255,59,48,0.38); }
.theme-motorsport .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(255,59,48,0.11), transparent 60%),
    linear-gradient(45deg, rgba(255,255,255,0.045) 25%, transparent 25% 75%, rgba(255,255,255,0.045) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.045) 25%, transparent 25% 75%, rgba(255,255,255,0.045) 75%);
  background-size: auto, 46px 46px, 46px 46px;
  background-position: 0 0, 0 0, 23px 23px;
}

/* 🎾 Tennis — court-blue surface + white tramlines / baselines (optic yellow) */
.theme-tennis { --accent: #d2ee3a; --accent-bg: rgba(210,238,58,0.16); --on-accent: #1a2000; --border-strong: rgba(210,238,58,0.36); }
.theme-tennis .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(210,238,58,0.09), transparent 60%),
    linear-gradient(90deg, transparent 0 13%, rgba(255,255,255,0.06) 13% 13.6%, transparent 13.6% 86.4%, rgba(255,255,255,0.06) 86.4% 87%, transparent 87%),
    linear-gradient(90deg, transparent 0 49.7%, rgba(255,255,255,0.045) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 0 16%, rgba(255,255,255,0.05) 16% 16.5%, transparent 16.5% 83.5%, rgba(255,255,255,0.05) 83.5% 84%, transparent 84%),
    linear-gradient(0deg, rgba(40,90,160,0.12), rgba(28,66,124,0.06));
}

/* ⛳ Golf — rolling fairway mow-stripe arcs + green glow (deep fairway green) */
.theme-golf { --accent: #1faf5a; --accent-bg: rgba(31,175,90,0.16); --on-accent: #03160c; --border-strong: rgba(31,175,90,0.36); }
.theme-golf .sport-bg {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(31,175,90,0.12), transparent 60%),
    repeating-linear-gradient(102deg, rgba(31,175,90,0.06) 0 44px, rgba(12,110,56,0.06) 44px 88px);
}

/* secondary sports — accent + a matching top glow so no page reads as "default" */
.theme-combat { --accent: #ff5252; --accent-bg: rgba(255,82,82,0.15); --on-accent: #1a0303; --border-strong: rgba(255,82,82,0.36); }
.theme-cricket { --accent: #e0853a; --accent-bg: rgba(224,133,58,0.15); --on-accent: #1a0d00; --border-strong: rgba(224,133,58,0.36); }
.theme-rugby { --accent: #79c06a; --accent-bg: rgba(121,192,106,0.15); --on-accent: #07160a; --border-strong: rgba(121,192,106,0.34); }
.theme-aussie { --accent: #e2b13a; --accent-bg: rgba(226,177,58,0.15); --on-accent: #1a1300; --border-strong: rgba(226,177,58,0.36); }
.theme-lacrosse { --accent: #7d8cf5; --accent-bg: rgba(125,140,245,0.16); --on-accent: #06081c; --border-strong: rgba(125,140,245,0.36); }
.theme-volleyball { --accent: #33c4c4; --accent-bg: rgba(51,196,196,0.16); --on-accent: #04201f; --border-strong: rgba(51,196,196,0.36); }
.theme-combat .sport-bg { background: radial-gradient(900px 520px at 50% -10%, rgba(255,82,82,0.10), transparent 60%); }
.theme-cricket .sport-bg { background: radial-gradient(900px 520px at 50% -10%, rgba(224,133,58,0.10), transparent 60%); }
.theme-rugby .sport-bg { background: radial-gradient(900px 520px at 50% -10%, rgba(121,192,106,0.10), transparent 60%); }
.theme-aussie .sport-bg { background: radial-gradient(900px 520px at 50% -10%, rgba(226,177,58,0.10), transparent 60%); }
.theme-lacrosse .sport-bg { background: radial-gradient(900px 520px at 50% -10%, rgba(125,140,245,0.10), transparent 60%); }
.theme-volleyball .sport-bg { background: radial-gradient(900px 520px at 50% -10%, rgba(51,196,196,0.10), transparent 60%); }

/* ============================================================
   THE DAILY SHEET — printable guide (on-screen preview styles).
   The same markup is restyled to an editorial broadsheet in @media print.
   ============================================================ */
/* controls */
.ds-anchor { display: inline-flex; align-items: center; gap: 6px; }
.ds-step { font-size: 1.15rem; font-weight: 800; line-height: 1; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.ds-step:hover { border-color: var(--accent); background: var(--surface-2); }
.ds-date { font: inherit; font-size: 0.9rem; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); color-scheme: dark; }
.ds-today-btn { font-size: 0.8rem; font-weight: 700; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--accent); cursor: pointer; }
.ds-today-btn:hover { border-color: var(--accent); background: var(--accent-bg); }
.ds-hint { font-size: 0.78rem; color: var(--muted); align-self: center; }

/* sheet (screen preview) */
.ds-sheet { margin-top: 12px; }
.ds-masthead { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--border-strong); padding-bottom: 10px; margin-bottom: 14px; }
.ds-brand { font-size: 1.5rem; font-weight: 900; letter-spacing: 0.03em; color: var(--accent); line-height: 1; }
.ds-dateline { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text); margin-top: 4px; }
.ds-meta { text-align: right; font-size: 0.74rem; color: var(--muted); line-height: 1.5; }
.ds-meta span { display: block; }
.ds-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.strip-chip { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); }
.ds-pulse { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.ds-pulse.ds-pulse-1 { grid-template-columns: 1fr; }
.pulse-col { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--panel); padding: 10px 12px; }
.pulse-col h3 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 6px; }
.pulse-list { list-style: none; margin: 0; padding: 0; }
.pulse-ev { display: grid; grid-template-columns: 62px 1fr auto; gap: 8px; align-items: baseline; padding: 3px 0; font-size: 0.85rem; color: var(--text); }
.pe-time { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.pe-chan { color: var(--muted); font-size: 0.78rem; text-align: right; }

.ds-ladder { list-style: none; margin: 0; padding: 0; }
.ds-slot { display: grid; grid-template-columns: 80px 1fr; gap: 0 12px; border-top: 1px solid var(--border); }
.slot-time time { display: block; font-weight: 800; font-size: 1rem; color: var(--accent); font-variant-numeric: tabular-nums; text-align: right; padding: 8px 12px 8px 0; border-right: 2px solid var(--border-strong); }
.slot-games { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 104px 1fr auto; gap: 4px 10px; align-items: baseline; padding: 7px 0 7px 12px; border-left: 3px solid var(--border-strong); }
.ev + .ev { border-top: 1px dashed var(--border); }
.ev-sport { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.ev-match { font-size: 0.9rem; color: var(--text); }
.ev-match .home, .ev-match .away { font-weight: 600; }
.ev-match .vs { color: var(--faint); padding: 0 5px; }
.ev-chan { justify-self: end; text-align: right; font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.ev-chan.none { color: var(--muted); font-weight: 500; }   /* --muted clears WCAG AA; --faint did not */
.ev-live { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: var(--danger); padding: 1px 6px; border-radius: 999px; margin-left: 6px; }
.ev-fin { font-size: 0.7rem; color: var(--muted); margin-left: 6px; }
/* sport-keyed left bar on the ladder (screen = vivid theme accents) */
.ev[data-group="soccer"] { border-left-color: #3fdd6f; }
.ev[data-group="football"] { border-left-color: #f5c542; }
.ev[data-group="basketball"] { border-left-color: #f2792e; }
.ev[data-group="baseball"] { border-left-color: #4a8df0; }
.ev[data-group="hockey"] { border-left-color: #5fd0e6; }
.ev[data-group="motorsport"] { border-left-color: #ff3b30; }
.ev[data-group="tennis"] { border-left-color: #d2ee3a; }
.ev[data-group="golf"] { border-left-color: #1faf5a; }

.ds-day .ds-band { background: var(--accent-bg); color: var(--accent); font-weight: 800; letter-spacing: 0.05em; padding: 6px 12px; border-radius: var(--radius-sm); margin: 18px 0 6px; }
.ds-band-date { font-weight: 600; color: var(--muted); }
.ds-day:first-child .ds-band { margin-top: 4px; }
.ds-footer { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 10px; text-align: center; }
.ds-hook { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.ds-disc { font-size: 0.72rem; color: var(--faint); margin: 4px auto 0; max-width: 620px; }
.ds-empty { padding: 34px 14px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius-sm); }

@media (max-width: 560px) {
  .ds-pulse { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 88px 1fr; }
  .ev-chan { grid-column: 1 / -1; justify-self: start; text-align: left; padding-top: 2px; }
}

/* ============================================================
   PRINT — one clean page, compartmentalized by sport.
   ============================================================ */
@media print {
  :root { --maxw: 100%; }
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #fff; }
  body { background: #fff !important; color: #111 !important; }
  .sky-fx, .site-header, .site-footer, .hub-nav, .ad-slot, .aff, .controls, .no-print, .static-intro.no-print, .sport-bg, .sport-hero { display: none !important; }
  #main { padding: 0 6px; max-width: 100%; }

  .print-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid #111; padding-bottom: 6px; margin-bottom: 10px; }
  .ph-brand { font-size: 1.2rem; font-weight: 800; color: #111; }
  .ph-meta { font-size: 0.8rem; color: #333; }

  .sport-block { margin: 10px 0; }
  .sport-h { color: #111; border-bottom: 1.5px solid #111; font-size: 1rem; break-after: avoid; }
  .sport-n { display: none; }
  .games { border: 1px solid #bbb; background: #fff; overflow: visible; }   /* rows are the break unit, never clipped */
  .game { break-inside: avoid; border-bottom: 1px solid #ddd; padding: 5px 8px; grid-template-columns: 90px 1fr auto; font-size: 0.82rem; }
  .game.state-in { background: #fff; }
  .g-time, .team.win, .t-score, .g-chan, .sport-ic { color: #111 !important; }
  .g-day, .g-league, .vee { color: #555 !important; }
  .g-chan { font-weight: 700; }
  .g-live { background: #111; }
  .board-empty { display: none; }
}

/* ============================================================
   THE DAILY SHEET — editorial broadsheet @media print.
   Scoped to .ds-sheet so the home/sport print rules above are untouched.
   ============================================================ */
@page { size: portrait; margin: 12mm 10mm; }
@media print {
  .ds-sheet { font: 9.5pt/1.28 ui-serif, Georgia, "Times New Roman", serif; color: #000; }

  /* masthead — editorial signature, repeats nothing but anchors page 1 */
  .ds-masthead { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px;
    border-bottom: 3px double #000; padding-bottom: 6px; margin-bottom: 8px; break-after: avoid; }
  .ds-brand { font-weight: 900; font-size: 21pt; letter-spacing: 0.02em; line-height: 0.95; color: #000; }
  .ds-dateline { font-size: 11pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; color: #000; }
  .ds-meta { text-align: right; font-size: 7.5pt; line-height: 1.35; color: #222; }
  .ds-meta span { display: block; }

  /* sport-index strip */
  .ds-strip { display: flex; flex-wrap: wrap; gap: 3px 9px; font-size: 7.5pt; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 0.75pt solid #000;
    padding-bottom: 4px; margin-bottom: 8px; break-inside: avoid; }
  .strip-chip { background: none; border: 0; color: #000; padding: 0; }

  /* on-now / up-next */
  .ds-pulse { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border: 1pt solid #000;
    padding: 5px 8px; margin-bottom: 9px; break-inside: avoid; }
  .ds-pulse.ds-pulse-1 { grid-template-columns: 1fr; }
  .pulse-col { border: 0; background: none; padding: 0; }
  .pulse-col h3 { font-size: 7.5pt; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 3px;
    color: #000; border-bottom: 0.5pt solid #999; }
  .pulse-ev { display: grid; grid-template-columns: 52px 1fr auto; gap: 0 6px; padding: 1.5px 0; font-size: 8pt; color: #000; }
  .pe-time { font-weight: 800; font-variant-numeric: tabular-nums; }
  .pe-chan { text-align: right; font-weight: 700; }

  /* the time ladder (the spine) */
  .ds-ladder { list-style: none; margin: 0; padding: 0; }
  .ds-slot { display: grid; grid-template-columns: 62px 1fr; break-inside: avoid; border-top: 0.5pt solid #999; }
  .ds-slot:nth-child(even) { background: #f4f4f4; }   /* needs Background graphics on */
  .slot-time time { display: block; font-weight: 800; font-size: 12pt; font-variant-numeric: tabular-nums;
    text-align: right; padding: 4px 8px 4px 0; border-right: 1.5pt solid #000; color: #000; }
  .slot-games { list-style: none; margin: 0; padding: 0; }
  .ev { display: grid; grid-template-columns: 56px 1fr 116px; gap: 0 8px; align-items: baseline;
    padding: 3px 0 3px 6px; break-inside: avoid; border-left: 3px solid #000; border-top: 0; }
  .ev + .ev { border-top: 0.4pt solid #ddd; }
  .ev-sport { font-size: 7.5pt; text-transform: uppercase; font-weight: 700; letter-spacing: 0.02em; color: #000; }
  .ev-match { font-size: 9.5pt; color: #000; }
  .ev-match .home, .ev-match .away { font-weight: 600; }
  .ev-match .vs { color: #888; font-weight: 400; padding: 0 4px; }
  .ev-chan { justify-self: end; text-align: right; font-weight: 700; font-size: 8.5pt; color: #000;
    border: 0.75pt solid #000; border-radius: 3px; padding: 1px 5px; }   /* boxed, scan the right edge */
  .ev-chan.none { border-style: dashed; color: #555; font-weight: 600; }
  .ev-live { background: #000 !important; color: #fff !important; font-size: 6.5pt; padding: 1px 5px; border-radius: 2px; }
  .ev-fin { color: #555; font-size: 7.5pt; }

  /* print-safe sport colours (desaturated to survive B/W), via data-group */
  .ev[data-group="soccer"] { border-left-color: #1f7a3d; }
  .ev[data-group="football"] { border-left-color: #8a6d10; }
  .ev[data-group="basketball"] { border-left-color: #c0531f; }
  .ev[data-group="baseball"] { border-left-color: #2c4a8f; }
  .ev[data-group="hockey"] { border-left-color: #1f6f86; }
  .ev[data-group="tennis"] { border-left-color: #6b7d10; }
  .ev[data-group="motorsport"] { border-left-color: #b8312a; }
  .ev[data-group="golf"] { border-left-color: #1f7a3d; }

  /* weekly day bands */
  .ds-sheet[data-mode="day"] .ds-band { display: none; }
  .ds-band { background: #000 !important; color: #fff !important; font-weight: 800; letter-spacing: 0.05em;
    padding: 3px 8px; margin: 10px 0 4px; break-after: avoid; font-size: 10pt; }
  .ds-band-date { font-weight: 600; color: #ccc !important; }

  .ds-empty { border: 0; text-align: center; font-size: 11pt; padding: 24px 0; color: #000; }

  /* footer — return hook + disclaimer */
  .ds-footer { border-top: 1pt solid #000; margin-top: 10px; padding-top: 5px; font-size: 7pt; color: #333; text-align: center; }
  .ds-hook { font-weight: 800; color: #000; font-size: 8pt; }
  .ds-disc { max-width: 100%; color: #444; }
}
