/* =============================================================
   ParlayDesk — NHL game page, Public Pages 2.0 (2026-11-09, BETA)
   The companion of public-team.css and public-player.css: a presentation
   layer over /public-pages.css, loaded by the NHL game page only and
   scoped to .pp-game2, so the other sports' game pages (same base
   classes) do not change. Both teams' colours arrive on the wrapper as
   --away / --away-fg / --away-edge and --home / --home-fg / --home-edge,
   from public/team-badges.js. The scoreboard tiles take the shared enamel
   finish (public/public-tile.css). No logos or team artwork.
   docs/PUBLIC_PAGES.md
   ============================================================= */

.pp-game2 {
  --away: #1d4ed8; --away-fg: #ffffff; --away-edge: #60a5fa;
  --home: #1d4ed8; --home-fg: #ffffff; --home-edge: #60a5fa;
  --pp-row-hover: rgba(255,255,255,.055);
}
/* Each side's tile reads its own team's colours (.pp-enamel uses --team). */
.pp-game2 .pp-sb-team--away { --team: var(--away); --team-fg: var(--away-fg); --team-edge: var(--away-edge); }
.pp-game2 .pp-sb-team--home { --team: var(--home); --team-fg: var(--home-fg); --team-edge: var(--home-edge); }

/* ── Hero ────────────────────────────────────────────────────── */
/* A faint tint of each team from its own corner, and the two colours as a
   thin edge across the top: away on the left, home on the right, blended
   softly through the middle. The blend is interpolated in OKLab so
   complementary pairs (red/green, orange/blue) pass through a clean mix
   instead of a muddy grey-brown; browsers without colour-space gradients
   keep the plain sRGB blend declared first. */
.pp-game2 .pp-ghero {
  gap: 18px;
  padding: 24px 24px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--pp-surface-2), var(--pp-surface));
  background:
    radial-gradient(60% 130% at 0% 0%, color-mix(in srgb, var(--away-edge) 13%, transparent) 0%, transparent 62%),
    radial-gradient(60% 130% at 100% 0%, color-mix(in srgb, var(--home-edge) 13%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, var(--pp-surface-2), var(--pp-surface));
}
.pp-game2 .pp-ghero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--away-edge) 0%, var(--away-edge) 28%, var(--home-edge) 72%, var(--home-edge) 100%);
  background: linear-gradient(90deg in oklab, var(--away-edge) 0%, var(--away-edge) 28%, var(--home-edge) 72%, var(--home-edge) 100%);
}
.pp-game2 .pp-gname { font-size: 32px; }

/* Scoreboard: [tile · name] score [name · tile]. Each side is a fixed-size
   tile beside its name, so the two sides balance whatever the code or the
   name's length. */
.pp-game2 .pp-sb {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px;
  padding: 18px 20px; border-radius: 14px;
  background: rgba(2,6,23,.38);
}
.pp-game2 .pp-sb-team {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'tile name' 'tile side';
  align-items: center; align-content: center; column-gap: 14px; row-gap: 4px; text-align: left;
}
.pp-game2 .pp-sb-team--home { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name tile' 'side tile'; text-align: right; }
.pp-gtile {
  grid-area: tile; position: relative;
  width: 76px; height: 76px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--team); color: var(--team-fg);
}
.pp-gtile-code { position: relative; z-index: 1; font-size: 25px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.pp-game2 .pp-sb-name { grid-area: name; align-self: end; font-size: 18px; }
.pp-game2 .pp-sb-side { grid-area: side; align-self: start; }
/* Final: the loser steps back (tile, name and score); the winner's score is
   marked with a small pointer. The losing tile keeps its own team colour:
   a light navy veil over the fill (beneath the letters, which stay as
   they are) rather than a desaturating filter, which turned e.g. Sabres
   yellow into a khaki close to Vegas gold. */
.pp-game2 .pp-sb-team.is-loss .pp-gtile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(2,6,23,.16); pointer-events: none;
}
.pp-game2 .pp-sb-team.is-loss .pp-sb-name { color: #a7b3c4; }
/* The loser's name stays secondary at rest, but as a link it answers hover
   and keyboard focus like the winner's (the muted colour used to outrank
   the base :hover, so nothing changed). */
.pp-game2 .pp-sb-team.is-loss a.pp-sb-name:hover,
.pp-game2 .pp-sb-team.is-loss a.pp-sb-name:focus-visible { color: #93c5fd; }
.pp-game2 .pp-sb-mid { min-width: 168px; gap: 7px; }
/* Side padding holds the winner's pointer inside the score's own box. */
.pp-game2 .pp-sb-score { gap: 14px; padding: 0 14px; font-size: 56px; }
.pp-game2 .pp-sb-n { position: relative; }
.pp-game2 .pp-sb-n.is-win::before {
  content: ''; position: absolute; top: 50%; margin-top: -5px;
  border: 5px solid transparent;
}
.pp-game2 .pp-sb-n.is-win:first-child::before { right: calc(100% + 7px); border-left-width: 0; border-right: 6px solid #cbd5e1; }
.pp-game2 .pp-sb-n.is-win:last-child::before { left: calc(100% + 7px); border-right-width: 0; border-left: 6px solid #cbd5e1; }
/* Scheduled: the @ between the teams, then the status and the start time,
   which carries the panel in place of a score. */
.pp-game2 .pp-sb-at { font-size: 34px; color: #64748b; }
.pp-game2 .pp-sb-when { font-size: 14px; }
.pp-game2 .pp-gstatus--scheduled + .pp-sb-when time { font-size: 15.5px; font-weight: 700; }
.pp-game2 .pp-gsum { font-size: 15px; }

/* ── Cards ───────────────────────────────────────────────────── */
.pp-game2 .pp-grid { gap: 16px; margin-top: 16px; }
.pp-game2 .pp-col { gap: 16px; }
.pp-game2 .pp-card { padding: 18px 20px 20px; border-radius: 14px; }
.pp-game2 .pp-card-head { margin-bottom: 10px; }

/* Scoring by period: the team's badge beside its name; the Final column a
   faintly tinted band. */
.pp-pt-badge { --tb-h: 24px; --tb-w: 44px; padding: 0 5px; border-radius: 6px; margin-right: 10px; vertical-align: middle; }
.pp-game2 .pp-ptable th, .pp-game2 .pp-ptable td { padding-top: 10px; padding-bottom: 10px; }
.pp-game2 .pp-ptable tbody .pp-pt-team { font-size: 14.5px; }
.pp-game2 .pp-ptable tbody tr:not(.is-win) .pp-pt-name { color: #cbd5e1; }
.pp-game2 .pp-ptable .pp-pt-final { background: rgba(96,165,250,.07); }
.pp-game2 .pp-ptable thead .pp-pt-final { border-radius: 8px 8px 0 0; }
.pp-game2 .pp-ptable tbody tr:last-child .pp-pt-final { border-radius: 0 0 8px 8px; }
.pp-game2 .pp-ptable tbody .pp-pt-final { font-size: 18px; }

/* Explore teams: the Schedule's code badge, then the name; same rows. */
.pp-game2 .pp-gt { gap: 12px; min-height: 56px; padding: 10px 14px 10px 12px; }
.pp-gt-badge { --tb-h: 30px; --tb-w: 52px; }
.pp-game2 a.pp-gt:hover { background: var(--pp-row-hover); }
.pp-game2 .pp-gt > svg { color: #64748b; }
.pp-game2 a.pp-gt:hover > svg { color: var(--accent2); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pp-gtile { width: 64px; height: 64px; border-radius: 16px; }
  .pp-gtile-code { font-size: 21px; }
  .pp-game2 .pp-sb-team { column-gap: 12px; }
  .pp-game2 .pp-sb-name { font-size: 16px; }
  .pp-game2 .pp-sb-mid { min-width: 140px; }
  .pp-game2 .pp-sb-score { font-size: 48px; }
}
@media (max-width: 640px) {
  /* Phones: each side stacks (tile, name, Away/Home), centred. */
  .pp-game2 .pp-ghero { gap: 14px; padding: 18px 14px 16px; border-radius: 16px; }
  .pp-game2 .pp-gname { font-size: 24px; }
  /* The middle never takes more than its share: a long start time wraps
     rather than squeezing the names into mid-word breaks. Both sides sit
     at the top, so the tiles line up whatever the names' lengths. */
  .pp-game2 .pp-sb {
    grid-template-columns: minmax(0, 1fr) fit-content(38%) minmax(0, 1fr); align-items: start;
    gap: 8px; padding: 16px 8px 14px; border-radius: 13px;
  }
  .pp-game2 .pp-sb-team, .pp-game2 .pp-sb-team--home {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: 'tile' 'name' 'side';
    justify-items: center; row-gap: 6px; text-align: center;
  }
  /* The score's line sits level with the tiles' centres. */
  .pp-game2 .pp-sb-mid { padding-top: 7px; }
  .pp-game2 .pp-sb-when { text-wrap: balance; }
  .pp-gtile { width: 54px; height: 54px; border-radius: 14px; }
  .pp-gtile-code { font-size: 17px; }
  .pp-game2 .pp-sb-name { align-self: auto; font-size: 13.5px; }
  .pp-game2 .pp-sb-mid { min-width: 0; gap: 6px; }
  .pp-game2 .pp-sb-score { gap: 8px; padding: 0 11px; font-size: 40px; }
  .pp-game2 .pp-sb-n.is-win:first-child::before { right: calc(100% + 4px); }
  .pp-game2 .pp-sb-n.is-win:last-child::before { left: calc(100% + 4px); }
  .pp-game2 .pp-sb-at { font-size: 26px; }
  .pp-game2 .pp-sb-when { font-size: 12px; }
  .pp-game2 .pp-gstatus--scheduled + .pp-sb-when time { font-size: 13px; }
  .pp-game2 .pp-gsum { font-size: 14px; }
  .pp-game2 .pp-grid, .pp-game2 .pp-col { gap: 12px; }
  .pp-game2 .pp-grid { margin-top: 12px; }
  .pp-game2 .pp-card { padding: 14px 14px 16px; border-radius: 13px; }
  /* Period table: the badge alone names the team on screen; the full name
     stays for screen readers (the base layout's code text is not needed). */
  .pp-game2 .pp-pt-code { display: none; }
  .pp-game2 .pp-pt-name {
    display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .pp-pt-badge { margin-right: 0; }
  .pp-game2 .pp-ptable tbody .pp-pt-final { font-size: 17px; }
  .pp-gt-badge { --tb-h: 28px; --tb-w: 48px; }
}
@media (max-width: 380px) {
  .pp-game2 .pp-sb { padding: 14px 4px 12px; gap: 4px; }
  .pp-game2 .pp-sb-mid { padding-top: 7px; }
  .pp-gtile { width: 46px; height: 46px; border-radius: 12px; }
  .pp-gtile-code { font-size: 15px; }
  .pp-game2 .pp-sb-name { font-size: 12px; }
  .pp-game2 .pp-sb-score { gap: 5px; padding: 0 9px; font-size: 32px; }
  .pp-game2 .pp-sb-n.is-win::before { margin-top: -4px; border-width: 4px; }
  .pp-game2 .pp-sb-n.is-win:first-child::before { right: calc(100% + 3px); border-right-width: 5px; border-left-width: 0; }
  .pp-game2 .pp-sb-n.is-win:last-child::before { left: calc(100% + 3px); border-left-width: 5px; border-right-width: 0; }
  .pp-pt-badge { --tb-h: 22px; --tb-w: 38px; padding: 0 4px; }
}

/* ── Compact top card (2026-11-10 mobile refinement, BETA) ──────────
   The scoreboard already names both teams (tiles, colours, full names,
   Away/Home), so the big "Away at Home" heading only repeated it — at
   every width. The H1 keeps the matchup for assistive tech and search
   (same element, visually hidden); the league/season eyebrow and the date
   share one compact line above the scoreboard. */
.pp-game2 .pp-gname {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pp-game2 .pp-ghead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; }
.pp-game2 .pp-ghead .pp-eyebrow { margin: 0; }
.pp-game2 .pp-gdate { margin: 0; font-size: 13px; }
.pp-game2 .pp-gdate::before { content: '·'; margin: 0 8px; color: var(--muted); opacity: .7; }
.pp-game2 .pp-ghero { gap: 16px; }
/* Team names wrap between words only — never "Philadelphi-a". */
.pp-game2 .pp-sb-name { overflow-wrap: normal; word-break: normal; -webkit-hyphens: manual; hyphens: manual; }
@media (max-width: 640px) {
  .pp-game2 .pp-ghero { gap: 12px; padding: 14px 12px 14px; }
  /* Phones: eyebrow, then the date on its own short line. */
  .pp-game2 .pp-ghead { flex-direction: column; align-items: flex-start; }
  .pp-game2 .pp-gdate::before { content: none; }
  /* One card, not a card inside a card: the scoreboard sits directly on
     the hero on phones. */
  .pp-game2 .pp-sb { padding: 4px 0 2px; border: 0; background: none; }
  .pp-game2 .pp-gsum { font-size: 13.5px; }
}
@media (max-width: 380px) {
  /* The middle (score, or a wrapped start time) gives the names room. */
  .pp-game2 .pp-sb { grid-template-columns: minmax(0, 1fr) fit-content(32%) minmax(0, 1fr); gap: 2px; padding: 2px 0 0; }
  .pp-game2 .pp-sb-score { gap: 4px; padding: 0 8px; font-size: 30px; }
  .pp-game2 .pp-sb-name { font-size: 12px; letter-spacing: -.005em; }
}

/* ── Phone section order (2026-11-10, BETA) ─────────────────────
   Phones only (≤ 640 px; tablet and desktop keep the approved two-column
   layout untouched). The same elements, visually reordered — nothing is
   duplicated or moved in the DOM, so ids, the box score's refresh and the
   [data-when] access swaps are unchanged:
     1 scoreboard · 2 Team Stats · 3 Scoring by period · 4 box score
     (signed in: #ppGcStats / #ppGcDetail; signed out: the same sections'
     locked previews, #ppGcStatsLocked / #ppGcDetailLocked, 2026-11-16;
     before the game, everyone: #ppGcStatsPre / #ppGcDetailPre, 2026-11-19)
     5–8 see below (signed out: tracking CTA, Player Trends, injury report,
     latest news; signed in: injury report, news, tracking, Player Trends —
     2026-11-23) · 9 Explore teams · 10 footnote.
   The box score regions sit inside the main column since 2026-11-22
   (pageKit.gameMain), so they are matched as descendants, not children.
   The grid and its columns dissolve (display: contents) into one flex
   column whose gap spaces every card; hidden sections (display: none)
   take no gap, so an unavailable section leaves no hole. */
@media (max-width: 640px) {
  .pp-game2 { display: flex; flex-direction: column; gap: 12px; }
  .pp-game2 .pp-grid,
  .pp-game2 .pp-col,
  .pp-game2 .pp-col--side,
  .pp-game2 .pp-locked { display: contents; }
  .pp-game2 > .pp-ghero { order: 1; }
  .pp-game2 > #ppGcStats,
  .pp-game2 > #ppGcStatsLocked,
  .pp-game2 > #ppGcStatsPre { order: 2; margin-top: 0; }
  .pp-game2 .pp-periods { order: 3; }
  .pp-game2 #ppGcDetail,
  .pp-game2 #ppGcDetailLocked,
  .pp-game2 #ppGcDetailPre { order: 4; margin-top: 0; }
  /* Signed out (2026-11-23 sprint §7, the first paint for every visitor):
     the features before the reading — 5 Track your parlays live · 6 Player
     Trends · 7 injury report · 8 latest news · 9 Explore teams. Signed in
     (html.pd-auth-in, public-pages.js): the cards only offer shortcuts, so
     the news stays first — 5 injury report · 6 news · 7 tracking · 8 Player
     Trends. Desktop / tablet columns are unchanged. */
  .pp-game2 .pp-cta { order: 5; }
  .pp-game2 .pp-lock:not([data-when]),
  .pp-game2 .pp-promo { order: 6; }
  .pp-game2 .pp-inj { order: 7; }
  .pp-game2 .pp-news { order: 8; }
  .pp-game2 .pp-gteams { order: 9; }
  .pp-game2 > .pp-note { order: 10; margin-top: 10px; }
  html.pd-auth-in .pp-game2 .pp-inj { order: 5; }
  html.pd-auth-in .pp-game2 .pp-news { order: 6; }
  html.pd-auth-in .pp-game2 .pp-cta { order: 7; }
  html.pd-auth-in .pp-game2 .pp-lock:not([data-when]),
  html.pd-auth-in .pp-game2 .pp-promo { order: 8; }
  /* v2.2.3 RC5 (owner): game information before promotion — the "Go deeper
     with PRO" card (.pp-promo, RC3) takes the slot of the lock it replaced;
     without an order it was 0 and rendered above the scoreboard. */
}

@media (forced-colors: active) {
  .pp-gtile { border: 1px solid CanvasText; }
  .pp-game2 .pp-sb-team.is-loss .pp-gtile::after { display: none; }
  .pp-game2 .pp-ghero::before, .pp-game2 .pp-sb-n.is-win::before { display: none; }
}

/* Three-digit scores (NBA "85–112", unified four-sport pages 2026-11-11):
   the NHL sizes assume one or two digits, so a wide score steps down and
   tightens on tablets and phones, keeping clear of both team tiles. */
@media (max-width: 380px) {
  .pp-game2 .pp-sb-score.is-wide { gap: 3px; padding: 0 6px; font-size: 26px; letter-spacing: -.02em; }
}
/* Phones: a team name with one very long word ("Timberwolves",
   "Diamondbacks"; pageKit marks it) fits its column instead of spilling
   under the score. Other names are unchanged. */
@media (max-width: 480px) { .pp-game2 .pp-sb-name--longword { font-size: 11.5px; letter-spacing: -.02em; } }
@media (max-width: 380px) { .pp-game2 .pp-sb-name--longword { font-size: 10.5px; } }

/* ── Scoreboard redesign (2026-11-12, BETA) ─────────────────────
   Every sport (the shared pageKit scoreboard). Desktop / tablet: a framed
   panel, team tiles with a soft glow of their own colour, hairline
   separators either side of the centre, and the centre stacked as
   status pill → score → game-state chip ("2ND · 06:58", "1ST
   INTERMISSION", "TOP 6TH"). Each score sits over a thin bar in its
   team's colour; while live the side ahead reads brighter. Phones keep the
   one-card layout (no inner frame) with a compact chip. Live is green
   (public-pages.css), as in Game Center Overview. */
.pp-game2 .pp-sb {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto) minmax(0, 1fr); gap: 26px;
  padding: 22px 28px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(2,6,23,.58), rgba(2,6,23,.34));
  border: 1px solid rgba(148,163,184,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.pp-game2 .pp-ghero--live .pp-sb { border-color: rgba(34,197,94,.20); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 0 1px rgba(34,197,94,.05); }
.pp-game2 .pp-gtile {
  box-shadow: 0 12px 28px -14px var(--team-edge), inset 0 0 0 1px rgba(255,255,255,.08);
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--team-edge) 85%, transparent), inset 0 0 0 1px rgba(255,255,255,.08);
}
.pp-game2 .pp-sb-mid { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 190px; padding: 0 6px; }
.pp-game2 .pp-sb-mid::before,
.pp-game2 .pp-sb-mid::after {
  content: ''; position: absolute; top: 8%; bottom: 8%; width: 1px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(148,163,184,.24), transparent);
}
.pp-game2 .pp-sb-mid::before { left: -13px; }
.pp-game2 .pp-sb-mid::after { right: -13px; }
.pp-game2 .pp-sb-score {
  margin: 2px 0 6px; gap: 16px; padding: 0 14px;
  font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
/* The team's colour as a short bar under its score. */
.pp-game2 .pp-sb-n::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: -9px; height: 3px; border-radius: 2px;
  background: var(--away-edge); opacity: .85;
}
.pp-game2 .pp-sb-n:last-child::after { background: var(--home-edge); }
.pp-game2 .pp-sb-n.is-trail { color: #9aa8bb; }
.pp-game2 .pp-sb-n.is-trail::after, .pp-game2 .pp-sb-n.is-loss::after { opacity: .45; }
.pp-game2 .pp-sb-n.is-lead { color: #ffffff; }
.pp-game2 .pp-sb-dash { font-weight: 300; color: #475569; }
/* Game-state chip: period / quarter / inning, then the clock when known. */
.pp-sb-clock {
  display: inline-flex; align-items: stretch; margin: 0; padding: 4px 0; border-radius: 9px;
  background: rgba(2,6,23,.62); border: 1px solid rgba(148,163,184,.2);
  font-size: 12.5px; font-weight: 700; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  color: #cbd5e1;
}
.pp-sb-period { padding: 0 11px; }
.pp-sb-time {
  padding: 0 11px; border-left: 1px solid rgba(148,163,184,.26);
  color: #f8fafc; letter-spacing: .03em; font-variant-numeric: tabular-nums;
}
.pp-sb-time[hidden], .pp-sb-extra[hidden] { display: none; }
/* MLB: outs and the count, a third segment of the same chip. */
.pp-sb-clock { flex-wrap: wrap; justify-content: center; }
.pp-sb-extra { padding: 0 11px; border-left: 1px solid rgba(148,163,184,.26); color: #e2e8f0; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pp-sb-paused { margin: -2px 0 0; font-size: 12px; font-weight: 600; color: #fde68a; }
.pp-game2 .pp-ghero.is-paused .pp-live-dot { animation: none; background: #94a3b8; }
.pp-game2 .pp-sb-at { margin: 2px 0; }

@media (max-width: 900px) {
  .pp-game2 .pp-sb { gap: 20px; padding: 18px 18px; grid-template-columns: minmax(0, 1fr) minmax(160px, auto) minmax(0, 1fr); }
  .pp-game2 .pp-sb-mid { min-width: 160px; }
  .pp-game2 .pp-sb-mid::before { left: -10px; }
  .pp-game2 .pp-sb-mid::after { right: -10px; }
  .pp-game2 .pp-sb-score { font-size: 52px; }
}
@media (max-width: 640px) {
  .pp-game2 .pp-sb { gap: 8px; padding: 4px 0 2px; border: 0; background: none; box-shadow: none; grid-template-columns: minmax(0, 1fr) fit-content(40%) minmax(0, 1fr); }
  .pp-game2 .pp-ghero--live .pp-sb { box-shadow: none; }
  .pp-game2 .pp-sb-mid { min-width: 0; gap: 7px; padding: 0; }
  .pp-game2 .pp-sb-mid::before, .pp-game2 .pp-sb-mid::after { display: none; }
  .pp-game2 .pp-sb-score { margin: 2px 0 5px; gap: 8px; padding: 0 10px; font-size: 40px; }
  .pp-game2 .pp-sb-n::after { bottom: -6px; height: 2px; }
  .pp-sb-clock { font-size: 10.5px; letter-spacing: .05em; padding: 3px 0; border-radius: 7px; }
  .pp-sb-period, .pp-sb-time { padding: 0 7px; }
  .pp-sb-paused { font-size: 11px; }
  /* Phones: the MLB outs / count take the chip's second line. */
  .pp-sb-extra { flex-basis: 100%; margin-top: 3px; padding-top: 3px; border-left: 0; border-top: 1px solid rgba(148,163,184,.2); text-align: center; }
}
@media (max-width: 380px) {
  .pp-game2 .pp-sb { gap: 2px; grid-template-columns: minmax(0, 1fr) fit-content(40%) minmax(0, 1fr); }
  .pp-game2 .pp-sb-score { gap: 4px; padding: 0 7px; font-size: 32px; }
  .pp-game2 .pp-sb-score.is-wide { font-size: 26px; }
  .pp-sb-clock { font-size: 10px; letter-spacing: .03em; }
  .pp-sb-period, .pp-sb-time { padding: 0 6px; }
}
@media (forced-colors: active) {
  .pp-sb-clock { border-color: CanvasText; }
  .pp-game2 .pp-sb-n::after { display: none; }
}

/* ── Line scores, every sport (gc-scoring, 2026-11-16) ──────────────
   A live game's later periods ("–") and an MLB home team's unneeded last
   half-inning ("x") read as quiet placeholders, never as values. MLB has
   nine or more inning columns: tighter cells, and the table scrolls inside
   its card (.pp-table-wrap) rather than the page. */
.pp-ptable tbody td.pp-pt-na { color: var(--muted); opacity: .55; }
.pp-game--mlb .pp-ptable th, .pp-game--mlb .pp-ptable td { width: auto; padding-left: 5px; padding-right: 5px; }
.pp-game--mlb .pp-ptable .pp-pt-team { padding-right: 8px; }
.pp-periods--live .pp-card-sub::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%;
  background: #22c55e; vertical-align: 1px;
}
@media (max-width: 520px) {
  .pp-game--mlb .pp-ptable th, .pp-game--mlb .pp-ptable td { padding-left: 2px; padding-right: 2px; font-size: 12.5px; }
  .pp-game--mlb .pp-ptable tbody .pp-pt-final { font-size: 15px; }
  .pp-game--mlb .pp-pt-badge { --tb-w: 34px; }
}

/* Pregame line score (2026-11-19, pageKit pendingLineCard): the card keeps
   its place before the game (and while a live line doesn't match the score
   yet) with dashes only; the subtitle reads as a quiet status. */
.pp-periods--pending .pp-card-sub { color: var(--muted); }
.pp-periods--pending .pp-ptable tbody td.pp-pt-final { background: rgba(96,165,250,.04); }

/* v2.2.1 (owner: conversion right after the box score, not under News):
   beside the box score on wider screens, a signed-out visitor's side column
   leads with Track Your Parlays Live and Player Trends, then News. Signed in
   keeps News first (those cards are not ads for what they already have). */
@media (min-width: 641px) {
  html:not(.pd-auth-in) .pp-game2 .pp-col--side > .pp-cta { order: 1; }
  html:not(.pd-auth-in) .pp-game2 .pp-col--side > .pp-locked { order: 2; }
  html:not(.pd-auth-in) .pp-game2 .pp-col--side > .pp-news { order: 3; }
}

/* v2.2.4 (owner): desktop (two columns, ≥ 901 px) — Explore teams sits
   directly under the box score & scoring region, so the scoreboard, team
   stats, line score and the start of the box score read together (the
   injury report, collapsible, stays between the line score and the box
   score). Elements without an order keep DOM order (line score, injuries,
   box score regions); the completed game's tracking card follows Explore
   teams. Tablet (641–900, one column) and phones (≤ 640, ordered above)
   are unchanged — the DOM is not touched. */
@media (min-width: 901px) {
  .pp-game2 .pp-col:not(.pp-col--side) > .pp-gteams { order: 1; }
  .pp-game2 .pp-col:not(.pp-col--side) > .pp-cta { order: 2; }
}
