.bz-spoiler-toggle { white-space:nowrap; min-height:40px; }
.bz-spoiler-toggle[aria-checked="true"] { background:var(--bz-accent-bg); border-color:var(--bz-accent-dim); box-shadow:inset 3px 0 0 var(--bz-accent); }
.bz-tournament-player { border-bottom:1px solid var(--bz-border); padding:0 0 18px; margin-bottom:20px; }
.bz-tournament-player__heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.bz-tournament-player h1 { font:800 24px/1.1 var(--bz-font-display); margin:6px 0; overflow-wrap:anywhere; }
.bz-tournament-player__heading > .bz-mono { white-space:nowrap; color:var(--bz-text-dim); font-size:13px; }
.bz-tournament-player__controls { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.bz-player-autonext, .bz-player-jump { display:flex; align-items:center; gap:8px; font-size:14px; min-height:44px; }
.bz-player-autonext input { accent-color:var(--bz-accent); width:18px; height:18px; }
.bz-player-jump select { font-family:var(--bz-font-mono); background:var(--bz-surface-2); color:var(--bz-text); border:1px solid var(--bz-border-strong); padding:10px; max-width:150px; }
.bz-player-status { color:var(--bz-text-muted); font-size:13px; margin:12px 0 0; }
.bz-tournament-player button:disabled { opacity:.4; cursor:default; }
.bz-player-empty { padding:32px; }
.bz-player-empty p { color:var(--bz-text-dim); }
.bz-player-entry { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:0 0 22px; }
.bz-spoiler-video-controls { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:12px; }
.bz-spoiler-video-controls label { display:flex; align-items:center; gap:8px; }
.bz-spoiler-video-controls input { width:100px; accent-color:var(--bz-accent); }
/* Hide duration cues before the first video metadata event or paint. */
html.bz-spoiler-free #bz-fight-scrub,
html.bz-spoiler-free #bz-fight-time,
html.bz-spoiler-free #bz-capture-edges,
html.bz-spoiler-free .bz-scorebug__clock,
html.bz-spoiler-free .bz-scorebug__sub,
html.bz-spoiler-free #bz-cmdk,
html.bz-spoiler-free #bz-cmdk-trigger,
html.bz-spoiler-free #bz-mtopbar-search,
html.bz-spoiler-free [data-bz-search-trigger] { display:none !important; }
html.bz-spoiler-free .bz-fight { grid-template-columns:minmax(0,1fr); }
html.bz-spoiler-free .bz-fight__rail { display:none; }
html.bz-spoiler-free .bz-tour-table th:nth-child(6),
html.bz-spoiler-free .bz-tour-table td:nth-child(6) { display:none; }
@media (max-width:767px) {
  .bz-tournament-player__heading { align-items:flex-start; flex-direction:column; gap:6px; }
  .bz-tournament-player h1 { font-size:21px; }
  .bz-tournament-player__controls > .bz-btn { min-height:44px; flex:1; }
  .bz-player-autonext { flex-basis:100%; }
}

.bz-fight__main:fullscreen { background:var(--bz-bg); padding:18px; overflow:auto; }
.bz-fight__main:fullscreen .bz-fight__player { max-height:70vh; }
.bz-fight__main:fullscreen #bz-fight-video { max-height:70vh; }

/* Put footage ahead of camera configuration in the tournament player. */
@media (min-width:1100px) {
  .bz-tournament-view .bz-fight__main { display:flex; flex-direction:column; }
  .bz-tournament-view .bz-fight__player { order:1; }
  .bz-tournament-view #bz-fight-video { max-height:52vh; object-fit:contain; background:var(--bz-bg); }
  .bz-tournament-view .bz-fight__transport, .bz-tournament-view .bz-spoiler-video-controls { order:2; }
  .bz-tournament-view .bz-fight__cam-bar { order:3; margin-top:18px; }
  .bz-tournament-view .bz-fight__cam-groups { order:4; }
  .bz-tournament-view .bz-fight__multi { order:5; }
}
@media (max-width:767px) {
  .bz-player-autonext { flex-basis:auto; font-size:13px; }
  .bz-player-jump { font-size:13px; }
  .bz-player-jump select { padding:8px; }
  .bz-tournament-player__controls { gap:8px; }
  .bz-tournament-player > .bz-player-status { font-size:12px; }
}

@media (max-width:767px) {
  html.bz-spoiler-free .bz-fight__cam-group { flex-direction:column; align-items:stretch; }
  html.bz-spoiler-free .bz-fight__cam-group-label { width:auto; text-align:left; padding-top:8px; }
}

.bz-mtopbar__row { grid-template-columns:36px minmax(0,1fr) auto; }
.bz-mtopbar__action { gap:8px; }
.bz-mtopbar .bz-spoiler-toggle { min-height:44px; padding:9px 8px 7px; font-size:11px; letter-spacing:.02em; }
@media (min-width:1100px) and (max-width:1250px) {
  .bz-masthead__inner { gap:16px; padding-inline:20px; }
  .bz-masthead__nav { gap:14px; }
  .bz-masthead__actions { gap:10px; }
}
