:root{color-scheme:dark;--mint:#79ead1;--muted:#a1abc3 }.view-controls{position:absolute;right:16px;display:flex;gap:5px;pointer-events:auto;z-index:5}.view-controls button{min-height:30px;padding:4px 9px!important;font-size:12px!important;background:#202b3de6!important;border-radius:7px!important}.editor-tools{max-height:30vh;overflow:auto}.editor-tools label{font-size:11px;color:#c8d3e4}.editor-tools select,.editor-tools input{background:#171f30;color:#e6ecff;border:1px solid #50617b;padding:5px;border-radius:5px}.game-feedback{max-height:66px;overflow:auto}@media (max-width:650px){.game-header{align-items:flex-start}.game-meters{gap:8px;font-size:10px}.game-meters b{font-size:16px}.game-title{max-width:125px}.game-sub{font-size:9px;letter-spacing:1px}.view-controls{right:8px}}button,input,textarea,select{font:inherit}button{transition:filter .18s,transform .18s;min-height:40px;touch-action:manipulation}button:hover:not(:disabled){filter:brightness(1.18);transform:translateY(-2px)}button:focus-visible,canvas:focus-visible,input:focus-visible{outline:2px solid var(--mint);outline-offset:4px}button:disabled{opacity:.4;cursor:default!important}.home{height:100%;overflow:auto;padding:32px clamp(24px,7vw,110px);background:radial-gradient(ellipse at 80% 45%,#184e493b,transparent 50%),radial-gradient(ellipse at 25% 80%,#492b6330,transparent 50%),#101323;pointer-events:auto}.brand{font-size:12px;font-weight:700;letter-spacing:3px;color:#d5deee}.brand b{color:var(--mint)}.home-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:11px;color:var(--mint);letter-spacing:4px;margin-bottom:24px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px;max-width:1120px;margin:clamp(40px,10vh,110px) auto 48px}.hero h1{font-size:clamp(50px,7vw,92px);line-height:1.1;letter-spacing:-3px;margin:0 0 24px;font-weight:300}.hero h1 strong{color:var(--mint);font-weight:700}.hero p{font-size:15px;line-height:1.9;color:var(--muted);max-width:370px}.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.primary{background:var(--mint)!important;color:#102b29!important;border:none!important;padding:13px 26px!important;font-weight:700!important;border-radius:9px!important}.home-stats{display:flex;gap:32px;margin-top:34px;color:var(--muted);font-size:12px}.home-stats strong{display:block;font-size:24px;color:#e6ecf6;font-weight:500;margin-bottom:6px}.beam-art{width:100%;max-width:420px;aspect-ratio:1;border:1px solid #344452;border-radius:24px;background:linear-gradient(145deg,#1a2939,#131a2b);padding:24px;box-shadow:0 30px 90px #0004;transform:rotate(-4deg)}.beam-art svg{width:100%;height:100%}.home-footer{max-width:1120px;margin:auto;border-top:1px solid #2a3144;padding-top:22px;display:flex;flex-wrap:wrap;gap:24px;color:var(--muted);font-size:12px;line-height:1.8}.game-header{position:absolute;top:20px;left:50%;transform:translate(-50%);width:min(850px,calc(100% - 32px));display:flex;justify-content:space-between;align-items:center;gap:14px;pointer-events:auto}.game-title{font-size:18px;font-weight:600}.game-sub{font-size:11px;color:var(--mint);letter-spacing:2px;margin-bottom:6px}.game-meters{display:flex;gap:18px;font-size:12px;color:var(--muted);text-align:center}.game-meters b{display:block;font-size:21px;color:#e4eaf7;margin-bottom:4px}.game-hint{position:absolute;top:85px;left:50%;transform:translate(-50%);width:min(740px,calc(100% - 32px));color:var(--muted);text-align:center;font-size:12px;line-height:1.7}.game-dock{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(800px,calc(100% - 24px));pointer-events:auto;text-align:center}.game-feedback{color:#c6d9e6;font-size:12px;line-height:1.6;margin:0 0 10px;min-height:20px}.game-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.game-controls button{border-radius:8px!important;padding:9px 15px!important}.game-help{font-size:11px;color:#8d9ab5;margin-top:12px}.dialog-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;background:#050916cc;display:grid;place-items:center;pointer-events:auto;padding:20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.help-card{width:min(480px,100%);max-height:90vh;overflow:auto;padding:28px;border:1px solid #3a4b61;border-radius:18px;background:#1b2335}.help-card h2{margin-bottom:18px}.help-card p{margin:12px 0;color:#bbc6d9;line-height:1.8;font-size:14px}.level-summary{color:var(--mint);font-size:13px;margin-bottom:24px}@media (max-width:650px){.hero{grid-template-columns:1fr;gap:28px;margin:36px auto 28px}.hero h1{font-size:58px}.beam-art{max-width:220px;margin:0 auto}.home{padding:22px}.home-stats{gap:24px}.home-footer,.game-meters{gap:10px}.game-title{font-size:15px}.game-help{display:none}.game-controls button{padding:8px 11px!important;font-size:12px!important}.home-top .eyebrow{display:none}}@media (max-height:600px){.game-header{top:8px}.game-hint{top:65px;font-size:11px}.game-dock{bottom:8px}.game-help{display:none}}@media (prefers-reduced-motion:reduce){button{transition:none}}
