/* Sport Slate — site styles, layered on the Sky design system (_ue/sky.css + components.css). */

/* ---------- 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: 1.1rem; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-bg); }
.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); }
.g-when { display: flex; flex-direction: column; line-height: 1.2; }
.g-time { font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.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.66rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: var(--danger); padding: 2px 7px; border-radius: 999px; }
.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; }

/* ---------- 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; }

/* ============================================================
   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 { 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 { break-inside: avoid; margin: 10px 0; }
  .sport-h { color: #111; border-bottom: 1.5px solid #111; font-size: 1rem; }
  .sport-n { display: none; }
  .games { border: 1px solid #bbb; background: #fff; }
  .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; }
}
