/* Centrage simple de la page et fond neutre */
html, body {
  height: 100%;
}
body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0f14;
  color: #f0f3f8;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Le canvas conserve un ratio 4:3 et est centré */
#game {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  image-rendering: optimizeQuality;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  background: #000; /* letterbox visible autour si besoin */
  border-radius: 8px;
}

