/* ══════════ Design Tokens + Pixel-Perfect Scaling ══════════ */
:root{
  --ink:#0c1020;
  --surface-strong:#373952;
  --surface-strong-a:rgba(55,57,82,.95);
  --panel:rgba(13,17,32,.9);
  --card:#151b30;
  --line:#2b3350;
  --amber:#ffb03a; --gold:#ffd23f; --cyan:#41e0ff;
  --red:#ff5040; --green:#7dff8a;
  --text:#f2f5ff; --dim:#b0b8d4;
  --space-1:1px; --space-2:4px; --space-3:6px; --space-4:8px;
  --space-5:16px; --space-6:20px; --space-7:60px; --space-8:175.28px;
  --radius-xs:10px; --radius-sm:14px; --radius-md:30px;
  --ring-c:rgb(170,173,190);
  --drop:0 4px 0 rgba(0,0,0,.35);
  --dur-instant:200ms; --dur-fast:220ms; --dur-normal:250ms;
  --fd:'Russo One','Segoe UI',sans-serif;
  --fb:-apple-system,'Segoe UI','Helvetica Neue',sans-serif;
  --ui-scale:1;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{position:fixed;inset:0;overflow:hidden;background:#05070f;
  user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#app{position:fixed;left:0;top:0;overflow:hidden;touch-action:none;
  font-family:var(--fb);color:var(--text)}
#stage{position:absolute;inset:0}
#stage canvas{display:block;image-rendering:-webkit-optimize-contrast}