:root{color-scheme:dark;--bg:#090c18;--line:#293047;--muted:#adb6ce;--ink:#eff5ff;--aqua:#82f6e7;--panel:#13192b;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 60%,#171832 0,transparent 58%),var(--bg);min-height:100vh}a{color:inherit;text-decoration:none}button,.button,.primary{border:1px solid var(--line);border-radius:5px;padding:.74rem 1rem;background:#20273d;color:var(--ink);font:600 .94rem system-ui;cursor:pointer;text-align:center}button:hover,.button:hover{border-color:var(--aqua);color:var(--aqua)}a:focus-visible,button:focus-visible,input:focus-visible,label:has(+input:focus-visible){outline:3px solid #f2cd76;outline-offset:4px}button:disabled{opacity:.55;cursor:wait}#hub,#lab{width:min(1216px,100%);margin:auto;padding:0 max(20px,4vw) max(20px,env(safe-area-inset-bottom))}header,footer,.strip,.lab-top,.dialog-head,.lab-help{display:flex;align-items:center;justify-content:space-between;gap:1rem}header{min-height:80px}.brand,.eyebrow,.badge,.coord,.strip,footer,.lab-help,.hud,#stats{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.brand{display:flex;align-items:center;gap:.6rem;letter-spacing:.19em;font-weight:900}.sigil{color:var(--aqua);font-size:1.8rem}.badge,.coord,.eyebrow,.strip,footer,.lab-help{font-size:.71rem;letter-spacing:.12em}.badge{font-size:.62rem;color:#c0eee4;border:1px solid #334b4d;padding:.45rem .7rem;border-radius:25px;white-space:nowrap}.badge i,.strip i{display:inline-block;background:var(--aqua);width:6px;height:6px;border-radius:50%;margin-right:.45rem}.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;border:1px solid #444362;min-height:395px;display:flex;align-items:center;background:radial-gradient(ellipse at 72% 40%,#3e325f 0,#1b2041 38%,#10152b 73%)}.hero:before,.stage:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(1px 1px at 11px 6px,#cecef3 70%,transparent),radial-gradient(1px 1px at 66px 38px,#8bade4 70%,transparent);background-size:83px 89px,137px 64px;opacity:.5;z-index:-1}.orbit{position:absolute;inset:0;z-index:-1;overflow:hidden}.orbit img{position:absolute;object-fit:contain;pointer-events:none}.planet{width:42%;right:0%;top:6%;filter:drop-shadow(0 12px 26px #080c2a)}.cloud{width:57%;right:-7%;top:-24%;opacity:.67}.ship{image-rendering:pixelated;width:17%;right:27%;bottom:5%;transform:rotate(-24deg);filter:drop-shadow(-5px 9px 9px #121330) brightness(1.25)}.brief{padding:clamp(25px,4vw,58px);max-width:70%}.eyebrow{color:var(--aqua);margin:0;letter-spacing:.16em;font-weight:700}.eyebrow span{display:inline-block;width:24px;height:2px;background:var(--aqua);margin-right:.5rem;vertical-align:middle}h1{font-size:clamp(3.6rem,7.05vw,6.25rem);line-height:.97;letter-spacing:-.078em;margin:1rem 0 .45rem;font-weight:950}h1 span{color:var(--aqua)}.subtitle{font-size:1.56rem;font-weight:650;margin:0}.intro,.card p,dialog p,.curtain p:not(.eyebrow){color:var(--muted);line-height:1.55}.intro{max-width:410px;font-size:.99rem;margin:1rem 0 1.55rem}.primary{display:inline-flex;align-items:center;gap:1.4rem;background:var(--aqua);color:#071d24;border-color:var(--aqua);font-weight:800}.primary:hover{background:#bffff3;color:#071d24}.coord{position:absolute;right:1.2rem;bottom:.9rem;color:#c2c6e4;font-size:.62rem}.strip{padding:1.8rem 0 1rem;color:#ccd2e4}.strip span:last-child{font:.82rem system-ui;letter-spacing:normal;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{padding:1.55rem;border:1px solid var(--line);border-radius:8px;background:linear-gradient(145deg,#1b2035,#101625);display:flex;flex-direction:column;align-items:flex-start}.card:nth-child(2) .eyebrow{color:#ccb1ff}.card:nth-child(3) .eyebrow{color:#f0ca89}h2{font-size:1.55rem;line-height:1.15;margin:.8rem 0 .4rem;letter-spacing:-.035em}.card p{font-size:.94rem;margin:0 0 1.25rem}.sub{border:none;background:transparent;color:var(--aqua);padding:.4rem 0;text-align:left;margin-top:auto}.sub b{margin-left:.4rem}small{line-height:1.45;color:var(--muted)}footer{border-top:1px solid var(--line);margin-top:1.8rem;padding-top:1rem;color:var(--muted);font-size:.65rem;letter-spacing:.07em}footer a{text-decoration:underline}dialog{width:min(520px,calc(100% - 28px));max-height:90dvh;overflow:auto;border-radius:10px;background:#12182a;color:var(--ink);border:1px solid #586081;padding:1.45rem}dialog::backdrop{background:#040812c9}.dialog-head button{font-size:1.3rem;padding:.1rem .6rem}h3{margin:1.25rem 0 .55rem}dialog p{font-size:.9rem}form label{display:block;color:var(--muted);font-size:.86rem;margin-bottom:.6rem}input:not([type=file]){display:block;width:100%;border:1px solid #47516a;color:var(--ink);border-radius:4px;background:#0a1021;padding:.6rem;font:inherit;margin-top:.2rem}.row{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}.notice{min-height:1.5rem;color:var(--aqua)}.visually-hidden{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}[hidden]{display:none!important}.lab-top{height:65px}.stage{height:min(74dvh,740px);min-height:300px;position:relative;isolation:isolate;overflow:hidden;background:#0d1229;border:1px solid #40475e;border-radius:10px}.stage canvas{width:100%;height:100%;display:block;position:absolute;inset:0;z-index:-1}.hud,#stats,#pause{position:absolute;z-index:1}.hud,#stats{pointer-events:none;background:#090e1ecc;border-radius:3px;white-space:pre-wrap;padding:.5rem;color:#ccfff4;font-size:clamp(.67rem,2vw,.86rem)}.hud{top:.5rem;left:.5rem}.hud:empty{display:none}#stats{top:3rem;left:.5rem}#pause{right:.5rem;top:.5rem}.reticle{position:absolute;top:50%;left:50%;color:#c4fff470;transform:translate(-50%,-50%);pointer-events:none}.curtain{position:absolute;inset:0;display:flex;padding:1.4rem;flex-direction:column;align-items:center;justify-content:center;background:#090f20bb;text-align:center;z-index:2}.curtain h2{font-size:clamp(1.8rem,6vw,3.5rem)}.curtain p:not(.eyebrow){max-width:440px}.lab-help{padding:.7rem 0;color:var(--muted);font-size:.68rem;letter-spacing:.01em}.pad,#fire{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));touch-action:none;user-select:none;-webkit-user-select:none;display:none}.pad{left:14px;width:98px;height:98px;border:1px solid #8cd4d688;border-radius:50%;background:#141c3380}.pad span{position:absolute;left:calc(50% - 15px);top:calc(50% - 15px);height:30px;width:30px;border-radius:50%;background:#94eee29e}.pad.active,#fire:active{border-color:#a5ffed}#fire{right:18px;width:64px;height:64px;border-radius:50%;border-color:#e5af7eaa;background:#331d2aa6;color:#ffdb9d;bottom:29px}@media(any-pointer:coarse){.pad,#fire{display:block}}@media(max-width:720px){#hub,#lab{padding-inline:max(14px,env(safe-area-inset-left))}header{min-height:59px}.cards{grid-template-columns:1fr}.card{padding:1.1rem}.card p{margin-bottom:.5rem}.card h2{margin-top:.5rem}.hero{min-height:340px}.brief{max-width:83%;padding:24px}.orbit{opacity:.54}.planet{width:48%;right:-13%;top:10%}.ship{width:18%;right:6%;bottom:12%}.intro{max-width:280px}.coord{font-size:.49rem}.lab-help,.lab-top{flex-wrap:wrap}.lab-top .eyebrow{display:none}.lab-top button{font-size:.8rem}.strip{padding-top:1.2rem}footer{font-size:.58rem;align-items:flex-start}}@media(max-width:410px){.brief{max-width:95%}.hero h1{font-size:3.4rem}.strip{gap:4px}.strip span:last-child{font-size:.68rem}}@media(max-height:520px)and (orientation:landscape){.lab-top{height:43px}.stage{height:calc(100dvh - 63px);min-height:0}.lab-help{display:none}.lab-top button{padding:.35rem .65rem}.curtain{padding:.5rem}.curtain p,.curtain h2{margin:.35rem 0}}.atelier{font-size:.78rem;color:#d0c5ff;text-decoration:underline;text-underline-offset:.2rem;margin-top:.3rem}.sync{display:block;font-size:.85rem;color:var(--muted);margin:.7rem 0}.sync input{accent-color:var(--aqua)}#campaign-return{border-color:#91d9c5;color:#b9ffe4;min-height:44px;text-decoration:underline;text-underline-offset:3px;font-size:13px;padding:10px 12px}.flight-roll,.flight-pixels{min-height:44px;touch-action:none}.flight-order{max-width:75%;font:500 13px/1.4 system-ui}.flight-boss-health{height:7px;border-radius:0}.lab-help{line-height:1.6}.lab-top>button{min-height:44px}#lab .curtain h2{margin:.4em 0}.strip{min-width:0}.strip span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.flight-order{max-width:70%;font-size:11px}.flight-pixels{font-size:11px!important;min-height:36px}.curtain p:not(.eyebrow){font-size:14px}.lab-help{gap:4px}.lab-top{gap:6px}}
