*{box-sizing:border-box}body{margin:0;background:#fff;color:#2a2328;font-family:system-ui,sans-serif}[hidden]{display:none!important}button{font:inherit;min-height:44px;border:1px solid #ccd0d7;border-radius:8px;background:#f3f4f6;color:#2a2328;touch-action:manipulation;font-weight:700}button:disabled{opacity:.5}main{max-width:480px;margin:auto;padding:4px 8px}.arena{height:calc(100svh - var(--nav-height,100px) - 78px);min-height:360px;max-height:820px;position:relative;display:flex;flex-direction:column;overflow:hidden;border:2px solid #56667d;border-radius:12px;background:#142336;color:#f6f0df}.hud{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;font-size:13px}.hud button{width:44px}.board{position:relative;flex:1;min-height:0;display:flex;justify-content:center;align-items:center;padding:2px 12px}canvas{display:block;max-height:100%;max-width:100%;aspect-ratio:2/3;touch-action:none;border:2px solid #d9ba79;border-radius:8px;background:#1b2d42}#hint{margin:6px 4px 9px;text-align:center;font-size:12px;color:#e9d49a}#notice{position:absolute;top:12px;left:0;width:100%;text-align:center;color:#fff;font-size:13px;pointer-events:none}#notice:empty{display:none}#overlay{position:absolute;inset:0;background:#09121fda;display:grid;place-items:center;padding:12px}.panel{width:100%;max-width:310px;max-height:100%;overflow:auto;background:#fff;border:2px solid #d9ba79;border-radius:12px;color:#2a2328;text-align:center;padding:14px;display:grid;justify-items:center;gap:10px}.panel h2,.panel p{margin:0}.panel h2{font-size:20px}.panel p{font-size:13px;line-height:1.5}.panel img{object-fit:contain}.panel button{width:100%}#start{background:#efdbab}.panel small{font-size:12px;color:#6e626a}aside{display:flex;gap:8px;align-items:center;margin-top:5px;font-size:12px}aside p{margin:2px 0;line-height:1.4}aside strong{font-size:11px}aside img{object-fit:contain}@media(max-height:680px){.panel{gap:6px;padding:10px}.panel img{width:80px;height:80px}.panel h2{font-size:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
