/* Full-window dark stage. The canvas is centered and letterboxed so the
   1920x1080 internal resolution always keeps a 16:9 shape. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #0a0c10;
  overflow: hidden;
  /* Avoid the system text-cursor / selection while playing. */
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

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

/* The drawing buffer stays 1920x1080 (set in HTML); JS sets the displayed
   width/height to the largest 16:9 box that fits the window. */
#game {
  display: block;
  background: #11151c;
  /* Crisp scaling for the procedural pixel-ish art. */
  image-rendering: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
