:root{--bg: #323437;--main: #a78bfa;--text: #d1d0c5;--sub: #646669;--sub-alt: #2c2e31;--thumb: #e2738a;--you: #6be38a;--foe: #ff6a3d;--shadow: #000;font-family:Rubik,system-ui,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}h1{color:var(--main);margin:0}:focus-visible{outline:3px solid var(--main);outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}[data-theme=pixel]{--bg: #1a1c2c;--sub-alt: #262b44;--sub: #566c86;--text: #f4f4f4;--main: #ffcd75;--thumb: #ef7d57;--you: #38b764;--foe: #b13e53;--shadow: #000;--edge: #0b0c14;--title: "Press Start 2P", monospace;font-family:Pixelify Sans,monospace;font-size:18px}[data-theme=pixel] *,[data-theme=pixel] *:before,[data-theme=pixel] *:after{animation-timing-function:steps(6,end)!important;transition-timing-function:steps(3,end)!important;border-radius:0!important;filter:none!important}[data-theme=pixel] :is(.logo,h1,.result,.tut-title,.room-code,.countdown,.impact-name,.st-silence b,.st-knock span,.tut-push){font-family:var(--title);font-weight:400;letter-spacing:0;text-shadow:3px 3px 0 var(--edge)!important}[data-theme=pixel] .result{font-size:28px}[data-theme=pixel] .tier-light .impact-name{font-size:clamp(12px,3.5cqw,20px)}[data-theme=pixel] .tier-heavy .impact-name{font-size:clamp(16px,5cqw,36px)}[data-theme=pixel] .tier-signature .impact-name{font-size:clamp(20px,6.5cqw,64px)}[data-theme=pixel] button{background:#333c57;color:var(--text);border:2px solid var(--edge);box-shadow:inset -3px -3px #1f2438,inset 3px 3px #566c86,3px 3px 0 var(--edge);font-family:var(--title);font-size:12px;padding:12px 16px;transition:none}[data-theme=pixel] button.small{font-size:9px;padding:8px 10px}[data-theme=pixel] button:hover{background:#3b5dc9}[data-theme=pixel] button:active{transform:translate(3px,3px);box-shadow:inset 3px 3px #1f2438}[data-theme=pixel] button.active{background:var(--main);color:var(--bg);box-shadow:inset -3px -3px #ef7d57,3px 3px 0 var(--edge)}[data-theme=pixel] .home{gap:12px}[data-theme=pixel] .home .logo{font-size:clamp(28px,7vw,56px);color:var(--main);text-shadow:4px 4px 0 #b13e53,8px 8px 0 var(--edge)!important;margin-bottom:36px;text-align:center}[data-theme=pixel] .home button{width:260px;background:none;border:none;box-shadow:none;font-size:16px;padding:10px 0 10px 28px;text-align:left;position:relative;color:var(--sub)}[data-theme=pixel] .home button:hover,[data-theme=pixel] .home button:focus-visible{color:var(--text);outline:none}[data-theme=pixel] .home button:hover:before,[data-theme=pixel] .home button:focus-visible:before{content:"";position:absolute;left:0;top:50%;margin-top:-7px;border:7px solid transparent;border-left:10px solid var(--main);animation:px-blink .8s infinite}@keyframes px-blink{50%{opacity:0}}[data-theme=pixel] .menu-overlay{background:#0a0a14bf}[data-theme=pixel] .menu-card{background:var(--bg);border:3px solid var(--text);box-shadow:0 0 0 3px var(--edge),6px 6px 0 3px var(--edge)}[data-theme=pixel] .pause-menu button{width:100%}[data-theme=pixel] .code-input{border:2px solid var(--text);font-family:var(--title);font-size:14px}[data-theme=pixel] .hp-bar{background:var(--edge);border:2px solid var(--edge);box-shadow:0 0 0 2px var(--sub)}[data-theme=pixel] .hp-fill{box-shadow:inset 0 4px #ffffff40,inset 0 -4px #00000040;-webkit-mask:repeating-linear-gradient(90deg,#000 0 10px,transparent 10px 12px);mask:repeating-linear-gradient(90deg,#000 0 10px,transparent 10px 12px)}[data-theme=pixel] .fighter-name{font-family:var(--title);font-size:11px;font-weight:400}[data-theme=pixel] .duel{gap:4px;background:var(--edge)}[data-theme=pixel] .duel-side.opp{background:var(--sub-alt)}[data-theme=pixel] .side-hud{background:var(--bg);border-bottom:3px solid var(--edge);padding-bottom:12px}[data-theme=pixel] .menu-btn{opacity:1}[data-theme=pixel] .impact .p,[data-theme=pixel] .st-static i{box-shadow:none!important}[data-theme=pixel] .p.ember{background:#ef7d57;box-shadow:3px 3px #b13e53!important}[data-theme=pixel] .p.shard{background:#f4f4f4}[data-theme=pixel] .p.sparkle{background:#a7f070}[data-theme=pixel] .impact-flash{background:currentColor}[data-theme=pixel] .impact .ring{border-width:4px;border-style:dashed}[data-theme=pixel] .sig-bar{background:#73eff7;box-shadow:inset -4px 0 #41a6f6!important}[data-theme=pixel] :is(.st-regen,.st-chill,.st-static.on,.st-static.gap,.impact .frost){box-shadow:inset 0 0 0 8px currentColor!important}[data-theme=pixel] .st-regen{color:#38b764}[data-theme=pixel] .st-chill{color:#73eff7;border:none}[data-theme=pixel] .st-static.on,[data-theme=pixel] .st-static.gap{color:#ffcd75}[data-theme=pixel] .impact .frost{color:#f4f4f4}[data-theme=pixel] .st-burn{background:repeating-linear-gradient(to top,rgba(239,125,87,.5) 0 8px,transparent 8px 16px) bottom / 100% 30% no-repeat}[data-theme=pixel] .st-silence{-webkit-backdrop-filter:grayscale(1) brightness(.6);backdrop-filter:grayscale(1) brightness(.6)}[data-theme=pixel] .st-silence .left{stroke-linecap:butt}[data-theme=pixel] .tut-demo img{border:3px solid var(--edge);box-shadow:4px 4px 0 var(--edge);padding:6px}[data-theme=pixel] .tut-demo svg{background:var(--bg);border:3px solid var(--edge);box-shadow:4px 4px 0 var(--edge);shape-rendering:crispEdges}[data-theme=pixel] .tut-draw{stroke-width:3;stroke-linecap:square;stroke-linejoin:miter;animation-timing-function:steps(14,end)!important}[data-theme=pixel] .tut-ghost{stroke-dasharray:1.5 1.5;stroke-linecap:butt;opacity:.35}[data-theme=pixel] .tut-demo figcaption{font-family:var(--title);font-size:10px;line-height:1.6}[data-theme=pixel] .tut-hint{font-family:Pixelify Sans,monospace;font-size:14px}[data-theme=pixel] .tut-push{font-size:22px;animation-timing-function:steps(2,end)!important}[data-theme=pixel] .tut-count{font-family:var(--title);font-size:10px}[data-theme=pixel] .tut-card{border:3px solid var(--edge);box-shadow:6px 6px 0 var(--edge)}[data-theme=pixel] .tut-head .tut-title{font-size:14px;text-shadow:none!important}[data-theme=pixel] :focus-visible{outline:3px dashed var(--main)}[data-theme=pixel] .info-card{border:3px solid var(--edge);box-shadow:4px 4px 0 var(--edge)}[data-theme=pixel] .info-card h2{font-family:var(--title);font-size:14px;font-weight:400}[data-theme=pixel] .enemy-canvas svg path{stroke-linecap:square;stroke-linejoin:miter}[data-theme=cartoon]{--bg: #2d2a5a;--sub-alt: #3d3a78;--panel: #2b2840;--sub: #9d9ad6;--text: #fffaf0;--main: #ffd23f;--thumb: #ff7aa2;--you: #5ee06b;--foe: #ff5470;--shadow: #15132e;--ink: #15132e;--title: "Lilita One", "Nunito", sans-serif;--bounce: cubic-bezier(.34, 1.7, .6, 1);font-family:Nunito,sans-serif;font-weight:700}[data-theme=cartoon] body{background:radial-gradient(circle at 20% 15%,#3d3a78 0 12%,transparent 12.5%) 0 0 / 160px 160px,var(--bg)}[data-theme=cartoon] *,[data-theme=cartoon] *:before,[data-theme=cartoon] *:after{filter:none!important}[data-theme=cartoon] :is(.logo,h1,.result,.tut-title,.room-code,.countdown,.impact-name,.st-silence b,.st-knock span,.tut-push){font-family:var(--title);font-weight:400;letter-spacing:.02em;-webkit-text-stroke:.14em var(--ink);paint-order:stroke fill;text-shadow:0 .12em 0 var(--ink)!important}[data-theme=cartoon] :is(.impact-name,.float,.tut-push,.result){animation-timing-function:var(--bounce)!important}@keyframes toon-pop{0%{transform:scale(.2) rotate(-12deg);opacity:0}60%{transform:scale(1.15) rotate(3deg);opacity:1}to{transform:scale(1) rotate(-2deg)}}[data-theme=cartoon] .impact.fizzle .impact-name{animation-name:toon-fizzle;animation-timing-function:ease-out!important}@keyframes toon-fizzle{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}20%{transform:translate(-50%,-50%) rotate(-8deg) scale(1.1)}40%{transform:translate(-50%,-50%) rotate(6deg)}60%{opacity:1;transform:translate(-50%,-50%) rotate(-4deg) scaleY(.8)}to{opacity:0;transform:translate(-50%,20%) rotate(10deg) scale(.6,.3)}}[data-theme=cartoon] button{background:#6c63ff;color:#fff;border:3px solid var(--ink);border-radius:8px;box-shadow:0 5px 0 var(--ink),inset 0 -5px #00000038,inset 0 4px #ffffff47;font-family:var(--title);font-weight:400;font-size:17px;letter-spacing:.03em;padding:10px 22px;transition:transform .25s var(--bounce),background .1s}[data-theme=cartoon] button.small{font-size:13px;padding:6px 14px}[data-theme=cartoon] button:hover{filter:brightness(1.1);transform:translateY(-2px)}[data-theme=cartoon] button:active{transform:translateY(4px) scale(1.05,.92);box-shadow:0 1px 0 var(--ink);transition-duration:.05s}[data-theme=cartoon] button.active{background:var(--main);color:var(--ink)}[data-theme=cartoon] button:disabled{transform:none}[data-theme=cartoon] .home{gap:18px}[data-theme=cartoon] .home .logo{font-family:"Kavoon",var(--title);font-size:clamp(48px,10vw,96px);color:var(--main);transform:rotate(-4deg);margin-bottom:28px;animation:toon-bob 3s ease-in-out infinite}@keyframes toon-bob{50%{transform:rotate(-2deg) translateY(-6px)}}[data-theme=cartoon] .home button{width:260px;font-size:24px;padding:14px}[data-theme=cartoon] .home>button:nth-of-type(1){background:#ff9f1c}[data-theme=cartoon] .home>button:nth-of-type(2){background:#2ec4b6}[data-theme=cartoon] .home>button:nth-of-type(3){background:#ff5470}[data-theme=cartoon] .home>button:nth-of-type(4){background:#6c63ff}[data-theme=cartoon] .home>button:nth-of-type(odd):hover{transform:translateY(-3px) rotate(2deg) scale(1.05)}[data-theme=cartoon] .menu-overlay{background:#15132eb3}[data-theme=cartoon] .menu-card{background:var(--panel);border:4px solid var(--ink);border-radius:24px;box-shadow:0 8px 0 var(--ink)}@keyframes toon-in{0%{transform:scale(.6) rotate(-4deg);opacity:0}}[data-theme=cartoon] .pause-menu button{width:100%}[data-theme=cartoon] .code-input{border:3px solid var(--ink);border-radius:12px;font-family:var(--title);background:#fff;color:var(--ink)}[data-theme=cartoon] .hp-bar{height:22px}[data-theme=cartoon] .hp-bar{background:var(--ink);border:3px solid var(--ink);border-radius:999px}[data-theme=cartoon] .hp-fill{border-radius:999px;box-shadow:inset 0 5px #ffffff59,inset 0 -4px #0003;transition:width .35s var(--bounce)}[data-theme=cartoon] .fighter-name{font-family:var(--title);font-weight:400;font-size:18px}[data-theme=cartoon] .float{font-family:var(--title);font-size:26px;-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;text-shadow:none}[data-theme=cartoon] .duel{gap:6px;background:var(--ink)}[data-theme=cartoon] :is(.duel-side.opp,.team-card.foe){background:radial-gradient(circle,#303a6c 0 4px,transparent 4.5px) 0 0 / 28px 28px,#28305e}[data-theme=cartoon] .team-foes{background:var(--ink)}[data-theme=cartoon] .side-hud{background:linear-gradient(to bottom,var(--bg),transparent)}[data-theme=cartoon] .menu-btn{opacity:1}[data-theme=cartoon] .impact .p{border:3px solid var(--ink);box-shadow:none!important}[data-theme=cartoon] .p.ember{border-radius:50%;background:#ff9f1c}[data-theme=cartoon] .p.shard{background:#fff;border-width:2px}[data-theme=cartoon] .p.sparkle{background:#5ee06b}[data-theme=cartoon] .p.rock{border-radius:30%}[data-theme=cartoon] .impact .ring{border-width:6px;box-shadow:0 0 0 3px var(--ink)}[data-theme=cartoon] .sig-bar{background:#bff3ff;border:3px solid var(--ink);border-radius:12px;box-shadow:inset -6px 0 #6fd3f5!important}[data-theme=cartoon] .sig-wave path{stroke:var(--ink);stroke-width:4px;fill:#3d8bff}[data-theme=cartoon] .sig-crack polyline,[data-theme=cartoon] .crack polyline,[data-theme=cartoon] .sig-bolt polyline{stroke-linejoin:round;stroke-linecap:round}[data-theme=cartoon] .sig-bolt polyline{stroke:#ffd23f;paint-order:stroke}[data-theme=cartoon] .st-silence b{color:#ffb3c1}[data-theme=cartoon] .tut-title{font-size:34px;transform:rotate(-2deg)}[data-theme=cartoon] .tut-demo img,[data-theme=cartoon] .tut-demo svg{border:4px solid var(--ink);border-radius:22px;box-shadow:0 6px 0 var(--ink)}[data-theme=cartoon] .tut-demo figure:first-child{transform:rotate(-2deg)}[data-theme=cartoon] .tut-demo figure:last-child{transform:rotate(2deg)}[data-theme=cartoon] .tut-demo svg{background:#fffaf0}[data-theme=cartoon] .tut-draw{stroke-width:3.5;animation-timing-function:cubic-bezier(.6,0,.4,1)!important}[data-theme=cartoon] .tut-ghost{stroke:var(--ink);stroke-width:6.5;opacity:.12}[data-theme=cartoon] .tut-demo figcaption{font-family:var(--title);font-size:18px}[data-theme=cartoon] .tut-hint{font-family:Nunito,sans-serif;font-weight:700;color:var(--sub)}[data-theme=cartoon] .tut-push{font-size:42px;color:var(--main);animation:toon-push .9s var(--bounce) infinite}@keyframes toon-push{0%,to{transform:scale(1)}30%{transform:scale(.8,1.15)}60%{transform:scale(1.3,.9)}}[data-theme=cartoon] .tut-tip{font-size:17px}[data-theme=cartoon] .tut-demo svg circle{fill:var(--ink)}[data-theme=cartoon] .tut-card{border:4px solid var(--ink);border-radius:24px;box-shadow:0 8px 0 var(--ink);background:var(--panel)}[data-theme=cartoon] .tut-head{border-bottom:4px solid var(--ink);padding:10px 18px}[data-theme=cartoon] .tut-head .tut-title{color:#fff;font-size:30px;transform:none}[data-theme=cartoon] .tut-head .tut-count{color:var(--ink);font-family:var(--title);font-size:16px;opacity:1;background:#fffaf0;border:3px solid var(--ink);border-radius:6px;padding:0 10px}[data-theme=cartoon] :focus-visible{outline:4px solid var(--main);outline-offset:3px}[data-theme=cartoon] .info-card{border:4px solid var(--ink);border-radius:22px;box-shadow:0 6px 0 var(--ink)}[data-theme=cartoon] .info-card h2{font-family:var(--title);font-weight:400;font-size:26px}[data-theme=cartoon] .info-top .logo{font-size:44px;transform:rotate(-2deg)}[data-theme=cartoon] .home>button:nth-of-type(5){background:#ffd23f;color:var(--ink)}[data-theme=cartoon] .enemy-ink{display:inline;stroke:var(--ink);stroke-width:25}[data-theme=cartoon] .enemy-stroke{opacity:1}[data-theme=cartoon] .home .corner-icons .icon-btn:nth-of-type(1){background:#ffd23f;color:var(--ink)}[data-theme=cartoon] .home .corner-icons .icon-btn:nth-of-type(2){background:#2ec4b6}[data-theme=cartoon] .home .corner-icons .icon-btn:nth-of-type(3){background:#ff5470}[data-theme=cartoon] .result-banner{padding:10px 44px 14px;border:4px solid var(--ink);border-radius:12px;font-family:var(--title);font-weight:400;font-size:56px;letter-spacing:.03em;color:#fff;-webkit-text-stroke:.12em var(--ink);paint-order:stroke fill;text-shadow:0 .1em 0 var(--ink);box-shadow:0 8px 0 var(--ink),inset 0 -7px #0003,inset 0 6px #ffffff4d;transform:translate(-50%,-50%) rotate(-4deg);animation:result-pop .6s var(--bounce)}[data-theme=cartoon] .result-banner.won{background:var(--you);border-color:var(--ink)}[data-theme=cartoon] .result-banner.lost{background:var(--foe);border-color:var(--ink);transform:translate(-50%,-50%) rotate(3deg)}@keyframes result-pop{0%{opacity:0;transform:translate(-50%,-50%) rotate(-12deg) scale(.4)}}[data-theme=cartoon] .room-team{border:3px solid var(--ink);box-shadow:0 4px 0 var(--ink)}[data-theme=cartoon] .room-team-name{font-family:var(--title);font-weight:400}[data-theme=cartoon] .lobby-card{border:4px solid var(--ink);box-shadow:0 8px 0 var(--ink)}[data-theme=cartoon] .lobby-title{font-family:var(--title);font-weight:400;-webkit-text-stroke:.14em var(--ink);paint-order:stroke fill;text-shadow:0 .1em 0 var(--ink);transform:rotate(-2deg)}[data-theme=cartoon] .online-toast{border:3px solid var(--ink);box-shadow:0 3px 0 var(--ink)}[data-theme=cartoon] .room-team.one{border-top:7px solid var(--you)}[data-theme=cartoon] .room-team.two{border-top:7px solid var(--foe)}[data-theme=cartoon] .status-strip{font-family:var(--title);font-weight:400;letter-spacing:.03em;word-spacing:.08em}[data-theme=cartoon] .dm-section{font-family:var(--title);font-weight:400;font-size:17px;letter-spacing:.04em;text-transform:none}[data-theme=cartoon] .pause-menu .pm-title,[data-theme=cartoon] .dm-head .leave-title{font-family:var(--title);font-weight:400;font-size:26px}[data-theme=cartoon]{--stone-bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32'%3E%3Crect width='64' height='32' fill='%23231a38'/%3E%3Crect x='1.5' y='1.5' width='29' height='13' rx='2' fill='%234e3f6e'/%3E%3Crect x='33.5' y='1.5' width='29' height='13' rx='2' fill='%23493b67'/%3E%3Crect x='-14.5' y='17.5' width='29' height='13' rx='2' fill='%23493b67'/%3E%3Crect x='17.5' y='17.5' width='29' height='13' rx='2' fill='%23524372'/%3E%3Crect x='49.5' y='17.5' width='29' height='13' rx='2' fill='%23493b67'/%3E%3Crect x='3' y='2.5' width='24' height='2' rx='1' fill='%23ffffff' opacity='.06'/%3E%3Crect x='19' y='18.5' width='24' height='2' rx='1' fill='%23ffffff' opacity='.06'/%3E%3C/svg%3E");--torchlight: radial-gradient(circle at 0% 42%, rgba(255, 150, 60, .32), transparent 38%), radial-gradient(circle at 100% 42%, rgba(255, 150, 60, .32), transparent 38%);--stone-vignette: radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(12, 8, 26, .6) 100%)}@keyframes torch-flicker{0%,to{opacity:1}45%{opacity:.82}60%{opacity:.95}80%{opacity:.86}}[data-theme=cartoon] .tower-room{background:linear-gradient(#5a3b22,#5a3b22) top / 100% 14px no-repeat,linear-gradient(#1d1b2e,#1d1b2e) 0 14px / 100% 3px no-repeat,var(--stone-vignette),var(--stone-bricks)}[data-theme=cartoon] .tower-room:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--torchlight);animation:torch-flicker 3.2s ease-in-out infinite}[data-theme=cartoon] body:has(.home),[data-theme=cartoon] body:has(.info-page){background:radial-gradient(1.5px 1.5px at 10% 20%,#fff 50%,transparent 51%) 0 0 / 180px 140px,radial-gradient(1px 1px at 60% 70%,#fff 50%,transparent 51%) 0 0 / 130px 110px,radial-gradient(1.5px 1.5px at 35% 45%,#ffe9a8 50%,transparent 51%) 0 0 / 240px 200px,linear-gradient(#140f33,#2b1f5c 60%,#3d2a73);background-attachment:fixed}[data-theme=cartoon] .home:before,[data-theme=cartoon] .info-page:before{content:"";position:fixed;left:50%;bottom:0;width:min(560px,96vw);height:min(74vh,680px);transform:translate(-50%);z-index:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300' preserveAspectRatio='xMidYMax meet'%3E%3Cpath d='M38 300 L42 104 L24 104 L100 14 L176 104 L158 104 L162 300 Z' fill='%23120d2b'/%3E%3Cpath d='M100 14 L104 2 L100 -2 L96 2 Z' fill='%23120d2b'/%3E%3Cpath d='M38 104 h124 v8 h-124 Z' fill='%230c0920'/%3E%3Crect x='50' y='140' width='12' height='20' rx='6' fill='%23ffb04a' opacity='.75'/%3E%3Crect x='138' y='176' width='12' height='20' rx='6' fill='%23ffb04a' opacity='.6'/%3E%3Crect x='52' y='236' width='12' height='20' rx='6' fill='%23ffb04a' opacity='.5'/%3E%3C/svg%3E") bottom center / contain no-repeat;opacity:.9}[data-theme=cartoon] .home>*{position:relative;z-index:1}[data-theme=cartoon] .home:before,[data-theme=cartoon] .info-page:before{content:none}.home-backdrop{display:none}[data-theme=cartoon] .home-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(1.5px 1.5px at 10% 20%,#fff 50%,transparent 51%) 0 0 / 180px 140px,radial-gradient(1px 1px at 60% 70%,#fff 50%,transparent 51%) 0 0 / 130px 110px,radial-gradient(1.5px 1.5px at 35% 45%,#ffe9a8 50%,transparent 51%) 0 0 / 240px 200px,linear-gradient(#140f33,#2b1f5c 60%,#3d2a73)}[data-theme=cartoon] #root>main{position:relative;z-index:1}[data-theme=cartoon] body:has(.duel-page):not(.page-leaving) .home-backdrop{display:none}[data-theme=cartoon] body:has(.info-page:not(.in-match)) .home-backdrop:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#0c091e66}.home-backdrop svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.home-backdrop .hb-wide{display:none}@media(min-width:900px),(orientation:landscape){.home-backdrop .hb-wide{display:block}.home-backdrop .hb-tall{display:none}}[data-theme=cartoon] .info-page:before{opacity:.55}[data-theme=cartoon] .info-page>*{position:relative;z-index:1}[data-theme=cartoon] .info-page .logo{color:#fffaf0}[data-theme=cartoon] .home>.home-corner{position:absolute;z-index:3}[data-theme=cartoon] .lobby-screen{background:var(--stone-vignette),var(--stone-bricks),#231a38}[data-theme=cartoon] .lobby-screen:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:var(--torchlight);pointer-events:none;animation:torch-flicker 3.2s ease-in-out infinite}[data-theme=cartoon] .lobby-card{position:relative;background:none;border:none;box-shadow:none;padding:16px 8px;gap:18px}[data-theme=cartoon] .lobby-code,[data-theme=cartoon] .lobby-join{padding:12px 28px 14px;border-radius:10px;background:linear-gradient(#7a6a9a,#5f507f);border:4px solid var(--ink);box-shadow:inset 0 3px #ffffff2e,inset 0 -4px #00000040,0 6px 0 var(--ink)}[data-theme=cartoon] .lobby-code .sub-line{color:#e3d9f5;font-family:var(--title);letter-spacing:.06em}[data-theme=cartoon] .lobby-code .room-code{color:#2a2040;-webkit-text-stroke:0;text-shadow:0 2px 0 rgba(255,255,255,.35)!important;letter-spacing:.18em}[data-theme=cartoon] .lobby-join .sub-line{color:#e3d9f5}[data-theme=cartoon] .lobby-card .room-teams{gap:22px;align-items:flex-start}[data-theme=cartoon] .lobby-card .room-team{position:relative;flex:1 1 220px;max-width:300px;min-height:200px;padding:26px 16px 46px;border:none;box-shadow:none;border-radius:0;gap:10px;clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 26px),0 100%);background:linear-gradient(90deg,rgba(0,0,0,.18),transparent 18%,transparent 82%,rgba(0,0,0,.18)),#2f7a3c}[data-theme=cartoon] .lobby-card .room-team.two{background:linear-gradient(90deg,rgba(0,0,0,.18),transparent 18%,transparent 82%,rgba(0,0,0,.18)),#9a2f42}[data-theme=cartoon] .lobby-card .room-team:before{content:"";position:absolute;top:0;left:0;right:0;height:12px;background:#7a5534;border-bottom:3px solid var(--ink)}[data-theme=cartoon] .lobby-card .room-team{border-top:none}[data-theme=cartoon] .lobby-card .room-team-name{text-align:center;font-size:22px;color:#fffaf0;-webkit-text-stroke:4px var(--ink);paint-order:stroke fill}[data-theme=cartoon] .lobby-card .room-seat{color:#fffaf0;background:#00000038;padding:6px 8px;border-radius:8px}[data-theme=cartoon] .lobby-card .room-team .sub-line{color:#fffaf0bf;text-align:center}[data-theme=cartoon] .lobby-card .room-ready{color:#fffaf0bf}[data-theme=cartoon] .lobby-card .room-ready.on{color:#b8ffb0}[data-theme=cartoon] .lobby-card .room-hp{color:#fffaf0}[data-theme=cartoon] .lobby-card .lobby-actions .sub-line{color:#e3d9f5}[data-theme=cartoon] .lobby-home{position:fixed;left:14px;bottom:14px}[data-theme=cartoon] .lobby-screen{background-size:auto,96px 48px,auto}[data-theme=cartoon] .tower-room{background-size:100% 14px,100% 3px,auto,96px 48px}[data-theme=cartoon] .lobby-card .room-seat{flex-wrap:wrap;row-gap:4px}[data-theme=cartoon] .lobby-card .room-hp{flex:1 1 120px}[data-theme=cartoon] .lobby-screen{background:radial-gradient(ellipse at 50% 50%,#0a06189e 0,#0a06189e 38%,#0a061859 75%),var(--stone-vignette),var(--stone-bricks),#231a38;background-size:auto,auto,96px 48px,auto}[data-theme=cartoon] .lobby-code,[data-theme=cartoon] .lobby-join{background:linear-gradient(#b4a6d4,#9384b8)}[data-theme=cartoon] .lobby-code .sub-line,[data-theme=cartoon] .lobby-join .sub-line{color:#2a2040}[data-theme=cartoon] .lobby-code .room-code{color:#1d1b2e;text-shadow:0 2px 0 rgba(255,255,255,.45)!important}[data-theme=cartoon] .lobby-card .room-team,[data-theme=cartoon] .lobby-card .room-team.two{background:var(--ink)}[data-theme=cartoon] .lobby-card .room-team:after{content:"";position:absolute;top:12px;right:4px;bottom:4px;left:4px;z-index:0;clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 25px),0 100%);background:linear-gradient(90deg,rgba(0,0,0,.18),transparent 18%,transparent 82%,rgba(0,0,0,.18)),#2f7a3c}[data-theme=cartoon] .lobby-card .room-team.two:after{background:linear-gradient(90deg,rgba(0,0,0,.18),transparent 18%,transparent 82%,rgba(0,0,0,.18)),#9a2f42}[data-theme=cartoon] .lobby-card .room-team>*{position:relative;z-index:1}[data-theme=cartoon] .lobby-card .room-team:before{z-index:2}[data-theme=cartoon] .lobby-card .lobby-actions .sub-line{color:#fffaf0;font-weight:700}[data-theme=cartoon] .home-brand{display:flex;flex-direction:column;align-items:center}[data-theme=cartoon] .home-menu{display:flex;flex-direction:column;gap:12px;width:min(460px,100%)}[data-theme=cartoon] .home .mode-bar{width:100%;display:flex;align-items:center;gap:14px;padding:10px 18px 10px 10px;text-align:left;border:4px solid var(--ink);border-radius:18px;box-shadow:0 6px 0 var(--ink);color:#fffaf0;transition:transform .15s var(--bounce)}[data-theme=cartoon] .home .mode-bar:hover{transform:translate(8px)}[data-theme=cartoon] .home .mode-bar:active{transform:translate(4px,3px);box-shadow:0 3px 0 var(--ink)}[data-theme=cartoon] .home .mode-bar.mode-practice{background:#ff5470}[data-theme=cartoon] .home .mode-bar.mode-online{background:#6c63ff}[data-theme=cartoon] .home .mode-bar.mode-dummy{background:#2ec4b6}[data-theme=cartoon] .home .mode-bar.mode-tutorial{background:#ff9f1c}[data-theme=cartoon] .mode-icon{flex:none;width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:#00000038;color:#fffaf0}[data-theme=cartoon] .mode-icon svg{width:44px;height:44px}[data-theme=cartoon] .mode-icon .portrait{width:52px;height:52px}[data-theme=cartoon] .mode-text{display:flex;flex-direction:column;min-width:0}[data-theme=cartoon] .mode-text b{font-family:var(--title);font-weight:400;font-size:28px;line-height:1.05;-webkit-text-stroke:4px var(--ink);paint-order:stroke fill}[data-theme=cartoon] .mode-text small{font-size:14px;font-weight:700;opacity:.92}@media(min-width:900px){[data-theme=cartoon] .home{align-items:flex-start;justify-content:center;padding-left:max(6vw,40px)}[data-theme=cartoon] .home-brand{width:min(460px,100%)}[data-theme=cartoon] .home:before,[data-theme=cartoon] .info-page:before{left:74%;width:min(560px,46vw);height:86vh}[data-theme=cartoon] .home .home-privacy{text-align:left}}@media(max-width:899px){[data-theme=cartoon] .home .mode-bar{padding:8px 14px 8px 8px}[data-theme=cartoon] .mode-icon{width:46px;height:46px}[data-theme=cartoon] .mode-icon svg{width:36px;height:36px}[data-theme=cartoon] .mode-icon .portrait{width:42px;height:42px}[data-theme=cartoon] .mode-text b{font-size:23px}[data-theme=cartoon] .mode-text small{font-size:13px}}@media(min-width:900px){[data-theme=cartoon] .home{gap:14px}[data-theme=cartoon] .home-brand{flex-direction:row;align-items:center;gap:12px}[data-theme=cartoon] .home .home-brand .hero-logo{height:clamp(70px,13vh,130px);margin:0}[data-theme=cartoon] .home .home-brand .logo{font-size:clamp(2.6rem,4.6vw,4rem);white-space:nowrap;margin:0}}@media(max-width:899px)and (max-height:700px){[data-theme=cartoon] .home{gap:8px;padding-top:8px;padding-bottom:8px}[data-theme=cartoon] .home .hero-logo{height:clamp(48px,13vh,90px)}[data-theme=cartoon] .home .logo{font-size:1.7rem;margin:0}[data-theme=cartoon] .home-menu{gap:8px}[data-theme=cartoon] .home .mode-bar{padding:5px 12px 5px 6px;border-width:3px;box-shadow:0 4px 0 var(--ink)}[data-theme=cartoon] .mode-icon{width:40px;height:40px}[data-theme=cartoon] .mode-icon svg{width:30px;height:30px}[data-theme=cartoon] .mode-icon .portrait{width:36px;height:36px}[data-theme=cartoon] .mode-text b{font-size:20px}[data-theme=cartoon] .mode-text small{font-size:12px}[data-theme=cartoon] .home .home-privacy{font-size:11px;margin-top:2px}}@media(orientation:landscape)and (max-height:500px){[data-theme=cartoon] .home{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:1fr auto;align-items:center;justify-items:center;column-gap:20px;row-gap:6px;padding:10px 70px 8px 16px}[data-theme=cartoon] .home-brand{grid-column:1;grid-row:1;flex-direction:column}[data-theme=cartoon] .home .home-brand .hero-logo{height:clamp(50px,24vh,110px)}[data-theme=cartoon] .home .home-brand .logo{font-size:1.8rem}[data-theme=cartoon] .home-menu{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}[data-theme=cartoon] .home .mode-bar{padding:6px 10px 6px 6px;border-width:3px;box-shadow:0 4px 0 var(--ink)}[data-theme=cartoon] .mode-icon{width:38px;height:38px}[data-theme=cartoon] .mode-icon svg{width:28px;height:28px}[data-theme=cartoon] .mode-icon .portrait{width:34px;height:34px}[data-theme=cartoon] .mode-text b{font-size:18px}[data-theme=cartoon] .mode-text small{font-size:11px}[data-theme=cartoon] .home .home-privacy{grid-column:1 / -1;grid-row:2;margin:0;font-size:11px;max-width:none}[data-theme=cartoon] .home:before{height:96vh}}[data-theme=cartoon] .menu-card.pause-menu.dm{overflow:auto}@media(max-height:500px){[data-theme=cartoon] .menu-card.pause-menu.dm{max-width:680px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto auto 1fr;column-gap:16px;row-gap:8px;padding:12px 14px;align-items:start}[data-theme=cartoon] .pause-menu .pm-title{grid-column:1;grid-row:1;font-size:22px}[data-theme=cartoon] .pause-menu .pm-tiles{grid-column:1;grid-row:2 / span 2;align-content:start;grid-template-columns:1fr 1fr}[data-theme=cartoon] .pause-menu .slab-section{grid-column:2}[data-theme=cartoon] .pause-menu .slab-section:nth-of-type(1){grid-row:1 / span 2}[data-theme=cartoon] .pause-menu .slab-section:nth-of-type(2){grid-row:3}[data-theme=cartoon] .pause-menu .dm-rows{grid-column:2;grid-row:2 / span 2}[data-theme=cartoon] .pause-menu .dm-row{padding:6px 10px}[data-theme=cartoon] .stage-center .tower-wrap>.sub-line.tower-quote{display:none}[data-theme=cartoon] .duel-side.opp>.stage-center:has(.tower-wrap){padding:22px 10px 54px;gap:6px}[data-theme=cartoon] .stage-center .tower .floor{padding:3px 8px;margin-bottom:4px}[data-theme=cartoon] .stage-center .tower .window{width:38px;height:40px}[data-theme=cartoon] .stage-center .tower .portrait{width:34px;height:34px}[data-theme=cartoon] .stage-center .tower .tier-band{margin:4px 0;font-size:15px}}@media(max-width:800px){[data-theme=cartoon] .tut-body>.row{padding-right:58px;box-sizing:border-box}}@media(max-width:800px)and (max-height:700px){[data-theme=cartoon] .tut-body{font-size:14px;line-height:1.3}[data-theme=cartoon] .tut-body li{margin-bottom:2px}[data-theme=cartoon] .tut-body ul{margin:4px 0;padding-left:18px}}[data-theme=cartoon] body:has(.home),[data-theme=cartoon] body:has(.info-page){min-height:100vh;min-height:100dvh}[data-theme=cartoon] .mode-text small{font-weight:800;opacity:1;color:#fffaf0;-webkit-text-stroke:3px var(--ink);paint-order:stroke fill;letter-spacing:.03em}[data-theme=cartoon] .mode-text b{letter-spacing:.02em}@media(max-width:899px)and (min-height:640px){[data-theme=cartoon] .mode-text small{font-size:14.5px}}@media(max-width:899px)and (orientation:portrait){[data-theme=cartoon] .home{justify-content:flex-end;padding-top:16px}[data-theme=cartoon] .home>.home-brand{position:absolute;top:12px;left:14px;flex-direction:row;align-items:center;gap:6px}[data-theme=cartoon] .home .home-brand .hero-logo{height:46px;margin:0}[data-theme=cartoon] .home .home-brand .logo{font-size:1.65rem;margin:0;white-space:nowrap}}[data-theme=cartoon] .team-card .enemy-ink{stroke-width:15px}.center{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:16px;text-align:center}.row{display:flex;gap:10px;flex-wrap:wrap}button{background:#3c3f44;color:var(--text);border:1px solid #4b4f56;border-radius:10px;padding:11px 20px;font:inherit;font-weight:500;cursor:pointer;box-shadow:0 2px #26282b;transition:background .12s,border-color .12s,transform .06s;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:hover{background:#474b51;border-color:#5d626a}button:active{transform:translateY(1px);box-shadow:0 1px #26282b}button.small{padding:6px 12px;font-size:13px}button.active{background:var(--main);border-color:var(--main);color:#1d1a2b}button:disabled{opacity:.5;cursor:default}.count{color:var(--main)}.page{max-width:1040px;margin:0 auto;padding:24px 16px;display:flex;flex-direction:column;gap:24px}header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.logo{color:var(--main);font-size:22px;font-weight:700}.words{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:30px;color:var(--sub);min-height:90px}.word.current{color:var(--text)}.word.current .done{color:var(--main)}.word.current .next{text-decoration:underline;text-underline-offset:6px}.status{color:var(--sub);margin:0}.camera{position:relative;width:720px;max-width:calc(100vw - 32px);aspect-ratio:16 / 9;background:var(--sub-alt);border-radius:10px;overflow:hidden;transform:scaleX(-1)}.camera video,.camera canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.seeing{display:flex;align-items:center;gap:10px;color:var(--sub)}.seeing b{color:var(--text);font-size:20px}.guide{width:240px;max-width:100%;background:var(--sub-alt);border-radius:10px;padding:16px}.guide p{margin:0;line-height:1.5}footer{display:flex;gap:24px;color:var(--sub);flex-wrap:wrap}.sub-line{color:var(--sub)}.battle{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 32px;margin:8px 0}.fighter{flex:1 1 260px;max-width:360px;display:flex;flex-direction:column;gap:6px}.fighter-name{display:flex;gap:8px;align-items:center;font-weight:700}.hp-bar{position:relative;height:22px;background:var(--sub-alt);border-radius:6px;overflow:visible}.hp-fill{height:100%;border-radius:6px;transition:width .2s}.float{position:absolute;right:8px;top:-4px;font-weight:700;font-size:18px;pointer-events:none;animation:float-up 1.2s ease-out forwards;text-shadow:0 1px 3px #000}.float.hp-num{font-size:30px;font-weight:900;top:-14px;animation-duration:1.6s;text-shadow:0 0 4px #000,0 2px 4px #000}@keyframes float-up{0%{transform:translateY(0);opacity:1}to{transform:translateY(-36px);opacity:0}}.enemy-canvas{position:relative;width:140px;height:140px;background:var(--sub-alt);border-radius:10px}.enemy-canvas svg{width:100%;height:100%}.enemy-canvas.ready{animation:enemy-pulse .25s ease-in-out infinite alternate}@keyframes enemy-pulse{to{box-shadow:0 0 18px currentColor}}.mode-tabs{display:flex;gap:8px;margin:4px 0 8px}.room-code{font-size:26px;letter-spacing:.15em;color:var(--main)}.code-input{width:7ch;font:inherit;font-size:18px;letter-spacing:.15em;text-transform:uppercase;padding:4px 8px;border-radius:6px;border:1px solid var(--sub);background:var(--bg);color:var(--text)}.countdown{font-size:26px;color:var(--main)}.note-line{flex-basis:100%;color:var(--thumb);font-size:13px}.debug-casts{display:flex;flex-wrap:wrap;gap:4px;align-items:center;color:var(--sub);font-size:12px;margin-bottom:8px}.duel-page{max-width:none;height:100vh;height:100dvh;padding:0;gap:0;overflow:hidden}.duel-page>header,.duel-page>.debug-casts{margin:0;padding:8px 14px}.duel{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:3px;background:var(--sub-alt)}.duel-side{position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--bg);container-type:size}.duel-side.opp{background:radial-gradient(ellipse at center,var(--sub-alt),var(--bg) 75%)}.duel .camera{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0}.duel .enemy-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0;background:transparent}.side-hud{position:absolute;top:0;left:0;right:0;padding:14px 16px 22px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(to bottom,color-mix(in srgb,var(--bg) 85%,transparent),transparent);z-index:2}.duel .fighter{max-width:none;flex:none}.status-strip{display:flex;gap:16px;align-items:baseline;min-height:26px;flex-wrap:wrap;text-shadow:0 1px 4px var(--shadow)}.side-status{position:absolute;top:50%;left:0;right:0;text-align:center;z-index:2}.dummy-bar{display:flex;gap:8px;align-items:center}.dummy-bar .icon-btn{width:34px;min-width:0;height:34px;padding:0!important;border-radius:9px;display:flex;align-items:center;justify-content:center}.dummy-bar .icon-btn svg{width:18px;height:18px;flex:none}.corner-bar{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));right:max(8px,env(safe-area-inset-right));z-index:5;display:flex;gap:8px;align-items:center}.dealt-line{font-size:13px;color:var(--sub)}.power-chips{display:flex;flex-wrap:wrap;gap:4px;pointer-events:none;animation:power-in .25s ease-out}.power-chips span{padding:2px 7px;border-radius:6px;border-left:4px solid var(--el);background:#0000008c;color:#fff;font-size:14px;font-weight:800;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}.power-shield{width:.85em;height:.85em;vertical-align:-.1em;fill:#fff;stroke:#000;stroke-width:2}@keyframes power-in{0%{opacity:0}to{opacity:1}}.dealt-line b{color:var(--text);font-weight:600}.dummy-spells{display:flex;flex-direction:column;gap:12px}.dummy-spells-list{display:flex;flex-direction:column;gap:14px}.pool-el{display:flex;flex-direction:column;gap:6px}.pool-el .pool-el-name{all:unset;cursor:pointer;display:flex;gap:8px;align-items:baseline;font-weight:800;font-size:16px;color:currentColor}.pool-el-name small{color:var(--sub);font-weight:400;font-size:12px}.pool-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pool-el .pool-card{all:unset;cursor:pointer;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:10px;background:var(--sub-alt);color:var(--sub);border:2px solid transparent;font-size:12px;text-align:center;opacity:.5;transition:opacity .12s,border-color .12s}.pool-el .pool-card.on{color:currentColor;border-color:currentColor;opacity:1}.pool-el .pool-card span{color:var(--text)}.pool-el .pool-card:not(.on) span{color:var(--sub)}.pool-el .pool-card:hover{opacity:1}.pool-card-wrap .pool-card{flex:1}.stage-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;z-index:2}.result{font-size:40px;color:var(--main)}.bolt-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:5;overflow:hidden}.result-actions{position:absolute;left:50%;top:44%;transform:translate(-50%);z-index:7;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:max-content;max-width:92%;animation:result-in .4s ease-out}.result-countdown{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);z-index:7}.result-banner{position:absolute;left:50%;top:28%;transform:translate(-50%,-50%);z-index:6;pointer-events:none;padding:14px 40px;border-radius:14px;font-size:48px;font-weight:800;white-space:nowrap;background:color-mix(in srgb,var(--bg, #000) 80%,transparent);box-shadow:0 6px 30px #00000059;animation:result-in .4s ease-out}.result-banner.won{color:var(--you);border:2px solid var(--you)}.result-banner.lost{color:var(--foe);border:2px solid var(--foe)}@keyframes result-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.8)}}.bolt{position:absolute;top:46%;left:0;transform:translate(-50%,-50%);opacity:0;line-height:0;animation-duration:var(--fly);animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.5,0,.9,.6)}.bolt .projectile{display:block;width:var(--size);height:var(--size);overflow:visible;filter:drop-shadow(0 0 14px currentColor)}.bolt.tier-light{--size: clamp(130px, 27vmin, 260px)}.bolt.tier-heavy{--size: clamp(180px, 38vmin, 380px)}.bolt.tier-signature{--size: clamp(220px, 42vmin, 440px)}.bolt.from-enemy .projectile{transform:scaleX(-1)}.bolt .spin{transform-origin:50px 50px;animation:proj-spin .5s linear infinite}@keyframes proj-spin{to{transform:rotate(360deg)}}.bolt.from-player{animation-name:fly-right}.bolt.from-enemy{animation-name:fly-left}@keyframes fly-right{0%{left:22%;opacity:0;transform:translate(-50%,-50%) scale(.7)}15%{opacity:1}90%{opacity:1}to{left:78%;opacity:0;transform:translate(-50%,-50%) scale(1.25)}}@keyframes fly-left{0%{left:78%;opacity:0;transform:translate(-50%,-50%) scale(.7)}15%{opacity:1}90%{opacity:1}to{left:22%;opacity:0;transform:translate(-50%,-50%) scale(1.25)}}.bolt.missed{display:none}@keyframes miss-right{0%{left:22%;opacity:0}20%{opacity:1}to{left:50%;top:60%;opacity:0;transform:translate(-50%,-50%) rotate(8deg)}}@keyframes miss-left{0%{left:78%;opacity:0}20%{opacity:1}to{left:50%;top:60%;opacity:0;transform:translate(-50%,-50%) rotate(-8deg)}}.bolt.heal,.bolt.fizzle{display:none}.bolt-layer .bolt.path{animation-name:fly-path}.bolt-layer .bolt.path .projectile{transform:rotate(var(--turn))}.bolt-layer .bolt.path .upright{transform-box:fill-box;transform-origin:center;transform:rotate(var(--up))}.bolt.path.aside .projectile{width:calc(var(--size) * .55);height:calc(var(--size) * .55);opacity:.85}@keyframes fly-path{0%{left:var(--x0);top:var(--y0);opacity:0;transform:translate(-50%,-50%) scale(.7)}15%{opacity:1}90%{opacity:1}to{left:var(--x1);top:var(--y1);opacity:0;transform:translate(-50%,-50%) scale(1.15)}}.parry-ring{position:absolute;left:50%;top:46%;width:34%;aspect-ratio:1;z-index:6;pointer-events:none;border-radius:50%;border:4px solid currentColor;opacity:.85;transform:translate(-50%,-50%) scale(2.4);animation:parry-close var(--fly) linear forwards,parry-open var(--win) step-start var(--open) forwards}@keyframes parry-close{to{transform:translate(-50%,-50%) scale(1)}}@keyframes parry-open{0%,to{border-color:#fff;border-width:7px;box-shadow:0 0 24px #fff,inset 0 0 24px #fff;opacity:1}}.impact{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none;overflow:hidden}.impact *{animation-delay:var(--d)!important;animation-fill-mode:forwards!important}.impact-flash{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at center,currentColor,transparent 70%);opacity:0;animation:flash .6s ease-out}.tier-light .impact-flash{--peak: .18}.tier-heavy .impact-flash{--peak: .35;animation-duration:.8s}.tier-signature .impact-flash{--peak: .6;animation-duration:1.5s;background:radial-gradient(circle at center,currentColor,transparent 95%)}@keyframes flash{0%{opacity:var(--peak, .3)}to{opacity:0}}.impact-name{position:absolute;left:50%;top:72%;font-weight:900;text-transform:uppercase;white-space:nowrap;opacity:0;text-shadow:0 0 18px currentColor,0 3px 8px #000;transform:translate(-50%,-50%);animation:slam .9s ease-out}.tier-light .impact-name{font-size:clamp(13px,3.5cqw,20px);animation-duration:.55s}.tier-heavy .impact-name{font-size:clamp(15px,4.5cqw,30px)}.tier-signature .impact-name{font-size:clamp(18px,6cqw,44px);animation-duration:1.5s}@keyframes slam{0%{opacity:1;transform:translate(-50%,-50%) scale(1.8)}15%{opacity:1;transform:translate(-50%,-50%) scale(1)}70%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(.95)}}.impact.heal .impact-name{animation-name:heal-rise}@keyframes heal-rise{0%{opacity:0;transform:translate(-50%,-20%)}25%{opacity:1}to{opacity:0;transform:translate(-50%,-120%)}}.impact.heal .impact-flash{background:radial-gradient(circle at 50% 100%,currentColor,transparent 65%)}.impact .p{position:absolute;left:50%;top:46%;width:var(--s);height:var(--s);margin:calc(var(--s) / -2);opacity:0;animation:burst var(--t) ease-out}@keyframes burst{0%{opacity:1;transform:translate(0) rotate(var(--rot, 0deg)) scale(1)}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot, 0deg)) scale(.3)}}.p.ember{border-radius:50%;background:radial-gradient(circle,#fff3b0,#ffb347 45%,#ff5a1f);box-shadow:0 0 8px #ff6a3d}.p.shard{height:calc(var(--s) / 4);background:linear-gradient(90deg,#fff,currentColor);box-shadow:0 0 6px currentColor}.p.drop{border-radius:50% 50% 50% 0;background:currentColor;animation-name:splash}@keyframes splash{0%{opacity:1;transform:translate(0)}60%{opacity:1}to{opacity:0;transform:translate(var(--dx),calc(var(--dy) + 120px))}}.p.rock{left:calc(50% + var(--x));top:-6%;border-radius:3px;background:#7a5a33;box-shadow:inset -3px -3px #4e3a20;animation:fall var(--t) ease-in}@keyframes fall{0%{opacity:1;transform:translateY(0) rotate(0)}85%{opacity:1}to{opacity:0;transform:translateY(105vh) rotate(var(--rot))}}.p.sparkle{left:calc(50% + var(--x));top:85%;border-radius:50%;background:#e9ffe9;box-shadow:0 0 10px currentColor;animation:rise var(--t) ease-out}@keyframes rise{0%{opacity:0;transform:translateY(0)}20%{opacity:1}to{opacity:0;transform:translateY(-55vh)}}.impact .ring{position:absolute;left:50%;top:46%;width:24px;height:24px;margin:-12px;border:3px solid currentColor;border-radius:50%;opacity:0;animation:ripple var(--t) ease-out}@keyframes ripple{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(var(--end))}}.impact .frost{position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:inset 0 0 90px 36px #d2f5ffb3;opacity:0;animation:fade-out var(--t) ease-in}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.impact .lflash{position:absolute;top:0;right:0;bottom:0;left:0;background:#fffbe0;opacity:0;animation:lflash var(--t) steps(4)}@keyframes lflash{0%{opacity:.75}40%{opacity:.1}60%{opacity:.55}to{opacity:0}}.impact .crack{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;animation:fade-out var(--t) steps(3)}.crack polyline{fill:none;stroke:#fffbe0;vector-effect:non-scaling-stroke;stroke-width:7px;filter:drop-shadow(0 0 8px #ffe14d) drop-shadow(0 0 18px #ffe14d)}.impact.fizzle .impact-name{font-size:clamp(18px,6cqw,40px);animation:fizzle .8s ease-out}@keyframes fizzle{0%{opacity:1;filter:blur(0)}to{opacity:0;filter:blur(6px);transform:translate(-50%,-50%) scale(1.3)}}.sig-scorch{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 60%,rgba(40,10,0,.55),transparent 55%);opacity:0;animation:fade-out 1.8s ease-in}.sig-bar{position:absolute;top:0;bottom:0;left:var(--x);width:1.6%;opacity:0;background:linear-gradient(90deg,#c8f0ff4d,#ffffffb3,#8fd8ff59);box-shadow:0 0 10px #8fd8ff99;animation:bar-drop 1.1s cubic-bezier(.3,1.4,.6,1)}@keyframes bar-drop{0%{opacity:1;transform:translateY(-100%)}18%{transform:translateY(0)}75%{opacity:.9;transform:translateY(0)}to{opacity:0;transform:translateY(0) scaleX(.3)}}.sig-dark{position:absolute;top:0;right:0;bottom:0;left:0;background:#0a0a1e99;opacity:0;animation:dark .9s ease-out}@keyframes dark{0%{opacity:0}25%{opacity:1}to{opacity:0}}.sig-bolt{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;animation:lflash .7s steps(5)}.sig-bolt polyline{fill:none;stroke:#fffbe0;stroke-width:26px;vector-effect:non-scaling-stroke;stroke-linejoin:bevel;filter:drop-shadow(0 0 14px #ffe14d) drop-shadow(0 0 30px #ffe14d)}.sig-crack{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;animation:fade-out 1.6s ease-in}.sig-crack polyline{fill:none;stroke:#2a1a0c;stroke-width:6px;vector-effect:non-scaling-stroke;stroke-dasharray:200;stroke-dashoffset:200;filter:drop-shadow(0 0 3px #b58a4c);animation:crack-grow .4s ease-out forwards;animation-delay:calc(var(--d) + var(--d2, 0ms))!important}@keyframes crack-grow{to{stroke-dashoffset:0}}.sig-wave{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;animation:wave-sweep 1.1s ease-out}.sig-wave svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.sig-wave path{fill:#3d8bff8c;stroke:#cfe6ff;stroke-width:1.2;vector-effect:non-scaling-stroke}.sig-wave.from-left{--wx: -110%}.sig-wave.from-right{--wx: 110%}@keyframes wave-sweep{0%{opacity:1;transform:translate(var(--wx))}55%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(calc(var(--wx) * -.4)) translateY(20%)}}.sig-bar{animation-delay:calc(var(--d) + var(--d2, 0ms))!important}.status-fx{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.status-fx>div{position:absolute;top:0;right:0;bottom:0;left:0}.st-burn{background:linear-gradient(to top,rgba(255,106,61,.45),transparent 35%);animation:burn-flicker .5s steps(3) infinite alternate}@keyframes burn-flicker{0%{opacity:.6}to{opacity:1}}.st-regen{box-shadow:inset 0 0 70px 10px #6be38a73;animation:regen-pulse 1.6s ease-in-out infinite}@keyframes regen-pulse{0%,to{opacity:.35}50%{opacity:1}}.st-chill{box-shadow:inset 0 0 60px 18px #8fd8ff73;border:2px solid rgba(220,245,255,.35)}.st-static.on{box-shadow:inset 0 0 40px 4px #ffe14d8c;animation:static-buzz .12s steps(2) infinite}.st-static.gap{box-shadow:inset 0 0 18px 1px #ffe14d2e}@keyframes static-buzz{0%{opacity:.6}to{opacity:1}}.st-static i{position:absolute;width:34px;height:3px;margin:-1px -17px;background:#fffbe0;box-shadow:0 0 8px #ffe14d;transform:rotate(var(--rot));animation:spark .24s steps(2) infinite;animation-delay:var(--d)}@keyframes spark{0%{opacity:0}50%{opacity:1}to{opacity:.2}}.st-silence{display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:grayscale(1) brightness(.65);backdrop-filter:grayscale(1) brightness(.65);background:#28283059}.st-silence svg{position:absolute;width:min(38cqw,220px);transform:rotate(-90deg)}.st-silence circle{fill:none;stroke-width:5}.st-silence .track{stroke:#ffffff1f}.st-silence .left{stroke:#ffb3c1;stroke-dasharray:251.3;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.st-silence b{font-size:min(9cqw,48px);color:#ffb3c1;text-shadow:0 2px 6px #000}.st-knock{animation:knock-done 1.2s forwards}@keyframes knock-done{to{opacity:1}}.st-knock i{position:absolute;left:calc(16px + var(--x));top:70px;width:var(--s);height:var(--s);border-radius:2px;background:#b58a4c;box-shadow:inset -2px -2px #6e5128;animation:rubble 1.1s ease-in forwards;animation-delay:var(--d)}@keyframes rubble{0%{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(60vh) rotate(var(--rot));opacity:0}}.st-knock span{position:absolute;left:16px;top:64px;font-weight:800;color:#b58a4c;text-shadow:0 2px 6px #000;animation:knock-text 1.2s ease-in forwards}@keyframes knock-text{0%{transform:translateY(0);opacity:1}60%{opacity:1}to{transform:translateY(80px) rotate(8deg);opacity:0}}@media(max-width:800px)and (orientation:portrait){.duel{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.bolt:not(.path){left:50%!important}.bolt:not(.path).from-player{animation-name:fly-down}.bolt:not(.path).from-enemy{animation-name:fly-up}.bolt:not(.path).from-player .projectile{transform:rotate(90deg)}.bolt:not(.path).from-enemy .projectile{transform:rotate(-90deg)}.bolt:not(.path) .upright{transform-box:fill-box;transform-origin:center}.bolt:not(.path).from-player .upright{transform:rotate(-90deg)}.bolt:not(.path).from-enemy .upright{transform:rotate(90deg)}.sig-wave{animation-name:wave-sweep-v}.sig-wave.from-left{--wx: -110%}.sig-wave.from-right{--wx: 110%}.online-chip .sub-line{display:none}}@keyframes wave-sweep-v{0%{opacity:1;transform:translateY(var(--wx))}55%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(calc(var(--wx) * -.4))}}@keyframes fly-down{0%{top:22%;opacity:0;transform:translate(-50%,-50%) scale(.7)}15%{opacity:1}90%{opacity:1}to{top:78%;opacity:0;transform:translate(-50%,-50%) scale(1.25)}}@keyframes fly-up{0%{top:78%;opacity:0;transform:translate(-50%,-50%) scale(.7)}15%{opacity:1}90%{opacity:1}to{top:22%;opacity:0;transform:translate(-50%,-50%) scale(1.25)}}@container (max-height: 560px){html[data-theme] .tutorial{gap:8px;padding:8px 8px 48px}html[data-theme] .tut-bar{position:static;transform:none;width:100%;flex:none}html[data-theme] .tut-body{gap:6px;padding:8px 10px}html[data-theme] .tut-demo{flex-wrap:nowrap;gap:14px}html[data-theme] :is(.tut-demo img,.tut-demo svg,.tut-push){width:clamp(60px,20cqh,140px);height:clamp(60px,20cqh,140px)}html[data-theme] .tut-demo figcaption{font-size:14px}html[data-theme] .tut-head .tut-title{font-size:20px}html[data-theme] .tut-tip{font-size:13px}}@media(max-height:500px){html[data-theme] .home{gap:8px}html[data-theme] .home .logo{font-size:1.8rem;margin-bottom:4px}html[data-theme] .home button{font-size:1rem;padding:8px}}.menu-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:16px;z-index:10}.menu-card{background:var(--bg);border-radius:12px;padding:16px 20px;max-width:460px;width:100%;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto}.fighter-name{white-space:nowrap}.home{min-height:100vh;min-height:100dvh;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.home .logo{font-size:2.4rem;margin-bottom:12px}.home button{width:220px;font-size:1.1rem;padding:12px}.menu-btn{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));right:max(8px,env(safe-area-inset-right));z-index:5;opacity:.6}.menu-btn:hover{opacity:1}.pause-menu{max-width:260px;display:flex;flex-direction:column;gap:10px}.tutorial{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:10px;padding:16px;text-align:center;z-index:2}.tut-count{color:var(--sub);font-size:.85rem}.tut-title{font-size:1.6rem}.tut-demo{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}.tut-demo figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:6px}.tut-demo img,.tut-demo svg,.tut-push{width:160px;height:160px}.tut-demo img{background:#fff;border-radius:12px;padding:8px;box-sizing:border-box}.tut-demo figcaption{color:var(--text, #ddd)}.tut-ghost{fill:none;stroke:currentColor;stroke-width:1;opacity:.2;stroke-linecap:round;stroke-linejoin:round}.tut-draw{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 3px currentColor);animation:tut-draw 2.4s ease-in-out infinite}@keyframes tut-draw{0%{stroke-dashoffset:1}60%,85%{stroke-dashoffset:0}to{stroke-dashoffset:0;opacity:0}}.tut-push{display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;animation:tut-push 1s ease-in-out infinite}@keyframes tut-push{50%{transform:scale(1.3)}}.tut-tip{max-width:360px;margin:0;color:var(--text, #ddd)}.tut-hint{display:block;color:var(--sub);font-size:.8rem;max-width:170px}.tutorial{flex-direction:row;flex-wrap:wrap;align-items:safe center;gap:20px}.tut-card{display:flex;flex-direction:column;max-width:420px;background:var(--bg);border-radius:14px;overflow:hidden}.tut-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 14px}.tut-head .tut-title{color:#15132e;font-size:1.4rem;text-shadow:none}.tut-head .tut-count{color:#15132e;opacity:.7}.tut-body{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px}.info-page{max-width:860px}.info-top{display:flex;justify-content:space-between;align-items:center}.info-card{background:var(--sub-alt);border-radius:14px;padding:14px 18px;display:flex;flex-direction:column;gap:8px}.info-card h2{margin:0;font-size:1.3rem}.info-card p{margin:0}.info-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}.enemy-canvas svg path{fill:none;stroke-linecap:round;stroke-linejoin:round}.enemy-stroke{stroke:currentColor;stroke-width:13.9;opacity:.9;filter:drop-shadow(0 0 12px currentColor)}.enemy-ink{display:none}.enemy-canvas.ready .enemy-stroke{animation:enemy-ready .25s ease-in-out infinite alternate}@keyframes enemy-ready{to{opacity:.55}}.duel .enemy-canvas.ready{animation:none}.leave-title{font-size:1.3rem;text-align:center}.leave-text{margin:0;color:var(--sub);text-align:center}.home-privacy{max-width:340px;margin:18px 0 0;color:var(--sub);font-size:14px;text-align:center;line-height:1.5}.home-privacy a{color:var(--main)}.tut-basics{margin:0;padding-left:20px;max-width:360px;text-align:left;color:var(--text, #ddd);display:flex;flex-direction:column;gap:8px}.p.wisp{border-radius:50%;background:radial-gradient(circle,#e7c8ff,#a05cd6 50%,transparent 72%);filter:blur(1px)}.p.snow{left:calc(50% + var(--x));top:-4%;border-radius:50%;background:#fff;box-shadow:0 0 6px #d4f1ff;animation:fall var(--t) linear}.fx-aegis{position:absolute;left:10%;right:10%;bottom:-30%;height:90%;border-radius:50% 50% 0 0;border:4px solid #b9ffcb;box-shadow:0 0 30px #6be38a,inset 0 0 40px #6be38a80;opacity:0;animation:aegis-up 1.1s ease-out}@keyframes aegis-up{0%{opacity:0;transform:scale(.6)}30%{opacity:1;transform:scale(1.03)}to{opacity:0;transform:scale(1)}}.fx-mirror{position:absolute;top:-20%;right:-20%;bottom:-20%;left:-20%;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.75) 50%,transparent 60%);opacity:0;animation:sheen .9s ease-in-out}@keyframes sheen{0%{opacity:1;transform:translate(-60%)}to{opacity:1;transform:translate(60%)}}@keyframes eclipse-hold{0%{opacity:0}15%{opacity:1}80%{opacity:1}to{opacity:0}}@keyframes eclipse-slide{0%{transform:translate(110%)}55%{transform:translate(0)}to{transform:translate(0)}}.fx-lava{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to top,rgba(255,90,20,.85),rgba(255,160,40,.4) 30%,transparent 55%);opacity:0;animation:lava-rise 1.8s ease-out}@keyframes lava-rise{0%{opacity:0;transform:translateY(40%)}25%{opacity:1;transform:translateY(0)}to{opacity:0}}.fx-twilight{position:absolute;left:50%;top:46%;width:60cqw;height:60cqw;margin:-30cqw;border-radius:50%;background:linear-gradient(90deg,#fffc 50%,#140820d9 50%);box-shadow:0 0 50px #c8a2ff;opacity:0;animation:twilight-spin 1.5s ease-out}@keyframes twilight-spin{0%{opacity:0;transform:rotate(0) scale(.3)}30%{opacity:1}to{opacity:0;transform:rotate(540deg) scale(1.15)}}.st-aegis{border-radius:40% 40% 6px 6px;box-shadow:inset 0 0 50px 8px #6be38a80;border:3px solid rgba(185,255,203,.7)}.st-mirror{background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.18) 50%,transparent 65%);border:2px solid rgba(255,255,255,.55);animation:mirror-glint 1.4s ease-in-out infinite}@keyframes mirror-glint{0%,to{opacity:.5}50%{opacity:1}}.st-doom{display:flex;align-items:flex-start;justify-content:center;box-shadow:inset 0 0 70px 14px #a05cd68c;animation:regen-pulse 1s ease-in-out infinite}.tut-signs{display:flex;gap:6px}.tut-signs img+img{width:96px!important;height:96px!important;align-self:center}.fx-shroud{position:absolute;top:-10%;right:-10%;bottom:-10%;left:-10%;background:radial-gradient(circle at 50% 55%,rgba(20,8,32,.85),rgba(60,20,90,.5) 45%,transparent 75%);opacity:0;animation:shroud-in 1.4s ease-out}@keyframes shroud-in{0%{opacity:0;transform:scale(.6)}35%{opacity:1}to{opacity:0;transform:scale(1.2)}}.st-shroud{background:radial-gradient(circle at 50% 50%,transparent 40%,rgba(40,14,60,.55) 85%);animation:mirror-glint 2s ease-in-out infinite}:root{--armor-hp: #3d8bff}.armor-fill{position:absolute;top:0;height:100%;border-radius:6px;background:repeating-linear-gradient(135deg,#8cc4ff 0,#8cc4ff 6px,#5aa6ff 6px,#5aa6ff 12px);box-shadow:0 0 8px #5aa6ff;transition:left .2s,width .2s}.armor-fill.over{background:repeating-linear-gradient(135deg,#cfe6ff 0,#cfe6ff 6px,#9cceff 6px,#9cceff 12px)}.armor-text{color:#9cceff;margin-left:8px}[hidden]{display:none!important}.tut-card{width:min(420px,100%);min-height:440px}.tut-body{flex:1;width:100%;box-sizing:border-box}.tut-body>.row{margin-top:auto;width:100%;justify-content:space-between}@container (max-height: 560px){html[data-theme] .tut-card{min-height:min(440px,calc(100cqh - 40px))}}.tut-body>.row>button:last-child{min-width:150px}.hero-logo{height:clamp(120px,24vh,210px);width:auto;margin-bottom:-6px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}.home{position:relative}.home-corner{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;z-index:3}.corner-icons{display:flex;gap:8px}html[data-theme] .home .corner-icons .icon-btn,.home .corner-icons .icon-btn{width:46px!important;min-width:0;height:46px;padding:0;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:0}.home .icon-btn.on{outline:3px solid var(--main)}.settings-panel{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:220px;padding:12px 14px;border-radius:14px;background:var(--bg);box-shadow:0 6px 24px #0006;color:var(--text);text-align:left}.home .settings-panel button{width:auto;font-size:.95rem;padding:8px}.tut-hand{font-size:.9rem;letter-spacing:.02em;color:var(--text, #ddd)}.tower-wrap{display:flex;flex-direction:column;align-items:center;gap:0;--tower-roof: #6b4fa8}.tower{width:290px;max-height:min(48vh,440px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;will-change:scroll-position;contain:content;display:flex;flex-direction:column;gap:0;padding:8px 10px 0;background:linear-gradient(90deg,rgba(0,0,0,.35),transparent 10px,transparent calc(100% - 10px),rgba(0,0,0,.35)),repeating-linear-gradient(0deg,transparent 0 20px,#2a2640 20px 22px),repeating-linear-gradient(90deg,#4c4766 0,#4c4766 38px,#2a2640 38px,#2a2640 40px);border:3px solid #1d1b2e;border-top:none;border-radius:0 0 6px 6px}.tower-wrap .spire{width:300px;height:48px;margin-bottom:-6px;display:block}.tower .tier-band{flex:none;margin:6px -10px;padding:3px 0 4px;text-align:center;font-family:var(--title, inherit);font-size:17px;font-weight:400;letter-spacing:.06em;color:#fffaf0;-webkit-text-stroke:4px #1d1b2e;paint-order:stroke fill;border-block:3px solid #1d1b2e}.tower .tier-band.apprentice{background:#9aa3c7}.tower .tier-band.adept{background:#a98bf0}.tower .tier-band.master{background:#ffd24d}.tower .floor{display:flex;align-items:center;gap:8px;padding:5px 8px;flex:none;margin-bottom:6px;background:#24213a;border:2px solid #1d1b2e;border-bottom:6px solid #7a5534;border-radius:6px 6px 3px 3px;box-shadow:inset 0 8px 14px #00000059;text-align:left;color:var(--text)}.tower .floor.adept{background:#2c2347}.tower .floor.master{background:#33283a}.tower .floor:hover{border-color:#ffd24d;border-bottom-color:#7a5534}.tower .floor.active{background:#ffd24d;color:#1d1b2e;border-color:#1d1b2e;border-bottom-color:#7a5534;box-shadow:0 0 18px #ffd24d8c}.tower .rung{width:16px;font-size:12px;opacity:.6;text-align:center}.tower .window{flex:none;display:grid;place-items:center;width:50px;height:52px;border-radius:25px 25px 4px 4px;border:3px solid #1d1b2e;background:radial-gradient(circle at 50% 60%,#3d3866,#15132e)}.tower .floor.active .window{background:radial-gradient(circle at 50% 60%,#fff3b0,#f0a830)}.tower .floor.master .window{border-color:#b8902c}.tower .portrait{width:44px;height:44px;flex:none}.tower .floor-text{flex:1;display:flex;flex-direction:column;min-width:0}.tower .floor-name{font-weight:700}.tower .trait{font-size:13px;font-family:var(--title, inherit);font-weight:400;letter-spacing:.02em;color:#ffd24d}.tower .floor.active .trait{color:#7a4a00}.tower .els{display:flex;gap:2px}.tower .els i{width:8px;height:8px;border-radius:50%;border:1px solid #1d1b2e}.tower-wrap>.sub-line{margin-top:6px}.tower .els i.all{width:30px;border-radius:4px}.tower .tower-door{height:18px;width:44px;margin:0 auto;flex:none;background:#1d1b2e;border-radius:22px 22px 0 0;box-shadow:inset 0 0 0 3px #7a5534}.sig-cloud{position:absolute;left:-10%;right:-10%;top:-8%;height:34%;opacity:0;animation:cloud-gather var(--t) ease-in;animation-fill-mode:none!important;background:radial-gradient(circle at 12% 52%,#1b1828 0 18%,transparent 19%),radial-gradient(circle at 32% 46%,#221e33 0 24%,transparent 25%),radial-gradient(circle at 55% 54%,#1b1828 0 22%,transparent 23%),radial-gradient(circle at 78% 46%,#221e33 0 24%,transparent 25%),radial-gradient(circle at 94% 52%,#1b1828 0 16%,transparent 17%),linear-gradient(#0f0d18 0 40%,transparent 41%);box-shadow:0 0 0 200vmax #05051473}.sig-cloud i{position:absolute;bottom:10%;left:var(--x);width:4px;height:28px;background:#ffe14d;box-shadow:0 0 10px #ffe14d;opacity:0;transform:rotate(20deg);animation:spark .16s steps(2) 3}@keyframes cloud-gather{0%{opacity:0;transform:translateY(-40%)}60%{opacity:1;transform:translateY(0)}to{opacity:1}}@keyframes spark{0%,to{opacity:0}50%{opacity:1}}.sig-bolt.thin polyline{stroke-width:10px}.sig-bolt polyline.fork{stroke-width:8px}.sig-whiteout{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;opacity:0;animation:whiteout .6s ease-out}@keyframes whiteout{0%{opacity:.95}15%{opacity:.2}30%{opacity:.8}to{opacity:0}}.quake-run{position:absolute;left:22%;width:56%;top:var(--row);height:7%;margin-top:-3.5%;overflow:visible;pointer-events:none}.quake-run{clip-path:inset(-50% 100% -50% 0);animation:quake-run var(--fly) linear forwards,fade-out .5s ease-in var(--fly) forwards}.quake-run polyline{fill:none;stroke:#140b04;stroke-width:13px;vector-effect:non-scaling-stroke;stroke-linejoin:bevel}.quake-run polyline.glow{stroke:#ffc070;stroke-width:28px;opacity:.7}.quake-1v1.from-enemy .quake-run{transform:scaleX(-1)}@keyframes quake-run{to{clip-path:inset(-50% 0 -50% 0)}}@media(max-width:800px)and (orientation:portrait){.quake-1v1 .quake-run{left:calc(var(--row) - 28vh);top:50%;width:56vh;margin:-2.5vh 0 0;height:5vh;transform:rotate(90deg)}.quake-1v1.from-enemy .quake-run{transform:rotate(-90deg)}}.quake-path{position:absolute;height:150px;margin-top:-75px;transform-origin:0 50%;pointer-events:none}.quake-path>.quake-run{left:0;width:100%;height:13%;margin-top:0}html[data-theme] button.cta,button.cta{background:var(--you);color:var(--ink, #111);font-size:1.15em;padding-left:30px;padding-right:30px}html[data-theme] button.cta:hover,button.cta:hover{background:color-mix(in srgb,var(--you) 80%,#fff)}html[data-theme] button.cta.is-ready,button.cta.is-ready{background:var(--foe);color:#fff}html[data-theme] button.cta.is-ready:hover,button.cta.is-ready:hover{background:color-mix(in srgb,var(--foe) 80%,#fff)}.team-foes{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;gap:3px;background:var(--sub-alt)}.team-card{position:relative;min-width:0;overflow:hidden}.team-card.foe{flex:1 1 0;background:radial-gradient(ellipse at center,var(--sub-alt),var(--bg) 75%);transition:box-shadow .15s}.team-card.foe .side-hud{padding-left:10px;padding-right:10px}.team-card .enemy-stroke{vector-effect:non-scaling-stroke;stroke-width:9px}.team-card.foe{container-type:inline-size}.team-card.targeted{box-shadow:inset 0 0 0 4px var(--aim, var(--you)),inset 0 0 40px color-mix(in srgb,var(--aim, var(--you)) 45%,transparent)}.team-card.out{filter:grayscale(1)}.hp-out{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-family:var(--title, inherit);font-weight:400;letter-spacing:.05em;font-size:15px;color:#fffaf0;opacity:.75;white-space:nowrap;pointer-events:none}.aim-zones{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;z-index:1;pointer-events:none}.aim-zones>div{display:flex;align-items:flex-end;justify-content:center;padding-bottom:22%;border-right:1px dashed color-mix(in srgb,var(--aim) 35%,transparent)}.aim-zones>div:last-child{border-right:none}.aim-zones>div span{font-weight:700;font-size:15px;opacity:.55;text-shadow:0 1px 4px var(--shadow)}.aim-zones>div.on{background:color-mix(in srgb,var(--aim) 14%,transparent)}.aim-zones>div.on span{opacity:1;color:var(--aim);font-size:19px}.bolt{z-index:1}.bolt.el-glacier{z-index:0}.fx-steam{position:absolute;top:-10%;right:-10%;bottom:-10%;left:-10%;background:radial-gradient(circle at 50% 50%,rgba(240,245,250,.85),rgba(220,230,240,.5) 50%,transparent 80%);opacity:0;animation:shroud-in 1.4s ease-out var(--d) both}.fx-sun{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 30%,rgba(255,240,150,.9),rgba(255,180,40,.45) 40%,transparent 70%);opacity:0;animation:lava-rise 1.6s ease-out var(--d) both}.st-steam{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(ellipse at 50% 60%,#ebf0f59e,#ebf0f552 60%,#ebf0f529)}.tutorial{padding-bottom:96px;padding-top:132px}.tut-bar{position:absolute;left:50%;bottom:60px;transform:translate(-50%);width:min(640px,calc(100% - 24px));box-sizing:border-box;display:flex;gap:3px;padding:4px;overflow-x:auto;scrollbar-width:thin;z-index:3}.tut-bar .tut-seg{flex:1 0 12px;height:12px;min-width:12px;padding:0!important;border:none;border-radius:4px;background:currentColor;opacity:.3;box-shadow:none;touch-action:manipulation}html[data-theme] .tut-bar .tut-seg{min-height:0}.tut-bar .tut-seg.done{opacity:1}.tut-bar .tut-seg[aria-current]{opacity:1;outline:2px solid #fff;outline-offset:1px}.tutorial .tut-card{height:min(520px,calc(100cqh - 240px));min-height:0}.tut-body{overflow:hidden}.tut-demo{flex-wrap:nowrap!important;min-height:245px;flex-shrink:0;align-items:flex-start}.tut-signs.multi{flex-direction:row;gap:4px}.tut-signs.multi img,.tut-signs.multi img+img{width:clamp(44px,14cqw,64px)!important;height:clamp(44px,14cqw,64px)!important;padding:3px;align-self:center}html[data-theme=cartoon] .tut-signs.multi img{border-width:3px;box-shadow:0 3px 0 var(--ink);border-radius:12px}.tut-tip{margin:0;font-size:.92rem;line-height:1.35}.tut-head .tut-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html[data-theme] .tut-head .tut-title.long{font-size:22px}.tut-mini{position:absolute;left:50%;bottom:28px;transform:translate(-50%);z-index:3;display:flex;align-items:center;gap:12px;padding:8px 10px 8px 16px;border-radius:999px;background:color-mix(in srgb,var(--bg) 85%,transparent);color:var(--text);white-space:nowrap}.tut-try{margin-top:4px}.bolt.el-glacier{animation-timing-function:linear}@keyframes flick{50%{opacity:.2}}.tut-demo svg .tut-draw{stroke-width:1.6!important}.tut-demo svg .tut-ghost{stroke-width:1.6!important;opacity:.3!important}.sig-cloud.storm{filter:hue-rotate(10deg) brightness(.55) saturate(.5);height:30%}.sig-rainwash{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#283c6e8c,#283c6e26);opacity:0;animation:shroud-in 1.6s ease-out}.st-storm{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(to bottom,rgba(30,45,90,.45),transparent 35%);overflow:hidden}.st-storm:before{content:"";position:absolute;top:-200px;left:0;right:-40px;bottom:0;will-change:transform;background:repeating-linear-gradient(105deg,transparent 0 14px,rgba(160,196,255,.35) 14px 15px);background-size:200px 200px;animation:rain-move .4s linear infinite}@keyframes rain-move{to{transform:translate(-40px,200px)}}.st-storm svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.st-storm polyline{fill:none;stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 6px #9fb0ff);stroke-width:4px}.st-storm.on{box-shadow:inset 0 0 80px #a0beff80}.room-teams{display:flex;gap:10px;flex-wrap:wrap}.room-team{min-width:210px;display:flex;flex-direction:column;gap:6px;padding:8px 12px;border-radius:12px;background:var(--sub-alt);border-top:4px solid var(--you)}.room-team.two{border-top-color:var(--foe)}.room-team-name{font-size:15px}.room-seat{display:flex;align-items:center;gap:8px;font-size:14px}.room-seat.away{opacity:.5}.room-seat-name{min-width:64px;font-weight:700}.room-hp{display:inline-flex;align-items:center;gap:6px;color:var(--sub)}.room-hp input{width:90px}.room-ready{margin-left:auto;font-size:12px;color:var(--sub)}.room-ready.on{color:var(--you)}.lobby-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--bg);overflow:auto}.lobby-card{width:min(680px,100%);display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px;border-radius:18px;background:var(--sub-alt)}.lobby-title{font-size:30px}.lobby-join{display:flex;flex-direction:column;align-items:center;gap:10px}.lobby-code{display:flex;flex-direction:column;align-items:center;gap:2px}.lobby-code .room-code{font-size:44px}.lobby-card .room-teams{width:100%;justify-content:center}.lobby-card .room-team{flex:1 1 220px;background:var(--bg)}.lobby-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:center}.lobby-home{align-self:flex-start}.online-chip{display:flex;gap:10px;align-items:center}.online-chip b{color:var(--main);letter-spacing:.1em}.online-toast{position:fixed;top:76px;left:50%;transform:translate(-50%);z-index:7;padding:6px 16px;border-radius:999px;background:var(--sub-alt);font-size:14px;pointer-events:none;white-space:nowrap;animation:toast-in .2s ease-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-6px)}}.room-hp,.room-ready,.room-seat-name{white-space:nowrap}.room-hp input{accent-color:var(--main)}.room-hp span,.room-ready{white-space:nowrap;flex-shrink:0}.room-seat{flex-wrap:nowrap}.room-hp input{min-width:60px;flex:1}.hud-row{display:flex;align-items:center;gap:10px}.hud-row>.dummy-bar{margin-left:auto;pointer-events:auto}.hud-row>.status-strip{flex:1 1 90px;min-width:0}.dummy-bar button{white-space:nowrap;flex-shrink:0}html[data-theme] .dummy-bar button.btn-go,.dummy-bar button.btn-go{background:var(--you);color:var(--ink, #111)}html[data-theme] .dummy-bar button.btn-stop,.dummy-bar button.btn-stop{background:var(--foe);color:#fff}html[data-theme] .dummy-bar button.btn-reset,.dummy-bar button.btn-reset{background:var(--main);color:var(--ink, #111)}html[data-theme] .dummy-bar button.btn-go:hover,.dummy-bar button.btn-go:hover{background:color-mix(in srgb,var(--you) 80%,#fff)}html[data-theme] .dummy-bar button.btn-stop:hover,.dummy-bar button.btn-stop:hover{background:color-mix(in srgb,var(--foe) 80%,#fff)}html[data-theme] .dummy-bar button.btn-reset:hover,.dummy-bar button.btn-reset:hover{background:color-mix(in srgb,var(--main) 80%,#fff)}.hud-row{flex-wrap:nowrap;align-items:flex-start}.hud-row>.dummy-bar{flex:none}@container (max-width: 240px){html[data-theme] .dummy-bar{gap:4px}html[data-theme] .dummy-bar .icon-btn{width:28px;height:28px}html[data-theme] .dummy-bar>button:first-child{font-size:11px;padding:4px 9px}}@container (max-height: 560px){.duel-side.opp>.stage-center{padding:88px 0 92px;gap:6px}.tower{max-height:max(110px,calc(100cqh - 308px))}.tower-wrap .spire{height:26px}}@container (max-height: 560px){html[data-theme] .tutorial{flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;padding:8px 8px 10px;gap:6px;overflow:hidden}html[data-theme] .tutorial>.tut-bar{width:calc(100% - 56px);align-self:flex-start}html[data-theme] .tut-basics{font-size:13px;line-height:1.3;gap:4px;margin:0}html[data-theme] .tut-basics li{margin:0}html[data-theme] .tutorial .tut-card{height:auto;min-height:0;max-height:100%;flex:0 1 auto}html[data-theme] .tut-body{overflow-y:auto;min-height:0;gap:6px;padding:8px 12px 0}html[data-theme] .tut-body>.row{position:sticky;bottom:0;padding:6px 0 10px;background:var(--bg);z-index:1}html[data-theme=cartoon] .tut-body>.row{background:var(--sub-alt)}html[data-theme] .tut-demo{min-height:0}html[data-theme] .tut-basics{margin:0;padding-left:18px;font-size:14px;line-height:1.3}html[data-theme] .tut-basics li{margin:2px 0}html[data-theme] .tut-head{padding:6px 12px}html[data-theme] .tut-head .tut-title{font-size:20px}html[data-theme] .tut-body .tut-hint{font-size:12px;margin:0}html[data-theme] .tut-tip{font-size:13px}html[data-theme] .tut-body>.row button{padding-top:6px;padding-bottom:6px;font-size:15px}html[data-theme] .tut-body>.row>button:last-child{min-width:120px}html[data-theme] .tut-bar{flex:none}html[data-theme] .tutorial:has(>.result){justify-content:center;padding-top:60px}}@media(max-width:600px){.home{padding-top:70px}}@media(max-width:600px)and (max-height:720px){html[data-theme] .home{gap:10px}html[data-theme] .home .hero-logo{height:clamp(80px,16vh,140px)}html[data-theme] .home .logo{margin-bottom:4px}html[data-theme] .home button{padding:9px}}@media(max-width:600px){.info-card{padding:12px;overflow-x:auto}}@container (max-height: 400px){.duel-side.opp>.stage-center{padding:104px 0 48px;justify-content:flex-start}.tower-wrap .spire,.tower-wrap>.sub-line{display:none}.tower{max-height:max(84px,calc(100cqh - 230px));border-top:3px solid #1d1b2e;border-radius:6px;padding-top:6px}.tower .floor{padding:2px 8px}.tower .portrait{width:34px;height:34px}.tower .window{width:38px;height:40px}}@media(max-height:500px){html[data-theme] .home{padding-top:10px;padding-bottom:10px;gap:6px}html[data-theme] .home .hero-logo{height:clamp(50px,16vh,90px);margin-bottom:-4px}html[data-theme] .home .logo{font-size:1.6rem;margin-bottom:2px}html[data-theme] .home button{padding:6px;font-size:.95rem}html[data-theme] .home .home-privacy{margin-top:2px;font-size:11px}}@media(max-width:600px){html[data-theme] .fighter-name{font-size:15px}html[data-theme] .hp-bar{height:18px}html[data-theme] .dealt-line,html[data-theme] .note-line{font-size:13px}html[data-theme] .tier-light .impact-name{font-size:clamp(18px,5cqw,24px)}html[data-theme] .tier-heavy .impact-name{font-size:clamp(22px,6.5cqw,32px)}}@media(pointer:coarse){html[data-theme] button{min-height:44px}html[data-theme] button.small,html[data-theme] .dummy-bar>button:first-child{min-height:40px;font-size:14px}html[data-theme] .tower .floor{padding:8px 10px}}.duel-side.opp:has(.tower-wrap)>.side-hud{display:none}.duel:has(.tower-wrap) .duel-side.you .hp-bar{visibility:hidden}.duel-side.opp>.stage-center:has(.tower-wrap){padding:16px 12px 72px;gap:10px;justify-content:flex-start}.stage-center .tower-wrap{width:100%;max-width:460px;flex:1;min-height:0}.stage-center .tower-wrap .spire,.stage-center .tower .tower-door{display:none}.stage-center .tower-wrap .tower{width:100%;max-height:none;flex:1;min-height:0;border:none;background:none;padding:4px 2px 0}.stage-center .tower-wrap>.sub-line{display:block;font-size:14px}.stage-center .tower .floor{padding:8px 10px}.stage-center .tower .window{width:50px;height:52px}.stage-center .tower .portrait{width:44px;height:44px}.stage-center .tower .floor-name{font-size:16px}.stage-center:has(.tower-wrap)>.cta,.stage-center:has(.tower-wrap)>.countdown{flex:none}@media(max-width:800px)and (orientation:portrait){.duel-side.opp>.stage-center:has(.tower-wrap){padding:10px 10px 64px;gap:8px}.stage-center .tower-wrap>.sub-line{font-size:13px}}@keyframes lock-pop{0%{transform:scale(.85);opacity:0}}@media(max-width:600px){html[data-theme] .duel .side-hud{padding:8px 10px 12px;gap:5px}}.dummy-dock{position:absolute;left:10px;bottom:10px;z-index:4;pointer-events:auto}.corner-bar .menu-btn{width:44px;height:44px;min-width:0;padding:0!important;border-radius:10px;display:flex;align-items:center;justify-content:center}.corner-bar .menu-btn svg{width:22px;height:22px}.status-row{display:flex;flex-wrap:nowrap;gap:3px;margin-left:auto;align-items:center}.fighter-name{min-height:24px}.st-more{font-size:12px;font-weight:900;color:#fff;padding:0 2px}.st-icon{position:relative;width:24px;height:24px;box-sizing:border-box;border-radius:7px;border:2px solid;display:flex;align-items:center;justify-content:center;background:#0000008c;color:#fff;overflow:hidden}.st-icon.bad{border-color:#ff6b6b}.st-icon.good{border-color:#6be38a}.st-icon.dim{opacity:.45}.st-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.st-icon b{position:absolute;right:1px;bottom:2px;font-size:10px;line-height:1;font-weight:900;color:#fff;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}.st-icon i{position:absolute;left:0;bottom:0;height:3px;background:currentColor;transition:width .1s linear}.st-icon.bad i{background:#ff6b6b}.st-icon.good i{background:#6be38a}.team-card .st-icon{width:21px;height:21px}.team-card .st-icon svg{width:14px;height:14px}.status-fx>.st-silence{display:none}@media(max-width:600px){.status-fx>:is(.st-burn,.st-regen,.st-chill,.st-doom,.st-static,.st-aegis,.st-mirror,.st-shroud){display:none}}.icon-legend{list-style:none;margin:6px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px 12px;text-align:left}.icon-legend li{display:flex;align-items:center;gap:8px;font-size:14px}.icon-legend .st-icon{flex:none}.tut-body .icon-legend{grid-template-columns:1fr 1fr;gap:4px 8px;width:100%}.tut-body .icon-legend li{font-size:12px}.menu-card.dm-card{padding:0;display:flex;flex-direction:column;overflow:hidden;max-width:480px}.dm{display:flex;flex-direction:column;min-height:0;flex:1}.dm-head{padding:14px 18px 4px}.dm-body{overflow:auto;padding:0 18px 16px;min-height:0;flex:1}.dm-section{margin:14px 0 6px;font-size:13px;font-weight:800;letter-spacing:.02em;color:var(--main);display:flex;align-items:center;gap:8px}.dm-section:before{content:"";width:4px;height:14px;border-radius:2px;background:var(--main)}.dm-rows{display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:color-mix(in srgb,var(--ink, #000) 22%,transparent)}.dm-row{display:flex;flex-direction:column;gap:8px;padding:10px 12px}.dm-row+.dm-row{border-top:2px solid color-mix(in srgb,var(--ink, #000) 35%,transparent)}.dm-label{font-weight:700;font-size:15px;color:var(--text)}.dm-add{display:flex;flex-direction:column;gap:6px}.dm-add select{width:100%;padding:8px 10px;border-radius:8px;font:inherit;font-size:15px;color:var(--text);background:color-mix(in srgb,var(--ink, #000) 35%,transparent);border:2px solid color-mix(in srgb,var(--ink, #000) 50%,transparent)}.dm-add select option{color:#111}.dm-times{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.dm-times span{display:flex;flex-direction:column;align-items:center;padding:4px 2px;border-radius:8px;font-size:11px;color:var(--sub);background:color-mix(in srgb,var(--ink, #000) 25%,transparent);text-align:center}.dm-times b{color:var(--text);font-size:13px}.dm-seg{display:inline-flex;padding:3px;gap:3px;border-radius:10px;background:color-mix(in srgb,var(--ink, #000) 35%,transparent)}.dm .dm-seg button{all:unset;cursor:pointer;box-sizing:border-box;min-width:52px;padding:6px 12px;border-radius:7px;text-align:center;font-size:13px;font-weight:800;color:var(--sub)}.dm .dm-seg button:hover{color:var(--text)}.dm .dm-seg button.on,.dm-foot .dm-seg button:active{background:var(--main);color:var(--ink, #111)}.dm-foot{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;padding:12px 18px;border-top:3px solid color-mix(in srgb,var(--ink, #000) 45%,transparent);background:color-mix(in srgb,var(--ink, #000) 18%,transparent)}.dm-count{font-size:13px;color:var(--sub);margin-right:auto;min-width:0}.dm-foot .dm-done{flex:none}.dm-count b{color:var(--text);font-size:15px}@media(max-width:500px){.dm-times{grid-template-columns:repeat(2,1fr)}.dm .dm-seg button{min-width:44px;padding:9px 10px}.dm-foot{padding:10px 12px;gap:8px}.dm-count{white-space:nowrap}.dm-foot .dm-done{padding:8px 16px}}.chat-bubble{position:absolute;top:calc(100% - 12px);left:14px;max-width:min(320px,85%);margin:0;padding:7px 12px;border-radius:14px;background:#fffaf0;color:#1d1b2e;font-size:14px;font-weight:700;line-height:1.3;border:3px solid #1d1b2e;box-shadow:0 3px #1d1b2e;pointer-events:none;z-index:4;animation:chat-in .25s ease-out}.chat-bubble:before{content:"";position:absolute;top:-10px;left:18px;border:8px solid transparent;border-bottom-color:#1d1b2e;border-top:0}.chat-bubble:after{content:"";position:absolute;top:-5px;left:21px;border:5px solid transparent;border-bottom-color:#fffaf0;border-top:0}@keyframes chat-in{0%{opacity:0;transform:translateY(-4px) scale(.96)}}.tower-quote{font-style:italic;max-width:290px;text-align:center}.tower-room{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .7s ease;background:linear-gradient(#5a3b22,#5a3b22) top / 100% 14px no-repeat,linear-gradient(#1d1b2e,#1d1b2e) 0 14px / 100% 3px no-repeat,radial-gradient(ellipse at 50% 45%,transparent 45%,rgba(10,8,24,.65) 100%),repeating-linear-gradient(0deg,transparent 0 26px,#2a2640 26px 29px),repeating-linear-gradient(90deg,#4c4766 0,#4c4766 52px,#2a2640 52px,#2a2640 55px)}.tower-room.on{opacity:1}.duel-side.opp>.stage-center:has(.tower-wrap){padding-top:26px}.stage-center.leaving .tower-wrap{animation:tower-leave .6s ease-in forwards}@keyframes tower-leave{to{opacity:0;transform:translateY(-14px) scale(1.04)}}.stage-center .tower .tier-band{margin:8px 0;border:3px solid #1d1b2e;border-radius:6px;box-shadow:0 3px #1d1b2e}.stage-center .tower .floor{box-shadow:inset 0 8px 14px #00000059,0 4px #00000059}.stage-center .tower-wrap .tower{scrollbar-color:#7a5534 transparent;-webkit-mask:linear-gradient(transparent,#000 14px,#000 calc(100% - 14px),transparent);mask:linear-gradient(transparent,#000 14px,#000 calc(100% - 14px),transparent)}.stage-center .tower-wrap .tower{scrollbar-width:none}.stage-center .tower-wrap .tower::-webkit-scrollbar{display:none}.menu-card.pause-menu.dm{max-width:400px;width:100%;gap:10px;padding:18px 18px 16px}.pause-menu .pm-title{text-align:center;font-size:24px}.pause-menu .dm-section{margin:6px 0 0}.pause-menu .dm-row{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}@media(max-width:500px){.pause-menu .dm .dm-seg button,.pause-menu .dm-seg button{min-width:0;padding:8px}}@media(max-width:800px){html[data-theme] .tut-body>.row{padding-right:58px}}@media(max-width:800px)and (max-height:700px){html[data-theme] .tut-body .tut-hint{font-size:12px;line-height:1.3;margin:0}html[data-theme] .tut-body .tut-basics{gap:3px;margin:0}html[data-theme] .tut-body>.row{padding-top:4px;padding-bottom:6px}}@media(max-width:800px)and (orientation:portrait)and (max-height:700px){.duel:has(.tut-body){grid-template-rows:minmax(0,.82fr) minmax(0,1fr)}}.cam-gate{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 20px;text-align:center;color:var(--text);background:#141222e0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.cam-gate svg{width:56px;height:56px;color:var(--main)}.cam-gate b{font-family:var(--title, inherit);font-weight:400;font-size:24px}.cam-gate p{max-width:340px;margin:0;color:var(--sub);font-size:14px;line-height:1.4}.cam-gate button{margin-top:6px}.ready-wrap{display:inline-flex;flex-direction:column;align-items:center;gap:4px}html:has(.info-page){scrollbar-width:none}html:has(.info-page)::-webkit-scrollbar,body:has(.info-page)::-webkit-scrollbar{display:none}.info-page>*,.home .home-brand,.home .mode-bar,.home .home-privacy{animation:page-slide-in .38s cubic-bezier(.2,.9,.3,1.12) backwards}.info-page>:nth-child(2),.home .mode-bar:nth-child(1){animation-delay:50ms}.info-page>:nth-child(3),.home .mode-bar:nth-child(2){animation-delay:.1s}.info-page>:nth-child(4),.home .mode-bar:nth-child(3){animation-delay:.15s}.info-page>:nth-child(5),.home .mode-bar:nth-child(4){animation-delay:.2s}.info-page>:nth-child(n+6),.home .home-privacy{animation-delay:.25s}@keyframes page-slide-in{0%{opacity:0;transform:translate(min(40vw,320px))}to{opacity:1;transform:none}}body.page-leaving .info-page>*,body.page-leaving .home .home-brand,body.page-leaving .home .mode-bar,body.page-leaving .home .home-privacy{animation:page-slide-out .18s ease-in both}@keyframes page-slide-out{to{opacity:0;transform:translate(-60px)}}body.page-leaving .duel-page{animation:page-slide-out .18s ease-in both}@media(prefers-reduced-motion:reduce){.duel-page,.info-page>*,.home .home-brand,.home .mode-bar,.home .home-privacy,body.page-leaving *{animation:none!important}}.book-page{display:flex;flex-direction:column;gap:10px;height:100vh;height:100dvh;max-width:980px;padding-bottom:12px;overflow:hidden}.book-page .info-top{margin:0}.book-ribbons{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:none;padding:2px 2px 6px}.book-ribbons::-webkit-scrollbar{display:none}.book-ribbons button{flex:none;width:auto;min-width:0;padding:7px 12px 9px;font-size:14px;color:#1d1b2e;border:3px solid #1d1b2e;border-radius:10px 10px 4px 4px;box-shadow:0 3px #1d1b2e;transform:translateY(3px);transition:transform .15s;font-family:var(--title, inherit)}.book-ribbons button.on{transform:translateY(-2px);box-shadow:0 6px #1d1b2e}.book{position:relative;flex:1;min-height:0;perspective:1600px;touch-action:pan-y;-webkit-user-select:none;user-select:none}.book-spread{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;border:4px solid #1d1b2e;border-radius:18px;background:#3b2a1f;padding:8px;gap:0;box-shadow:0 8px #1d1b2e}.book-leaf{background:#fbf1d6;color:#2a2238;position:relative;display:flex;flex-direction:column;min-height:0;overflow:hidden}.book-leaf.left{flex:1 1 50%;align-items:center;justify-content:center;border-radius:10px 10px 0 0;padding:30px 14px 10px;background:radial-gradient(ellipse at 50% 45%,#fff8e6,#f3e2b8)}.book-leaf.right{flex:1 1 50%;border-radius:0 0 10px 10px;padding:14px 18px;gap:8px;border-top:2px dashed #c9b38a;overflow-y:auto;scrollbar-width:none}.book-leaf.right h2{margin:0;font-family:var(--title, inherit);font-weight:400;font-size:30px;line-height:1;-webkit-text-stroke:1.5px #1d1b2e;paint-order:stroke fill}.book-how{margin:0;font-weight:800;font-size:17px;line-height:1.35}.book-does{margin:0;font-size:16px;line-height:1.4;color:#4a3f5c}.book-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:4px}.book-chips span{padding:4px 10px;border:2.5px solid #1d1b2e;border-radius:999px;background:#ffd24d;font-weight:800;font-size:14px;color:#1d1b2e}.book-chapter{position:absolute;top:0;left:14px;padding:3px 10px 5px;font-size:12px;font-weight:800;letter-spacing:.02em;color:#1d1b2e;border:2.5px solid #1d1b2e;border-top:none;border-radius:0 0 8px 8px}.book-art{display:flex;flex-direction:column;align-items:center;gap:6px}.book-shape{width:min(150px,22vh);height:min(150px,22vh);filter:drop-shadow(0 3px 0 rgba(29,27,46,.35))}.book-art .book-shape{stroke-width:3}.book-signs{display:flex;align-items:center;gap:6px}.book-signs b{margin:0 4px;font-size:20px;color:#6a5a40}.book-signs.wrap{flex-wrap:wrap;justify-content:center;max-width:260px}.book-sign{background:#fff;border:2.5px solid #1d1b2e;border-radius:10px;padding:3px;object-fit:contain}.book-cycle{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:280px}.book-cycle span{display:flex;flex-direction:column;align-items:center;font-weight:800;font-size:12px}.book-cycle span:not(:last-child):after{content:"→";color:#6a5a40;font-size:16px;position:relative;top:-34px;left:28px;height:0}.book-leaf .icon-legend{max-height:100%;overflow-y:auto;scrollbar-width:none;color:#2a2238;font-size:13px}.book-nav{display:flex;align-items:center;justify-content:center;gap:18px;flex:none;color:var(--text);font-weight:800}.book-nav button{width:56px;height:44px;font-size:18px}@keyframes leaf-next{0%{transform:rotateY(0);opacity:1}to{transform:rotateY(-100deg);opacity:.6}}@keyframes leaf-prev{0%{transform:rotateY(0);opacity:1}to{transform:rotateY(100deg);opacity:.6}}.book-spread{animation:book-ink .3s .12s ease-out backwards}@keyframes book-ink{0%{opacity:.2}}@media(prefers-reduced-motion:reduce){.book-spread{animation:none}}@media(min-width:900px){.book-spread{flex-direction:row;padding:10px}.book-leaf.left{border-radius:10px 0 0 10px;padding:40px 24px 20px;box-shadow:inset -18px 0 24px -16px #50321459}.book-leaf.right{border-radius:0 10px 10px 0;border-top:none;padding:40px 34px 24px;gap:14px;justify-content:center;box-shadow:inset 18px 0 24px -16px #50321459}.book-leaf.right h2{font-size:44px}.book-how{font-size:21px}.book-does{font-size:19px}.book-chips{margin-top:6px}.book-shape{width:min(220px,30vh);height:min(220px,30vh)}.book-ribbons{justify-content:center}}.book-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:linear-gradient(#140f33,#2b1f5c 60%,#3d2a73);display:flex;justify-content:center}.book-overlay .book-page{width:100%;margin:0 auto;padding:12px}html[data-theme] .book-overlay .info-page:before{display:none}.book-overlay .info-page>*{animation:none}.slab-section{display:flex;flex-direction:column;gap:6px}.slab-section h3{margin:6px 0 0;padding-left:10px;border-left:5px solid #ffd24d;font-family:var(--title, inherit);font-weight:400;font-size:15px;letter-spacing:.02em;color:#ffd24d}.slab{display:grid;grid-template-columns:1fr auto;grid-template-areas:"label value" "ctrl ctrl" "hint hint";align-items:center;gap:4px 10px;padding:8px 10px 8px 12px;background:#24213a;border:3px solid #1d1b2e;border-radius:12px;box-shadow:inset 0 -3px #00000040}.slab-label{grid-area:label;font-family:var(--title, inherit);font-size:18px;letter-spacing:.04em;color:#fffaf0}.slab-track,.slab-choice{grid-area:ctrl}.slab-value{grid-area:value;min-width:64px;padding:2px 8px;text-align:right;font-family:var(--title, inherit);font-weight:400;font-size:22px;color:#fffaf0;background:#141226;border:2px solid #1d1b2e;border-radius:8px;font-variant-numeric:tabular-nums}.slab-value small{margin-left:2px;font-size:13px;color:#9aa3c7}.slab-hint{grid-area:hint;margin:0;font-size:12px;line-height:1.3;color:#9aa3c7}.slab-ends{display:flex;justify-content:space-between;margin-top:2px}.slab-ends small{font-size:10px;font-weight:800;letter-spacing:.02em;color:#8a83ad}.slab input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:30px;margin:0;background:transparent;cursor:pointer}.slab input[type=range]::-webkit-slider-runnable-track{height:14px;border:2.5px solid #1d1b2e;border-radius:7px;background:linear-gradient(90deg,#ff9f1c var(--fill),#141226 var(--fill))}.slab input[type=range]::-moz-range-track{height:9px;border:2.5px solid #1d1b2e;border-radius:7px;background:linear-gradient(90deg,#ff9f1c var(--fill),#141226 var(--fill))}.slab input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:28px;margin-top:-9px;border:3px solid #1d1b2e;border-radius:7px;background:#fffaf0;box-shadow:0 3px #1d1b2e}.slab input[type=range]::-moz-range-thumb{width:18px;height:22px;border:3px solid #1d1b2e;border-radius:7px;background:#fffaf0;box-shadow:0 3px #1d1b2e}.slab:has(.slab-choice){grid-template-areas:"label ctrl" "hint hint"}.slab-choice{display:flex;justify-self:end;border:3px solid #1d1b2e;border-radius:10px;overflow:hidden}html[data-theme] .slab-choice button,.slab-choice button{width:auto;min-width:64px;margin:0;padding:7px 12px;border:none;border-radius:0;box-shadow:none;transform:none;font-size:15px;background:#141226;color:#9aa3c7}html[data-theme] .slab-choice button+button{border-left:3px solid #1d1b2e}html[data-theme] .slab-choice button.on{background:#ffd24d;color:#1d1b2e}.slab-section{container-type:inline-size}@container (min-width: 460px){.slab{grid-template-columns:120px 1fr auto;grid-template-areas:"label ctrl value" "hint hint hint"}.slab:has(.slab-choice){grid-template-columns:120px 1fr;grid-template-areas:"label ctrl" "hint hint"}.slab-hint{padding-left:130px}}.menu-card.pause-menu.dm{gap:8px}.pause-menu .pm-title,.settings-panel .pm-title{text-align:center;font-family:var(--title, inherit);font-weight:400;font-size:30px;color:#fffaf0;-webkit-text-stroke:4px #1d1b2e;paint-order:stroke fill}.home .settings-panel{width:min(400px,calc(100vw - 24px));gap:6px;padding:12px;background:var(--panel, #2b2840);border:4px solid #1d1b2e;border-radius:18px;box-shadow:0 6px #1d1b2e}@media(min-width:900px){.menu-card.pause-menu.dm{max-width:540px}}html[data-theme] .dm .dm-section{margin:10px 0 2px;padding-left:10px;border-left:5px solid #ffd24d;font-family:var(--title, inherit);font-weight:400;font-size:15px;letter-spacing:.02em;color:#ffd24d}.dm .dm-rows.slab-section{gap:6px}.slab .dm-times{display:flex;flex-wrap:wrap;gap:4px 12px;color:#9aa3c7}.slab .dm-times b{color:#fffaf0}html[data-theme] .dm .dm-section{border-left:none;padding-left:0}html[data-theme] .tut-card.book-card{position:relative;background:radial-gradient(ellipse at 50% 35%,#fff8e6,#f3e2b8);color:inherit;border:4px solid #1d1b2e;border-radius:14px;box-shadow:0 0 0 6px #3b2a1f,0 0 0 9px #1d1b2e,0 10px 0 6px #1d1b2e;overflow:hidden;perspective:1400px}html[data-theme] .book-card .tut-head{background:none;justify-content:center;padding:30px 14px 0}html[data-theme] .book-card .tut-head .tut-title{color:currentColor;font-family:var(--title, inherit);font-weight:400;font-size:28px;-webkit-text-stroke:1.5px #1d1b2e;paint-order:stroke fill}html[data-theme] .book-card:not([style]) .tut-head .tut-title{color:#2a2238;-webkit-text-stroke:0}html[data-theme] .book-card .tut-head .tut-count{display:none}html[data-theme] .book-card .tut-body{color:inherit}html[data-theme] .book-card :is(.tut-tip,.tut-demo figcaption,.tut-basics,.tut-hint){color:#3d3350;text-shadow:none}html[data-theme] .book-card .tut-hand{color:#6a5a40}html[data-theme] .book-card .tut-demo img{border:2.5px solid #1d1b2e}html[data-theme] .book-card .icon-legend{color:#2a2238}.book-card>.book-chapter{z-index:2}html[data-theme] .book-card .tut-body>.row{background:#f3e2b8}.book-chapter{text-transform:none;letter-spacing:.02em;font-family:var(--title, inherit);font-weight:400;font-size:15px;padding:2px 12px 4px;border-radius:0 0 6px 6px}.book-chips span{border-radius:6px;padding:4px 10px;box-shadow:0 3px #1d1b2e}.slab-ends small{text-transform:none;letter-spacing:0;font-size:12px;font-weight:700}.slab-section h3,html[data-theme] .dm .dm-section{text-transform:none;letter-spacing:.03em;font-size:18px}.book-sign-cap{display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:800;font-size:13px}.book-signs.wrap{max-width:360px;gap:10px}.book-cycle-wrap{display:flex;flex-direction:column;align-items:center;gap:14px}.book-cycle{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;max-width:420px}.book-cycle-item{display:flex;align-items:center;gap:4px}.book-cycle span{display:flex;flex-direction:column;align-items:center;font-weight:800;font-size:13px}.book-cycle span:not(:last-child):after{content:none}.book-arrow{font-size:26px;color:#6a5a40;line-height:1}.book-arrow.back{font-family:var(--title, inherit);font-weight:400;font-size:16px;color:#4dabf7}.book-push-sign{position:relative;display:grid;place-items:center}.book-push-sign .book-sign{transform:scale(1.1);box-shadow:0 10px #1d1b2e40;animation:push-at-you 1.4s ease-in-out infinite}.book-push-lines{position:absolute;top:-18px;right:-18px;bottom:-18px;left:-18px;border:4px dashed currentColor;border-radius:22px;opacity:.6;animation:push-lines 1.4s ease-out infinite}@keyframes push-at-you{0%,30%{transform:scale(.85)}60%,to{transform:scale(1.15)}}@keyframes push-lines{0%,40%{transform:scale(.8);opacity:0}70%{opacity:.7}to{transform:scale(1.15);opacity:0}}.book-parry{position:relative;display:flex;gap:6px;padding:26px}@keyframes book-parry{0%{transform:translate(-50%,-50%) scale(2);opacity:0}10%{opacity:1}70%{transform:translate(-50%,-50%) scale(1.05);border-color:#ff9f1c;box-shadow:none}72%,90%{transform:translate(-50%,-50%) scale(1);border-color:#fff;border-width:8px;box-shadow:0 0 22px #fff,inset 0 0 22px #fff;opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1)}}@media(prefers-reduced-motion:reduce){.book-push-sign .book-sign,.book-push-lines{animation:none}}html[data-theme] .tut-body>.tut-nav{justify-content:center;gap:18px;color:#2a2238;font-weight:800}html[data-theme] .tut-body>.tut-nav>button,html[data-theme] .tut-body>.tut-nav>button:last-child{width:56px;min-width:56px;height:44px;font-size:18px;padding:0}.pm-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin-top:8px}html[data-theme] .pm-tiles .pm-tile{width:100%;min-width:0;height:78px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:16px;border-radius:10px}.pm-tile svg{width:26px;height:26px;stroke-width:2.5}html[data-theme] .pm-tile.go{background:#5ad46a;color:#1d1b2e}html[data-theme] .pm-tile.stop{background:#ff5470;color:#fff}.book-signs.wrap{max-width:330px;gap:8px 10px}.book-leaf.left{justify-content:safe center}@media(max-width:899px){.book-sign-cap .book-sign{width:62px!important;height:62px!important}.book-cycle .book-sign{width:48px!important;height:48px!important}}.book-cycle .book-cycle-item{flex-direction:row;align-items:center;gap:2px}.book-cycle .book-cycle-item .book-arrow{margin-bottom:16px}.book-cycle{flex-wrap:nowrap}@media(max-width:899px){.book-cycle .book-sign{width:44px!important;height:44px!important}.book-arrow{font-size:18px}.book-cycle span small{font-size:11px}}.book-cycle{flex-wrap:wrap}.book-arrow.back{flex-basis:100%;text-align:center;margin-top:2px}@media(max-width:899px){.book-cycle{gap:0 2px}.book-cycle .book-sign{width:42px!important;height:42px!important}.book-cycle .book-arrow{font-size:15px}}.book-cycle-wrap{width:100%}.book-cycle{max-width:none}@media(max-width:899px){.book-cycle{gap:0}.book-cycle .book-cycle-item{gap:1px}}.book-cycle>.book-arrow:not(.back){margin:0 10px 16px;font-size:24px}.book-spread{animation:none}.book-leaf>*{animation:book-ink .2s ease-out backwards}@keyframes book-ink{0%{opacity:0}}.book-hand{object-fit:contain;display:block}.book-two-hands{display:flex;align-items:flex-end;gap:10px}.book-back-hand{opacity:.85;filter:saturate(.8);margin-bottom:8px}.book-parry{align-items:center}.book-parry{gap:0}.book-parry .book-hand{margin:0 -8px}.book-parry .book-hand{margin:0 2px}.book-parry .book-hand{margin:0 6px}.book-parry-hand{position:relative;display:grid;place-items:center;width:110px;height:120px}.book-parry-hand:after{content:"";position:absolute;left:50%;top:52%;width:104px;aspect-ratio:1;border:6px solid #7fd8ff;border-radius:50%;transform:translate(-50%,-50%);animation:book-parry-flash 1.6s ease-out infinite}@keyframes book-parry-flash{0%,45%{opacity:0;transform:translate(-50%,-50%) scale(.85)}55%{opacity:1;transform:translate(-50%,-50%) scale(1)}85%{opacity:1}to{opacity:0}}.book-parry .book-hand{margin:0}.book-parry{padding:10px;gap:4px}.book-power-demo{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:280px;text-align:center}.book-power-demo .power-chips{justify-content:center}.book-power-demo .power-chips span{font-size:20px;padding:4px 10px}.book-power-demo small{color:#4a3f5c;font-size:13px;font-weight:700}.book-draw-demo{position:relative}.book-fingertip{position:absolute;width:0;height:0}.book-fingertip img{position:absolute;left:-24px;top:-6px;width:39px;height:auto}@media(prefers-reduced-motion:reduce){.book-parry-hand:after{animation:none;opacity:1}}.book-fingertip img{top:-10px}.book-fingertip img{width:56px;left:-32.8px;top:-6.5px}.book-pusher{display:inline-block;animation:push-at-you 1.4s ease-in-out infinite}.book-pusher .book-sign{animation:none;transform:none}@media(prefers-reduced-motion:reduce){.book-pusher{animation:none}}.book-draw-demo .book-shape{width:100%!important;height:100%!important}@media(min-width:900px){.book-draw-demo{width:200px!important;height:200px!important}}html[data-theme] .book-home{display:inline-flex;align-items:center;gap:6px;background:#ff5470;color:#fff;padding:6px 14px 6px 10px;font-size:15px}.book-home svg{width:20px;height:20px;stroke-width:2.5}.book-draw-demo .book-shape{position:relative;z-index:1}.book-draw-demo .book-fingertip{z-index:2}.book-parry .book-pusher{animation:parry-push 1.6s ease-in-out infinite}.book-parry-hand:after{animation:parry-ring 1.6s ease-in-out infinite}@keyframes parry-push{0%,25%{transform:scale(.85)}50%,85%{transform:scale(1.15)}to{transform:scale(.85)}}@keyframes parry-ring{0%,48%{opacity:0;transform:translate(-50%,-50%) scale(.95)}52%,85%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}to{opacity:0;transform:translate(-50%,-50%) scale(1)}}.book-parry-hand:after{border-color:#fff;box-shadow:0 0 0 3px #1d1b2e,inset 0 0 0 3px #1d1b2e,0 0 18px 4px #ffffffe6}.book-status-list{display:flex;flex-direction:column;gap:10px;width:100%;max-width:420px}.book-status-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.book-status-grid button{all:unset;box-sizing:border-box;display:grid;place-items:center;padding:5px;border:2px solid transparent;border-radius:10px;background:#2a22380f;cursor:pointer}.book-status-grid button.on{border-color:#2a2238;background:#2a223824}.book-status-grid .st-icon{width:30px;height:30px}.book-status-grid .st-icon svg{width:100%;height:100%}.book-lockouts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;text-align:left;color:#2a2238}.book-lockouts li{display:flex;flex-direction:column}.book-lockouts b{font-size:14px;line-height:1.2}.book-lockouts em{font-style:normal;font-size:12.5px;color:#7a4a00;margin-left:4px}.book-lockouts small{font-size:12.5px;line-height:1.25;color:#6a5a80;font-weight:700}.book-status-note{font-size:12.5px;line-height:1.3;color:#6a5a80;font-weight:700;text-align:center}.book-status-group{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#6a5a80}.hp-box{display:inline-flex;align-items:baseline;gap:4px}.hp-box input{width:4.2ch;padding:2px 4px;font:inherit;font-family:var(--title, inherit);font-size:18px;text-align:center;color:#fffaf0;background:#141226;border:2px solid #1d1b2e;border-radius:6px;-moz-appearance:textfield}.hp-box input::-webkit-outer-spin-button,.hp-box input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.hp-box b{font-size:14px}@media(pointer:coarse){.hp-box input{font-size:20px;padding:6px 4px}}@media(max-width:899px){.book-leaf.left.status-left{flex:0 0 auto;padding-bottom:12px}.book-leaf.right.status-right{flex:1 1 auto}.book-status-grid{gap:4px}.book-status-grid button{padding:3px}.book-status-grid .st-icon{width:26px;height:26px}}.dm-body{will-change:scroll-position;overscroll-behavior:contain;contain:paint}html[data-theme] .lobby-card .room-hp,html .room-hp-chip{flex:none}html[data-theme] .lobby-card .room-seat{flex-wrap:nowrap}html .room-hp-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:8px;cursor:pointer;background:#141226;border:2px solid #1d1b2e;color:#fffaf0;white-space:nowrap;transition:border-color .12s,background .12s}html .room-hp-chip:hover{background:#1e1b36;border-color:#fffaf040}html .room-hp-chip:focus-within{background:#1e1b36;border-color:#fffaf08c}html .room-hp-chip .hp-box{gap:4px;align-items:baseline;cursor:inherit}html .room-seat .room-hp-chip .hp-box input{flex:none;min-width:0;width:3.8ch;padding:0 1px;font-size:16px;line-height:1.2;text-align:left;caret-color:var(--main);background:transparent;border:0;outline:none;box-shadow:none;cursor:inherit}html .room-seat .room-hp-chip .hp-box input:focus,html .room-seat .room-hp-chip .hp-box input:focus-visible{outline:none;cursor:text}html[data-theme] .room-hp-chip .hp-box b{min-width:0;font-size:13px;line-height:1}html .room-hp-chip>span{font-size:12px;line-height:1;opacity:.55}html .room-hp-chip:hover>span{opacity:.9}html .room-hp-chip:focus-within>span{opacity:0}html .room-hp-range{font-size:13px;color:#fffaf0;opacity:.8}.corner-bar .menu-btn{position:static}.corner-bar .forfeit-btn{position:relative;width:44px;height:44px;min-width:0;padding:0!important;border-radius:10px;display:flex;align-items:center;justify-content:center}html[data-theme] .corner-bar .forfeit-btn,.corner-bar .forfeit-btn{background:var(--foe);color:#fff}html[data-theme] .corner-bar .forfeit-btn:hover,.corner-bar .forfeit-btn:hover{background:color-mix(in srgb,var(--foe) 80%,#fff)}.corner-bar .forfeit-btn svg{width:22px;height:22px}.forfeit-count{position:absolute;top:-8px;right:-8px;padding:1px 5px;border-radius:8px;font-size:11px;line-height:1.3;background:#141226;color:#fffaf0}html[data-theme] .pause-menu button.btn-forfeit,.pause-menu button.btn-forfeit{background:var(--foe);color:#fff}html[data-theme] .pause-menu button.btn-stay,.pause-menu button.btn-stay{background:#3fbf6a;color:#fff}.sig-shock{position:absolute;left:50%;top:58%;width:40px;height:16px;margin:-8px -20px;border-radius:50%;border:2px solid rgba(200,150,100,.8);box-shadow:0 0 6px #ff8c3c99;opacity:0;animation:ripple .9s ease-out;--end: 12}.p.chunk{border-radius:30% 45% 35% 50%;background:#5a3a24;box-shadow:inset -3px -3px #2a180f,0 0 6px #ff7a2a;animation-name:chunk}@keyframes chunk{0%{opacity:1;transform:translate(0) rotate(0)}55%{opacity:1;transform:translate(calc(var(--dx) * .8),var(--dy)) rotate(calc(var(--rot) * .6))}to{opacity:0;transform:translate(var(--dx),calc(var(--dy) + 160px)) rotate(var(--rot))}}.fx-lava{background:linear-gradient(to top,#8a1d06,rgba(255,90,20,.9) 12%,rgba(255,160,40,.45) 32%,transparent 55%);animation-duration:2s}.p.glob{left:calc(50% + var(--x));top:auto;bottom:4%;border-radius:50% 50% 45% 45%;background:radial-gradient(circle at 40% 35%,#ffe08a,#ff7a1f 45%,#8a1d06);box-shadow:0 0 10px #ff5a14;animation:glob var(--t) cubic-bezier(.3,0,.7,1)}@keyframes glob{0%{opacity:1;transform:translateY(0) scale(.6)}50%{opacity:1;transform:translateY(calc(var(--h) * -1)) scale(1)}to{opacity:0;transform:translateY(0) scale(.8)}}.fx-sunburst{position:absolute;left:50%;top:4%;width:70%;aspect-ratio:1;margin-left:-35%;border-radius:50%;opacity:0;background:radial-gradient(circle,#fffbe0 0 14%,#ffd23d 16%,transparent 30%),repeating-conic-gradient(rgba(255,220,90,.75) 0 8deg,transparent 8deg 24deg);-webkit-mask:radial-gradient(circle,#000 25%,transparent 70%);mask:radial-gradient(circle,#000 25%,transparent 70%);animation:sunburst 1.8s ease-out}@keyframes sunburst{0%{opacity:0;transform:translateY(-30%) rotate(0) scale(.6)}25%{opacity:1;transform:translateY(0) rotate(30deg) scale(1)}75%{opacity:1}to{opacity:0;transform:rotate(90deg) scale(1.1)}}.fx-beam{position:absolute;top:0;bottom:0;left:var(--x);width:9%;opacity:0;background:linear-gradient(to bottom,rgba(255,246,194,.85),rgba(255,210,61,.35) 70%,transparent);filter:blur(3px);animation:beam 1.2s ease-out}@keyframes beam{0%{opacity:0;transform:scaleY(0);transform-origin:top}30%{opacity:1;transform:scaleY(1)}to{opacity:0}}.bolt .wobble{transform-box:view-box;animation:proj-wobble .26s ease-in-out infinite alternate}@keyframes proj-wobble{0%{transform:scale(1.06,.94)}to{transform:scale(.94,1.06)}}.p.mote{left:calc(50% + var(--x));top:80%;border-radius:50%;background:#fff6c2;box-shadow:0 0 10px #ffd23d;animation:rise var(--t) ease-out}.pause-menu.dm>.pm-tiles{margin-top:0}@media(max-width:600px){html[data-theme] .pause-menu .pm-tiles .pm-tile{height:64px;font-size:15px}.pm-tile svg{width:22px;height:22px}}.chevron{width:1.3em;height:1.3em;display:block;margin:auto}@media(max-width:800px),(pointer:coarse){html[data-theme] .tutorial>.tut-bar{display:none}html[data-theme] .tut-body>.row,html[data-theme=cartoon] .tut-body>.row{padding-right:0}}@container (max-height: 560px){html[data-theme] .tutorial{padding-bottom:58px}html[data-theme] .tutorial .tut-card{flex:1 1 0;height:auto;max-height:none;width:min(420px,100%)}}.lobby-screen{align-items:flex-start}.lobby-card{margin:auto}.room-seat-name{display:inline-flex;align-items:center;gap:6px}.you-tag{font-style:normal;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:1px 6px;border-radius:6px;background:#ffd24d;color:#1d1b2e}html[data-theme] .lobby-card .room-seat.mine{box-shadow:inset 0 0 0 2px #ffd24d}@media(max-width:600px){.room-seat-name{flex-direction:column;align-items:flex-start;gap:1px}.you-tag{font-size:10px;padding:0 5px}}@media(max-width:800px)and (orientation:portrait){.result-banner{top:20%}.result-actions{top:32%;flex-wrap:nowrap;gap:8px}html[data-theme] .result-actions button{width:auto;min-width:0;padding:10px 12px;font-size:15px}}html[data-theme] .duel .fighter{gap:5px}html[data-theme] .duel .fighter-name{min-height:18px}.fighter-label{min-width:0;overflow:hidden;text-overflow:ellipsis}html[data-theme] .duel .fighter-label{font-size:13px}html[data-theme] .duel .team-card .fighter-label{font-size:12px}.hp-count{margin-left:auto;flex:none;white-space:nowrap;font-family:var(--title, inherit);font-size:14px;letter-spacing:.03em;color:#fffaf0;-webkit-text-stroke:3px #1d1b2e;paint-order:stroke fill}.hp-count small{font-size:.8em;margin-right:4px;opacity:.85}.hp-count .armor-text{margin-left:4px}.team-card .hp-count{font-size:13px}html[data-theme] .duel .hp-bar{height:30px;container:hpbar / inline-size}html[data-theme] .duel .team-card .hp-bar{height:26px}html[data-theme] .duel .fighter>.hp-bar{margin-bottom:3px}html[data-theme] .hp-bar.charged{box-shadow:0 0 0 2px var(--charge),0 0 6px 0 var(--charge)}.hp-charge{position:absolute;right:10px;top:0;bottom:0;display:flex;align-items:center;z-index:1;pointer-events:none;white-space:nowrap;font-family:var(--title, inherit);font-size:17px;letter-spacing:.05em;text-transform:uppercase;color:#fff;-webkit-text-stroke:4px #1d1b2e;paint-order:stroke fill}.team-card .hp-charge{right:7px;font-size:14px;-webkit-text-stroke:3.5px #1d1b2e}.hp-charge>span{display:none}.hp-charge>.w-full{display:inline}@container hpbar (max-width: 299px){.hp-charge.len-s>.w-full{display:none}.hp-charge.len-s>.w-short{display:inline}}@container hpbar (max-width: 339px){.hp-charge.len-m>.w-full{display:none}.hp-charge.len-m>.w-short{display:inline}}@container hpbar (max-width: 379px){.hp-charge.len-l>.w-full{display:none}.hp-charge.len-l>.w-short{display:inline}}@container hpbar (max-width: 269px){.hp-charge.combo>span{display:none!important}.hp-charge.combo>.w-tiny{display:inline!important}}@container hpbar (max-width: 199px){html[data-theme] .duel .hp-charge.combo{font-size:14px;-webkit-text-stroke-width:3.5px}}.team-card .hp-charge.combo>span{display:none!important}.team-card .hp-charge.combo>.w-tiny{display:inline!important}.duel .fighter-status{display:flex;flex-direction:column;gap:4px}.status-slot:empty,.power-grid:empty{display:none}.status-slot>.status-row{flex-wrap:wrap;justify-content:flex-start;margin-left:0;gap:3px}.status-slot .st-icon{width:22px;height:22px}.status-slot .st-icon svg{width:14px;height:14px}.team-card .status-slot .st-icon{width:20px;height:20px}.team-card .status-slot .st-icon svg{width:13px;height:13px}.power-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:24px;gap:4px;width:100%;max-width:380px;box-sizing:border-box;pointer-events:none}.team-card .power-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.power-grid span{display:flex;align-items:center;justify-content:center;gap:2px;border-radius:5px;border-left:4px solid var(--el);background:#0000008c;color:#fff;font-family:var(--title, inherit);font-size:15px;letter-spacing:.03em;white-space:nowrap;-webkit-text-stroke:3px #1d1b2e;paint-order:stroke fill}.team-card .power-grid span{font-size:14px}.power-grid span b{font-weight:inherit}.power-grid .power-shield{width:12px;height:12px}.side-hud .status-strip{min-height:0}.side-hud .hud-row:empty{display:none}.duel-side.you .side-hud>.hud-row>.status-strip{flex:1 1 auto}.team-card.foe .hud-row{min-width:0}.duel .enemy-canvas{top:var(--hud-live, 100px);height:auto}@media(max-height:500px)and (orientation:landscape){html[data-theme] .duel .side-hud{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:20px 24px auto auto;gap:3px 10px;align-items:center;padding:5px 10px 6px}.duel .side-hud>.fighter,.duel .side-hud .fighter-name{display:contents}.duel .side-hud .fighter-label{grid-row:1;grid-column:1;min-width:0}.duel .side-hud .hp-count{grid-row:1;grid-column:2;margin-left:0}.duel .side-hud .hp-bar{grid-row:2;grid-column:1 / -1;min-width:0}.duel .side-hud .fighter-status{grid-row:3;grid-column:1 / -1}.duel .side-hud>.hud-row{grid-row:4;grid-column:1 / -1;justify-self:start;min-width:0;max-width:100%}.duel .side-hud>.hud-row .sub-line{white-space:nowrap;font-size:13px}html[data-theme] .team-card.foe .side-hud{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:22px 26px auto;gap:3px 6px}.team-card.foe .side-hud .hp-count{grid-row:1;grid-column:2}.team-card.foe .side-hud .hp-bar{grid-row:2;grid-column:1 / -1}.team-card.foe .side-hud .fighter-status{grid-row:3;align-self:start}.team-card.foe .side-hud>.hud-row{grid-row:4}}html[data-theme] .duel .duel-side>.side-hud>.fighter{--bar-h: clamp(30px, 4.8vmin, 54px);display:grid;grid-template-columns:max(110px,calc(50% - 6px)) auto minmax(0,1fr);grid-template-areas:"name name name" "bar hp status";gap:4px 10px;align-items:center}.duel .duel-side>.side-hud>.fighter>.fighter-name{display:contents}html[data-theme] .duel .duel-side>.side-hud>.fighter .fighter-label{grid-area:name;min-width:0}html[data-theme] .duel .duel-side>.side-hud>.fighter>.hp-bar{grid-area:bar;align-self:start;height:var(--bar-h);min-width:0;margin:0}html[data-theme] .duel .duel-side>.side-hud>.fighter .hp-count{grid-area:hp;align-self:start;margin:0;display:flex;align-items:center;height:var(--bar-h)}html[data-theme] .duel .duel-side>.side-hud>.fighter>.fighter-status{grid-area:status;align-self:start;min-width:0;min-height:var(--bar-h);justify-content:center}.duel .duel-side>.side-hud>.fighter .status-slot>.status-row{flex-wrap:wrap}html[data-theme] .duel .duel-side>.side-hud>.fighter .power-grid{display:flex;flex-wrap:wrap;gap:4px;max-width:none}.duel .duel-side>.side-hud>.fighter .power-grid span{height:clamp(24px,3.4vmin,38px);padding:0 6px}html[data-bar-side=right] .duel .duel-side>.side-hud>.fighter{grid-template-columns:minmax(0,1fr) auto max(110px,calc(50% - 6px));grid-template-areas:"name name name" "status hp bar"}html[data-bar-side=right] .duel .duel-side>.side-hud>.fighter .fighter-label{justify-self:end}html[data-bar-side=right] .duel .duel-side>.side-hud>.fighter>.fighter-status{justify-self:end}html[data-bar-side=right] .duel .duel-side>.side-hud>.fighter .status-slot>.status-row,html[data-bar-side=right] .duel .duel-side>.side-hud>.fighter .power-grid{justify-content:flex-end}html[data-theme] .duel .team-card .fighter-status{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px}html[data-theme] .duel .team-card .power-grid{display:flex;flex-wrap:wrap;gap:4px;width:auto;max-width:none}.duel .team-card .power-grid span{height:clamp(22px,3vmin,34px);padding:0 5px}html[data-theme] .duel .duel-side.you>.side-hud>.hud-row{position:absolute;top:14px;right:16px;height:clamp(18px,3vmin,34px);display:flex;align-items:center;max-width:45%}html[data-bar-side=right] .duel .duel-side.you>.side-hud>.hud-row{right:auto;left:16px}.duel .duel-side.you>.side-hud>.hud-row .sub-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html[data-theme] .duel .duel-side.you>.side-hud>.fighter .fighter-label{justify-self:start;max-width:52%;white-space:nowrap}html[data-bar-side=right] .duel .duel-side.you>.side-hud>.fighter .fighter-label{justify-self:end}@media(max-width:600px){html[data-theme] .duel .duel-side.you>.side-hud>.hud-row{top:8px;right:10px}html[data-bar-side=right] .duel .duel-side.you>.side-hud>.hud-row{right:auto;left:10px}}@media(max-height:500px)and (orientation:landscape){html[data-theme] .duel .duel-side>.side-hud{display:flex;flex-direction:column;align-items:stretch;gap:4px}html[data-theme] .duel .duel-side>.side-hud>.fighter{gap:3px 8px}html[data-theme] .duel .duel-side.you>.side-hud>.hud-row{top:5px;right:10px}html[data-bar-side=right] .duel .duel-side.you>.side-hud>.hud-row{right:auto;left:10px}}.dummy-dock{display:flex;align-items:center;gap:8px}.dock-toggle{width:34px;min-width:0;height:34px;padding:0!important;border-radius:9px;display:flex;align-items:center;justify-content:center;opacity:.85}.dock-toggle svg{width:18px;height:18px}.pool-card-wrap{display:flex;flex-direction:column}.pool-el .pool-time{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:4px;margin-top:-2px;padding:4px 0;border-radius:0 0 8px 8px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--text);background:color-mix(in srgb,var(--ink, #000) 35%,transparent)}.pool-el .pool-time svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.pool-el .pool-time:hover{background:var(--main);color:var(--ink, #111)}.pool-el .pool-time.custom{color:var(--main)}.pool-el .pool-time.custom:hover{color:var(--ink, #111)}.speed-pop-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:16px;background:#0000008c}.speed-pop{width:min(320px,100%);display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 18px 16px;border-radius:14px;background:var(--bg);border:3px solid var(--ink, #1d1b2e);box-shadow:0 6px 0 var(--ink, #1d1b2e)}.speed-pop-head{display:flex;align-items:center;gap:10px}.speed-pop-head b{font-family:var(--title, inherit);font-weight:400;font-size:22px;color:var(--text)}.speed-pop-label{font-size:14px;color:var(--sub)}.speed-pop-step{display:flex;align-items:center;gap:10px}html[data-theme] .speed-pop-step>button{width:48px;min-width:0;height:48px;padding:0;font-size:26px;line-height:1}.speed-pop-step label{display:flex;align-items:baseline;gap:4px}.speed-pop-step input{width:84px;padding:8px 6px;box-sizing:border-box;text-align:center;font:inherit;font-size:26px;font-weight:800;color:var(--text);background:#141226;border:3px solid var(--ink, #1d1b2e);border-radius:10px;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.speed-pop-step input::-webkit-inner-spin-button,.speed-pop-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.speed-pop-step label b{font-size:18px;color:var(--sub)}.speed-pop-range{font-size:13px;color:var(--sub)}.speed-pop-actions{display:flex;gap:10px;width:100%}html[data-theme] .speed-pop-actions button{flex:1;width:auto;min-width:0}.enemy-zoom{transform-box:view-box;transform-origin:0 0;transition:transform .3s ease-out}.team-card .enemy-zoom path{vector-effect:non-scaling-stroke}.book-ribbons{position:relative;-webkit-mask:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);mask:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);padding-left:14px;padding-right:14px}@media(min-width:900px){.book-ribbons{justify-content:safe center}}.duel-side.opp:has(>.tutorial)>.side-hud,.duel-side.opp:has(>.tutorial) .team-card .side-hud{visibility:hidden}html[data-theme] :is(.tut-body,.tutorial,.dm-body,.menu-card,.book-leaf.right,.tower-wrap .tower,.lobby-screen){scrollbar-width:none}html[data-theme] :is(.tut-body,.tutorial,.dm-body,.menu-card,.book-leaf.right,.tower-wrap .tower,.lobby-screen)::-webkit-scrollbar{display:none}.more-below:after{content:"";position:sticky;bottom:0;display:block;flex:none;align-self:stretch;height:34px;margin-top:-34px;pointer-events:none;z-index:3;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffd24d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center 60% / 22px no-repeat,linear-gradient(transparent,#0a061859);filter:drop-shadow(0 1px 0 #1d1b2e) drop-shadow(0 0 3px rgba(0,0,0,.6));animation:more-bob 1.2s ease-in-out infinite}@keyframes more-bob{0%,to{background-position:center 55%,0 0}50%{background-position:center 85%,0 0}}.tut-body.more-below:after{bottom:var(--tut-nav-h, 58px)}@media(prefers-reduced-motion:reduce){.more-below:after{animation:none}}:is(.book-card .tut-body,.book-leaf.right).more-below:after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232a2238' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center 60% / 24px no-repeat,linear-gradient(#f3e2b800,#f3e2b8 75%);filter:none}.tut-body.more-below:after{bottom:60px}html[data-theme] .duel .fighter-label{font-size:clamp(13px,2.2vmin,26px)}html[data-theme] .duel .team-card .fighter-label{font-size:clamp(12px,1.9vmin,22px)}html[data-theme] .duel .fighter-name{min-height:clamp(18px,3vmin,34px)}.duel .hp-count{font-size:clamp(14px,2.3vmin,28px)}.duel .team-card .hp-count{font-size:clamp(13px,2vmin,24px)}html[data-theme] .duel .hp-bar{height:clamp(30px,4.8vmin,54px)}html[data-theme] .duel .team-card .hp-bar{height:clamp(26px,4vmin,44px)}.duel .hp-charge{font-size:clamp(17px,2.9vmin,34px)}.duel .team-card .hp-charge{font-size:clamp(14px,2.4vmin,28px)}.duel .status-slot .st-icon{width:clamp(22px,3.4vmin,38px);height:clamp(22px,3.4vmin,38px)}.duel .status-slot .st-icon svg{width:64%;height:64%}.duel .team-card .status-slot .st-icon{width:clamp(20px,3vmin,34px);height:clamp(20px,3vmin,34px)}.duel .power-grid{grid-auto-rows:clamp(24px,3.4vmin,38px);max-width:clamp(380px,52vmin,600px)}.duel .power-grid span{font-size:clamp(15px,2.2vmin,24px)}.duel .team-card .power-grid span{font-size:clamp(14px,2vmin,22px)}.duel .power-grid .power-shield{width:.8em;height:.8em}.duel .side-hud .sub-line{font-size:clamp(13px,2vmin,24px)}.more-above:before{content:"";position:sticky;top:0;display:block;flex:none;align-self:stretch;height:34px;margin-bottom:-34px;pointer-events:none;z-index:3;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 15l6-6 6 6' fill='none' stroke='%23ffd24d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center 40% / 22px no-repeat,linear-gradient(rgba(10,6,24,.35),transparent);filter:drop-shadow(0 1px 0 #1d1b2e) drop-shadow(0 0 3px rgba(0,0,0,.6));animation:more-bob-up 1.2s ease-in-out infinite}@keyframes more-bob-up{0%,to{background-position:center 45%,0 0}50%{background-position:center 15%,0 0}}:is(.book-card .tut-body,.book-leaf.right).more-above:before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 15l6-6 6 6' fill='none' stroke='%232a2238' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center 40% / 24px no-repeat,linear-gradient(#f3e2b8 25%,#f3e2b800);filter:none}@media(prefers-reduced-motion:reduce){.more-above:before{animation:none}}.tower.more-above:before{height:46px;margin-bottom:-46px;background-size:28px,auto;animation-name:more-bob-up-tower}@keyframes more-bob-up-tower{0%,to{background-position:center 75%,0 0}50%{background-position:center 50%,0 0}}.mode-seg{display:inline-flex;padding:3px;gap:3px;border-radius:10px;background:color-mix(in srgb,var(--ink, #000) 35%,transparent)}.mode-seg button{all:unset;cursor:pointer;box-sizing:border-box;min-width:120px;padding:8px 14px;border-radius:7px;text-align:center;font-family:var(--title, inherit);font-size:17px;color:var(--sub)}.mode-seg button:hover{color:var(--text)}.mode-seg button.on{background:var(--main);color:var(--ink, #111);cursor:default}.duo-result{font-family:var(--title, inherit);font-size:17px;text-align:center}.duo-result.won{color:var(--you)}.tower-switch{flex:none}.duo-stage .duo-room{flex:none;display:flex;flex-direction:column;align-items:center;gap:2px}.duo-code{font-family:var(--title, inherit);font-size:20px}.duo-code b{color:var(--main);letter-spacing:.1em;font-weight:400;margin-left:4px}.duo-start{flex:none;display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.duo-start .row{display:flex;gap:6px}.duo-start-row{position:relative;display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.duo-start-row.waiting>:not(.duo-connecting){visibility:hidden}.duo-connecting{position:absolute;top:0;right:0;bottom:0;left:0;display:none;align-items:center;justify-content:center}.duo-start-row.waiting>.duo-connecting{display:flex}.duo-stage .duo-result,.duo-stage .note-line{flex:none}.tower .window.pair{width:86px;display:flex;justify-content:center;gap:0}.tower .window.pair .portrait{width:40px;height:40px}.tower .floor.locked{opacity:.45;cursor:default}.tower .floor:disabled:not(.locked){cursor:default}.tower .floor.locked:hover{border-color:#1d1b2e;border-bottom-color:#7a5534}@media(max-width:600px){.mode-seg button{min-width:100px;font-size:15px;padding:8px 10px}.tower .window.pair{width:72px}.tower .window.pair .portrait{width:34px;height:34px}}@media(max-width:600px){.duo-stage,.solo-stage{gap:6px}html[data-theme] .duo-stage .mode-seg button,html[data-theme] .solo-stage .mode-seg button{min-width:84px;min-height:0;padding:6px 10px;font-size:14px}.duo-stage .duo-room{flex-direction:row;gap:8px;align-items:baseline}.duo-stage .duo-code{font-size:17px}.duo-stage .duo-room .sub-line{font-size:13px}.duo-stage .tower-wrap>.sub-line,.solo-stage .tower-wrap>.sub-line{display:none}html[data-theme] .duo-stage .tower .floor,html[data-theme] .solo-stage .tower .floor{padding:2px 6px;min-height:44px;margin-bottom:4px;gap:6px;border-bottom-width:4px}.duo-stage .tower .window.pair{width:62px;height:36px;border-radius:18px 18px 4px 4px}.duo-stage .tower .window.pair .portrait{width:30px;height:30px}.duo-stage .tower .floor-name,.solo-stage .tower .floor-name{font-size:14px;line-height:1.15}.duo-stage .tower .trait,.solo-stage .tower .trait{font-size:12px;line-height:1.15}.duo-stage .tower .tier-band,.solo-stage .tower .tier-band{margin:2px -10px 4px;padding:1px 0 2px;font-size:14px}.duo-stage .duo-start .cta,.solo-stage>.cta{padding-top:8px;padding-bottom:8px}.solo-stage .tower .window{width:38px;height:38px;border-radius:19px 19px 4px 4px}.solo-stage .tower .portrait{width:32px;height:32px}}html[data-theme] .home>.home-chips,.home>.home-chips{position:absolute;top:12px;right:120px;z-index:3;display:flex;align-items:stretch;gap:8px}html[data-theme] .home-chips>.account-chip,.home-chips>.account-chip{position:relative;width:auto;max-width:58vw;display:flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;font-size:18px;background:#4a4690}.account-chip .portrait{width:34px;height:34px;flex:none;border-radius:7px;border:2px solid var(--ink, #15132e)}.account-chip>span:not(.avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--title, inherit);font-weight:400}.account-card{display:flex;flex-direction:column;gap:12px;width:100%;max-width:460px;margin:0 auto}.account-lead{margin:0;font-size:17px}.account-note{margin:0;color:var(--sub);font-size:14px}.account-error{margin:0;color:var(--foe, #ff5470)}.account-label{font-family:var(--title, inherit);font-weight:400;font-size:19px}.account-card input{min-width:0;padding:9px 10px;font:inherit;font-size:18px;color:var(--text, #fffaf0);background:var(--panel, #2b2840);border:3px solid var(--ink, #15132e);border-radius:8px}.account-row{display:flex;gap:10px}.account-row>*{flex:1}.signin-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;font-family:var(--title, inherit);font-size:21px;text-decoration:none;cursor:pointer;border:3px solid var(--ink, #15132e);border-radius:8px;box-shadow:0 5px 0 var(--ink, #15132e),inset 0 -5px #0000002e,inset 0 4px #ffffff47}.signin-btn svg{width:24px;height:24px;flex:none}.signin-btn.google{background:#fff;color:#15132e}.signin-btn.discord{background:#5865f2;color:#fff}.signin-btn:not(.off):active{transform:translateY(4px);box-shadow:0 1px 0 var(--ink, #15132e)}.signin-btn.off{opacity:.45;cursor:not-allowed}.account-dev{display:flex;flex-direction:column;gap:6px;padding:10px;border:3px dashed #6f6bb8;border-radius:10px}.portrait-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:8px}html[data-theme] .portrait-pick,.portrait-pick{aspect-ratio:1;padding:0;overflow:hidden;border-radius:10px;background:var(--panel, #2b2840)}.portrait-pick .portrait{display:block;width:100%;height:100%}html[data-theme] .portrait-pick.on,.portrait-pick.on{outline:4px solid var(--main, #ffd23f);outline-offset:1px}html[data-theme] .account-save,.account-save{font-size:24px;background:var(--main, #ffd23f);color:var(--ink, #15132e)}html[data-theme] .account-guest,html[data-theme] .account-out,.account-guest,.account-out{background:#5d5a8c}.account-chip .chip-person{width:26px;height:26px;flex:none;margin-left:4px}@media(max-width:700px),(max-width:899px)and (orientation:portrait){.home>.home-chips{flex-direction:column-reverse;align-items:flex-end;gap:12px}html[data-theme] .home-chips>.account-chip,.home-chips>.account-chip{width:46px;height:46px;padding:3px;justify-content:center}.account-chip>span:not(.avatar){display:none}.account-chip .portrait{width:100%;height:100%}.account-chip .chip-person{margin:0}}html[data-theme] .portrait-pick.locked,.portrait-pick.locked{position:relative;cursor:not-allowed;transform:none;box-shadow:none}.portrait-pick.locked .portrait{filter:brightness(0) opacity(.45)!important}.portrait-pick.locked:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:40%;height:40%;background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d9ad6' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")}.play-menu{display:flex;flex-direction:column;gap:14px;width:min(440px,100%)}.play-tabs{display:flex;gap:6px}html[data-theme] .play-tabs button,.play-tabs button{flex:1;padding:8px 0;font-family:var(--title, inherit);font-weight:400;font-size:19px;color:var(--sub);background:#4a4690;border-radius:8px 8px 4px 4px;box-shadow:0 3px 0 var(--ink, #15132e)}html[data-theme] .play-tabs button.on,.play-tabs button.on{color:var(--ink, #15132e);background:var(--main, #ffd23f);transform:translateY(-3px);box-shadow:0 5px 0 var(--ink, #15132e)}.play-panel{display:flex;flex-direction:column;align-items:center;gap:12px}.play-sizes{display:flex;gap:8px;width:100%}html[data-theme] .play-sizes button,.play-sizes button{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;background:var(--panel, #2b2840);box-shadow:0 3px 0 var(--ink, #15132e)}html[data-theme] .play-sizes button.on,.play-sizes button.on{background:#6c63ff;box-shadow:0 5px 0 var(--ink, #15132e)}.play-sizes b{font-family:var(--title, inherit);font-weight:400;font-size:26px}.play-sizes small{font-size:13px;color:#d8d5ff}.play-you{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:3px solid var(--ink, #15132e);border-radius:10px;background:var(--panel, #2b2840)}.play-you .portrait{width:44px;height:44px;flex:none;border-radius:8px;border:2px solid var(--ink, #15132e)}.play-you>span:not(.avatar){display:flex;flex-direction:column}.play-you b{font-family:var(--title, inherit);font-weight:400;font-size:18px}.play-you small{color:var(--sub);font-size:13px}html[data-theme] .play-find,.play-find{width:100%;font-family:var(--title, inherit);font-weight:400;font-size:26px;padding:12px;background:var(--main, #ffd23f);color:var(--ink, #15132e)}.play-line{margin:0;text-align:center}.play-line.dim{color:var(--sub);font-size:14px}.play-searching{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%}.play-clock{font-family:var(--title, inherit);font-weight:400;font-size:40px}html[data-theme] .play-cancel,.play-cancel{background:#5d5a8c}.match-found{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;padding:16px;border:3px solid var(--ink, #15132e);border-radius:14px;background:var(--panel, #2b2840);box-shadow:0 6px 0 var(--ink, #15132e)}.match-vs{display:flex;align-items:center;justify-content:space-around;width:100%}.match-vs>span{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}.match-vs .portrait{width:76px;height:76px;border-radius:14px;border:3px solid var(--ink, #15132e)}.match-vs b{font-family:var(--title, inherit);font-weight:400;font-size:18px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-vs small{color:var(--sub);font-size:13px}.match-vs-mark{font-size:28px!important}.match-bar{width:100%;height:16px;border:3px solid var(--ink, #15132e);border-radius:10px;background:#1d1b33;overflow:hidden}.match-bar>i{display:block;height:100%;background:var(--main, #ffd23f);transition:width .25s linear}.match-buttons{display:flex;gap:10px;width:100%}.match-buttons button{flex:1;font-family:var(--title, inherit);font-weight:400;font-size:22px;padding:10px}html[data-theme] .match-decline,.match-decline{background:var(--foe, #ff5470)}html[data-theme] .match-accept,.match-accept{background:#3fbf55}.rank-badge{flex:none}.rated-card{display:flex;flex-direction:column;align-items:center;gap:4px;width:min(420px,100%);padding:12px;border:3px solid var(--ink, #15132e);border-radius:14px;background:var(--panel, #2b2840);box-shadow:0 5px 0 var(--ink, #15132e)}.rated-tier{display:flex;align-items:center;gap:8px}.rated-title{font-family:var(--title, inherit);font-weight:400;font-size:24px}.rated-diff{font-family:var(--title, inherit);font-weight:400;font-size:32px;-webkit-text-stroke:.12em var(--ink, #15132e);paint-order:stroke fill}.rated-diff.up{color:var(--you, #5ee06b)}.rated-diff.down{color:var(--foe, #ff5470)}.profile,.profile-actions,.profile-back{width:100%;max-width:460px;margin:0 auto}.profile{display:flex;flex-direction:column;gap:12px}.profile-head{display:flex;align-items:center;gap:12px}.profile-head .portrait{width:72px;height:72px;flex:none;border-radius:12px;border:3px solid var(--ink, #15132e)}.profile-name{margin:0;font-family:var(--title, inherit);font-weight:400;font-size:30px;overflow-wrap:anywhere}.profile-badges{display:flex;flex-wrap:wrap;gap:8px}.profile-badge{padding:4px 10px;border:3px solid var(--ink, #15132e);border-radius:8px;background:var(--panel, #2b2840);font-family:var(--title, inherit);font-size:16px}.profile-rank{flex-direction:row;align-items:center;gap:14px}.profile-tier{display:block;font-family:var(--title, inherit);font-weight:400;font-size:24px}.profile-stat{display:flex;justify-content:space-between;gap:12px;font-size:16px}.profile-stat b{text-align:right}.profile-match{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:baseline;font-size:16px}.profile-match small{display:block}.profile-match .win{color:var(--you, #6be38a)}.profile-match .loss{color:var(--foe, #ff5470)}html[data-theme] .profile-link,.profile-link{padding:0;border:0;box-shadow:none;background:none;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}@media(min-width:900px){.profile,.profile-actions,.profile-back{max-width:560px}.profile-stat,.profile-match{font-size:18px}}.fighter{position:relative}.chat-bubble.quick-chat{z-index:4;pointer-events:none;animation:quick-chat-fade 4s ease forwards}@keyframes quick-chat-fade{0%,80%{opacity:1}to{opacity:0}}.quick-chat-lines{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-chat-lines button{font-size:18px}.party-panel{margin-top:12px}.party-title{font-family:var(--title, inherit);font-weight:400;font-size:22px}.party-members{display:flex;gap:14px;flex-wrap:wrap}.party-member{display:grid;grid-template-columns:44px auto;grid-template-rows:auto auto;column-gap:8px;align-items:center}.party-member .portrait{grid-row:span 2;width:44px;height:44px;border-radius:8px;border:3px solid var(--ink, #15132e)}.party-member small{color:var(--sub)}.party-member.away{opacity:.55}.party-code{font-family:var(--title, inherit);font-weight:400;font-size:26px;letter-spacing:.04em}.match-team{display:flex;flex-direction:column;gap:10px;align-items:center}.match-vs.two .portrait{width:52px;height:52px}.match-team>span{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}html[data-theme] .home-chips>.friends-chip,.home-chips>.friends-chip{position:relative;width:auto;background:#2ec4b6;display:flex;align-items:center;gap:6px;padding:5px 12px;font-size:18px}.friends-chip svg{width:22px;height:22px;flex:none}.friends-chip span{font-family:var(--title, inherit);font-weight:400}.friend-unread{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--foe, #ff5470);color:#fff;font-style:normal;font-weight:800;font-size:13px;line-height:22px;text-align:center}.friends-chip .friend-unread{position:absolute;top:-8px;right:-8px;border:2px solid var(--ink, #15132e)}.invite-toast{position:absolute;top:70px;right:12px;z-index:4;max-width:min(340px,calc(100vw - 24px));display:flex;flex-direction:column;gap:8px;padding:12px;border:3px solid var(--ink, #15132e);border-radius:12px;background:var(--sub-alt, #2b2840);box-shadow:0 5px 0 var(--ink, #15132e)}.invite-line{display:flex;flex-direction:column;gap:8px;margin:6px 0}html[data-theme] .friends-yes,.friends-yes{background:var(--main, #ffd23f);color:var(--ink, #15132e)}.friends,.friend-chat,.friends-note{width:100%;max-width:520px;margin:0 auto}.friends{display:flex;flex-direction:column;gap:12px}.friends-add input{flex:2;min-width:0;padding:9px 10px;font:inherit;font-size:18px;color:var(--text, #fffaf0);background:var(--panel, #2b2840);border:3px solid var(--ink, #15132e);border-radius:8px}.friends-note{margin-bottom:8px;padding:8px 12px;border-radius:10px;background:var(--panel, #2b2840);cursor:pointer}.friends-note.bad{color:var(--foe, #ff5470)}.friend-row{display:flex;align-items:center;gap:10px}html[data-theme] .friend-who,.friend-who{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0;border:0;box-shadow:none;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}.friend-who:disabled{cursor:default;opacity:1}.friend-who .portrait{width:44px;height:44px;flex:none;border-radius:8px;border:3px solid var(--ink, #15132e)}.friend-who span{min-width:0;display:flex;flex-direction:column}.friend-who b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-who small{color:var(--sub)}.friend-row.online .friend-who small,.friend-row.queue .friend-who small{color:var(--you, #6be38a)}.friend-row.match .friend-who small{color:var(--main, #ffd23f)}.friend-row.offline .portrait{opacity:.5}.friend-acts{display:flex;gap:6px;flex:none}.friend-acts button{padding:6px 12px;font-size:15px}.friend-chat{display:flex;flex-direction:column;gap:10px}.chat-log{display:flex;flex-direction:column;gap:6px;height:min(52vh,460px);overflow-y:auto;padding:10px;border-radius:12px;background:var(--sub-alt, #2b2840);overscroll-behavior:contain}.chat-msg{align-self:flex-start;max-width:80%;margin:0;padding:7px 12px;border-radius:12px;background:var(--panel, #3a3760);overflow-wrap:anywhere}.chat-msg.mine{align-self:flex-end;background:#4b6bd6;color:#fff}.chat-send input{flex:3;min-width:0;padding:9px 10px;font:inherit;font-size:17px;color:var(--text, #fffaf0);background:var(--panel, #2b2840);border:3px solid var(--ink, #15132e);border-radius:8px}@media(max-width:700px),(max-width:899px)and (orientation:portrait){html[data-theme] .home-chips>.friends-chip,.home-chips>.friends-chip{width:46px;height:46px;padding:3px;justify-content:center}.friends-chip span{display:none}.invite-toast{top:122px;left:auto;right:12px}}.friends-search{display:flex;flex-direction:column;gap:8px}.friends-search input{min-width:0;padding:9px 10px;font:inherit;font-size:18px;color:var(--text, #fffaf0);background:var(--panel, #2b2840);border:3px solid var(--ink, #15132e);border-radius:8px}.search-results{max-height:min(50vh,440px);overflow-y:auto;overscroll-behavior:contain}.setup-ready{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:10px;pointer-events:auto}html[data-theme] .setup-btn,.setup-btn{min-width:160px;font-size:22px;background:var(--main, #ffd23f);color:var(--ink, #15132e)}.setup-line{font-family:var(--title, inherit);font-weight:400;font-size:18px}.friends>.account-row button{white-space:nowrap;font-size:16px;padding-left:8px;padding-right:8px}html[data-theme] .profile-link,.profile-link{display:inline;min-height:0;height:auto;line-height:inherit;vertical-align:baseline;transform:none}.avatar{display:inline-grid;place-items:center;container-type:size;color:#fff;overflow:hidden}.avatar>span{font-family:var(--title, inherit);font-size:58cqh;line-height:1;text-shadow:0 2px 0 rgba(0,0,0,.25)}.setup-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;display:grid;place-items:center;pointer-events:none}.setup-card{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:200px;padding:14px 22px;border:3px solid var(--ink, #15132e);border-radius:16px;background:#15132edb;box-shadow:0 6px 0 var(--ink, #15132e)}.setup-count{font-size:44px;line-height:1}.setup-help{max-width:220px;text-align:center;color:var(--sub);font-size:13px}.setup-who{list-style:none;margin:2px 0 0;padding:0;width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px}.setup-who li{display:flex;justify-content:space-between;gap:14px}.setup-who li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.setup-who li b{color:var(--sub);font-weight:800}.setup-who li.ok b{color:var(--you, #6be38a)}html[data-theme] .room-seat-name,.room-seat-name{flex:1 1 auto;min-width:0}.room-seat-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-seat>.room-hp,.room-seat>.room-ready,.room-seat>.room-hp-chip,.room-seat>:not(.room-seat-name){flex:none}html .room-seat .room-hp,html .room-seat .room-hp-chip{margin-left:auto}html .room-hp-chip{padding:2px 6px;gap:3px}html[data-theme] .room-hp-chip .hp-box b{font-size:11px}html .room-seat .room-hp-chip .hp-box input{width:3.2ch;font-size:15px}.room-ready{margin-left:0;display:inline-grid;place-items:center}.room-ready svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.room-ready svg circle{opacity:.45}.room-ready.on svg circle{opacity:1;fill:color-mix(in srgb,currentColor 22%,transparent)}.room-ready.away{opacity:.6}html[data-theme] .lobby-card .room-seat,.room-seat{flex-wrap:nowrap}html[data-theme] .room-seat-name,.room-seat-name{overflow:hidden}.room-seat-text{display:block;max-width:100%}.ally-minis{display:flex;flex-direction:column;gap:6px;position:absolute;left:12px;bottom:12px;width:min(40%,220px);z-index:1}.duel-side.you:has(>.ally-minis)>.camera{transform:none}.duel-side.you:has(>.ally-minis)>.camera video{transform:scaleX(-1)}.duel-side.you:has(>.ally-minis)>.camera canvas{position:absolute;z-index:2;transform:scaleX(-1)}.ally-mini{position:relative;padding:5px 8px 8px;border-radius:10px;background:color-mix(in srgb,var(--bg) 78%,transparent);overflow:hidden}.ally-mini.out{filter:grayscale(1);opacity:.6}.ally-mini.targeted{box-shadow:inset 0 0 0 3px var(--aim, var(--you))}.am-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px;min-width:0;font-family:var(--title, inherit);font-size:15px}.am-name{min-width:0;max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.am-hp{flex:none;margin-left:auto;color:var(--you)}.am-hp small{font-size:11px;opacity:.8;color:#fffaf0}.am-view{position:relative;height:calc(var(--ally-h, 72px) * 1.3);margin-top:4px;border-radius:7px;overflow:hidden;background:color-mix(in srgb,var(--sub-alt) 70%,transparent)}.am-view .enemy-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;background:none;border-radius:0}.am-view .enemy-canvas svg{width:100%;height:100%;display:block}.am-view .enemy-canvas path{vector-effect:non-scaling-stroke;stroke-width:4px}.am-cast{position:absolute;left:6px;bottom:3px;z-index:1;max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--title, inherit);font-size:15px;-webkit-text-stroke:3px #15132e;paint-order:stroke fill}.am-cast small{color:#fffaf0;font-size:12px}.duel-side.you:has(>.ally-minis) .setup-overlay{align-content:start;padding-top:clamp(48px,8%,90px)}@media(max-width:800px)and (orientation:portrait),(max-height:500px){.ally-minis{left:8px;bottom:8px;width:min(44%,168px)}.ally-mini{padding:4px 6px 6px}.am-head{font-size:13px}.am-name{max-width:9ch}.am-hp small{font-size:10px}.am-view{height:var(--ally-h, 72px);margin-top:3px}.am-cast{font-size:14px}}
