/* PointsBall 2.27.5 — VBA desktop containment + commercial hierarchy */
.vba-page-surface{container-type:inline-size;min-width:0;width:100%}.vba-page-surface *{min-width:0}.vba-section-anchor{scroll-margin-top:158px;max-width:100%}.vba-leaders-lower{margin-top:34px}
.vba-section-nav{position:sticky;top:108px;z-index:17;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 18px;padding:7px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--s1) 92%,transparent);backdrop-filter:blur(18px);box-shadow:0 12px 30px rgba(0,0,0,.12)}
.vba-section-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:7px 10px;border:1px solid transparent;border-radius:10px;color:var(--muted);text-align:center;transition:.16s ease}.vba-section-nav a:hover{border-color:var(--line2);background:var(--panel2);color:var(--ink)}.vba-section-nav b{font:900 9px var(--mono);letter-spacing:.08em}.vba-section-nav small{font-size:8px;color:var(--muted)}

/* The desktop Play Card replaces the old bottom all-sport tray. Mobile/tablet retain it. */
@media(min-width:1101px){.vba-card-tray.universal-card{display:none!important}}

/* Never allow a VBA component to widen the main column. */
.vba-page-surface .section,.vba-page-surface .vba-hero,.vba-page-surface .vba-star-matchup,.vba-page-surface .vba-live-desk,.vba-page-surface .vba-quarter-action{max-width:100%;min-width:0;overflow:hidden}
.vba-page-surface img{max-width:100%}
.vba-page-surface .starter-identity,.vba-page-surface .top-scorer-player,.vba-page-surface .vba-live-player summary>div{min-width:0}

/* Starter board responds to actual content width, including when the right Play Card is open. */
.vba-page-surface .starter-market-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:10px}
.vba-page-surface .starter-market-card{grid-template-columns:48px minmax(0,1fr) 78px;grid-template-rows:auto auto;gap:9px 11px;padding:11px 12px;overflow:hidden}
.vba-page-surface .starter-avatar{grid-row:1/3;width:46px;height:46px}.vba-page-surface .starter-identity strong,.vba-page-surface .starter-identity small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vba-page-surface .starter-featured{grid-column:3;grid-row:1/3;padding:0 0 0 10px;border-left:1px solid var(--line);border-right:0}.vba-page-surface .starter-status{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}.vba-page-surface .starter-status i,.vba-page-surface .starter-status b{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vba-page-surface .starter-status b{font-size:8px}

/* Game specials and live markets flex by available container width rather than browser width. */
.vba-page-surface .top-scorer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))}.vba-page-surface .top-scorer-card{grid-template-columns:26px minmax(0,1fr) minmax(76px,92px)}
.vba-page-surface .vba-live-market-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}.vba-page-surface .vba-live-player-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.vba-page-surface .vba-live-player summary{grid-template-columns:34px minmax(0,1fr) auto auto}.vba-page-surface .vba-live-player-lines{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
.vba-page-surface .vba-quarter-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}.vba-page-surface .vba-quarter-market{overflow:hidden}.vba-page-surface .vba-quarter-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.vba-page-surface .vba-quarter-picks button{min-width:0;overflow:hidden}

/* Commercial watch-state for a locked Race to 10. */
.vba-race-progress.vba-race-live{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:16px 18px}.vba-race-live>header{grid-column:1/-1;display:flex;justify-content:space-between;align-items:end;gap:14px;padding-bottom:10px;border-bottom:1px solid rgba(255,151,79,.16)}.vba-race-live>header div{display:grid;gap:2px}.vba-race-live>header span{font:900 8px var(--mono);letter-spacing:.12em;color:#ff9b52}.vba-race-live>header strong{font-size:14px}.vba-race-live>header small{max-width:320px;text-align:right;color:var(--muted)}
.vba-race-team{display:grid;gap:7px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025)}.vba-race-team.is-leading{border-color:rgba(255,151,79,.34);background:rgba(255,130,35,.07)}.vba-race-team>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.vba-race-team b{font:950 12px var(--mono)}.vba-race-team em{font:950 24px var(--mono);font-style:normal;color:#fff}.vba-race-team small{font:850 8px var(--mono);letter-spacing:.07em;color:var(--muted)}.vba-race-track{height:8px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.08)}.vba-race-track i{display:block;width:var(--race-width,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff7833,#ffc36c);box-shadow:0 0 14px rgba(255,143,62,.22);transition:width .25s ease}

/* Container-specific collapse points: these react when the Play Card dock opens. */
@container (max-width:920px){.vba-star-matchup>div{grid-template-columns:1fr 42px 1fr;padding:13px 11px}.star-match-player{grid-template-columns:52px minmax(0,1fr);column-gap:9px}.star-match-player>img,.star-match-player>b{width:52px;height:52px}.vba-quarter-head{padding:18px;gap:12px}.vba-quarter-head h2{font-size:21px}.vba-live-command-head{gap:10px}}
@container (max-width:720px){.vba-quarter-grid,.top-scorer-grid,.vba-live-player-grid{grid-template-columns:1fr}.vba-race-progress.vba-race-live{grid-template-columns:1fr}.vba-race-live>header{align-items:flex-start;flex-direction:column}.vba-race-live>header small{text-align:left}.vba-star-matchup>div{grid-template-columns:1fr 34px 1fr}.vba-star-matchup>footer{align-items:flex-start;flex-direction:column}.vba-quarter-head{align-items:flex-start;flex-direction:column}.vba-quarter-head>div:last-child{text-align:left}.vba-live-market-grid{grid-template-columns:1fr}.vba-section-nav small{display:none}}

@media(max-width:760px){.vba-section-nav{top:99px;grid-template-columns:repeat(4,minmax(max-content,1fr));overflow-x:auto;border-radius:12px;padding:5px}.vba-section-nav a{min-height:38px;padding:6px 9px}.vba-section-nav small{display:none}.vba-race-progress.vba-race-live{margin:12px 10px 0;padding:12px}.vba-page-surface .starter-market-card{grid-template-columns:44px minmax(0,1fr) 68px}.vba-page-surface .starter-avatar{width:42px;height:42px}.vba-page-surface .starter-status{display:none}}

html[data-theme="light"] .vba-section-nav{background:rgba(255,255,255,.93)}html[data-theme="light"] .vba-race-team{background:rgba(20,35,55,.025);border-color:rgba(20,35,55,.10)}html[data-theme="light"] .vba-race-team em{color:var(--ink)}

/* PointsBall 2.27.6 — multi-game VBA live court switcher */
.vba-live-game-switcher{margin:18px 0 12px;padding:14px;border:1px solid rgba(255,122,51,.18);border-radius:16px;background:linear-gradient(135deg,rgba(255,119,45,.07),rgba(255,255,255,.018));overflow:hidden}
.vba-live-game-switcher.single{display:none}
.vba-live-game-switcher>header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:10px}.vba-live-game-switcher>header div{display:grid;gap:3px}.vba-live-game-switcher>header span{font:950 8px var(--mono);letter-spacing:.12em;color:#ff9450}.vba-live-game-switcher>header strong{font-size:16px}.vba-live-game-switcher>header small{max-width:320px;text-align:right;color:var(--muted)}
.vba-live-game-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:8px}.vba-live-game-tabs button{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;min-height:62px;padding:10px 11px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--ink);cursor:pointer;transition:border-color .16s ease,transform .16s ease,background .16s ease}.vba-live-game-tabs button:hover{border-color:rgba(255,151,79,.42);transform:translateY(-1px)}.vba-live-game-tabs button.active{border-color:rgba(255,151,79,.7);background:linear-gradient(135deg,rgba(255,126,47,.14),rgba(255,255,255,.035));box-shadow:inset 0 0 0 1px rgba(255,151,79,.09),0 8px 24px rgba(0,0,0,.11)}
.vba-live-game-tabs button span{display:flex;align-items:baseline;gap:5px;min-width:0;font:900 10px var(--mono);white-space:nowrap}.vba-live-game-tabs button span:first-child{justify-content:flex-start}.vba-live-game-tabs button span:nth-of-type(2){justify-content:flex-end}.vba-live-game-tabs button span b{font-size:18px;color:var(--ink)}.vba-live-game-tabs button i{font:850 8px var(--mono);font-style:normal;color:var(--muted);white-space:nowrap}.vba-live-game-tabs button em{position:absolute;right:9px;bottom:6px;font:950 7px var(--mono);font-style:normal;letter-spacing:.1em;color:#ff9a55}.vba-live-game-tabs button.active em:before{content:'SELECTED · ';color:var(--muted)}
.vba-live-desk,.vba-quarter-action{transition:opacity .12s ease}
@container (max-width:720px){.vba-live-game-switcher>header{align-items:flex-start;flex-direction:column}.vba-live-game-switcher>header small{text-align:left}.vba-live-game-tabs{grid-template-columns:1fr}}
@media(max-width:760px){.vba-live-game-switcher{margin:12px 0 10px;padding:10px}.vba-live-game-tabs{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:2px}.vba-live-game-tabs button{flex:0 0 230px;scroll-snap-align:start}}
html[data-theme="light"] .vba-live-game-switcher{background:linear-gradient(135deg,rgba(255,119,45,.06),rgba(20,35,55,.018))}html[data-theme="light"] .vba-live-game-tabs button.active{background:linear-gradient(135deg,rgba(255,126,47,.10),rgba(255,255,255,.7))}
