/* PLAYER V185: QTech iframe geometry hotfix ONLY.
   The real-browser diagnostic found gameFrame heights 106px and 102px
   despite viewports 811px and 898px tall. Avoid flex/JS height conflicts.
   No effect unless body.qtech-immersive-v182 (verified QTech launch).
   Keep V184 header, wallet visibility, control bar and exit behavior. */
body.qtech-immersive-v182 #gameRuntime {
  position: fixed !important;
  inset: var(--v184-header-h) 0 0 0 !important;
  width: 100vw !important;
  height: calc(100vh - var(--v184-header-h)) !important;
  height: calc(100dvh - var(--v184-header-h)) !important;
  max-height: none !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  overflow: hidden !important;
}
body.qtech-immersive-v182 #gameRuntime > .game-runtime-toolbar {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  box-sizing: border-box !important;
  height: var(--v184-exit-h) !important;
  min-height: var(--v184-exit-h) !important;
  max-height: var(--v184-exit-h) !important;
  width: 100% !important;
  z-index: 4 !important;
}
/* Fill the actual content rectangle, NOT a flex-computed slot.
   These !important values also override V182's inline height assignment.
   Same-origin or cross-origin QTech content is never accessed. */
body.qtech-immersive-v182 #gameRuntime > #gameFrame {
  position: absolute !important;
  top: var(--v184-exit-h) !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  flex: none !important;
  float: none !important;
  width: 100% !important;
  height: calc(100% - var(--v184-exit-h)) !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;
  aspect-ratio: auto !important;
  transform: none !important;
}
