/* Age of Discovery — fixed 1024x576 logical canvas, scaled to fit as one piece. */
:root {
  background: #12100c;
  color: #e7dcc1;
  font-family: "Lucida Console", Monaco, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #12100c;
}
#stage {
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
}
/* Letterbox: aspect preserved, no stretch, no reflow (D3). */
canvas {
  display: block;
  width: min(100vw, calc(100vh * 1.7777778));
  height: auto;
  max-height: 100vh;
  aspect-ratio: 1024 / 576;
  background: #12100c;
  outline: none;
  touch-action: none;
}
