*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0b111b;color:#f4e9d8;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}button{font:inherit;touch-action:none;cursor:pointer}#game{position:relative;width:100%;max-width:520px;height:100%;height:100dvh;margin:auto;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#253444,#101923 65%,#0b111b);user-select:none;-webkit-user-select:none}#scene{position:absolute;top:78px;left:0;width:100%;height:calc(100% - 270px);touch-action:none}.status{position:absolute;top:max(18px,env(safe-area-inset-top));left:22px;right:22px;display:flex;justify-content:space-between;font-size:15px;font-weight:700;letter-spacing:.5px}.status span{padding:9px 13px;border:1px solid #5f6d754d;border-radius:12px;background:#121f2ac9}.status span:last-child{color:#ffab6d}.mission{position:absolute;top:64px;left:0;width:100%;text-align:center;color:#a7b8c2;font-size:12px;letter-spacing:1px}#message{position:absolute;bottom:169px;left:15px;right:15px;text-align:center;font-size:13px;color:#ffd5ab;min-height:20px;line-height:1.5}#heartbeat{position:absolute;bottom:143px;left:0;width:100%;display:flex;justify-content:center;align-items:center;gap:8px;color:#9bafbb;font-size:12px}#heartbeat .mp-icon{font-size:17px;color:#ff8a3d}#pulse{display:block;width:48px;height:3px;border-radius:3px;background:#ff8a3d;transform-origin:left;opacity:.5}.controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:27px;right:27px;height:116px;display:flex;align-items:center;justify-content:space-between;gap:25px}#stick{position:relative;width:112px;height:112px;border-radius:50%;border:1px solid #91acbf40;background:#59718520;box-shadow:inset 0 0 30px #0005;touch-action:none;flex-shrink:0}#knob{position:absolute;width:47px;height:47px;border-radius:50%;left:32px;top:32px;background:linear-gradient(#72818e,#354857);border:1px solid #9cabb5;box-shadow:0 5px 10px #0006;pointer-events:none}#stick span{position:absolute;bottom:9px;width:100%;text-align:center;font-size:10px;color:#91a4b0;pointer-events:none}.actions{display:flex;flex-direction:column;gap:9px;width:164px}.actions button,#restart{min-height:47px;border-radius:14px;border:1px solid #ffb87d;background:#ff8a3d;color:#27180f;font-weight:700;font-size:14px}.actions button:last-child{background:#243541;border:1px solid #657886;color:#d3dde2}.actions button.active{background:#a9582b;color:#fff}.actions button:disabled{background:#26343e;border-color:#41525e;color:#81929c;cursor:default}#result{position:absolute;inset:0;background:#070d16cf;display:grid;place-items:center;padding:28px;backdrop-filter:blur(7px)}#result[hidden]{display:none}#result section{width:100%;text-align:center;border:1px solid #566779;border-radius:24px;padding:35px 24px;background:#1a2937}.eyebrow{color:#ff9b58;font-size:12px;letter-spacing:5px}h1{font-size:30px;margin:20px 0 12px}#resultText{font-size:14px;line-height:1.9;color:#b7c6ce;margin-bottom:25px}#restart{width:100%}@media(max-height:650px){#scene{top:72px;height:calc(100% - 240px)}.controls{height:95px;bottom:10px}#stick{width:94px;height:94px}#knob{left:23px;top:23px}#message{bottom:142px}#heartbeat{bottom:116px}.actions button{min-height:40px}.mission{top:60px}}
