html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}

/* visually hidden but available to screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#game-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game {
  /* Canvas internal resolution is the scene's native pixel size;
     CSS scales it to fit the window while keeping crisp pixels. */
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  max-width: 100vw;
  max-height: 100vh;
  cursor: crosshair;
}
