html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  color: rgba(255, 255, 255, 0.87);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#app {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-container {
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* On a sideways screen, the portrait game shows as a centered column at its own aspect ratio. */
@media (orientation: landscape) {
  #game-container {
    max-width: calc(100dvh * 9 / 16);
  }
}
