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

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

#game {
  display: block;
  background: #1b2a4a;
  /* Keep pixel art crisp at every integer scale. */
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  /* main.js sets width/height in CSS px for integer scaling. */
}

/* The canvas is focusable so keyboard input works immediately, but the
   default focus ring looks like a bug to a kid. */
#game:focus {
  outline: none;
}
#game:focus-visible {
  outline: 2px solid #e8a33d;
  outline-offset: 4px;
}
