html,body{color:#fff;-webkit-user-select:none;user-select:none;touch-action:none;background:#000;width:100%;height:100%;margin:0;padding:0;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;overflow:hidden}#ar-container{position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}#ar-container video,#ar-container canvas{position:absolute}#ar-container canvas{top:0;left:0}.overlay{text-align:center;z-index:10;background:linear-gradient(160deg,#1b2a4a,#0b0f1a);flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.overlay h1{color:#fc3;text-shadow:0 3px #c95a10,0 6px 14px #00000073;max-width:640px;margin:0;font-family:Lobster,cursive;font-size:clamp(30px,8.5vw,56px);font-weight:400;line-height:1.15}.overlay p{opacity:.8;margin:0;font-size:18px}#start-btn{color:#1b2a4a;background:#fc3;border:none;border-radius:999px;margin-top:16px;padding:20px 56px;font-family:Lobster,cursive;font-size:26px;font-weight:400;box-shadow:0 6px #c99a10}#start-btn:active{transform:translateY(4px);box-shadow:0 2px #c99a10}.error{color:#ff8a80;max-width:420px;opacity:1!important}#debug-hud{top:calc(env(safe-area-inset-top,0px) + 8px);z-index:20;white-space:pre;color:#0f0;pointer-events:none;background:#0000008c;border-radius:4px;padding:4px 8px;font:12px/1.35 ui-monospace,Menlo,monospace;position:fixed;left:8px}#mute-btn{top:calc(env(safe-area-inset-top,0px) + 10px);z-index:20;color:#fff;background:#00000073;border:none;border-radius:50%;width:48px;height:48px;font-size:24px;line-height:1;position:fixed;right:10px}#battle-hud{z-index:15;pointer-events:none;color:#fff;font-family:Lobster,cursive;position:fixed;top:0;bottom:0;left:0;right:0}#battle-hud[hidden]{display:none}.bh-top{top:calc(env(safe-area-inset-top,0px) + 66px);align-items:flex-end;gap:8px;display:flex;position:absolute;left:10px;right:10px}.bh-fighter{flex:1;min-width:0}.bh-name{text-shadow:0 2px #000;font-size:20px}.bh-b .bh-name{text-align:right}.bh-bar{background:#0000008c;border:2px solid #fff;border-radius:10px;height:20px;position:relative;overflow:hidden}.bh-bar i{background:linear-gradient(#7dff6b,#24b23c);width:100%;transition:width .35s ease-out;position:absolute;top:0;bottom:0;left:0;right:auto}.bh-b .bh-bar i{top:0;bottom:0;left:auto;right:0}.bh-bar.low i{background:linear-gradient(#ff8a6b,#d92a12)}.bh-bar b{text-shadow:0 1px 2px #000;place-items:center;font:700 13px/1 -apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.bh-round{text-shadow:0 2px #000;white-space:nowrap;flex:none;padding:0 4px 1px;font-size:18px}.bh-banner{top:calc(env(safe-area-inset-top,0px) + 122px);text-align:center;opacity:0;color:#ffe14d;-webkit-text-stroke:2px #1b0b00;text-shadow:0 4px #1b0b00,0 8px 18px #0009;font-size:clamp(34px,11vw,72px);line-height:1.05;position:absolute;left:8px;right:8px}.bh-banner.on{opacity:1;animation:.35s cubic-bezier(.2,1.6,.4,1) both bh-pop}.bh-banner.k-super{color:#ff4f2e;font-size:clamp(42px,14vw,92px)}.bh-banner.k-hit{color:#ffb02e}.bh-banner.k-miss{color:#cfd6e4}.bh-banner.k-defense{color:#5fd0ff}.bh-banner.k-counter{color:#ff7ad9}.bh-banner.k-win{color:#7dff6b;font-size:clamp(42px,13vw,88px)}.bh-banner.k-info{color:#fff;font-size:clamp(28px,8.5vw,56px)}@keyframes bh-pop{0%{opacity:0;transform:scale(.3)rotate(-6deg)}to{opacity:1;transform:scale(1)rotate(-2deg)}}.bh-prompt{left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 22px);text-align:center;opacity:0;background:#0a0e1eb8;border-radius:16px;padding:10px 14px;font-size:clamp(20px,5.6vw,34px);line-height:1.15;transition:opacity .25s;position:absolute}.bh-prompt.on{opacity:1}.bh-popup{color:#ff4f2e;-webkit-text-stroke:1.5px #fff;text-shadow:0 2px 6px #000000b3;white-space:nowrap;will-change:transform;font-size:34px;position:absolute;top:0;left:0}.bh-popup.k-block{color:#5fd0ff}.bh-popup.k-miss{color:#cfd6e4}body:has(#debug-hud) .bh-top{top:calc(env(safe-area-inset-top,0px) + 150px)}body:has(#debug-hud) .bh-banner{top:calc(env(safe-area-inset-top,0px) + 206px)}.bh-banner{transition:opacity .25s}@font-face{font-family:Lobster;font-style:normal;font-display:swap;font-weight:400;src:url(./lobster-cyrillic-400-normal-DeMp0mA3.woff2)format("woff2"),url(./lobster-cyrillic-400-normal-C0k4M1Yq.woff)format("woff")}@font-face{font-family:Lobster;font-style:normal;font-display:swap;font-weight:400;src:url(./lobster-latin-400-normal-VmWungf4.woff2)format("woff2"),url(./lobster-latin-400-normal-Cc8ENR_t.woff)format("woff")}
