/* GameVision Commercial Polish & Full-Cycle Handoff 3.0 — Run 62
   Court-first presentation. Safe-Zone remains authoritative for court/camera crop. */
:root{--gv-polish-edge:10px;--gv-polish-rail:76px}

/* Viewer-facing camera/debug labels are not part of the finished broadcast. */
body.gv-commercial-polish .gv-camera3-tag,
body.gv-commercial-polish .gv-cam-tag{display:none!important}
body.gv-commercial-polish .controls #jump{display:none!important}

/* A replay gets the screen. Side information can return when the replay ends. */
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .show-main{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding-left:var(--gv-polish-edge)!important;padding-right:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .show-side{display:none!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show #stage{grid-template-rows:54px minmax(0,1fr) calc(var(--gv-polish-rail) + 28px) 0 44px!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .replay-dock{margin-left:var(--gv-polish-edge)!important;margin-right:var(--gv-polish-edge)!important;padding-block:5px!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .replay-rail{height:var(--gv-polish-rail)!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .vba-score-bug{right:var(--gv-polish-edge)!important;top:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .vba-top10-rank{left:var(--gv-polish-edge)!important;top:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-replay.gv-polish-show .vba-lower-third{left:var(--gv-polish-edge)!important;bottom:var(--gv-polish-edge)!important}

/* Standalone replay is basketball-first too: remove the info rail and camera controls. */
body.gv-commercial-polish.gv-polish-replay:not(.vba-tonight) .stage{grid-template-columns:minmax(0,1fr)!important}
body.gv-commercial-polish.gv-polish-replay:not(.vba-tonight) .fan-panel{display:none!important}
body.gv-commercial-polish.gv-polish-replay:not(.vba-tonight) .camera-rack{display:none!important}
body.gv-commercial-polish.gv-polish-replay:not(.vba-tonight) .gvpi-lower-third{left:var(--gv-polish-edge)!important;bottom:var(--gv-polish-edge)!important}

/* Short laptop windows should not sacrifice the replay to rails and chrome. */
body.gv-commercial-polish.gv-polish-short.gv-polish-replay.gv-polish-show #stage{grid-template-rows:46px minmax(0,1fr) 0 0 40px!important;min-height:0!important}
body.gv-commercial-polish.gv-polish-short.gv-polish-replay.gv-polish-show #replayDock,
body.gv-commercial-polish.gv-polish-short.gv-polish-replay.gv-polish-show #ticker{display:none!important}
body.gv-commercial-polish.gv-polish-short.gv-polish-replay:not(.vba-tonight) .title{display:none!important}

/* Embedded GameVision is a clean source feed; the parent show owns graphics. */
body.gv-commercial-polish.gv-polish-embed .camera-rack,
body.gv-commercial-polish.gv-polish-embed .fan-panel,
body.gv-commercial-polish.gv-polish-embed .gvpi-lower-third,
body.gv-commercial-polish.gv-polish-embed .gvpi-stage-flag,
body.gv-commercial-polish.gv-polish-embed .gv-drama-card{display:none!important}

/* TV overscan safety: pull only graphics inward, never crop or transform the court. */
body.gv-commercial-polish.gv-polish-tv .gv-livebar{margin-left:var(--gv-polish-edge)!important;margin-right:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-tv .gvpi-lower-third{left:var(--gv-polish-edge)!important;bottom:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-tv.vba-tonight .show-header{padding-left:var(--gv-polish-edge)!important;padding-right:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-tv.vba-tonight .vba-score-bug{right:var(--gv-polish-edge)!important;top:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-tv.vba-tonight .vba-top10-rank{left:var(--gv-polish-edge)!important;top:var(--gv-polish-edge)!important}
body.gv-commercial-polish.gv-polish-tv.vba-tonight .vba-lower-third{left:var(--gv-polish-edge)!important;bottom:var(--gv-polish-edge)!important}

/* Compact/mobile replay controls stay available without becoming the visual subject. */
body.gv-commercial-polish.gv-polish-mobile.gv-polish-replay:not(.vba-tonight) .controls #restart,
body.gv-commercial-polish.gv-polish-mobile.gv-polish-replay:not(.vba-tonight) .controls #speed,
body.gv-commercial-polish.gv-polish-mobile.gv-polish-replay:not(.vba-tonight) .controls #cam,
body.gv-commercial-polish.gv-polish-mobile.gv-polish-replay:not(.vba-tonight) .controls #courtCycle{display:none!important}
body.gv-commercial-polish.gv-polish-mobile.gv-polish-replay:not(.vba-tonight) .controls{justify-content:center!important}

@media(max-width:760px){
  body.gv-commercial-polish.gv-polish-replay.gv-polish-show #stage{grid-template-rows:48px minmax(0,1fr) 78px 0 42px!important}
  body.gv-commercial-polish.gv-polish-replay.gv-polish-show .replay-dock-head{display:none!important}
  body.gv-commercial-polish.gv-polish-replay.gv-polish-show .replay-rail{height:56px!important}
}
@media(max-height:620px) and (min-width:761px){
  body.gv-commercial-polish.gv-polish-replay.gv-polish-show #stage{grid-template-rows:44px minmax(0,1fr) 0 0 38px!important}
  body.gv-commercial-polish.gv-polish-replay.gv-polish-show #replayDock{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  body.gv-commercial-polish .show-program-stage:after,
  body.gv-commercial-polish .vba-score-bug,
  body.gv-commercial-polish .vba-lower-third,
  body.gv-commercial-polish .gvpi-lower-third{transition:none!important;animation:none!important}
}
