/* Dome Blitz only: reserve real document-scroll space above and below
   the complete game scene. Do not translate or scale the board, header,
   rack, player panels, or control buttons. Browser scrolling remains native.
   The space is removed automatically outside an active Blitz room. */
body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden])) > main {
  padding-top:clamp(88px,11dvh,148px)!important;
  padding-bottom:clamp(180px,26dvh,300px)!important;
}

/* Keep the same scroll breathing room on phones and narrow portrait
   tablets without wasting too much of their shorter visible viewport. */
@media (max-width:820px) {
  body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden])) > main {
    padding-top:clamp(48px,7dvh,88px)!important;
    padding-bottom:clamp(128px,20dvh,220px)!important;
  }
}
