:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#e8f3f5;background:#040509}*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;overscroll-behavior:none}body[data-state=playing],body[data-state=paused]{overflow:hidden;height:100dvh}button,a{touch-action:manipulation}button{font:inherit;color:inherit;background:#14272f;border:1px solid #79a4ae;border-radius:7px;min-height:44px;padding:10px 16px;cursor:pointer}button:disabled{cursor:wait;opacity:.7}button:hover{background:#233f48}a{color:#b7e8ee;text-underline-offset:4px}a:hover{color:#fff}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ffcb83;outline-offset:4px}[hidden]{display:none!important}.overlay{position:fixed;inset:0;z-index:20;overflow:auto;background:#040509eb;padding:28px 16px;display:grid;place-items:center}.card{width:min(100%,680px);padding:30px;background:#101c23;border:1px solid #35464e;border-radius:14px;box-shadow:0 20px 100px #0008}.brand{font-size:17px;font-weight:700;letter-spacing:.13em;display:flex;justify-content:space-between;gap:20px;text-decoration:none;margin-bottom:22px}.brand span{font-size:12px;font-weight:400;letter-spacing:0}#poster{display:block;width:100%;height:auto;border-radius:6px}.poster-caption{font-size:12px;color:#b2c8ce;margin:8px 0 0}.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9ed7df;margin:24px 0 9px}h1{font-size:clamp(27px,5vw,36px);line-height:1.12;margin:0 0 18px}p{font-size:15px;line-height:1.55;margin:12px 0}#status{padding:12px 14px;background:#192c35;border-radius:7px;color:#d6edf1}#instructions{margin:18px 0}#instructions p{font-size:14px;color:#c5d2d7}#instructions strong{color:#fff}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:22px}.primary{background:#afe6ed;color:#071b25;border-color:#afe6ed;font-weight:650}.primary:hover{background:#d4f9ff}.credit{font-size:12px;color:#9daeb7;margin-top:22px}.touch-help{display:none}canvas{display:block;position:fixed;inset:0;z-index:0;touch-action:none;cursor:crosshair}#game-ui{position:fixed;inset:0;z-index:5;pointer-events:none;user-select:none;-webkit-user-select:none}#game-ui button,#game-ui a{pointer-events:auto;touch-action:none}.game-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;background:linear-gradient(#040509e8,#04050900);padding:16px max(18px,env(safe-area-inset-right)) 36px max(18px,env(safe-area-inset-left))}#title strong{font-size:18px;color:#fff}#title span{font-weight:400;color:#9fd6e0;font-size:14px;margin-left:6px}#title small{display:block;margin-top:7px;font-size:12px;color:#d5e5e9}.touch-hint{display:none!important}nav{display:flex;align-items:center;gap:8px}nav button,nav a{background:#10212ad9;border:1px solid #75a2b1;border-radius:7px;min-height:44px;padding:10px 13px;color:#e8f5ff;font-size:13px;text-decoration:none;white-space:nowrap}#pad{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(25px,env(safe-area-inset-bottom));display:flex;gap:10px}#beam{min-width:110px;background:#0f5270;border-color:#9ce3ff;font-weight:700}#beam small{font-size:11px;font-weight:400;margin-left:6px}#beam.on,#beam[data-state=charging],#beam[data-state=firing]{background:#b0ecff;color:#041621;box-shadow:0 0 25px #66cfff66}#jump.on{background:#9bdcff;color:#041621}#stick{display:none;position:fixed;left:28px;bottom:28px;width:130px;height:130px;border-radius:50%;border:2px solid #9be3ff73;background:#0a1e3259;z-index:4}#stick.on{border-color:#9be3ffd9;background:#143c5f73}#knob{position:absolute;left:38px;top:38px;width:54px;height:54px;border-radius:50%;background:#9be3ffb3;box-shadow:0 0 12px #78d2ff80}#cross{position:fixed;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border:1px solid #bef0ffbd;border-radius:50%;box-shadow:0 0 6px #0009}#cross:after{content:'';position:absolute;left:8px;top:8px;width:4px;height:4px;border-radius:50%;background:#e8fbff}#rotate{display:none}.game-footnote{position:fixed;left:20px;bottom:20px;font-size:12px;color:#b2c8ce;background:#040509b8;padding:6px 10px;border-radius:4px;max-width:48vw}body[data-state=paused] #poster,body[data-state=loading] #poster,body[data-state=paused] .poster-caption,body[data-state=loading] .poster-caption{display:none}body[data-state=paused] .eyebrow{margin-top:0}@media(pointer:coarse){.touch-help{display:block}.desktop-hint{display:none!important}.touch-hint{display:block!important}#stick{display:block}#pad{width:210px;height:190px;display:block}#beam{position:absolute;right:0;bottom:0;width:128px;height:128px;border-radius:50%;font-size:17px}#beam small{display:block;margin:3px 0 0}#jump{position:absolute;left:0;top:0;width:78px;height:78px;border-radius:50%;font-weight:650}.game-footnote{display:none}}@media(max-width:700px){.card{padding:20px}.brand{font-size:15px}.brand span{font-size:11px}.game-header{padding:10px 10px 22px;gap:5px}#title strong{font-size:14px}#title span{display:block;font-size:11px;margin:0}#title small{display:none!important}nav{gap:5px}nav button,nav a{padding:8px 9px;font-size:11px}nav button:first-child{min-width:105px}.game-footnote{font-size:10px;max-width:40vw}}@media(pointer:coarse) and (orientation:portrait){#rotate{display:block;position:fixed;left:50%;top:19%;transform:translateX(-50%);padding:6px 10px;font-size:12px;color:#c5dce4;background:#06121acf;border-radius:5px;white-space:nowrap}#stick{left:16px;bottom:24px;width:112px;height:112px}#knob{left:29px;top:29px}#pad{right:12px;bottom:24px;width:190px;height:190px}#beam{width:116px;height:116px}#jump{width:68px;height:68px}nav button,nav a{padding:8px;font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}
