:root {
  --bg: #0d0a1c;
  --ink: #fff1c8;
  --muted: #b8a6d8;
  --stage: #1b1440;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink);
  font: 13px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
body { display: grid; place-items: center; overflow: hidden; }
.stage { position: relative; width: min(100vw, calc(100vh * 16 / 9)); aspect-ratio: 16 / 9;
  background: var(--stage); overflow: hidden; }
/* The canvas shows a 400 x 225 frame upscaled with nearest neighbour, so keep the browser from smoothing it. */
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  image-rendering: pixelated; image-rendering: crisp-edges; }
.bar { position: fixed; left: 16px; right: 16px; top: 12px; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; pointer-events: none; z-index: 2; }
.bar > * { pointer-events: auto; }
.label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 2px 2px 0 #3a1a4a; }
.label small { color: var(--muted); font-weight: 400; margin-left: 8px; text-transform: none; letter-spacing: 0.02em; }
a { color: var(--ink); text-decoration: none; border: 2px solid #fff1c855; padding: 5px 10px;
  background: #1b144099; }
a:hover { border-color: #fff1c8; }
body.clean .bar { display: none; }
