@font-face { font-family: 'Press Start 2P'; src: url('/fonts/press-start-2p.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'VT323'; src: url('/fonts/vt323.woff2') format('woff2'); font-display: swap; }

:root {
  --navy: #0d182b; --navy2: #16243d; --navy3: #22365a; --ink: #0a1120;
  --cream: #f4efe3; --dim: #9fb0c8; --red: #d11026; --red2: #a80c1e; --gold: #e8b84a;
  --ok: #3ddc84; --warn: #f5a524; --bad: #ff5d5d;
  --a: #e5484d; --b: #3b82f6; --c: #f5a524; --d: #30a46c;
  --mine: #f5a524; --team: #2bb3a3; --boss: #9b6bdf;
  --px: 'Press Start 2P', ui-monospace, monospace; --tx: 'VT323', ui-monospace, monospace;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--navy); color: var(--cream); font-family: var(--tx); }
canvas { image-rendering: pixelated; image-rendering: crisp-edges; }
button { font: inherit; color: inherit; }
.px { font-family: var(--px); }
/* chunky 8-bit frame */
.box { background: var(--navy2); border: 4px solid var(--cream); box-shadow: 0 0 0 4px var(--ink), 8px 8px 0 4px rgba(0, 0, 0, .35); }
.hide { display: none !important; }
