/* =========================================================
   The Tip-Off — design system
   ========================================================= */
:root {
  --bg: #0a0a0c;
  --bg-elev: #111114;
  --surface: #17171c;
  --surface-2: #202027;
  --surface-3: #2a2a33;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #8b8b95; /* 4.8:1 or better on every surface */
  --accent: #fa4e02; /* brand orange, from the logo pin */
  --accent-soft: rgba(250, 78, 2, 0.14);
  --free: #3ddc97;
  --free-bg: rgba(61, 220, 151, 0.12);
  --paid: #fbbf24;
  --paid-bg: rgba(251, 191, 36, 0.12);
  --tv: #8ab4ff;
  --tv-bg: rgba(138, 180, 255, 0.12);
  --event: #e8d5a3; /* showcase events (champagne, distinct from the amber Paid colour) */
  --live: #ff3b3b;
  --mine: #5eead4; /* games and channels in the viewer's own services */
  --mine-bg: rgba(94, 234, 212, 0.12);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1440px;
  /* Left/right inset that keeps content aligned to a centered 1440px column. */
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ticker-h: 44px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 156px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: calc(var(--ticker-h) + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: #0a0a0c; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.kicker {
  margin: 0; font: 600 12px/1.2 var(--font-body); color: var(--accent); font-variant-numeric: tabular-nums;
}
.dek { margin: 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 62ch; }

/* =========================================================
   Masthead
   ========================================================= */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: saturate(180%) blur(22px); /* taste-skill-ignore: the one sticky bar */
  -webkit-backdrop-filter: saturate(180%) blur(22px); /* taste-skill-ignore: the one sticky bar */
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 0 var(--edge); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand { gap: 11px; padding: 10px 0; align-self: center; }
.brand-mark { height: 56px; width: auto; transition: opacity .16s ease, transform .35s var(--ease); }
.brand-mark.swapping { opacity: 0; transform: scale(.82) translateY(4px); }
.brand-word { height: 46px; width: auto; }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-6deg); }
.footer-brand .brand-mark { height: 64px; }
.footer-brand .brand-word { height: 52px; }
.tabs { display: flex; gap: 8px; align-self: stretch; }
.tab {
  position: relative; display: flex; align-items: center; padding: 0 12px; color: #c4c4cc; font-weight: 650; font-size: 17px;
  transition: color .15s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: var(--text); border-radius: 4px 4px 0 0;
}
.search {
  margin: 0 0 0 auto; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 12px; height: 40px; width: min(400px, 36vw);
  transition: border-color .15s, background .15s;
}
.search:focus-within { border-color: var(--line-strong); background: var(--surface-2); }
.search svg { width: 17px; height: 17px; stroke: var(--muted); stroke-width: 2; fill: none; flex-shrink: 0; }
.search input { all: unset; flex: 1; min-width: 0; color: var(--text); font-size: 16px; height: 100%; }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); cursor: pointer; }
.search { position: relative; }
.head-suggest { min-width: 320px; }
.sug-all svg { width: 18px; height: 18px; margin: 0 4px; stroke: var(--muted); stroke-width: 2; fill: none; }
.sug-all .sug-name { font-weight: 500; color: var(--muted); }
.team-today {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  margin: 4px var(--edge) 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong);
}
.team-today p { margin: 0; flex: 1 1 260px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.team-today strong { color: var(--text); }
.team-today .btn { height: 40px; }
.search-toggle, .search-close { display: none; }
.search-close { place-items: center; flex-shrink: 0; width: 30px; height: 30px; margin-right: -6px; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.search-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.search-close:hover { color: var(--text); background: var(--surface-3); }
.search kbd {
  font: 500 12px/1 var(--font-body); color: var(--dim); font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-strong); border-radius: 5px; padding: 3px 6px;
}

.filters {
  display: flex; align-items: center; gap: 16px; padding: 10px var(--edge);
  border-top: 1px solid var(--line);
}
.chips {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); /* taste-skill-ignore: edge fade on a scrolling row */
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); /* taste-skill-ignore: edge fade on a scrolling row */
  padding-right: 24px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 34px;
  padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-weight: 600; font-size: 13px;
  transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--muted)); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.segmented {
  position: relative; display: inline-flex; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 3px; gap: 2px;
}
.segmented button {
  border: 0; background: transparent; height: 28px; padding: 0 14px; border-radius: 7px;
  color: var(--muted); font-weight: 600; font-size: 13px; transition: background .15s, color .15s;
}
.segmented button:hover { color: var(--text); }
.segmented button { position: relative; z-index: 1; }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 7px; background: var(--surface-3); z-index: 0; pointer-events: none; }
.segmented:has(.seg-thumb) button[aria-pressed="true"] { background: transparent; }
.segmented button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.segmented button[data-price="free"][aria-pressed="true"] { color: var(--free); }
.segmented button[data-price="paid"][aria-pressed="true"] { color: var(--paid); }
.segmented button[data-price="mine"][aria-pressed="true"] { color: var(--mine); }
.seg-short { display: none; }
.region-seg button { font-family: var(--font-body); font-size: 12px; padding: 0 11px; }

/* Canadian-listing note inside a game or team popup */
.region-note {
  display: flex; gap: 10px; align-items: baseline; margin: -4px 0 18px; padding: 10px 12px;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; line-height: 1.5;
}
.region-flag {
  flex-shrink: 0; font: 600 12px/1 var(--font-body); font-variant-numeric: tabular-nums;
  color: var(--accent); padding: 4px 6px; border-radius: 5px; border: 1px solid rgba(250, 78, 2, .4);
}

/* =========================================================
   Intro + stats
   ========================================================= */
.intro {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end;
  padding: clamp(28px, 4vw, 52px) var(--edge) clamp(22px, 2.6vw, 32px);
}
.intro h1 {
  margin: 14px 0 18px;
  font: 800 clamp(38px, 5vw, 74px)/0.92 var(--font-display); font-stretch: 72%;
  text-transform: uppercase; letter-spacing: -0.015em;
}
.intro h1 .h1-sub {
  display: block; margin-top: 12px;
  font: 600 clamp(15px, 1.35vw, 18px)/1.3 var(--font-body); font-stretch: normal;
  text-transform: none; letter-spacing: 0; color: var(--text);
}
.stats {
  margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.stats > div { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 20px; }
.stats dt { font: 500 13px/1.3 var(--font-body); color: var(--muted); }
.stats dd {
  margin: 6px 0 0; font: 800 clamp(30px, 3.4vw, 46px)/1 var(--font-display); font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}
.stat-free dd { color: var(--free); }
.stat-link { display: inline-flex; align-items: baseline; gap: 12px; color: inherit; border-radius: 6px; }
.stat-cta {
  font: 600 12px/1 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums;
  padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-strong);
  transform: translateY(-6px); transition: color .15s, border-color .15s, background .15s;
}
.stat-free .stat-cta { color: var(--free); border-color: rgba(61, 220, 151, .35); }
.stat-link:hover .stat-cta { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.stat-free .stat-link:hover .stat-cta { color: var(--bg); background: var(--free); border-color: var(--free); }

/* Free-games picker */
.picker-hero { background: rgba(61, 220, 151, .09); gap: 10px; padding-bottom: 18px; }
.picker-hero .m-title { margin: 0; }
.big-hero { background: rgba(250, 78, 2, .1); }
.big-tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 3px 6px; border-radius: 5px;
  font: 600 12px/1 var(--font-body); white-space: nowrap; font-variant-numeric: tabular-nums;
  color: var(--muted); border: 1px solid var(--line-strong);
}
.big-tag.top10 { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.big-tag.both { color: var(--accent); border-color: rgba(250, 78, 2, .5); }
.event-tag {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 8px 4px 6px; border-radius: 6px;
  font: 600 12px/1.1 var(--font-body); white-space: nowrap; font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis;
  color: var(--event); background: rgba(232, 213, 163, .1); border: 1px solid rgba(232, 213, 163, .45);
}
.event-tag svg { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-event {
  position: absolute; left: 10px; bottom: 9px; z-index: 2; max-width: calc(100% - 20px);
  background: rgba(10, 10, 12, .8);
}
.hero-event { align-self: flex-start; margin: -2px 0 8px; font-size: 12px; padding: 5px 10px 5px 8px; background: rgba(10, 10, 12, .55); }
.m-event { display: flex; justify-content: center; }
.sched-item .o .event-tag { align-self: flex-start; }
.big-tag.tv { color: var(--tv); border-color: rgba(138, 180, 255, .4); }
.sched-item .o .rk { font: 600 12px/1 var(--font-body); color: var(--muted); margin-right: 4px; }
.hero-more-n { font: 600 12px/1 var(--font-body); padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.picker-dek { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 56ch; }
.picker-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.picker-chips .chip em { font-style: normal; font: 600 12px/1 var(--font-body); opacity: .7; }
.picker-body h3 { display: flex; justify-content: space-between; align-items: baseline; color: var(--text); }
.picker-body h3:first-child { margin-top: 8px; }
.picker-count { color: var(--dim); font-weight: 500; }
.picker-back { height: 34px; margin-bottom: 14px; }
.picker-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* =========================================================
   Section heads, layout primitives
   ========================================================= */
.view { padding-bottom: 24px; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: clamp(40px, 5vw, 64px) var(--edge) 14px; position: relative;
}
.sec-head h2 {
  margin: 0; font: 800 clamp(20px, 2vw, 26px)/1.1 var(--font-display); font-stretch: 92%; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.sec-head .sub { color: var(--dim); font: 500 12px/1.3 var(--font-body); text-align: right; }
.sec-side { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.see-all {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 600 13px/1 var(--font-body); white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.see-all b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.see-all:hover { border-color: var(--text); background: var(--surface); }
.row-hero { background: var(--surface); }
/* Press feedback (js/motion-fx.js animates --press) */
@property --press { syntax: "<number>"; inherits: false; initial-value: 1; }
.btn, .chip, .see-all, .segmented button, .sched-day, .stat-link, .card, .srow, .sched-item, .team-tile, .plat, .rail-item, .svc, .t-item { scale: var(--press); }

/* First paint: the headline block eases in (CSS, so it runs before any script loads) */
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
.intro-copy > *, .intro .stats { animation: enter .5s var(--ease) both; }
.intro-copy > :nth-child(2) { animation-delay: .06s; }
.intro .stats { animation-delay: .12s; }

/* Schedule: the TV listings, one day at a time */
.sched-days {
  display: flex; gap: 6px; margin: 0 var(--edge); padding: 2px 0 14px; overflow-x: auto; scrollbar-width: none;
}
.sched-days::-webkit-scrollbar { display: none; }
.sched-day {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 92px;
  padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; text-align: left;
  color: var(--muted); font: 500 12px/1.2 var(--font-body); font-variant-numeric: tabular-nums;
  transition: background .15s, border-color .15s, color .15s;
}
.sched-day b { color: var(--text); font-size: 15px; font-weight: 650; }
.sched-day:hover { border-color: var(--line-strong); color: var(--text); }
.sched-day[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.sched-day[aria-pressed="true"] b { color: var(--bg); }
.sched-list { margin: 0 var(--edge); border-top: 1px solid var(--line); }
.srow {
  display: grid; grid-template-columns: 96px minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: center;
  width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: none;
  text-align: left; color: var(--text); transition: background .15s;
}
.srow:hover { background: var(--surface); }
.srow-time { font: 650 15px/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.srow-time small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--c, var(--dim)); }
.srow.is-final .srow-time { color: var(--muted); }
.srow-live { color: var(--live); }
.srow-match { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.srow-match .event-tag { align-self: flex-start; margin-top: 2px; }
.srow-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 15px; }
.srow-team.lost { color: var(--muted); }
.srow-team img, .srow-team .mono { width: 22px; height: 22px; max-width: none; flex-shrink: 0; object-fit: contain; }
.srow-team .mono { font-size: 9px; border-width: 1px; background: var(--surface-3); }
.srow-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow-name .rk { color: var(--dim); font-size: 12px; font-weight: 600; margin-right: 5px; font-variant-numeric: tabular-nums; }
.srow-team .sc { margin-left: auto; padding-left: 12px; font-variant-numeric: tabular-nums; font-weight: 700; }
.srow-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sched-more { margin: 14px var(--edge) 0; }

/* Find a team + conference filter */
.sched-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 0 var(--edge) 14px; }
.sched-find { position: relative; flex: 1 1 320px; max-width: 520px; }
.sched-conf { position: relative; flex: 0 1 240px; }
.sched-conf::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.sched-conf select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 44px; padding: 0 38px 0 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); font: 600 16px/1 var(--font-body); cursor: pointer;
}
.sched-conf select:hover, .sched-conf select:focus { border-color: var(--text); background: var(--surface-2); }
.sched-conf-note { color: var(--muted); font-weight: 500; }
.sched-empty { margin-top: 4px; }
.sched-find-box {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color .15s, background .15s;
}
.sched-find-box:focus-within { border-color: var(--text); background: var(--surface-2); }
.sched-find-box svg { width: 17px; height: 17px; stroke: var(--muted); stroke-width: 2; fill: none; flex-shrink: 0; }
.sched-find-box input { all: unset; flex: 1; min-width: 0; height: 100%; color: var(--text); font-size: 16px; }
.sched-find-box input::placeholder { color: var(--dim); }
.sched-find-box input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); cursor: pointer; }
.sched-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55); /* taste-skill-ignore: floating menu */
}
.sug {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 9px 10px; border-radius: 8px; cursor: pointer;
}
.sug[aria-selected="true"], .sug:hover { background: var(--surface-3); }
.sug img, .sug .mono { width: 26px; height: 26px; max-width: none; object-fit: contain; font-size: 10px; border-width: 1px; background: var(--surface-3); }
.sug-name { min-width: 0; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-name small { margin-left: 8px; color: var(--dim); font-size: 12px; font-weight: 600; }
.sug-n { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sug-empty { padding: 10px; color: var(--muted); font-size: 14px; }
.sched-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 var(--edge) 12px; }
.pick-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 6px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: 13px;
}
.pick-chip img, .pick-chip .mono { width: 22px; height: 22px; max-width: none; object-fit: contain; font-size: 9px; border-width: 1px; }
.pick-x { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; }
.pick-chip:hover { border-color: var(--text); }
.pick-clear { border: 0; background: none; padding: 0 6px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pick-clear:hover { color: var(--text); }
.sched-day { position: relative; }
.sched-day.has-dot::after {
  content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--paid);
}
.sched-day-team { border-color: var(--paid); }
.sched-day-team b { color: var(--paid); }
.sched-day-team[aria-pressed="true"] { background: var(--paid); border-color: var(--paid); }
.sched-day-team[aria-pressed="true"] b, .sched-day-team[aria-pressed="true"] span { color: var(--bg); }
.sched-team-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 4px var(--edge) 14px; }
.sched-team-head p { margin: 0; color: var(--muted); font-size: 15px; }
.sched-team-head strong { color: var(--text); }
.sched-team-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sched-team-actions .btn { height: 36px; }
.sched-dayhead { margin: 0; padding: 18px 10px 8px; font: 650 15px/1.2 var(--font-body); color: var(--text); border-bottom: 1px solid var(--line); }
.sched-group { margin: 0; padding: 16px 10px 8px; font-size: 13px; font-weight: 650; color: var(--paid); border-bottom: 1px solid var(--line); }
.sched-group + .srow, .sched-dayhead + .srow { border-top: 0; }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,59,59,.6); animation: ping 1.8s infinite; } /* taste-skill-ignore: live pulse */
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } } /* taste-skill-ignore: live pulse */

.page-head { padding: clamp(32px, 5vw, 60px) var(--edge) 4px; }
.page-head h1, .page-head h2 {
  margin: 12px 0 12px; font: 800 clamp(36px, 5vw, 68px)/0.95 var(--font-display); font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.page-head .dek { margin-bottom: 4px; }

.grid {
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr));
  padding: 4px var(--edge);
}

/* =========================================================
   Featured + Up Next rail
   ========================================================= */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 380px); gap: 16px;
  padding: 0 var(--edge);
}
.hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  min-height: clamp(340px, 34vw, 470px); display: flex; align-items: flex-end;
  background: var(--surface); border: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,12,.97) 6%, rgba(10,10,12,.45) 52%, rgba(10,10,12,.15)), /* taste-skill-ignore: neutral scrim so text reads over team colour */
    linear-gradient(to right, rgba(10,10,12,.9), rgba(10,10,12,.2) 62%); /* taste-skill-ignore: neutral scrim so text reads over team colour */
}
.hero-logos {
  position: absolute; right: 5%; top: 46%; transform: translateY(-50%);
  display: flex; align-items: center; gap: clamp(10px, 2.4vw, 32px); z-index: -1;
}
.hero-logos img, .hero-logos .mono { width: clamp(84px, 11vw, 168px); height: auto; max-width: none; }
.hero-logos .mono { aspect-ratio: 1; font-size: clamp(22px, 2.6vw, 40px); }
.hero-logos .vs { font: 800 clamp(16px, 2vw, 26px)/1 var(--font-display); color: rgba(255,255,255,.5); }
.hero-content { padding: clamp(22px, 3.4vw, 40px); max-width: min(600px, 58%); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font: 600 13px/1 var(--font-body); color: var(--muted);
}
.eyebrow .league-tag { color: var(--c, var(--accent)); }
.hero h2 {
  margin: 12px 0 10px; font: 800 clamp(32px, 4.3vw, 62px)/0.95 var(--font-display); font-stretch: 78%;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.hero .meta { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.hero-platforms { align-items: center; }
.hero-verdict { align-self: stretch; height: auto; min-height: 26px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 40%, transparent); }
.hero-actions { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.hero-actions .btn { flex: 0 0 auto; }

.rail {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-elev);
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
}
.rail-head {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.rail-head h2 { margin: 0; font: 800 20px/1 var(--font-display); font-stretch: 92%; text-transform: uppercase; }
.rail-head span { font: 500 12px/1 var(--font-body); color: var(--dim); }
.rail-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.rail-item {
  width: 100%; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 13px 18px; border: 0; background: none; text-align: left; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.rail-list li:last-child .rail-item { border-bottom: 0; }
.rail-item:hover { background: var(--surface); }
.rail-time { font: 650 15px/1.3 var(--font-body); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rail-time small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 13px; }
.rail-match { font-weight: 600; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-match .rk { color: var(--dim); font-size: 12px; font-weight: 600; margin-right: 3px; }
.rail-sub { display: flex; gap: 6px; margin-top: 5px; flex-wrap: wrap; }

/* =========================================================
   Buttons, pills, tags
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0;
  height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 650; font-size: 15px; white-space: nowrap;
  transition: transform .12s, background .15s, color .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary svg { fill: currentColor; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--text); border: 1px solid var(--line); }
.btn-ghost svg { fill: none; stroke: currentColor; stroke-width: 2; }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-ghost.is-on { color: var(--paid); }
.btn-ghost.is-on svg { fill: currentColor; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px;
  font: 600 12px/1 var(--font-body); font-variant-numeric: tabular-nums;
  padding: 0 8px; border-radius: 6px; background: rgba(10,10,12,.78);
  white-space: nowrap; color: var(--text);
}
.pill.live { background: #dc2626; color: #fff; } /* white text 4.8:1 */
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.pill.free { color: var(--free); }
.pill.paid { color: var(--paid); }
.pill.tba { color: var(--muted); }
.pill.lg { color: var(--c); }
.pill.big { height: 30px; padding: 0 12px; font-size: 12px; }

.platform-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px;
  font-size: 12px; font-weight: 600; padding: 0 8px; border-radius: 6px;
  background: var(--surface-2); color: var(--text); white-space: nowrap;
}
.ptag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); flex-shrink: 0; }
.ptag.free::before, .ptag.antenna::before { background: var(--free); }
.ptag.paid::before { background: var(--paid); }
.ptag.tv::before { background: var(--tv); }
.ptag.more { color: var(--muted); }
.ptag.more::before { display: none; }
.ptag em { font-style: normal; color: var(--muted); font-weight: 500; }

.access {
  display: inline-flex; align-items: center; height: 22px;
  font: 600 12px/1 var(--font-body); font-variant-numeric: tabular-nums;
  padding: 0 8px; border-radius: 6px; white-space: nowrap;
}
.access.free, .access.antenna { color: var(--free); background: var(--free-bg); }
.access.paid { color: var(--paid); background: var(--paid-bg); }
.access.tv { color: var(--tv); background: var(--tv-bg); }
.access.unknown { color: var(--muted); background: var(--surface-2); }
.access.mine, .pill.mine { color: var(--mine); background: var(--mine-bg); gap: 4px; }
.access svg, .pill.mine svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; }
.pill.mine { background: rgba(10, 10, 12, .72); }
.hero-verdict.mine { background: rgba(10, 10, 12, .62); }
.plat-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* My services: banner, legend prompt, picker */
.legend-cta {
  border: 0; background: none; padding: 0; color: var(--mine); font: inherit; letter-spacing: inherit; text-align: left;
}
.legend-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.mine-bar {
  display: flex; align-items: center; gap: 12px; margin: 18px var(--edge) 0; padding: 12px 14px 12px 16px;
  border-radius: 12px; background: var(--mine-bg); border: 1px solid rgba(94, 234, 212, .3);
}
.mine-bar > svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--mine); stroke-width: 2; }
.mine-bar p { margin: 0; flex: 1; color: var(--muted); font-size: 15px; line-height: 1.45; }
.mine-bar strong { color: var(--mine); }
.mine-bar small { display: block; margin-top: 2px; color: var(--dim); font-size: 13px; }
.mine-bar .btn { height: 34px; padding: 0 14px; }
.inline-link { border: 0; background: none; padding: 0; font: inherit; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.verdict.mine { background: var(--mine-bg); color: var(--mine); }
.page-cta { margin-top: 18px; height: 38px; }
.page-cta svg, .team-cal svg { fill: none; stroke: currentColor; stroke-width: 2; }
.svc-hero { background: rgba(94, 234, 212, .08); }
.svc-hero .kicker { color: var(--mine); }
.svc-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.svc-group + .svc-group { margin-top: 6px; }
.svc-group legend { padding: 0; margin: 22px 0 12px; font: 650 15px/1.2 var(--font-body); color: var(--text); }
.svc {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; cursor: pointer;
  padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  transition: background .15s, border-color .15s;
}
.svc:hover { background: var(--surface-2); }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc-box {
  width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.svc-box svg { width: 14px; height: 14px; fill: none; stroke: var(--bg); stroke-width: 3.2; opacity: 0; }
.svc:has(input:checked) { border-color: rgba(94, 234, 212, .45); background: var(--mine-bg); }
.svc input:checked + .svc-box { background: var(--mine); border-color: var(--mine); }
.svc input:checked + .svc-box svg { opacity: 1; }
.svc input:focus-visible + .svc-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc-text b { display: block; font-weight: 650; font-size: 15px; }
.svc-text small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.svc-n { text-align: right; font: 600 12px/1.2 var(--font-body); color: var(--text); white-space: nowrap; }
.svc-n small { display: block; color: var(--dim); font-weight: 500; font-size: 12px; margin-top: 2px; }
.svc-actions {
  position: sticky; bottom: -28px; display: flex; gap: 8px; margin: 20px 0 0; padding: 14px 0;
  background: var(--bg-elev);
}
.svc-actions .btn-primary { flex: 0 1 auto; min-width: 0; }

/* Add to calendar */
.cal-menu { position: relative; }
.cal-menu summary { list-style: none; }
.cal-menu summary::-webkit-details-marker { display: none; }
.cal-menu summary svg { fill: none; stroke: currentColor; stroke-width: 2; }
.cal-pop {
  position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 6; min-width: 280px; padding: 6px;
  display: flex; flex-direction: column; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55); /* taste-skill-ignore: floating menu */
}
.cal-pop a, .cal-pop button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px;
  border: 0; background: none; text-align: left; font-weight: 600; font-size: 15px; color: var(--text);
}
.cal-pop a:hover, .cal-pop button:hover { background: var(--surface-3); }
.cal-pop small { color: var(--dim); font: 500 12px/1 var(--font-body); white-space: nowrap; }
.team-cal { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 18px; }
.team-cal span { color: var(--dim); font-size: 13px; line-height: 1.5; flex: 1 1 220px; }
.ltag { font: 600 12px/1 var(--font-body); padding: 5px 7px; border-radius: 5px; background: var(--surface-2); color: var(--c, var(--muted)); }

.legend {
  display: flex; gap: 8px 20px; flex-wrap: wrap; padding: 18px var(--edge) 0; color: var(--muted);
  font: 500 12px/1.3 var(--font-body);
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* =========================================================
   Shelves (horizontal rows)
   ========================================================= */
.row { position: relative; }
.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(252px, 23vw, 316px);
  gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px var(--edge) 20px; scroll-padding: 0 var(--edge); scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; }
.shelf.teams-shelf { grid-auto-columns: 152px; }
.shelf-arrow {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface-2);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s, background .15s;
}
.shelf-arrow svg { width: 18px; height: 18px; stroke: var(--text); stroke-width: 2.2; fill: none; }
.shelf-arrow:hover { background: var(--surface-3); }
.shelf-arrow.prev { left: calc(var(--edge) - 20px); }
.shelf-arrow.next { right: calc(var(--edge) - 20px); }
.row:hover .shelf-arrow.can, .shelf-arrow.can:focus-visible { opacity: 1; pointer-events: auto; }
@media (hover: none) { .shelf-arrow { display: none; } }

/* =========================================================
   Game card
   ========================================================= */
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  text-align: left; border: 1px solid var(--line); padding: 0;
  transition: transform .25s var(--ease), border-color .2s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: var(--line-strong); z-index: 2; }
  .card:hover .card-art img { transform: scale(1.06); }
}
.card-art {
  position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: 16px; overflow: hidden;
}
/* Away team's colour on the left half; the element's own background is the home team's. */
.card-art::before, .hero-bg::before, .m-hero::before { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--ta, transparent); }
.m-hero::before { z-index: -2; }
.card-art img { width: 30%; max-width: 88px; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 0 1px rgba(255,255,255,.35)); transition: transform .35s var(--ease); } /* taste-skill-ignore: 1px edge keeps dark logos visible */
.card-art .at { position: relative; z-index: 1; font: 800 13px/1 var(--font-display); color: rgba(255,255,255,.75); }
.card-art .art-title {
  position: relative; z-index: 1; padding: 0 18px; text-align: center;
  font: 800 20px/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.005em;
}
.mono {
  width: 30%; max-width: 76px; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; position: relative; z-index: 1;
  font: 800 18px/1 var(--font-display); background: rgba(0,0,0,.28); border: 2px solid rgba(255,255,255,.35); color: #fff;
}
.card-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; z-index: 2; gap: 6px; }
.card-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-weight: 650; font-size: 15px; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; }
.card-title .team { display: flex; justify-content: space-between; gap: 8px; }
.card-title .team span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title .rank { color: var(--dim); font-size: 12px; font-weight: 600; margin-right: 5px; font-variant-numeric: tabular-nums; }
.card-title .score { font-variant-numeric: tabular-nums; font-weight: 750; }
.card-title .lost { color: var(--dim); }
.card-sub { color: var(--muted); font-weight: 500; font-size: 13px; }
.card-meta { color: var(--muted); font: 500 12px/1.3 var(--font-body); }
.card .platform-row { margin-top: auto; padding-top: 2px; }

/* =========================================================
   Team tiles
   ========================================================= */
.team-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); }
.team-tile {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0;
  position: relative; overflow: hidden; transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.team-tile::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 64%;
  background: var(--tc, #333); opacity: .16; transition: opacity .2s;
}
@media (hover: hover) { .team-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); } .team-tile:hover::before { opacity: .26; } }
.team-tile img, .team-tile .mono { width: 60px; height: 60px; max-width: none; position: relative; }
.team-tile .mono { font-size: 19px; background: var(--tc); }
.team-tile .tname { font-weight: 650; font-size: 13px; line-height: 1.25; position: relative; }
.team-tile .tleague { font: 500 12px/1 var(--font-body); color: var(--dim); position: relative; }
.team-tile .fav { position: absolute; top: 9px; right: 9px; width: 15px; height: 15px; fill: var(--paid); z-index: 1; }

.az {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 4px var(--edge) 0;
}
.az a {
  min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px;
  font: 600 12px/1 var(--font-body); color: var(--muted); background: var(--surface); font-variant-numeric: tabular-nums;
}
.az a:hover { color: var(--text); background: var(--surface-2); }

/* =========================================================
   Platform cards
   ========================================================= */
.plat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.plat {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev);
  padding: 18px; display: flex; flex-direction: column; gap: 10px; text-align: left; min-width: 0;
  transition: border-color .15s, background .15s, transform .2s var(--ease);
}
@media (hover: hover) { .plat:hover { border-color: var(--line-strong); background: var(--surface); transform: translateY(-2px); } }
.plat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plat h3 { margin: 0; font: 800 20px/1.1 var(--font-display); font-stretch: 92%; }
.plat .price { font-weight: 650; font-size: 15px; }
.plat p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.plat .leagues { display: flex; gap: 6px; flex-wrap: wrap; }
.plat .count {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
  color: var(--dim); font: 500 12px/1.3 var(--font-body); display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums;
}
.plat .count b { color: var(--text); font-weight: 700; }

/* =========================================================
   Notices, empty, skeleton
   ========================================================= */
.notice {
  margin: 18px var(--edge) 0; padding: 14px 16px; border-radius: 12px;
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--muted); font-size: 15px;
}
.notice strong { color: var(--text); }
.notice .btn { height: 34px; margin-left: 8px; }
.empty { padding: 56px var(--edge); text-align: center; color: var(--muted); }
.empty h3 { color: var(--text); margin: 0 0 6px; font: 800 26px/1.1 var(--font-display); font-stretch: 85%; text-transform: uppercase; }
.empty p { margin: 0 auto; max-width: 46ch; }

.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--radius); } /* taste-skill-ignore: loading shimmer */
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-feature { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 380px); gap: 16px; padding: 0 var(--edge); }
.skel-feature .skel { min-height: clamp(340px, 34vw, 470px); border-radius: var(--radius-lg); }
.skel-row { display: flex; gap: 14px; padding: 6px var(--edge); overflow: hidden; }
.skel-row .skel { flex: 0 0 clamp(252px, 23vw, 316px); aspect-ratio: 4 / 3.4; }

/* =========================================================
   Guide (SEO copy)
   ========================================================= */
.guide { padding: clamp(40px, 6vw, 80px) var(--edge) 20px; margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line-strong); }
.guide-head { max-width: 860px; }
.guide-head h2, .guide-cols h2 {
  margin: 12px 0 14px; font: 800 clamp(30px, 4vw, 54px)/0.95 var(--font-display); font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.guide-cols h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 0; }
.league-guide {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 14px; margin: 32px 0 0;
}
.lg-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); padding: 20px;
  border-top: 3px solid var(--c); display: flex; flex-direction: column; gap: 10px;
}
.lg-card h3 { margin: 0; font: 800 20px/1.1 var(--font-display); font-stretch: 88%; text-transform: uppercase; }
.lg-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.lg-card strong { color: var(--text); font-weight: 600; }
.lg-card .lg-free { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.lg-free span { color: var(--free); font: 600 12px/1 var(--font-body); margin-right: 4px; }
.guide-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: clamp(40px, 6vw, 72px); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line);
  color: var(--muted); line-height: 1.6;
}
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 16px;
  font: 700 15px/1.6 var(--font-body); color: var(--text); font-variant-numeric: tabular-nums;
}
.steps strong { color: var(--text); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative;
  font-weight: 650; font-size: 15px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 12px 2px no-repeat, /* taste-skill-ignore: draws the FAQ plus sign */
    linear-gradient(var(--muted), var(--muted)) center / 2px 12px no-repeat; /* taste-skill-ignore: draws the FAQ plus sign */
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--text); }
.faq p { margin: 0; padding: 0 0 18px; color: var(--muted); line-height: 1.65; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-strong); background: var(--bg-elev); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 32px; padding: 48px var(--edge) 32px;
}
.footer-brand p { color: var(--muted); max-width: 32ch; margin: 14px 0 0; }
.site-footer h2 { margin: 0 0 14px; font: 650 15px/1.2 var(--font-body); color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-weight: 500; }
.site-footer ul a:hover { color: var(--text); }
.footer-note p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-base { padding: 18px var(--edge) 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* =========================================================
   Modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); animation: fade .2s; }
.modal-sheet {
  position: relative; width: min(740px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-elev); border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,.65); animation: rise .3s var(--ease); /* taste-skill-ignore: dialog */
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal-close {
  /* Sticky, right-aligned block (not a float): a float would squeeze the colored header beside it. */
  position: sticky; top: 14px; margin: 14px 14px -50px auto; z-index: 5; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(10,10,12,.85);
  display: grid; place-items: center;
}
.modal-close svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.2; fill: none; }
.modal-close:hover { background: rgba(10,10,12,.85); }
.m-hero { position: relative; padding: 40px 28px 28px; display: flex; flex-direction: column; gap: 16px; isolation: isolate; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-elev), rgba(17,17,20,.4)); z-index: -1; } /* taste-skill-ignore: neutral scrim so text reads over team colour */
.m-matchup { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 5vw, 44px); }
.m-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; width: 40%; }
.m-team img, .m-team .mono { width: clamp(68px, 15vw, 104px); height: auto; max-width: none; }
.m-team .mono { aspect-ratio: 1; font-size: 26px; }
.m-team .nm { font: 800 20px/1.1 var(--font-display); font-stretch: 88%; }
.m-team .nm .rk { color: var(--muted); font-size: 15px; margin-right: 2px; }
.m-team .sc { font: 800 34px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.m-vs { color: var(--muted); font: 800 16px/1 var(--font-display); }
.m-title { margin: 6px 0 0; font: 800 clamp(28px, 5vw, 40px)/0.95 var(--font-display); font-stretch: 78%; text-transform: uppercase; text-align: center; }
.m-when { text-align: center; color: var(--muted); font-size: 15px; }
.m-when strong { color: var(--text); display: block; font-size: 17px; font-weight: 650; margin-bottom: 2px; }
.m-body { padding: 4px 28px 28px; }
.m-body h3 { margin: 26px 0 12px; font: 650 15px/1.2 var(--font-body); color: var(--text); }
.verdict { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 12px; font-weight: 650; }
.verdict svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.verdict.free { background: var(--free-bg); color: var(--free); }
.verdict.paid { background: var(--paid-bg); color: var(--paid); }
.verdict.unknown { background: var(--surface); color: var(--muted); }
.verdict small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 3px; line-height: 1.5; }
.watch-list { display: flex; flex-direction: column; gap: 8px; }
.watch {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center;
  padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
}
.watch .wn { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.watch .wp { color: var(--text); font-size: 13px; font-weight: 600; text-align: right; }
.watch .wnote { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 1.5; }
.watch .wlink { grid-column: 1 / -1; justify-self: start; font-size: 13px; color: var(--tv); font-weight: 650; display: inline-flex; gap: 4px; align-items: center; }
.watch .wlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.m-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.m-small { color: var(--dim); font-size: 13px; margin: 16px 0 0; line-height: 1.5; }

.sched { display: flex; flex-direction: column; gap: 6px; }
.sched-item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 13px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left; width: 100%;
  transition: background .15s, border-color .15s;
}
.sched-item:hover { background: var(--surface-2); border-color: var(--line-strong); }
.sched-item .d { color: var(--muted); font: 500 12px/1.4 var(--font-body); }
.sched-item .d b { color: var(--text); display: block; font-weight: 700; font-size: 13px; }
.sched-item .o { font-weight: 650; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sched-item .o .res { color: var(--muted); font-weight: 500; font-size: 13px; }
.summary-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.summary-chips .ptag { height: 30px; font-size: 13px; padding: 0 10px; }
.past { margin-top: 20px; }
.past summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 6px 0; }
.past summary:hover { color: var(--text); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--ticker-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 150; padding: 11px 18px; border-radius: 10px; background: var(--text); color: var(--bg);
  font-weight: 650; font-size: 15px; box-shadow: 0 12px 30px rgba(0,0,0,.5); animation: rise .25s var(--ease); /* taste-skill-ignore: toast */
}

/* =========================================================
   Bottom ticker
   ========================================================= */
.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--ticker-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex; align-items: center;
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
}
.ticker-label {
  flex-shrink: 0; align-self: stretch; display: flex; align-items: center; gap: 8px;
  padding: 0 14px 0 var(--edge); height: var(--ticker-h);
  font: 600 12px/1 var(--font-body); color: var(--accent); font-variant-numeric: tabular-nums;
}
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ticker-viewport {
  flex: 1; min-width: 0; height: var(--ticker-h); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); /* taste-skill-ignore: edge fade on a scrolling row */
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); /* taste-skill-ignore: edge fade on a scrolling row */
}
.ticker-track { display: flex; width: max-content; height: 100%; animation: ticker var(--dur, 80s) linear infinite; }
.ticker-group { display: flex; align-items: center; height: 100%; }
.ticker:hover .ticker-track,
.ticker:has(:focus-visible) .ticker-track,
.ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.t-item {
  display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 18px;
  border: 0; background: none; color: var(--muted); font: 500 13px/1 var(--font-body); white-space: nowrap; font-variant-numeric: tabular-nums;
  font-variant-numeric: tabular-nums; position: relative;
}
.t-item + .t-item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line-strong); }
.t-item:hover, .t-item:focus-visible { color: var(--text); }
.t-item b { color: var(--text); font-weight: 700; }
.t-item .w { color: var(--text); font-weight: 700; }
.t-item .rk { color: var(--dim); font-size: 12px; }
.t-tag { font: 600 12px/1 var(--font-body); color: var(--c, var(--muted)); }
.t-live { color: var(--live); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.t-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: blink 1.4s infinite; }
.t-final { color: var(--dim); font-weight: 700; font-size: 12px; }
.t-ch { display: inline-flex; align-items: center; gap: 5px; }
.t-ch::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.t-ch.free::before, .t-ch.antenna::before { background: var(--free); }
.t-ch.paid::before { background: var(--paid); }
.t-ch.tv::before { background: var(--tv); }
.t-news { color: var(--text); font-family: var(--font-body); font-size: 13px; font-weight: 500; }
.t-news .t-arrow { color: var(--dim); }
.t-empty { padding: 0 18px; color: var(--dim); font: 500 13px/1 var(--font-body); white-space: nowrap; }
.ticker-pause {
  flex-shrink: 0; width: 44px; height: var(--ticker-h); border: 0; border-left: 1px solid var(--line);
  background: transparent; display: grid; place-items: center; margin-right: max(0px, calc(var(--edge) - 16px));
}
.ticker-pause svg { width: 14px; height: 14px; fill: var(--muted); }
.ticker-pause:hover svg { fill: var(--text); }
.ticker-pause .i-play { display: none; }
.ticker.paused .ticker-pause .i-play { display: block; }
.ticker.paused .ticker-pause .i-pause { display: none; }
/* The ticker scrolls on its own everywhere (phones included); only "Reduce motion" turns it into a still strip you can swipe. */
@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ticker-viewport::-webkit-scrollbar { display: none; }
  .ticker-track { animation: none; }
  .ticker-group[aria-hidden="true"], .ticker-pause { display: none; }
  .ticker-label { padding-right: 8px; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .feature, .skel-feature { grid-template-columns: minmax(0, 1fr); }
  .skel-feature .skel:last-child { display: none; }
  .rail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-list li .rail-item { border-bottom: 1px solid var(--line); }
  .rail-list li:nth-child(odd) .rail-item { border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .guide-cols { grid-template-columns: minmax(0, 1fr); }
  /* Tablet: let the search box give up width instead of pushing the bar 4px past the screen. */
  .search { width: auto; flex: 1 1 160px; min-width: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 180px; }
  .bar { flex-wrap: wrap; row-gap: 0; padding-top: 0; padding-bottom: 0; min-height: 0; }
  .brand { padding: 9px 0 8px; }
  .brand-mark { height: 54px; }
  .brand-word { height: 44px; }
  .search { order: 2; width: auto; flex: 1 1 120px; min-width: 0; margin-left: 4px; height: 38px; }
  /* Phones: a search button beside a bigger logo; tapping it opens the box across the whole row */
  .masthead:not(.searching) .search { display: none; }
  .search-toggle {
    display: grid; place-items: center; order: 2; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  }
  .search-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.2; fill: none; }
  .masthead.searching .brand, .masthead.searching .search-toggle { display: none; }
  .masthead.searching .search { flex: 1 1 100%; margin: 13px 0 14px; height: 44px; }
  .search-close { display: grid; }
  .masthead { transition: transform .28s var(--ease); }
  .masthead.tucked { transform: translateY(-100%); }
  .search kbd { display: none; }
  .tabs { order: 3; align-self: auto; width: calc(100% + 2 * var(--edge)); margin: 0 calc(-1 * var(--edge)); padding: 0 calc(var(--edge) - 10px); border-top: 1px solid var(--line); }
  .tabs { gap: 0; }
  .tab { flex: 1; justify-content: center; padding: 12px 6px; font-size: 16px; }
  .tab.active::after { bottom: 0; left: 18%; right: 18%; }
  .filters { gap: 8px 10px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
  .filters .chips { flex: 1 0 100%; }
  .region-seg { margin-left: auto; }
  .segmented button { padding: 0 10px; }
  .seg-long { display: none; }
  .seg-short { display: inline; }
  .mine-bar { align-items: flex-start; }
  .svc { grid-template-columns: 22px minmax(0, 1fr); }
  .svc-n { grid-column: 2; text-align: left; }
  .svc-n small { display: inline; margin-left: 4px; }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 0; }
  .hero-logos { position: static; transform: none; justify-content: center; padding-top: 30px; z-index: 0; }
  .hero-logos:empty { display: none; }
  .hero-logos img, .hero-logos .mono { width: 84px; }
  .hero-content { max-width: none; padding-top: 18px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 150px; }
  .rail-list { grid-template-columns: minmax(0, 1fr); }
  .rail-list li:nth-child(odd) .rail-item { border-right: 0; }
  .rail-list li:nth-child(n + 5) { display: none; }
  .sec-head .sub { display: none; }
  .srow { grid-template-columns: 74px minmax(0, 1fr); gap: 8px 10px; padding: 12px 4px; align-items: start; }
  .srow-time { white-space: nowrap; }
  .srow-ch { grid-column: 2; }
  .srow-time { font-size: 14px; }
  .sched-day { min-width: 84px; padding: 8px 12px; }
  .sched-find, .sched-conf { flex: 1 1 100%; max-width: none; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-sheet { width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; border-bottom: 0; animation: sheet .32s var(--ease); }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
  .m-hero, .m-body { padding-left: 18px; padding-right: 18px; }
  .sched-item { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
  .stats > div:nth-child(even) { padding-left: 14px; }

  /* Phone first screen: answer "what's on and where" before anything else. The headline and its
     one-line description stay; the eyebrow and long paragraph give way (still in the HTML for search),
     the four stats become one row of the two that matter, and the featured game fits above the ticker. */
  .intro { gap: 14px; padding-top: 18px; padding-bottom: 16px; }
  .intro .kicker, .intro .dek { display: none; }
  .intro h1 { margin: 0; }
  .intro h1 .h1-sub { margin-top: 8px; }
  .stats > div:nth-child(n + 3) { display: none; }
  .stats > div { padding: 10px 0; border-bottom: 0; }
  .stats dd { font-size: 28px; margin-top: 4px; }
  .stat-link { gap: 10px; }
  .stat-cta { transform: translateY(-3px); padding: 5px 8px; }
  .hero-logos { padding-top: 20px; }
  .hero-logos img, .hero-logos .mono { width: 72px; }
  .hero-content { padding-top: 12px; padding-bottom: 18px; }
  .hero h2 { margin: 10px 0 8px; }
  .hero .meta { margin-bottom: 12px; }
  .hero-actions { margin-top: 14px; }
  .hero-content { text-align: center; }
  .hero .eyebrow, .hero-platforms { justify-content: center; }
  .hero-event { align-self: center; }
  .footer-brand p { max-width: none; }
  /* Phones: the headline and today's numbers are centred, like the featured game below them */
  .intro-copy { text-align: center; }
  .stats > div, .stats > div:nth-child(odd), .stats > div:nth-child(even) { padding-left: 8px; padding-right: 8px; text-align: center; }
  .stat-link { justify-content: center; }
  /* Pop-up buttons: an even two-column grid of equal buttons; an odd one out spans the row */
  .m-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .m-foot > .cal-menu { min-width: 0; }
  .m-foot > .btn, .m-foot .cal-menu summary { width: 100%; min-width: 0; justify-content: center; padding-left: 10px; padding-right: 10px; }
  .m-foot .btn svg { flex-shrink: 0; }
  .m-foot > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .legend { justify-content: center; text-align: center; }
  .legend-cta { flex: 1 0 100%; text-align: center; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: block; padding: 12px 0; } /* each link a full 44px tap */
  body { font-size: 16px; }
  .card-meta, .legend, .m-small, .picker-count, .rail-head span, .sug-name small { font-size: 13px; }
  .sched-day { font-size: 13px; }
  .srow-team .mono, .sug .mono, .pick-chip .mono { font-size: 10px; }
  .footer-grid { gap: 32px 24px; }
}
@media (max-width: 420px) {
  .segmented button { padding: 0 8px; font-size: 13px; }
  .chip { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Touch screens: small controls get an invisible 44px tap area around them, so they're easy to hit
   without making them look bigger or moving anything. */
@media (pointer: coarse) {
  .chip, .segmented button, .see-all, .stat-link, .legend-cta, .search-close { position: relative; }
  .chips { padding-top: 5px; padding-bottom: 5px; margin-top: -5px; margin-bottom: -5px; } /* room inside the scrolling row */
  .chip::after, .segmented button::after, .see-all::after, .stat-link::after, .legend-cta::after, .search-close::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
}
