:root { color-scheme: light; font-family: system-ui, sans-serif; color: #17212b; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1240px; margin: auto; padding: 24px; }
header, .games-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h1 { margin: 0; font-size: 1.7rem; }
h2 { font-size: 1.25rem; }
nav { display: flex; align-items: center; gap: 12px; }
a { color: #165b9b; }
button { font: inherit; padding: 6px 12px; border: 1px solid #a6aeb6; border-radius: 4px; background: #fff; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #165b9b; outline-offset: 3px; }
[hidden] { display: none !important; }
#status, #games-note, .game-time, .odds-time { color: #52606c; }
#games-note { font-size: .9rem; line-height: 1.5; }
.game { border-top: 1px solid #e2e7ec; padding: 22px 0; min-width: 0; }
.game-time { margin: 0 0 18px; font-size: 12px; line-height: 1.4; text-align: center; }
.showcase { container-type: inline-size; width: 100%; min-width: 0; }
.pill-surface { position: relative; padding: 14px 25px 12px; border-radius: 100px; background: #fff; border: 1px solid #e2e7ec; box-shadow: 0 12px 35px -18px #182b4233; }
.pill-surface > .odds-time { margin: 18px 20px 0; font-size: 11px; line-height: 1.4; text-align: center; }
.pill-surface[data-expanded="true"] { border-radius: 42px 42px 0 0; box-shadow: none; }
.matchup {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.35fr) minmax(0, 1.1fr);
  width: 100%; align-items: center; gap: 4px; color: #162330;
}
.logo-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; min-width: 0; }
.team-logo { width: clamp(48px, 8cqw, 84px); height: clamp(48px, 8cqw, 84px); object-fit: contain; max-width: 100%; border: 0; border-radius: 0; background: transparent; }
.logo-fallback { color: #73808d; font-size: 11px; text-align: center; }
.game-totals-title { display: none; }
.team-side, .game-totals { display: contents; }
.away-side .logo-cell { grid-area: 1 / 1; }
.away-side .moneyline { grid-area: 1 / 2; }
.away-side .puckline { grid-area: 1 / 3; }
.game-totals .total-over { grid-area: 1 / 4; }
.matchup > .vs { grid-area: 1 / 5; }
.game-totals .total-under { grid-area: 1 / 6; }
.home-side .puckline { grid-area: 1 / 7; }
.home-side .moneyline { grid-area: 1 / 8; }
.home-side .logo-cell { grid-area: 1 / 9; }
.market { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 0; white-space: nowrap; font-variant-numeric: tabular-nums; position: relative; }
.market-label { color: #73808d; font-size: clamp(8px, 1.08cqw, 12px); font-weight: 550; letter-spacing: .5px; text-transform: uppercase; }
.market-price { color: #162330; font-size: clamp(17px, 2.6cqw, 29px); font-weight: 570; letter-spacing: -.8px; line-height: 1; }
.moneyline .market-price { font-size: clamp(21px, 3.6cqw, 40px); font-weight: 650; letter-spacing: -1.3px; }
.market-price.compact-price { font-size: clamp(10px, 2cqw, 23px); letter-spacing: -.7px; }
.odds-format { position: absolute; top: calc(100% + 4px); font-size: 7px; color: #73808d; letter-spacing: .3px; }
.vs { color: #8c96a0; font-size: clamp(22px, 3.3cqw, 36px); font-weight: 600; text-align: center; line-height: 1; }
.selected-moneyline { background: #e8efed; border: 1px solid rgb(34 115 106 / 32%); border-radius: 15px; padding: 13px 0; margin: -13px 2px; }
.selected-moneyline .market-price, .selected-moneyline .market-label { color: #22736a; }
.team-summaries { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 18px; margin: 0 25px 12px; }
.team-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; color: #73808d; }
.home-summary { justify-content: flex-end; text-align: right; }
.team-name { font-size: 12px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; min-width: 0; }
.picked-team { color: #22736a; }
.pick-badge { padding: 5px 8px; border-radius: 5px; background: #e8efed; color: #22736a; font-size: 9px; font-weight: 750; text-transform: uppercase; white-space: nowrap; }
.side-badge { padding: 4px 6px; border-radius: 5px; background: #f5f6f8; font-size: 8px; font-weight: 650; text-transform: uppercase; }
.guest-matchup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guest-matchup .team-logo { width: clamp(64px, 10cqw, 88px); height: clamp(64px, 10cqw, 88px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.odds-time { margin: 12px 0 0; font-size: .8rem; overflow-wrap: anywhere; }
.scorers-toggle { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; color: #22736a; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.scorers-toggle:hover { box-shadow: inset 0 0 0 1px rgb(34 115 106 / 45%); }
.scorers-toggle:focus-visible { outline: 3px solid #165b9b; outline-offset: 3px; }
.disclosure-chevron { position: absolute; bottom: 12px; right: 28px; font-size: 18px; line-height: 1; }
.scorers { margin-top: 0; padding: 20px 28px; border: 1px solid #e2e7ec; border-top: 0; border-radius: 0 0 24px 24px; }
.scorers h3 { margin: 0 0 12px; font-size: 1rem; }
.scorers ol { margin: 0; padding-left: 24px; }
.scorers li { padding: 7px 0; font-size: .9rem; }
.scorer-name { overflow-wrap: anywhere; }
.scorer-price { float: right; margin-left: 10px; font-variant-numeric: tabular-nums; font-weight: 650; }
.scorers p { margin: 12px 0 0; }
/* Mobile is two team rows plus a shared game-total section, never tiny columns. */
@container (max-width: 760px) {
  .pill-surface { padding: 14px 18px 12px; border-radius: 24px; }
  .pill-surface[data-expanded="true"] { border-radius: 24px 24px 0 0; }
  .pill-surface > .odds-time { margin: 18px 12px 0; }
  .game-time { margin-bottom: 20px; }
  .matchup { display: flex; flex-direction: column; gap: 0; }
  .team-side { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); align-items: center; width: 100%; gap: 12px; padding-bottom: 18px; }
  .home-side { padding-top: 18px; border-top: 1px solid #edf0f3; }
  .matchup .team-side > *, .matchup .game-totals > * { grid-area: auto; }
  .matchup > .vs { display: none; }
  .team-logo { width: 64px; height: 64px; }
  .market { gap: 9px; }
  .market-label { font-size: 11px; letter-spacing: .3px; }
  .market-price { font-size: 24px; letter-spacing: -.6px; }
  .moneyline .market-price { font-size: 28px; letter-spacing: -1px; }
  .market-price.compact-price { font-size: 18px; letter-spacing: -.5px; }
  .selected-moneyline { min-height: 82px; padding: 14px 3px; margin: 0; border-radius: 12px; }
  .game-totals { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid #edf0f3; padding-top: 16px; }
  .matchup .game-totals-title { display: block; grid-column: 1 / -1; color: #73808d; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-align: center; }
  .team-summaries { margin: 0 8px 12px; gap: 12px; }
  .team-summary { flex-direction: column; align-items: flex-start; gap: 4px; }
  .home-summary { align-items: flex-end; }
  .team-name { font-size: 12px; }
  .disclosure-chevron { right: 14px; bottom: 12px; }
  .guest-surface { border-radius: 100px; padding: 14px 22px 20px; }
  .guest-matchup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-matchup .team-logo { width: 76px; height: 76px; }
}
@media (max-width: 700px) {
  main { padding: 18px 12px; }
  header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  .games-heading h2 { min-width: 0; }
  .scorers { padding: 14px; }
}
