/* LAST LIGHT — base tokens. UI modules add their own stylesheet next to this one. */
:root{
  --ink:#07060a; --ivory:#fff6ee; --hot:#ff3d7f; --gold:#ffd27a; --teal:#3ee6d2;
  --glass:rgba(10,8,14,.48); --line:rgba(255,246,238,.14);
  --display:"Anton",Impact,sans-serif; --sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:var(--ink);color:var(--ivory);font-family:var(--sans);overflow:hidden;
  -webkit-font-smoothing:antialiased;user-select:none;-webkit-user-select:none;touch-action:none}
#view{position:fixed;inset:0}
#view canvas{display:block;width:100%!important;height:100%!important}
#ui{position:fixed;inset:0;pointer-events:none;z-index:10}
#ui .interactive,#ui button{pointer-events:auto}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.debug-panel{position:fixed;left:8px;bottom:8px;z-index:50;font:11px/1.45 ui-monospace,Menlo,monospace;color:#cfe;
  background:rgba(0,0,0,.55);padding:6px 9px;border-radius:6px;white-space:pre;pointer-events:none}
/* perf: html.perf-lite is set by core on the low tier and on phones. Backdrop blurs over a live WebGL canvas are
   re-computed every frame by the compositor — one of the hottest things a mobile GPU can do. Drop them (the HUD
   panels get compensating opacity in hud.css; menu glass gets a denser tint here). The wreck overlay's grayscale
   filter is a look, not a blur, so it stays. */
html.perf-lite{--glass:rgba(10,8,14,.68)}
html.perf-lite *:not(.ll-wreck),html.perf-lite *::before,html.perf-lite *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
