/* The launcher fills its slot instead of retaining the generic 75vh frame. */
#view-game .gv__frame > iframe.ww-frame {
  display:block!important;position:absolute;inset:0;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
}
#view-game .gv__frame:fullscreen {
  width:100vw!important;height:100vh!important;height:100dvh!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  aspect-ratio:auto!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;clip-path:none!important;
  transform:none!important;background:#000!important;overflow:hidden!important;
}
#view-game .gv__frame:-webkit-full-screen {
  width:100vw!important;height:100vh!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  aspect-ratio:auto!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;clip-path:none!important;
  transform:none!important;background:#000!important;overflow:hidden!important;
}

/* ww-mobile-game-frame-20261007: the absolute iframe needs a sized parent. */
@media (max-width:767px) {
  #view-game .gv__frame {
    height:calc(100vh - 270px);height:calc(100dvh - 270px);
    min-height:360px;max-height:none;
  }
}

/* ww-game-fullscreen-20261007: viewport fallback for mobile browsers without element fullscreen. */
#view-game .gv__frame.ww-game-immersive {
  position:fixed!important;inset:0!important;z-index:2147483646!important;
  display:block!important;width:100vw!important;height:100vh!important;height:100dvh!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  aspect-ratio:auto!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;clip-path:none!important;
  background:#000!important;overflow:hidden!important;
}
body.ww-game-immersive-open {overflow:hidden!important;}
body.ww-game-immersive-open .topbar,body.ww-game-immersive-open .bnav,body.ww-game-immersive-open .sidebar {visibility:hidden!important;}
#view-game .gv__frame .ww-game-fullscreen-exit {
  position:absolute;z-index:2;top:calc(env(safe-area-inset-top, 0px) + 12px);right:calc(env(safe-area-inset-right, 0px) + 12px);
  display:grid;place-items:center;width:40px;height:40px;padding:0;
  border:1px solid rgba(255,255,255,.5);border-radius:10px;
  background:rgba(9,17,39,.82);color:white;font:30px/1 Arial,sans-serif;cursor:pointer;
}
#view-game .gv__frame .ww-game-fullscreen-exit:focus-visible {outline:2px solid #0794ff;outline-offset:3px;}
