/* PREVIOUSLY GAME CENTER — PREMIUM PRESENTATION LAYER, v1.
 * Dark D3, simple rectangles (no pills), real in-page feeds only.
 * Applied by /js/game-center-premium.js; no API/feed logic lives here.
 */
:root {--pvgc-ground:#0C121B;--pvgc-card:#141F2C;--pvgc-up:#1B2A3B;--pvgc-line:#223343;--pvgc-gold:#F2BC68;--pvgc-text:#C7D0DA;--pvgc-sub:#A4B3C2}

/* Same quiet editorial typography in both Gamecast generations. */
html[data-theme="d3"] .gc2-mast,
html[data-theme="d3"] .b-masthead.gp-masthead {max-width:1180px}
html[data-theme="d3"] .gc2-mast {padding-top:26px;padding-bottom:4px}
html[data-theme="d3"] .gc2-mast h1 {font-family:'Previously Display',Anton,Inter,sans-serif;font-size:clamp(42px,5.4vw,74px);line-height:1.04;letter-spacing:.01em}
html[data-theme="d3"] .gc2-wrap {max-width:1180px}
html[data-theme="d3"] .gc2-card,
html[data-theme="d3"] .gca-premium .gca-mod {border-color:var(--pvgc-line);border-radius:3px;box-shadow:none}
html[data-theme="d3"] .gc2-sect h2,
html[data-theme="d3"] .gca-premium .gca-mod h3 {font-family:'Previously Display',Anton,Inter,sans-serif;color:var(--pvgc-text);letter-spacing:.04em}

/* Section navigation: only links to actual populated modules. */
.pv-gc-nav {display:flex;align-items:center;gap:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:0 1px;margin:12px 0 16px;border:1px solid var(--pvgc-line);background:#101a26}
.pv-gc-nav a {display:inline-flex;align-items:center;min-height:46px;flex:0 0 auto;padding:12px 17px;text-decoration:none;white-space:nowrap;text-transform:uppercase;font:700 11px/1.3 Inter,Arial,sans-serif;letter-spacing:.1em;color:var(--pvgc-sub);border-right:1px solid var(--pvgc-line);border-bottom:2px solid transparent;border-radius:0}
.pv-gc-nav a:first-child {color:var(--pvgc-gold);border-bottom-color:var(--pvgc-gold)}
.pv-gc-nav a:hover,.pv-gc-nav a:focus-visible {color:var(--pvgc-gold);background:var(--pvgc-up)}
.pv-gc-nav a:focus-visible {outline:2px solid var(--pvgc-gold);outline-offset:-3px}
.pv-gc-anchor {scroll-margin-top:96px}

/* NBA/WNBA header: light touch to correct the oversize vertical masthead. */
html[data-theme="d3"] .gc2-board.pv-gc-board {background:linear-gradient(125deg,#142233,#101a27 60%,#152132);border:1px solid #2a4055;padding:20px 24px;min-height:178px;gap:15px}
html[data-theme="d3"] .pv-gc-board .gc2-logo {max-width:84px;max-height:84px;object-fit:contain}
html[data-theme="d3"] .pv-gc-board .gc2-score {font-size:clamp(40px,5.5vw,78px);font-family:Anton,Inter,Arial,sans-serif;line-height:1}
html[data-theme="d3"] .pv-gc-board .gc2-abbr {font-family:Anton,Inter,Arial,sans-serif}
html[data-theme="d3"] .pv-gc-board .gc2-live-txt {color:#F46B62}
html[data-theme="d3"] .gc2-lines {margin-top:8px}

/* Core: real sport visual always first, Momentum aligned at natural size. */
.pv-gc-top-band {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px;align-items:start;margin:12px 0 0;min-width:0}
.pv-gc-top-band > * {min-width:0;margin:0!important}
.pv-gc-top-band.pv-gc-visual-only {grid-template-columns:minmax(0,1fr)}
.pv-gc-top-band .gc2-svg {width:100%;height:auto;aspect-ratio:360/264;object-fit:contain;display:block}
.pv-gc-top-band .gc2-mom-chart svg {height:148px;min-height:148px;max-width:100%}
.pv-gc-top-band .gc2-mom-tick {height:148px}
.pv-gc-top-band .gc2-mom-tlab {top:151px}
.pv-gc-top-band .gc2-mom-pct {font-size:clamp(28px,3vw,43px)}
.pv-gc-top-band .gc2-mom-run {white-space:normal;line-height:1.5}
.pv-gc-top-band .gc2-mom {min-height:210px}
html[data-theme="d3"] .pv-gc-main-grid {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px;align-items:start;margin-top:14px;min-width:0}
html[data-theme="d3"] .pv-gc-main-grid > * {margin:0;min-width:0}
html[data-theme="d3"] .pv-gc-main-grid .gc2-stats {grid-column:1;grid-row:1}
html[data-theme="d3"] .pv-gc-main-grid .gc2-feed {grid-column:2;grid-row:1}
html[data-theme="d3"] .pv-gc-main-grid > section:not(.gc2-stats):not(.gc2-feed) {grid-column:2}
html[data-theme="d3"] .pv-gc-main-grid .gc2-fullbox {margin-top:24px}
html[data-theme="d3"] .pv-gc-main-grid .gc2-fb-tablewrap {max-width:100%;overflow-x:auto}
html[data-theme="d3"] .pv-gc-main-grid .gc2-fb-table {min-width:660px}

/* NFL and college football still run legacy; keep their drive engine and
   all server-derived event/possession/team-stat values unchanged. */
html[data-theme="d3"] body:has(.gca-premium) {background:var(--pvgc-ground)}
html[data-theme="d3"] .gca.gca-premium {--gca-gold:var(--pvgc-gold);--gca-line:var(--pvgc-line);--gca-silver:var(--pvgc-sub);--gca-ink:var(--pvgc-text);font-family:Inter,Arial,sans-serif;color:var(--pvgc-text);max-width:1180px;margin:0 auto}
html[data-theme="d3"] .gca-premium .gca-bug {border:1px solid var(--pvgc-line);background:linear-gradient(135deg,#172537,#0C121B 53%,#172334)}
html[data-theme="d3"] .gca-premium .gca-bug .gca-bug-main {min-height:170px}
html[data-theme="d3"] .gca-premium .gca-bug .gca-scorebox {background:rgba(9,17,26,.6);border:1px solid #32465a}
html[data-theme="d3"] .gca-premium .gca-bug .gca-score {font-family:Anton,Inter,sans-serif}
html[data-theme="d3"] .gca-premium .gca-bug .gca-team {font-family:Inter,Arial,sans-serif}
html[data-theme="d3"] .gca-premium .gca-mod {background:var(--pvgc-card)}
html[data-theme="d3"] .gca-premium .gca-cols {margin-top:14px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
html[data-theme="d3"] .gca-premium .gca-col-main,
html[data-theme="d3"] .gca-premium .gca-col-rail {min-width:0}
html[data-theme="d3"] .gca-premium .gca-field-wrap {max-width:100%;height:auto;min-width:0;overflow:hidden}
html[data-theme="d3"] .gca-premium .gca-wp svg {height:100px!important;max-height:none}
html[data-theme="d3"] .gca-premium .gca-topband .gca-wp svg {height:146px!important}
html[data-theme="d3"] .gca-premium .gca-topband .gca-wp {min-height:180px}
html[data-theme="d3"] .gca-premium .gca-topband .gca-mod {min-width:0;margin:0}
html[data-theme="d3"] .gca-premium .gca-topband {margin-top:14px}
html[data-theme="d3"] .gca-premium .gca-field-wrap {aspect-ratio:inherit}
html[data-theme="d3"] .gca-premium .gca-refreshed {color:var(--pvgc-sub)}
html[data-theme="d3"] .gca-premium .gca-video a {color:var(--pvgc-text)}

/* Robust reduced motion + mobile one-column sports presentation. */
@media(max-width:850px){
  .pv-gc-top-band {grid-template-columns:1fr;gap:10px}
  html[data-theme="d3"] .pv-gc-main-grid {grid-template-columns:1fr;gap:10px}
  html[data-theme="d3"] .pv-gc-main-grid .gc2-feed {grid-column:1;grid-row:1}
  html[data-theme="d3"] .pv-gc-main-grid .gc2-stats {grid-column:1;grid-row:2}
  html[data-theme="d3"] .pv-gc-main-grid > section:not(.gc2-stats):not(.gc2-feed) {grid-column:1}
  html[data-theme="d3"] .gc2-board.pv-gc-board {padding:16px 12px;min-height:130px}
  html[data-theme="d3"] .pv-gc-board .gc2-logo {max-width:50px;max-height:50px}
  html[data-theme="d3"] .pv-gc-board .gc2-score {font-size:clamp(31px,8vw,48px)}
  html[data-theme="d3"] .gca-premium .gca-cols {grid-template-columns:1fr!important;gap:10px}
  html[data-theme="d3"] .gca-premium .gca-bug .gca-bug-main {min-height:125px}
  .pv-gc-nav a {min-height:42px;padding:12px 13px;font-size:10px}
  .pv-gc-top-band .gc2-mom-chart svg,
  html[data-theme="d3"] .gca-premium .gca-topband .gca-wp svg {height:120px!important}
  .pv-gc-top-band .gc2-mom-tick {height:120px}
  .pv-gc-top-band .gc2-mom-tlab {top:123px}
}
@media(prefers-reduced-motion:reduce){.pv-gc-nav a{scroll-behavior:auto}}
