/* style.css — page layout: centers the game canvas and scales it to fit the window with crisp pixels. */

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

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

#game {
  display: block;
  /* Keep 16:9 and fit inside the window. */
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #07050a;
  outline: none;
}
