html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000;
  color: #fff;
  font: 16px system-ui, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#player {
  position: relative;
  width: min(100vw, 56.25vh);
  height: 100vh;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

#gameContainer, canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

#enableSound {
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 8px;
  background: #191b25;
  color: #fff;
  text-align: center;
}

#enableSound {
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 48px;
  width: max-content;
  border: 1px solid #fff;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

#enableSound:focus-visible {
  outline: 3px solid #69d9ff;
  outline-offset: 4px;
}

#enableSound:active {
  background: #34384c;
}

[hidden] {
  display: none !important;
}
