/* Scory 24: top-anchor full-screen broadcast viewport.
   Fixes unused black headroom around the dashboard; does not crop the YouTube video. */
html:has(body.sc6-mode) {
  margin:0!important;
  padding:0!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  background:#07121d!important;
}
html:has(body.sc6-mode):fullscreen,
html:has(body.sc6-mode):-webkit-full-screen {
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body.sc6-mode {
  position:fixed!important;
  inset:0!important;
  top:0!important;
  left:0!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
  height:100dvh!important;
  min-height:0!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  background:#07121d!important;
}
body.sc6-mode .dashboard{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  margin:0!important;
  padding:0!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
}
body.sc6-mode .head,
body.sc6-mode .signal-strip {
  position:relative!important;
  top:0!important;
  margin-top:0!important;
  flex-shrink:0!important;
}
body.sc6-mode .content {
  position:relative!important;
  top:0!important;
  margin-top:0!important;
  flex:1 1 0%!important;
  min-height:0!important;
}
body.sc6-mode .scoreboard,
body.sc6-mode #sc6Stage {
  min-height:0!important;
  flex:1 1 0%!important;
}