/* Keep the game viewport truly full-size in Firefox and other Fullscreen API implementations. */
html body.page-game #gameFullscreenShell:is(.is-native-fullscreen,.is-fallback-fullscreen,:fullscreen,:-webkit-full-screen,:-moz-full-screen){
  position:fixed!important;
  inset:0!important;
  display:block!important;
  box-sizing:border-box!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;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#061f35!important;
}

html body.page-game #gameFullscreenShell:is(.is-native-fullscreen,.is-fallback-fullscreen,:fullscreen,:-webkit-full-screen,:-moz-full-screen) > #playFrame,
html body.page-game #gameFullscreenShell:is(.is-native-fullscreen,.is-fallback-fullscreen,:fullscreen,:-webkit-full-screen,:-moz-full-screen) #oyunhopGameFrame{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  box-sizing:border-box!important;
  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;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  aspect-ratio:auto!important;
}

/* :is() keeps unsupported vendor selectors from invalidating the whole rule. */
html body.page-game #gameFullscreenShell:is(.is-native-fullscreen,.is-fallback-fullscreen,:fullscreen,:-webkit-full-screen,:-moz-full-screen) > .fullscreen-game-bar{
  position:absolute!important;
  z-index:8!important;
  top:calc(8px + env(safe-area-inset-top))!important;
  right:calc(8px + env(safe-area-inset-right))!important;
  bottom:auto!important;
  left:auto!important;
  display:flex!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none;
}
html body.page-game #gameFullscreenShell:is(.is-native-fullscreen,.is-fallback-fullscreen,:fullscreen,:-webkit-full-screen,:-moz-full-screen) .fullscreen-game-identity{
  display:none!important;
}
html body.page-game #gameFullscreenShell:is(.is-native-fullscreen,.is-fallback-fullscreen,:fullscreen,:-webkit-full-screen,:-moz-full-screen) .fullscreen-exit-button{
  display:grid!important;
  width:48px!important;
  height:48px!important;
  background:rgba(2,19,32,.70)!important;
  color:#fff!important;
  pointer-events:auto!important;
}
