*{box-sizing:border-box}body{margin:0;background:#090e1b;color:#fff;font-family:system-ui,-apple-system,sans-serif}main{max-width:480px;margin:0 auto;padding:4px 8px 0}button{font:inherit;min-height:44px;border:1px solid #64758a;border-radius:8px;background:#23334a;color:#fff;font-weight:700;touch-action:manipulation}button:disabled{opacity:.45}.stage{height:calc(100svh - var(--nav-height,64px) - 100px);min-height:360px;position:relative;border:1px solid #b69b61;border-radius:14px;overflow:hidden;background:#123f51}canvas{width:100%;height:100%;display:block;touch-action:none}.hud{position:absolute;top:8px;left:10px;right:10px;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}.hud strong{padding:8px 12px;background:#0a1729e8;border:1px solid #ffffff24;border-radius:8px;font-size:14px}.hud button{width:44px;pointer-events:auto}.cue{position:absolute;top:63px;left:0;right:0;text-align:center;color:#fff1b5;font-size:14px;font-weight:800;pointer-events:none;text-shadow:0 2px 6px #06131f}.cue[data-ready=true]{color:#84ffb4}.touch-guide{position:absolute;bottom:20px;left:14px;width:calc(100% - 125px);font-size:12px;color:#cde8ed;pointer-events:none}.strike{position:absolute;right:13px;bottom:13px;border-radius:50%;width:86px;height:86px;display:grid;place-content:center;justify-items:center;background:radial-gradient(circle at 35% 25%,#fff5c3,#edc76f 70%);border:2px solid #ffe6a5;color:#3b2a13;box-shadow:0 4px 0 #7c5b30,0 8px 25px #0008;touch-action:none;user-select:none}.strike svg{width:49px;height:49px;fill:none;stroke:currentColor;stroke-width:2}.strike span{font-size:11px;margin-top:-5px}.strike[data-ready=true]{box-shadow:0 0 0 5px #91ffbd55,0 4px 0 #437e66;border-color:#a1ffbc}.strike.is-held{transform:translateY(3px);box-shadow:0 0 0 6px #fff3}.shot-guide{position:absolute;right:8px;bottom:109px;text-align:center;font-size:24px;color:#ffe4a6;pointer-events:none;text-shadow:0 2px 4px #000}.shot-guide small{display:block;font-size:10px}.shot-guide[hidden]{display:none}.overlay{position:absolute;inset:0;background:#081020cf;display:grid;place-items:center;z-index:2}.overlay[hidden]{display:none}.panel{width:min(90%,320px);text-align:center;background:linear-gradient(#1e3446,#111f32);border:1px solid #b69b61;border-radius:16px;padding:18px}.panel img{width:100px;height:100px;object-fit:contain}.panel h2{font-size:20px;margin:8px 0}.panel p{font-size:13px;line-height:1.6;margin:6px 0}.panel button{display:block;width:100%;background:#ffe29b;color:#302511;margin-top:12px}.panel a{display:block;color:#c5cedd;font-size:12px;padding-top:12px}.buddy{display:flex;align-items:center;gap:8px;min-height:60px}.buddy img{border-radius:50%;border:1px solid #b69b61}.buddy strong{font-size:12px;color:#ffe29b}.buddy p{font-size:12px;margin:3px 0;line-height:1.4}.hint{margin:2px 0;font-size:11px;line-height:1.4;color:#a9bdca;text-align:center}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.strike{transition:none}}
