:root { --gold: #d4a53c; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #050203; overflow: hidden; color: #f2e2b0;
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif; }
#stage { position: relative; width: 100vw; height: 100vh; display: grid; place-items: center; }
/* the whole game (menus included) is drawn in the 480x270 canvas and scaled with nearest-neighbour */
#game { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; image-rendering: pixelated; image-rendering: crisp-edges; outline: none; cursor: default;
  width: min(100vw, calc(100vh * 16 / 9)); height: min(100vh, calc(100vw * 9 / 16)); background: #000; box-shadow: 0 0 60px #000; }
#boot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #050203;
  letter-spacing: .3em; color: var(--gold); font-size: 14px; transition: opacity .4s; }
#boot.gone { opacity: 0; pointer-events: none; }
