:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif;color:#f5f5fb;background:#080c15;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;border:1px solid #8190a6;background:#1c293d;border-radius:8px;min-height:44px;touch-action:manipulation}button:disabled{opacity:.45}[hidden]{display:none!important}main{max-width:450px;margin:auto;padding:2px 4px max(2px,env(safe-area-inset-bottom));height:calc(100dvh - var(--nav-height,88px));display:flex;flex-direction:column}#stage{flex:1;min-height:0;position:relative;overflow:hidden;border:1px solid #b6a079;border-radius:18px 18px 0 0;background:#152637}canvas{width:100%;height:100%;display:block;touch-action:none}.hud{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:5px 8px;background:#0c1426e8;height:50px;font-size:13px}.hud strong{color:#ffe2a5;margin-right:auto}.hud button{width:44px}#signal{position:absolute;top:59px;left:5px;right:5px;text-align:center;font-size:13px;font-weight:700;color:#ffe2a5;pointer-events:none}.controls{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:12px}.controls button{height:65px;width:43%;font-weight:800;touch-action:none}#parry,#play{background:linear-gradient(145deg,#ffedbc,#d8ad64);border-color:#fff0be;color:#302720}small{display:block;font-size:10px;font-weight:400}#overlay{position:absolute;inset:0;z-index:3;display:grid;place-items:center;background:#050912bb;padding:14px}.panel{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:310px;max-height:100%;overflow:auto;padding:20px 16px;border:1px solid #e0c68c85;border-radius:24px;background:#111d2e;text-align:center}.panel img{object-fit:contain}.panel p{margin:0;color:#c0cadc;font-size:12px;line-height:1.65}.panel button{min-width:160px;padding:8px 20px;font-weight:700}aside{display:flex;gap:8px;align-items:center;min-height:55px;padding:2px 8px;background:#101725;border:1px solid #b6a079;border-top:0;border-radius:0 0 16px 16px}aside img{object-fit:contain}aside b{font-size:11px;color:#e1c793}aside span{display:block;font-size:12px;line-height:1.4}#best{font-variant-numeric:tabular-nums}@media(max-height:650px){.panel{gap:8px;padding:12px}.panel img{width:96px;height:96px}.controls button{height:56px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.controls{bottom:13px;align-items:flex-end;pointer-events:none}.controls button{pointer-events:auto}#feint{width:58px;height:58px;min-height:44px;border-radius:50%;background:#182a40dd;border-color:#7ca7b0}#feint span{font-size:24px}#parry{width:164px;height:90px;background:transparent;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;overflow:visible}#parry small{color:#ccebf3;font-size:10px;white-space:nowrap}.shield-mark{display:grid;place-items:center;width:62px;height:67px;clip-path:polygon(0 0,100% 0,90% 68%,50% 100%,10% 68%);background:linear-gradient(125deg,#e1fcff,#58889f 32%,#183b55 36%,#3c6e89 65%,#b5d5df);color:#e7faff;font-size:32px;filter:drop-shadow(0 2px 6px #020d19)}#parry.is-held .shield-mark{background:linear-gradient(125deg,#f5fcff,#55bbd2 40%,#234a6b 44%,#9ae4f2);transform:translateY(-4px)}#parry.is-ready .shield-mark{background:linear-gradient(125deg,#fffbed,#ffd77c 40%,#ac6b30 44%,#f7d17d);color:#fff}#parry.is-ready small{color:#ffe0a3}#parry:disabled{opacity:.5}#parry:focus-visible{outline:2px solid #fff4c7;outline-offset:2px}.hud{background:linear-gradient(#0b1325f2,#0b1325a0)}#signal{top:60px;text-shadow:0 2px 4px #000}.panel img{width:132px;height:132px}#play{min-height:46px}
@media(max-height:650px){#parry{height:76px}.shield-mark{width:50px;height:54px}.controls{bottom:5px}aside{min-height:48px}aside img{width:40px;height:40px}}
