/* R40R67B58R25R13 — canonical 16:9 gameplay stage. */
html,body{
  min-width:0!important;
  min-height:0!important;
  background:#000!important;
  overflow:hidden!important;
}
#gameStage.sk-game-stage{
  position:fixed!important;
  left:50%!important;
  top:50%!important;
  width:var(--sk-stage-w,min(100vw,177.7778dvh))!important;
  height:var(--sk-stage-h,min(100dvh,56.25vw))!important;
  aspect-ratio:16/9!important;
  transform:translate(-50%,-50%)!important;
  overflow:hidden!important;
  contain:layout paint size!important;
  background:#000!important;
  z-index:0!important;
  isolation:isolate!important;
  touch-action:none!important;
}
#gameStage>#gc,
#gameStage>.sk-stage-surface{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  transform:none!important;
  object-fit:fill!important;
  touch-action:none!important;
}

/* B54R5 keeps the decoded arena video as a fixed sibling of #gameStage.
 * Once that video is warm (normally from the second fight onward), the stage
 * must stay above it while remaining transparent. Otherwise the sibling at
 * z-index:8 covers the complete gameplay canvas, including fighters and HUD. */
body.sk-b54r5-dom-arena-active #gameStage.sk-game-stage{
  z-index:9!important;
  background:transparent!important;
}
