html.dd-game-page-locked,html.dd-game-page-locked body{overflow:hidden;overscroll-behavior:none}
#game-wrap.dd-mobile-game-mode {
  position: fixed !important;
  top: var(--dd-host-top, 0) !important;
  left: var(--dd-host-left, 0) !important;
  width: var(--dd-host-width, 100vw) !important;
  max-width: none;
  height: var(--dd-host-height, 100dvh) !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  border: 0 !important;
  z-index: 10000 !important;
  background: #080709;
}
#game-wrap.dd-mobile-game-mode #game-frame{position:absolute;inset:0;width:100%;height:100%;display:block}
.dd-mobile-host-tools{display:none!important}
#game-wrap > .dd-mobile-resume {
  position: absolute;
  inset: 0;
  width: max-content;
  height: max-content;
  margin: auto;
  transform: none;
  transition-property: background-color, border-color, color, box-shadow;
  z-index: 5;
  max-width: 90%;
  min-height: 44px;
  touch-action: manipulation;
}
#game-wrap.dd-mobile-returned iframe{visibility:hidden;pointer-events:none}
.dd-mobile-resume[hidden]{display:none!important}

/* The website toolbar belongs to the page, outside the active mobile demo. */
html.dd-game-page-locked .game-toolbar { display: none; }
