/* VOICE: a cheerful tech company that owns you. Friendly microcopy, total control.
   IDEA: the crawler's company-issued HUD, glass panels floating over the stairwell to their floor.
   PICTURE: a concrete stairwell descending into fog, the floor number stencilled on the wall, a corporate banner.
   COLOUR: graphite and bone white, one commanding brand accent (set per brand in brand.js), red health, cyan mana.
   TYPE: Big Shoulders Display for monumental headings, Manrope for the friendly corporate voice. */
:root{color-scheme:dark;--ink:#f3f0ea;--dim:#a09d98;--red:#e0261d;--red2:#ff4a3d;--on:#fff;--hp:#e0261d;--hp2:#ff4a3d;--cyan:#3ee6f0;--green:#35e07a;--glass:rgba(14,14,16,.62);--edge:rgba(255,255,255,.09);--rule:rgba(255,255,255,.07);--haz:#f5c518}
*{box-sizing:border-box;min-width:0}
body{margin:0;background:#0b0b0c;color:var(--ink);font:500 15px/1.45 Manrope,system-ui,sans-serif;overflow-x:clip;min-height:100vh}
h2{font:900 20px/1 "Big Shoulders Display",Impact,sans-serif;margin:0;letter-spacing:.01em;display:flex;align-items:baseline;gap:8px}
h2 small{font:600 12px Manrope,sans-serif;color:var(--dim)}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible{outline:2px solid var(--red2);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

#bg{position:fixed;inset:0;z-index:-1}
#bg svg{width:100%;height:100%;display:block}
#bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,transparent 30%,rgba(0,0,0,.65) 85%),linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.55))}

.presents{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--dim);font-weight:700}
.presents svg{width:34px;height:34px;flex:none}
.presents b{display:block;color:var(--red2);font:900 17px/1 "Big Shoulders Display",sans-serif}

#gate{position:fixed;inset:0;z-index:30;display:none;place-items:center;padding:20px;background:rgba(6,6,7,.7);backdrop-filter:blur(6px)}
#gate.on{display:grid}
.gbox{width:min(400px,100%);background:rgba(16,16,18,.92);border:1px solid var(--edge);border-radius:18px;padding:26px 24px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.6);position:relative}
.gbox .x{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:10px;border:1px solid var(--edge);background:none;font-size:20px;color:var(--dim)}
.gbox small{color:var(--red2);font-weight:800}
.gbox h2{display:block;font-size:32px;line-height:1.05;margin:4px 0 6px}
.gbox p{color:var(--dim);margin:0 0 16px;font-size:14px}
.dots{display:flex;gap:10px;justify-content:center;margin-bottom:16px}
.dots span{width:46px;height:56px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--edge);font:900 30px/54px "Big Shoulders Display",sans-serif}
.dots span.on{border-color:var(--red2);box-shadow:0 0 0 3px rgba(255,255,255,.08)}
.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pad button{height:54px;border:1px solid var(--edge);background:rgba(255,255,255,.04);border-radius:12px;font:800 20px Manrope,sans-serif}
.pad button:hover{background:rgba(255,255,255,.09)}
.gmsg{min-height:22px;color:var(--red2);font-size:13px;margin-top:12px;font-weight:800}
.gnote{color:var(--dim);font-size:12px}

.pips{display:flex;gap:4px}
.pips i{flex:1;height:14px;border-radius:4px;background:rgba(255,255,255,.07)}
.hp .pips i.f{background:linear-gradient(180deg,var(--hp2),var(--hp));box-shadow:0 0 10px rgba(224,38,29,.45)}
.mp .pips i.f{background:linear-gradient(180deg,#8ff4fa,#14bccb);box-shadow:0 0 10px rgba(62,230,240,.35)}
.pos{color:var(--green)!important}.neg{color:var(--hp2)!important}
