:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c1118;--panel:#111928;--panel-strong:#0e1624;--accent:#7ef29d;--accent-2:#9ad0ff;--text:#d7e2f3;--muted:#8aa2c2;font-family:Sora,Inter,Segoe UI,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{color:var(--text);background:radial-gradient(circle at 20% 20%,#132036 0%,#0000 22%),radial-gradient(circle at 80% 10%,#173152 0%,#0000 30%),linear-gradient(160deg,#0c1118 0%,#090f19 60%,#0a1524 100%);margin:0}a{color:inherit;text-decoration:none}code{background:#ffffff0a;border:1px solid #1f2b3e;border-radius:8px;padding:.12rem .4rem;font-family:JetBrains Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95rem}.page{flex-direction:column;gap:1.8rem;min-height:100vh;padding:2.5rem 2.4rem 3rem;display:flex}@media (max-width:768px){.page{padding:1.6rem}}.hero{flex-direction:column;gap:.75rem;max-width:960px;display:flex}.hero h1{letter-spacing:-.04em;margin:0;font-size:clamp(2.6rem,5vw,3.6rem)}.hero p{color:var(--muted);max-width:720px;margin:0;line-height:1.6}.badge{color:var(--accent-2);background:#ffffff0d;border:1px solid #1f2b3e;border-radius:999px;align-items:center;gap:.5rem;width:fit-content;padding:.4rem .75rem;font-size:.9rem;display:inline-flex}.cta-row{flex-wrap:wrap;align-items:center;gap:.8rem;display:flex}.cta{color:#041320;background:linear-gradient(120deg,#68f0a3,#7ab7ff);border-radius:12px;padding:.6rem 1rem;font-weight:700}.hint{color:var(--muted);font-size:.95rem}.cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;display:grid}.card{background:var(--panel);border:1px solid #1f2b3e;border-radius:14px;padding:1.2rem 1.4rem;box-shadow:0 10px 30px #0000004d}.card h2{margin:0 0 .45rem;font-size:1.2rem}.card p{color:var(--muted);margin:0 0 .4rem}.card ul{color:var(--muted);margin:.2rem 0 0;padding-left:1.1rem;line-height:1.5}.canvas-shell{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(145deg,#0b1420 0%,#0f1b2b 40%,#0c1320 100%);border:1px solid #1f2b3e;border-radius:18px;min-height:540px;position:relative;overflow:hidden;box-shadow:0 16px 45px #0000006b}.scene-canvas{background:#0b1420;width:100%;height:100%;display:block}.hud{pointer-events:none;flex-direction:column;justify-content:space-between;padding:1rem;display:flex;position:absolute;inset:0}.level-buttons{pointer-events:auto;gap:.4rem;display:flex;position:absolute;top:1rem;left:1rem}.level-buttons button{width:36px;height:36px;color:var(--text);cursor:pointer;background:#00000080;border:1px solid #ffffff40;border-radius:8px;font-size:1rem;font-weight:700}.level-buttons button:active,.level-buttons button.active{border-color:var(--accent);color:var(--accent);background:#7ef29d4d}.score-display{color:var(--accent);background:#00000080;border:1px solid #7ef29d4d;border-radius:8px;padding:.5rem 1rem;font-size:1.2rem;font-weight:700;position:absolute;top:1rem;right:1rem}.sound-toggle{pointer-events:auto;width:40px;height:40px;color:var(--accent);cursor:pointer;background:#00000080;border:1px solid #7ef29d4d;border-radius:8px;place-items:center;display:grid;position:absolute;top:calc(1rem + 48px);right:1rem}.hud-row{flex-wrap:wrap;align-items:flex-start;gap:.75rem;margin-top:3rem;display:flex}.hud-card{pointer-events:auto;color:var(--text);background:#00000059;border:1px solid #ffffff26;border-radius:12px;max-width:min(320px,100% - 56px);padding:.8rem 1rem}.hud-card h3{margin:0 0 .35rem;font-size:1rem}.hud-card p,.hud-card ul{color:var(--muted);margin:0;line-height:1.4}.hud-card ul{padding-left:1rem}.status-pill{color:var(--accent);background:#7ef29d1a;border:1px solid #7ef29d4d;border-radius:999px;align-items:center;gap:.45rem;padding:.35rem .75rem;font-size:.9rem;display:inline-flex}.mobile-controls{pointer-events:auto;justify-content:space-between;width:100%;display:flex}.pad{grid-template-rows:repeat(3,40px);grid-template-columns:repeat(3,40px);gap:.25rem;display:grid}.pad button,.action button{color:var(--text);cursor:pointer;background:#ffffff26;border:1px solid #ffffff40;border-radius:8px;padding:0;font-size:1rem;font-weight:700}.pad button:active,.action button:active{border-color:var(--accent);background:#7ef29d33}.pad-placeholder{visibility:hidden}.action{flex-direction:column;gap:.35rem;display:flex}.action button{width:40px;height:40px}.legend{color:var(--muted);margin-top:.35rem;font-size:.9rem}@media (max-width:900px){.hud{gap:.6rem}.hud-row{flex-direction:column}}@media (max-width:768px),(pointer:coarse){html,body{overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:fixed;inset:0;overflow:hidden}.hero,.cards,.desktop-only{display:none}.page{height:100%;min-height:0;padding:max(.5rem,env(safe-area-inset-top))max(.5rem,env(safe-area-inset-right))max(.5rem,env(safe-area-inset-bottom))max(.5rem,env(safe-area-inset-left));gap:0}.canvas-shell{border-radius:8px;flex:1;min-height:0}}
