/* SEJM KOMBAT R40R67B63R25R22 — silent seamless main-menu stage. */
#r25MainMenuStageVideo{
  position:fixed;
  left:0;
  top:0;
  width:1px;
  height:1px;
  z-index:81999;
  display:block;
  visibility:hidden;
  opacity:0;
  overflow:hidden;
  pointer-events:none;
  object-fit:cover;
  object-position:50% 50%;
  background:#01040a;
  /* Do not force an HTML video through a filtered/3D compositor texture.
     ColorOS/Android WebView may keep that texture on its first frame. */
  transform:none;
  contain:none;
  transition:opacity .24s ease;
  user-select:none;
  -webkit-user-select:none;
}

/* Playback state is authoritative. Pack185 can attach its scene class one
   frame later, so it must not gate video visibility. */
body.r25-main-menu-video-active #r25MainMenuStageVideo{
  visibility:visible;
  opacity:1;
}

/* Keep the original desktop color grade without forcing the filtered video
   texture on coarse-pointer mobile compositors. */
@media (hover:hover) and (pointer:fine){
  #r25MainMenuStageVideo{filter:saturate(1.04) contrast(1.035) brightness(.92)}
}

html.pack333r122r3-gameplay-active #r25MainMenuStageVideo,
body.pack333r122r3-gameplay-active #r25MainMenuStageVideo,
body.sk-scene-fight #r25MainMenuStageVideo,
body.sk-scene-pause #r25MainMenuStageVideo,
body.sk-scene-result #r25MainMenuStageVideo,
body.sk-scene-continue #r25MainMenuStageVideo{
  visibility:hidden!important;
  opacity:0!important;
}

@media (prefers-reduced-motion:reduce){
  #r25MainMenuStageVideo{display:none!important}
}
