/* Match the game's 750 x 1334 portrait frame on phones and desktop browsers. */
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #111522;
}
body {
  --screen-height: 100vh;
  box-sizing: border-box;
  height: var(--screen-height);
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
           env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  align-items: center;
  justify-content: center;
}
@supports (height: 100dvh) {
  body { --screen-height: 100dvh; }
}
#GameDiv {
  position: relative;
  flex: none;
  width: min(100%, calc((var(--screen-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) * 0.56221889));
  height: min(100%, calc((100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) * 1.77866667));
  overflow: hidden;
  touch-action: none;
}
#GameCanvas {
  touch-action: none;
  -webkit-touch-callout: none;
}
