:root{--bg:#172821;--ink:#eee7cf;--muted:#9ca998;--line:#3f5042;--orange:#e7a754;--green:#b9ce79}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}.topbar{max-width:1440px;margin:auto;height:96px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font-size:32px;font-weight:1000;letter-spacing:1px;display:flex;align-items:center;gap:10px}.brandmark{font-size:43px;color:var(--orange)}.edition{font-size:9px;letter-spacing:2px;max-width:90px;line-height:1.6;border-left:1px solid var(--line);padding-left:14px;margin-left:10px}.topright{display:flex;align-items:center;gap:26px}.prototype{font:10px monospace;letter-spacing:1px}.prototype i{display:inline-block;width:6px;height:6px;background:var(--green);margin-right:8px}.iconbtn{border:1px solid var(--line);background:transparent;color:var(--ink);padding:12px;font:10px monospace}main{max-width:1440px;padding:38px 5% 0;margin:auto}.intro{display:flex;align-items:end;justify-content:space-between;margin-bottom:40px}.eyebrow{font:10px monospace;letter-spacing:2px;color:var(--orange);margin:0 0 14px}h1{font-size:clamp(28px,3.6vw,52px);font-weight:1000;line-height:1.08;letter-spacing:-1.8px;margin:0}h1 span{color:var(--orange)}.intro-note{font-size:13px;line-height:1.7;color:var(--muted);padding-left:30px}.sectionline{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}h2{font-size:12px;letter-spacing:1px;margin:0}h2 span{color:var(--orange);margin-right:14px;font:11px monospace}.muted{font:10px monospace;color:var(--muted)}.fighters{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fighter{position:relative;color:var(--ink);background:#21362d;border:1px solid #536048;padding:18px 23px 19px;text-align:left;overflow:hidden;transition:border-color .15s,background .15s}.fighter.selected{border:2px solid var(--orange);padding:17px 22px 18px;background:#2b3a2b}.fighter:hover{background:#2f4030}.cardtop{display:flex;justify-content:space-between;position:relative;z-index:2;font:9px monospace;letter-spacing:1px}.tag{color:#c0cab2}.pick{color:var(--orange)}.fighter-art{height:270px;position:relative;background:radial-gradient(ellipse at 50% 80%,#81885955,transparent 68%)}.fighter-art:after{content:'';position:absolute;height:1px;background:#73806466;bottom:24px;left:4%;right:4%}.fighter-art canvas{position:relative;width:100%;height:100%;object-fit:contain;z-index:1;image-rendering:pixelated}.artnumber{font:bold 170px Arial;position:absolute;right:3%;bottom:0;color:#ffffff05;letter-spacing:-12px}.cardbottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff1b;padding-top:18px}h3{font-size:25px;margin:0 0 7px;letter-spacing:-.7px;font-weight:900}.cardbottom p{margin:0;font-size:11px;color:#b5bda8}.selectarrow{font-size:28px;color:var(--orange)}.launchrow{display:flex;gap:25px;align-items:center;border:1px solid var(--line);padding:17px;margin-top:22px}.arena-card{display:flex;align-items:center;gap:16px;flex:1}.arena-thumb{height:73px;width:116px;background:#ad8c60 url('assets/webp/arena.webp') center/cover;image-rendering:pixelated}.arena-card .eyebrow{font-size:8px;margin-bottom:7px}.arena-card h3{font-size:17px;letter-spacing:0;margin:0 0 7px}.arena-card p,.launchinfo p{font-size:10px;color:var(--muted);margin:0}.botbadge{font:9px monospace;color:var(--green);letter-spacing:1px}.launchinfo p{margin-top:9px}.primary{background:var(--orange);border:0;color:#19251e;padding:20px 26px;font-size:13px;font-weight:900;letter-spacing:1px;min-width:222px;box-shadow:3px 3px 0 #0e1b15}.primary:hover{background:#f3bb72}.primary span{font-size:20px;margin-left:20px}.loadstatus{text-align:right;font:10px monospace;color:var(--muted);height:12px;margin:10px 0}.guide{display:flex;gap:28px;align-items:center;padding:23px 0;border-top:1px solid var(--line)}.guide div{display:flex;align-items:center;gap:9px}.guide b{font:12px monospace;border:1px solid #718067;padding:8px;min-width:28px;text-align:center;color:var(--ink)}.guide span{font:8px monospace;color:var(--muted)}.guide p{font-size:10px;line-height:1.6;margin:0 0 0 auto;color:var(--muted)}footer{border-top:1px solid var(--line);padding:22px 0;color:var(--orange);font:bold 12px monospace;display:flex;justify-content:space-between}footer span{font:8px monospace;letter-spacing:1px;color:#899b88}#match{padding-top:20px}.matchline{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font:9px monospace;letter-spacing:1px;color:var(--muted)}.matchline i{color:var(--orange);margin:0 10px}.textbtn{border:0;background:transparent;color:var(--ink);font:10px monospace;padding:10px 0}.stage{aspect-ratio:1280/600;position:relative;border:2px solid #a5a47a;box-shadow:0 10px 40px #0003;background:#c2a477}.stage canvas{width:100%;height:100%;display:block;image-rendering:pixelated}.hud{position:absolute;inset:24px 28px auto;display:flex;align-items:start;gap:24px;pointer-events:none}.healthpanel{flex:1;min-width:0}.healthlabel{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#fff7dc;text-shadow:1px 2px #192820}.healthlabel strong{font-size:clamp(10px,1.4vw,19px);letter-spacing:1px}.healthlabel span{font:9px monospace;background:#1c3127cc;padding:4px 7px;color:var(--green)}.health{height:20px;background:#352f2b;border:3px solid #efdfb0;box-shadow:2px 3px 0 #29382e;overflow:hidden}.health div{height:100%;background:#b5d274;transition:width .1s}.enemy .health div{background:#e89a61;margin-left:auto}.wins{font-size:17px;letter-spacing:5px;color:#ffe7ab;text-shadow:1px 2px #24352a;margin-top:8px}.enemy .wins{text-align:right}.clock{text-align:center;color:#fff1ce;text-shadow:2px 3px #25332b;min-width:70px}.clock b{font:bold clamp(24px,3.2vw,44px) monospace;line-height:1;display:block}.clock span{font:8px monospace;display:block;margin-top:10px;letter-spacing:1px}.overlay{position:absolute;inset:0;background:#17251f88;display:grid;place-items:center;text-align:center;backdrop-filter:blur(2px)}.overlaybox p{font:11px monospace;color:#f3d298;letter-spacing:2px;margin:14px}.overlaybox h2{font-size:clamp(26px,5vw,70px);font-weight:1000;color:#f6e5ba;text-shadow:4px 4px #24352d}.overlaybox #overbuttons{display:flex;align-items:center;gap:22px;justify-content:center}.controls{display:flex;justify-content:space-between;align-items:center;margin-top:20px;touch-action:none;user-select:none;-webkit-user-select:none;padding-bottom:env(safe-area-inset-bottom)}.movement,.actions{display:flex;gap:12px}.controls button{touch-action:none;user-select:none;-webkit-user-select:none;width:80px;height:76px;background:#2c4031;color:#e7e7c8;border:1px solid #68775a;border-bottom:5px solid #0b1a12;box-shadow:2px 2px 0 #0b1a12;font-size:22px}.controls button:active,.controls button.held{background:#d4b273;color:#19271f;transform:translateY(2px)}.actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#d69d55;color:#1c2b22;border-color:#e9ba75;border-bottom-color:#805c36}.actions .jump{background:#375447;color:#e7ead0;border-color:#77907b;border-bottom-color:#192e23}.actions .kick{background:#b9cd81;border-color:#d4dea6;border-bottom-color:#697b43}.actions small{font:8px monospace;letter-spacing:1px}.actions span{font-size:25px}.controlhint{font:9px monospace;color:var(--muted)}.matchnote{text-align:center;font:9px monospace;color:var(--muted);margin:16px 0 22px}@media(max-width:760px){.topbar{height:74px;padding:0 5%}.brand{font-size:27px}.brandmark{font-size:33px}.edition{display:none}.topright{gap:10px}.prototype{font-size:8px}.iconbtn{font-size:8px;padding:10px}main{padding-top:27px}.intro{margin-bottom:27px}.intro-note{display:none}h1{font-size:32px;letter-spacing:-1px}.eyebrow{font-size:8px;letter-spacing:1.5px}h2{font-size:10px}.muted{font-size:8px}.fighters{gap:10px}.fighter{padding:12px}.fighter.selected{padding:11px}.cardtop{font-size:7px;letter-spacing:0}.tag{max-width:85px}.fighter-art{height:210px}.artnumber{font-size:110px}.cardbottom{padding-top:12px;align-items:start}h3{font-size:18px}.cardbottom p{font-size:9px;line-height:1.6;max-width:125px}.selectarrow{font-size:22px}.launchrow{flex-wrap:wrap;gap:16px;padding:13px}.arena-thumb{width:80px;height:60px}.arena-card{gap:10px}.arena-card h3{font-size:13px}.arena-card p{font-size:8px}.launchinfo{text-align:right}.launchinfo p{font-size:8px}.botbadge{font-size:8px}.launchrow .primary{width:100%;padding:18px}.guide{gap:12px;flex-wrap:wrap;padding:17px 0}.guide div{gap:5px}.guide span{font-size:7px}.guide p{width:100%;text-align:center;margin:0}footer span{font-size:6px;letter-spacing:.3px}#match{padding:12px 0 0}.matchline{padding:0 12px;font-size:7px;margin-bottom:8px}.textbtn{font-size:8px}.hud{inset:10px 12px auto;gap:12px}.health{height:12px;border-width:2px}.healthlabel{margin-bottom:5px}.healthlabel strong{font-size:9px;letter-spacing:0}.healthlabel span{font-size:6px;padding:3px}.clock{min-width:38px}.clock b{font-size:24px}.clock span{font-size:6px;margin-top:4px}.wins{font-size:12px;margin-top:4px}.stage{border-left:0;border-right:0}.controls{padding:0 12px;gap:12px;margin-top:16px}.controls button{width:55px;height:64px}.movement,.actions{gap:8px}.controlhint{display:none}.actions small{font-size:7px}.matchnote{font-size:8px}.overlaybox p{font-size:8px;margin:9px}.overlaybox .primary{min-width:140px;padding:14px}.overlaybox #overbuttons{gap:16px}}@media(max-width:430px){.fighter-art{height:166px}h1{font-size:28px}.cardtop{font-size:6px}h3{font-size:15px}.launchinfo{max-width:100px}.controls button{width:49px;height:60px}.actions,.movement{gap:6px}.controls{gap:7px}.actions span{font-size:22px}}@media(orientation:landscape) and (max-height:600px){body.playing .topbar{display:none}body.playing #match{padding:6px 0 0;max-width:1050px}.matchline{margin:0 12px 5px}.stage{height:calc(100dvh - 116px);width:auto;aspect-ratio:1280/600;margin:auto;max-width:100%}.controls{margin:8px auto 0;max-width:950px;padding:0 14px}.controls button{height:54px;width:65px}.matchnote{display:none}.hud{inset:10px 15px auto}.health{height:14px}.clock b{font-size:28px}.healthlabel strong{font-size:11px}.wins{font-size:11px;margin-top:4px}.clock span{font-size:7px;margin-top:4px}.actions small{font-size:7px}.controls .actions span{font-size:20px}}
/* Every screen fits the viewport; battle controls are layered over the arena. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{height:100dvh;display:flex;flex-direction:column}.topbar{width:100%;height:72px;flex:0 0 72px}#lobby{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;padding-top:22px;padding-bottom:12px;overflow:hidden}.intro{flex:none;margin-bottom:20px}h1{font-size:clamp(24px,3vw,43px)}.selection{flex:1;min-height:0;display:flex;flex-direction:column}.sectionline{flex:none;margin-bottom:12px}.fighters{flex:1;min-height:0}.fighter{min-height:0;display:flex;flex-direction:column}.fighter-art{height:auto;min-height:0;flex:1}.fighter-art canvas{position:absolute;inset:0;width:100%;height:100%}.cardbottom{flex:none;padding-top:12px}.launchrow{flex:none;margin-top:14px;padding:12px}.arena-thumb{height:55px;width:90px}.guide{flex:none;padding:12px 0}.guide p{font-size:9px}.loadstatus{flex:none;margin:7px 0;height:12px}footer{display:none}.intro-note{margin:0}.primary{padding:17px 24px}
body.playing .topbar{display:none}body.playing #match{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;margin:0;padding:0;overflow:hidden;touch-action:none;background:#1d3328;isolation:isolate}body.playing .stage{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;margin:0;border:0;box-shadow:none}body.playing .stage canvas{position:absolute;inset:0;width:100%;height:100%}body.playing .matchline{position:absolute;top:0;left:0;right:0;z-index:5;height:48px;margin:0;padding:env(safe-area-inset-top) max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));background:linear-gradient(#11241bd9,transparent);font-size:9px}body.playing .textbtn{min-height:44px;padding:10px 6px;font-size:10px}body.playing .hud{top:calc(54px + env(safe-area-inset-top));left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));gap:22px}body.playing .healthlabel strong{font-size:clamp(10px,1.5vw,20px)}body.playing .health{height:18px}body.playing .clock b{font-size:36px}body.playing .clock span{font-size:8px}body.playing .wins{font-size:16px}body.playing .controls{position:absolute;z-index:4;bottom:max(20px,env(safe-area-inset-bottom));left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));max-width:none;margin:0;padding:0;pointer-events:none}body.playing .movement,body.playing .actions{pointer-events:auto;gap:12px}body.playing .controlhint,body.playing .matchnote{display:none}body.playing .controls button{width:clamp(58px,8vw,92px);height:clamp(58px,8vw,84px);background:#243d2ad9;border:2px solid #d4d6a77a;border-bottom:4px solid #0b1a12b3;box-shadow:0 3px 12px #15291a55;color:#fff3cd;backdrop-filter:blur(3px)}body.playing .actions button{background:#daa355e6;color:#192a20;border-color:#f9d396a6;border-bottom-color:#805c36}body.playing .actions .jump{background:#315647df;color:#f2eacb;border-color:#b6cbbb9c}body.playing .actions .kick{background:#b5cb7cE6;color:#1c2c20;border-color:#e1eab1ba}body.playing .controls button.held{background:#f0ce8b;transform:translateY(2px);color:#19271f}body.playing .overlay{z-index:3}body.playing .overlaybox{padding:15px 22px;background:#172a21cc;border:1px solid #c7bd8b66;max-width:90%}body.playing .overlaybox h2{font-size:clamp(30px,5vw,66px)}body.playing .overlaybox #overbuttons{flex-wrap:wrap}
@media(max-width:760px){.topbar{height:57px;flex-basis:57px}.brand{font-size:23px}.brandmark{font-size:29px}#lobby{padding:14px 4% 10px}.intro{margin-bottom:15px}h1{font-size:clamp(21px,5.2vw,32px);letter-spacing:-.7px}.eyebrow{font-size:7px;margin-bottom:8px}.fighters{gap:10px}.fighter{padding:11px}.fighter.selected{padding:10px}.cardtop{font-size:7px}.cardbottom p{font-size:8px;line-height:1.4}.cardbottom h3{font-size:clamp(12px,3.2vw,18px);letter-spacing:-.4px;margin-bottom:4px}.selectarrow{font-size:20px}.sectionline{margin-bottom:10px}.sectionline .muted{font-size:7px}.launchrow{gap:10px;padding:10px;margin-top:12px}.arena-card{gap:9px;min-width:0}.arena-thumb{width:65px;height:47px}.arena-card h3{font-size:12px;margin-bottom:4px}.arena-card p{font-size:8px}.launchinfo{max-width:110px}.launchrow .primary{width:100%;min-height:48px;padding:12px}.guide{padding:8px 0 0;justify-content:center;gap:10px}.guide div{display:none}.guide p{font-size:9px;line-height:1.4}.loadstatus{font-size:8px;margin:6px 0 0;height:10px}body.playing .matchline{font-size:7px;height:42px;padding-left:12px;padding-right:12px}body.playing .matchline>span{font-size:6px}body.playing .matchline i{margin:0 3px}body.playing .textbtn{font-size:9px}body.playing .hud{top:calc(48px + env(safe-area-inset-top));left:13px;right:13px;gap:12px}body.playing .health{height:13px}body.playing .clock b{font-size:29px}body.playing .clock{min-width:42px}body.playing .healthlabel span{font-size:7px}body.playing .healthlabel strong{font-size:10px}body.playing .wins{font-size:13px}body.playing .controls{left:12px;right:12px;bottom:max(17px,env(safe-area-inset-bottom))}body.playing .movement,body.playing .actions{gap:7px}body.playing .controls button{width:clamp(48px,12vw,72px);height:clamp(58px,13vw,74px)}body.playing .actions small{font-size:7px}body.playing .actions span{font-size:23px}}
@media(max-height:650px) and (orientation:portrait){.topbar{height:48px;flex-basis:48px}#lobby{padding-top:10px}.intro{margin-bottom:10px}.intro .eyebrow{display:none}h1{font-size:23px}.sectionline{margin-bottom:7px}.cardbottom{padding-top:8px}.cardbottom p,.guide,.arena-card p,.loadstatus{display:none}.launchrow{gap:8px;margin-top:8px;padding:8px}.arena-thumb{height:36px;width:54px}.launchrow .primary{min-height:44px}.launchinfo p{font-size:7px}.cardtop{font-size:6px}}
@media(orientation:landscape) and (max-height:600px){.topbar{height:44px;flex-basis:44px}.brand{font-size:22px}.brandmark{font-size:27px}#lobby{padding:10px 4% 8px;position:relative}.intro{margin-bottom:8px}.intro .eyebrow,.intro-note,.guide,.loadstatus{display:none}h1{font-size:21px;line-height:1.1}h1 br{display:none}h1 span{margin-left:8px}.sectionline{margin-bottom:7px}.fighter{padding:8px 12px}.fighter.selected{padding:7px 11px}.cardbottom{padding-top:7px}.cardbottom h3{font-size:15px;margin-bottom:0}.cardbottom p,.artnumber{display:none}.cardtop{font-size:7px}.launchrow{margin-top:8px;padding:7px 10px;flex-wrap:nowrap;gap:15px}.arena-thumb{width:70px;height:38px}.arena-card h3{font-size:12px;margin-bottom:0}.arena-card .eyebrow{font-size:7px;margin-bottom:4px}.arena-card p{display:none}.launchrow .primary{width:auto;min-width:190px;min-height:42px;padding:11px 18px}.launchinfo{text-align:left;max-width:none}.launchinfo p{font-size:8px}.botbadge{font-size:8px}body.playing .matchline{height:37px}body.playing .hud{top:calc(39px + env(safe-area-inset-top));gap:18px}body.playing .health{height:13px}body.playing .healthlabel{margin-bottom:4px}body.playing .healthlabel strong{font-size:11px}body.playing .clock b{font-size:26px}body.playing .clock span{font-size:7px;margin-top:3px}body.playing .wins{font-size:11px;margin-top:4px}body.playing .controls{bottom:max(12px,env(safe-area-inset-bottom));left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right))}body.playing .controls button{height:clamp(48px,15vh,70px);width:clamp(56px,8vw,80px)}body.playing .actions small{font-size:7px}body.playing .actions span{font-size:22px}}
@media(orientation:landscape) and (max-height:360px){.topbar{height:36px;flex-basis:36px}#lobby{padding-top:6px}.intro{display:none}.launchrow{margin-top:6px}.sectionline{margin-bottom:5px}}
body.at-splash .topbar{display:none}#splash{position:fixed;inset:0;background:#061c31;display:grid;place-items:center;isolation:isolate;overflow:hidden}#splash:before{content:'';position:absolute;inset:-40px;background:radial-gradient(ellipse at 50% 40%,#163653,#04111f 70%);z-index:-1}.splashframe{position:relative;height:100%;max-height:100dvh;max-width:100vw;aspect-ratio:853/1845}.splashframe>img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.splashhit{position:absolute;border:0;background:transparent;color:transparent;touch-action:manipulation;border-radius:0}.splashhit:hover{background:#fff2}.splashhit:active{background:#ffbd4526}.splashplay{left:4%;width:92%;top:81.4%;height:8.7%}.splashchoose{left:15%;width:70%;top:91%;height:4.8%}.splashsound{left:3%;top:1.2%;width:11%;height:5.6%}.splashsettings{right:3%;top:1.2%;width:11%;height:5.6%}.splashsound.muted-sound:after{content:'';position:absolute;left:14%;top:47%;width:72%;height:3px;background:#f3d7a4;transform:rotate(-45deg);box-shadow:0 0 2px #111}.splashstatus{position:absolute;bottom:1.3%;left:5%;right:5%;text-align:center;color:#f8d89b;background:#071c32bb;padding:9px;font:10px monospace;letter-spacing:1px}.splashdialog{position:fixed;z-index:20;inset:0;background:#041427d9;display:grid;place-items:center;padding:24px}.splashdialogbox{width:min(360px,100%);border:2px solid #deb064;background:#10283a;padding:28px;text-align:center}.splashdialogbox h2{font-size:23px;color:#f8dba6}.splashdialogbox p{font-size:12px;line-height:1.9;color:#c2c9bd}.splashdialogbox .textbtn{font-size:15px;margin:20px 0 0}.splashdialogbox .primary{width:100%;min-width:0;margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-aspect-ratio:853/1845){.splashframe{width:100%;height:auto;max-height:none}}@media(prefers-reduced-motion:no-preference){.splashframe{animation:splash-enter .45s ease-out}@keyframes splash-enter{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}}
