@font-face { font-family: "Luckiest Guy"; src: url("../assets/fonts/luckiestguy-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #12142b;
  --paper: #fffdf5;
  --gold: #ffd23c;
  --hot: #ff4d6d;
  --sky: #38b6ff;
  --mint: #2ee6a6;
  --display: "Luckiest Guy", "Arial Black", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0b1026; color: var(--paper); font-family: var(--body); overscroll-behavior: none; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#stage { position: fixed; inset: 0; }
#game { width: 100%; height: 100%; display: block; }
#ui { position: fixed; inset: 0; pointer-events: none; }
/* each layer inside #ui opts in to pointer events itself (menus, touch controls) */
