@font-face{font-family:Barlow;font-style:normal;font-weight:400;font-display:swap;src:url(/smash/fonts/barlow-regular.ttf) format("truetype")}@font-face{font-family:Barlow;font-style:normal;font-weight:700;font-display:swap;src:url(/smash/fonts/barlow-bold.ttf) format("truetype")}@font-face{font-family:Barlow;font-style:normal;font-weight:800;font-display:swap;src:url(/smash/fonts/barlow-extrabold.ttf) format("truetype")}@font-face{font-family:Barlow Condensed;font-style:normal;font-weight:800;font-display:swap;src:url(/smash/fonts/barlow-condensed-extrabold.ttf) format("truetype")}@font-face{font-family:Barlow Condensed;font-style:normal;font-weight:900;font-display:swap;src:url(/smash/fonts/barlow-condensed-black.ttf) format("truetype")}[hidden]{display:none!important}:root{font-family:Barlow,system-ui,sans-serif;color:#f6ead1;background:#031217;font-synthesis:none;--ink:oklch(20% .03 220);--paper:oklch(94% .035 85);--muted:oklch(72% .035 205);--gold:oklch(82% .125 78);--mint:oklch(83% .1 165);--lilac:oklch(77% .13 310);--edge:oklch(45% .04 210)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{min-height:100dvh}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--mint);outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{touch-action:manipulation}input,select{color:var(--paper);background:#0c1d23;border:1px solid var(--edge);border-radius:0;padding:12px 14px;max-width:100%}select{cursor:pointer}input::placeholder{color:#708588}.app-shell{max-width:1440px;margin:auto;padding:0 36px;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.1em;font-size:12px}.brand-mark{width:32px;height:32px;background:var(--gold);color:var(--ink);display:grid;place-items:center;font-weight:900;font-size:25px;border-radius:0}.brand small{font-size:10px;color:var(--muted);font-weight:600;letter-spacing:.17em;display:block;margin-top:3px}.top-actions{display:flex;gap:8px;align-items:center}.quiet-link{font-size:12px;color:var(--muted);margin-right:18px}.quiet-link:hover{color:var(--paper)}.icon-button{width:38px;height:38px;display:grid;place-items:center;background:transparent;border:1px solid oklch(35% .03 220);border-radius:0;transition:background .15s}.icon-button:hover{background:#1c3138}.stage-wrap{position:relative;width:100%;aspect-ratio:16/9;background:var(--ink);border:1px solid oklch(38% .04 210);border-radius:0;overflow:hidden;isolation:isolate;box-shadow:0 4px #000407}#arena{width:100%;height:100%;display:block;image-rendering:pixelated}#screen{position:absolute;inset:0;z-index:5;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--edge) transparent}.screen{min-height:100%;position:relative;animation:enter .2s ease-out}.screen-title{display:flex;align-items:center;padding:4% 5%;background:transparent}.title-copy{position:relative;z-index:2;width:35%;padding:22px;background:#071116f7;border:1px solid var(--edge);box-shadow:4px 4px 0 var(--ink)}.eyebrow{font-size:10px;letter-spacing:.24em;font-weight:800;color:var(--gold);text-transform:uppercase;margin:0 0 14px}.title-logo{font-family:Barlow Condensed,Impact,sans-serif;font-size:clamp(42px,5.5vw,76px);line-height:.84;letter-spacing:0;font-weight:900;margin:0;text-transform:uppercase;text-shadow:2px 2px 0 var(--ink)}.title-logo span{display:block;font-size:.54em;letter-spacing:.02em;margin-bottom:8px}.title-logo strong{color:var(--gold);font-weight:900;font-size:1.17em}.tagline{font-size:clamp(13px,1.3vw,18px);margin:25px 0 8px;font-weight:600}.title-description{color:var(--muted);font-size:12px;line-height:1.5;max-width:30ch;margin:0 0 24px}.button{border:1px solid var(--edge);background:#0d2329;border-radius:0;padding:11px 20px;display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:42px;font-weight:700;font-size:13px;transition:background .15s,transform .15s,border-color .15s}.button:hover:not(:disabled){background:#193841;border-color:var(--paper);transform:translateY(-1px)}.button.primary{background:var(--gold);border-color:var(--gold);color:var(--ink)}.button.primary:hover:not(:disabled){background:oklch(89% .11 80);border-color:oklch(89% .11 80)}.button.large{padding:14px 26px;font-size:15px;min-width:190px}.button.subtle{border-color:transparent;background:transparent;color:var(--muted)}.button.subtle:hover{color:var(--paper);background:#1c3138}.button-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.title-secondary{display:flex;gap:3px;margin-top:8px}.title-secondary .button{padding:9px 8px;font-size:11px}.cast-art{position:absolute;right:1%;bottom:7%;width:60%;height:auto;pointer-events:none}.cast-art canvas{width:100%;height:auto;display:block;image-rendering:pixelated;object-fit:contain}.arena-caption{position:absolute;right:4%;bottom:6%;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#eddcb9;text-align:right}.arena-caption strong{display:block;font-size:14px;letter-spacing:.05em;margin-top:5px}.screen-panel{padding:3.4% 4.5%;background:#031217f7;display:flex;flex-direction:column}.screen-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.screen-head .eyebrow{margin-bottom:5px}.screen-head h1,.screen-head h2{font-family:Barlow Condensed,Impact,sans-serif;text-transform:uppercase;font-size:clamp(27px,3.1vw,44px);line-height:1;margin:0;font-weight:800}.back-button{background:none;border:0;padding:8px;color:var(--muted);display:flex;align-items:center;gap:8px;font-size:12px}.back-button:hover{color:var(--paper)}.mode-tabs{display:flex;gap:5px;margin-bottom:18px;padding:4px;background:#00070b;border-radius:0;align-self:flex-start}.mode-tab{background:none;border:0;border-radius:0;padding:9px 18px;color:var(--muted);font-size:12px;font-weight:700}.mode-tab[aria-pressed=true]{background:#193841;color:var(--paper)}.mode-tab:hover{color:var(--paper)}.select-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;color:var(--muted);gap:12px}.player-tabs{display:flex;gap:8px}.player-tab{border:1px solid var(--edge);border-radius:0;background:none;padding:7px 12px;color:var(--muted);font-size:11px}.player-tab[aria-pressed=true]{color:var(--gold);border-color:var(--gold);background:#3c2d184d}.roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;min-height:160px;flex:1}.fighter-choice{position:relative;text-align:left;background:#0f2025;border:1px solid transparent;border-radius:0;padding:0;overflow:hidden;min-height:154px;transition:background .15s,border-color .15s}.fighter-choice:hover{background:#152f37}.fighter-choice[aria-pressed=true]{background:#113039;border-color:var(--fighter)}.fighter-choice:focus-visible{outline-offset:-5px}.fighter-choice canvas{width:100%;height:156px;display:block;image-rendering:pixelated;object-fit:contain}.fighter-label{position:relative;display:block;padding:0 16px 13px}.fighter-label strong{display:block;font-size:17px;font-weight:800;color:var(--fighter);line-height:1}.fighter-label small{display:block;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:6px}.fighter-number{position:absolute;left:13px;top:12px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.15em}.fighter-badge{position:absolute;right:10px;top:9px;font-size:10px;font-weight:800;background:var(--fighter);color:var(--ink);padding:4px 6px;border-radius:0}.selection-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;padding-top:17px}.selection-info{max-width:65ch;flex:1}.selection-info p{font-size:12px;color:var(--muted);line-height:1.45;margin:0 0 7px}.rules-line{font-size:10px;color:var(--muted);letter-spacing:.03em;display:flex;align-items:center;gap:12px}.rules-line select{font-size:10px;padding:5px 8px}.selection-footer .button{flex-shrink:0}.footer{display:flex;justify-content:space-between;align-items:center;min-height:50px;gap:14px;font-size:10px;color:var(--muted);letter-spacing:.04em}.footer kbd{font:inherit;color:var(--paper)}.footer small{font-size:9px;opacity:.75}.footer .status-dot{width:5px;height:5px;background:var(--mint);display:inline-block;border-radius:0;margin-right:7px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%) translateY(16px);z-index:30;background:#eee4cf;color:var(--ink);padding:12px 20px;border-radius:0;box-shadow:0 4px #000407;font-size:13px;max-width:min(90vw,600px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%) translateY(0)}#hud{position:absolute;inset:0;pointer-events:none;z-index:3;display:none}.is-playing #hud{display:block}.hud-top{position:absolute;top:16px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:flex-start}.match-label{font-size:9px;font-weight:800;letter-spacing:.16em;background:#010d12d1;padding:8px 10px;border-radius:0;color:var(--paper)}.timer{position:absolute;left:50%;transform:translate(-50%);font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;text-shadow:1px 1px 0 var(--ink);line-height:1}.timer small{display:block;font-size:8px;letter-spacing:.12em;text-align:center;margin-top:5px}.hud-controls{pointer-events:auto;display:flex;gap:6px}.hud-controls button{width:30px;height:30px;background:#010d12d9;border:0;border-radius:0;color:var(--paper);font-size:12px}.hud-fighter{position:absolute;bottom:16px;display:grid;grid-template-columns:42px auto;gap:10px;background:#000b10e6;padding:10px 15px;border-radius:0;min-width:190px;border:1px solid oklch(46% .04 220 / .65)}.hud-fighter.p1{left:20px}.hud-fighter.p2{right:20px}.hud-avatar{width:42px;align-self:center;color:var(--fighter);font-family:Barlow Condensed,Impact,sans-serif;font-size:32px;font-weight:800;line-height:1}.hud-avatar span{display:block;font-family:Barlow,sans-serif;font-size:8px;font-weight:700;letter-spacing:.13em;color:var(--muted);margin-top:5px}.hud-name{font-size:9px;font-weight:800;color:var(--fighter);letter-spacing:.08em;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-percent{font-size:35px;font-weight:800;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.hud-percent small{font-size:20px}.hud-bottom{display:flex;align-items:center;gap:9px;margin-top:4px}.stocks{display:flex;gap:4px}.stock{width:6px;height:6px;background:var(--fighter);transform:none}.stock.empty{background:#233940}.resource{width:63px;height:3px;background:#293e45;position:relative;overflow:hidden}.resource i{display:block;height:100%;background:var(--fighter);width:100%}.resource-label{font-size:7px;letter-spacing:.04em;color:var(--muted)}.hud-center{position:absolute;left:50%;bottom:26px;transform:translate(-50%);text-align:center;font-size:10px;color:var(--paper);text-shadow:1px 1px 0 var(--ink)}.hud-center strong{font-size:12px;display:block;color:var(--gold);margin-bottom:4px}#countdown{position:absolute;inset:20% 0 30%;display:flex;align-items:center;justify-content:center;flex-direction:column;font-family:Barlow Condensed,Impact,sans-serif;font-size:100px;font-weight:900;text-shadow:1px 1px 0 var(--ink);color:var(--gold);line-height:1}#countdown small{font-family:Barlow,sans-serif;font-size:11px;letter-spacing:.25em;color:var(--paper);margin-top:10px}.pause-screen,.result-screen{background:#00090ed6;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center}.pause-content h2,.result-content h2{font-family:Barlow Condensed,Impact,sans-serif;font-size:64px;font-weight:800;text-transform:uppercase;line-height:1;margin:0 0 12px}.pause-content p,.result-content p{font-size:13px;color:var(--muted);line-height:1.5}.pause-content .button-row,.result-content .button-row{justify-content:center;margin-top:22px}.pause-content{max-width:500px}.result-content{width:min(650px,100%)}.result-content .eyebrow{color:var(--mint)}.result-content h2{color:var(--gold)}.result-stats{display:flex;justify-content:center;gap:30px;margin:25px 0}.result-stat strong{font-size:25px;display:block}.result-stat span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.guide-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;min-height:0}.guide-copy{font-size:12px;line-height:1.55;color:var(--muted)}.guide-copy strong{color:var(--paper)}.guide-copy h3{font-size:13px;color:var(--gold);margin:0 0 10px}.control-table{width:100%;border-collapse:collapse;font-size:11px}.control-table td{padding:7px 0;border-bottom:1px solid oklch(32% .03 220)}.control-table td:first-child{color:var(--muted)}.control-table td:last-child{text-align:right;color:var(--paper);font-weight:600}.control-table kbd{font:inherit}.guide-tabs{display:flex;gap:8px;margin-bottom:13px}.guide-tabs button{font-size:11px;padding:7px 10px}.moves{height:270px;overflow-y:auto;padding-right:12px;scrollbar-width:thin}.move-row{padding:10px 0;border-bottom:1px solid oklch(32% .03 220)}.move-row strong{font-size:12px;display:block;color:var(--paper)}.move-row code{font-family:inherit;color:var(--gold);font-size:10px;display:block;margin:3px 0}.move-row p{font-size:11px;color:var(--muted);line-height:1.45;margin:0}.settings-list{max-width:540px;width:100%;margin:auto}.setting-row{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:16px 0;border-bottom:1px solid oklch(33% .03 220)}.setting-row label{font-size:13px;font-weight:700}.setting-row small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:5px}.setting-row input[type=range]{width:170px;padding:0;accent-color:var(--gold)}.setting-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--gold)}.settings-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:20px}.online-form{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:820px;width:100%;margin:15px auto}.online-form h3{font-size:18px;margin:0 0 8px}.online-form p{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 18px}.online-form .field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field label{font-size:11px;color:var(--muted)}.online-form input{width:100%}.online-form .room-code-input{font-size:22px;font-weight:800;letter-spacing:.25em;text-transform:uppercase}.online-form .button{width:100%}.online-form .join-side{padding-left:28px;border-left:1px solid var(--edge)}.connection-note{color:var(--muted);font-size:11px;text-align:center;margin:20px 0}.room-code{font-size:30px;font-weight:800;letter-spacing:.18em;color:var(--gold);line-height:1.2}.room-code-bar{display:flex;align-items:center;gap:17px}.room-code-bar small{font-size:10px;color:var(--muted)}.room-players{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:25px 0 15px}.room-player{display:flex;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid var(--edge)}.room-player canvas{width:120px;height:110px;image-rendering:pixelated;object-fit:contain}.room-player h3{margin:0 0 6px;font-size:18px}.room-player p{margin:0;font-size:11px;color:var(--muted)}.ready-label{display:inline-block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--mint);margin-top:12px}.room-select{display:flex;gap:6px;flex-wrap:wrap}.room-select button{font-size:11px;padding:8px 12px}.room-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto}.room-bottom p{font-size:11px;color:var(--muted);max-width:40ch}.room-empty{min-height:110px;color:var(--muted);font-size:13px;display:flex;align-items:center}.touch-controls{display:none;user-select:none;-webkit-user-select:none;touch-action:none;padding:12px 2px;justify-content:space-between;gap:12px}.touch-pad{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,40px);gap:4px}.touch-actions{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,40px);gap:4px}.touch-controls button{border:1px solid var(--edge);background:#0b2027;color:var(--paper);border-radius:0;touch-action:none;font-size:10px;font-weight:700;padding:0}.touch-controls button.pressed{background:var(--gold);color:var(--ink)}.touch-controls .jump{background:#114436}.touch-controls .attack{background:#623b0c}.touch-controls .special{background:#46335a}.touch-pad .up{grid-column:2}.touch-pad .left{grid-row:2;grid-column:1}.touch-pad .down{grid-row:2;grid-column:2}.touch-pad .right{grid-row:2;grid-column:3}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-shell:fullscreen{background:var(--ink);display:flex;align-items:center;justify-content:center;padding:0}.game-shell:fullscreen .stage-wrap{width:min(100vw,177.777vh);border:0;border-radius:0}.game-shell:fullscreen .touch-controls{position:absolute;bottom:0;left:20px;right:20px}.training-toolbar{position:absolute;top:54px;right:20px;display:flex;gap:5px;pointer-events:auto}.training-toolbar button{font-size:9px;background:#010d12e6;color:var(--paper);padding:6px 8px;border:1px solid var(--edge);border-radius:0}.online-latency{color:var(--mint)}@keyframes enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1441px){.app-shell{justify-content:center}.stage-wrap{max-height:calc(100dvh - 135px);width:auto;min-width:0}.game-shell{width:100%}.title-logo{font-size:86px}}@media(max-width:900px){.app-shell{padding:0 16px}.topbar{height:60px}.title-logo{font-size:58px}.title-description{font-size:10px;margin-bottom:15px}.tagline{margin-top:20px;font-size:14px}.title-secondary .button{font-size:10px}.title-copy .button.large{padding:10px 20px;font-size:13px;min-height:38px}.screen-panel{padding:3% 4%}.screen-head,.mode-tabs{margin-bottom:12px}.mode-tab{padding:7px 12px;font-size:10px}.fighter-choice canvas{height:110px}.fighter-label strong{font-size:15px}.fighter-label small{font-size:8px}.selection-info p{font-size:10px}.selection-footer{padding-top:12px;gap:12px}.hud-fighter{min-width:145px;padding:8px 10px;grid-template-columns:30px auto;gap:8px;bottom:12px}.hud-avatar{font-size:24px}.hud-percent{font-size:27px}.hud-name{font-size:8px}.hud-fighter.p1{left:12px}.hud-fighter.p2{right:12px}.hud-center{font-size:8px;bottom:22px}.hud-center strong{font-size:10px}.guide-layout{gap:18px}.moves{height:220px}.control-table td{padding:5px 0}.guide-copy{font-size:11px}.online-form{gap:20px;margin:5px auto}.room-players{margin:15px 0}.room-player canvas{width:100px;height:80px}.room-player{gap:10px}.screen-head h2,.screen-head h1{font-size:30px}}@media(max-width:620px){.app-shell{padding:0 8px}.topbar{height:52px}.brand{font-size:10px;gap:8px}.brand-mark{width:27px;height:27px;font-size:21px}.brand small{font-size:8px}.quiet-link{display:none}.top-actions{gap:5px}.icon-button{width:31px;height:31px}.icon-button svg{width:16px;height:16px}.stage-wrap{aspect-ratio:4/3;min-height:340px;border-radius:0}#arena{object-fit:cover;object-position:center;width:100%;height:100%}.is-playing.stage-wrap{aspect-ratio:16/9;min-height:0}.screen-title{padding:7%}.title-logo{font-size:54px}.title-copy{width:65%}.title-description{max-width:22ch;font-size:10px}.title-secondary{flex-wrap:wrap}.cast-art{right:-17%;top:22%;width:75%;height:67%;opacity:.9}.arena-caption{font-size:8px;bottom:5%}.arena-caption strong{font-size:10px}.tagline{font-size:12px}.eyebrow{font-size:8px}.screen-panel{padding:20px 16px}.screen-head h1,.screen-head h2{font-size:30px}.screen-head{margin-bottom:14px}.mode-tabs{width:100%;gap:2px}.mode-tab{flex:1;padding:8px 4px;font-size:10px}.select-meta{font-size:10px;align-items:flex-start;gap:8px}.player-tabs{gap:4px}.player-tab{padding:6px 7px;font-size:9px}.roster,.fighter-choice{min-height:135px}.fighter-choice canvas{height:95px}.fighter-label{padding:0 7px 10px}.fighter-label strong{font-size:12px}.fighter-label small{font-size:7px;letter-spacing:0}.fighter-number{left:7px;top:7px;font-size:8px}.fighter-badge{right:6px;top:6px;font-size:8px;padding:3px}.selection-footer{flex-wrap:wrap;gap:10px}.selection-info{flex-basis:100%}.selection-footer>.button{width:100%}.selection-info p{font-size:10px;min-height:28px}.rules-line{font-size:9px;justify-content:space-between}.footer{font-size:9px;align-items:flex-start;padding:13px 2px;line-height:1.5}.footer small{display:none}.hud-top{top:7px;left:8px;right:8px}.match-label{font-size:7px;padding:5px 6px}.timer{font-size:17px}.timer small{font-size:6px}.hud-controls button{width:24px;height:24px}.hud-fighter{bottom:6px;min-width:113px;padding:5px 7px;grid-template-columns:20px auto;gap:6px;border-radius:0}.hud-avatar{font-size:20px}.hud-avatar span{font-size:6px;letter-spacing:0}.hud-percent{font-size:24px}.hud-percent small{font-size:13px}.hud-name{font-size:6px;max-width:105px}.hud-fighter.p1{left:7px}.hud-fighter.p2{right:7px}.hud-bottom{gap:5px;margin-top:2px}.stock{width:4px;height:4px}.stocks{gap:3px}.resource{width:35px;height:2px}.resource-label{display:none}.hud-center{font-size:6px;bottom:12px;max-width:100px}.hud-center strong{font-size:7px}.pause-content h2,.result-content h2{font-size:42px}.pause-content p,.result-content p{font-size:11px}.pause-content .button-row,.result-content .button-row{margin-top:12px}.pause-screen,.result-screen{padding:16px}.result-stats{margin:12px 0;gap:20px}.result-stat strong{font-size:18px}.result-stat span{font-size:8px}.button{padding:9px 13px;font-size:11px;min-height:36px}.guide-layout{display:flex;flex-direction:column;gap:20px}.moves{height:240px}.guide-tabs{gap:5px}.guide-tabs button{font-size:10px;padding:7px}.screen-head .back-button{font-size:10px}.setting-row{gap:12px;padding:13px 0}.setting-row label{font-size:12px}.setting-row small{font-size:10px;max-width:23ch;line-height:1.4}.setting-row input[type=range]{width:110px}.online-form{display:flex;flex-direction:column;gap:24px}.online-form .join-side{padding:20px 0 0;border-left:0;border-top:1px solid var(--edge)}.online-form h3{font-size:16px}.online-form p{font-size:11px}.room-code{font-size:24px}.room-code-bar{gap:10px}.room-players{gap:12px}.room-player{display:block;padding:8px 0}.room-player canvas{width:100%;height:80px}.room-player h3{font-size:14px}.room-player p{font-size:9px}.room-empty{font-size:11px;min-height:140px}.room-select button{font-size:9px;padding:6px}.room-bottom{flex-wrap:wrap;margin-top:15px}.room-bottom p{font-size:10px}.room-bottom>.button{width:100%}.training-toolbar{top:35px;right:8px}.training-toolbar button{font-size:7px;padding:4px}#countdown{font-size:60px}#countdown small{font-size:7px}.game-shell:fullscreen .stage-wrap{width:100%;height:100%;max-height:100%;aspect-ratio:auto}.game-shell:fullscreen #arena{object-fit:contain}.game-shell:fullscreen .touch-controls{bottom:4px;left:8px;right:8px;opacity:.85}}html[data-touch-visible=true] .app-shell.playing .touch-controls{display:flex}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.brand-mark{box-shadow:2px 2px #000305}.stage-wrap{border:2px solid oklch(37% .025 220)}.title-actions{display:grid;gap:7px;margin-top:28px}.title-actions .button{width:100%;min-width:0;justify-content:flex-start;padding:10px 16px}.title-actions .button.primary{font-size:16px}.button,.mode-tab,.player-tab,.icon-button,.hud-controls button,.touch-controls button{transition:background .12s,border-color .12s;box-shadow:inset 0 1px #c3d1d31a}.button:hover:not(:disabled){transform:none}.button.primary{border-color:oklch(88% .1 78) oklch(60% .09 75) oklch(60% .09 75) oklch(88% .1 78)}.fighter-choice{border-color:#2c3e44;background:#0e1b1f}.fighter-choice[aria-pressed=true]{background:#16272c;box-shadow:inset 0 0 0 1px var(--fighter)}.fighter-label small{letter-spacing:.02em;text-transform:none}.screen-panel{background:#041216fa}.footer{min-height:36px;justify-content:flex-end;letter-spacing:0}.hud-fighter{display:block;min-width:176px;padding:8px 12px;background:#020b0ff5;border:1px solid oklch(42% .025 220);box-shadow:2px 2px #000203}.hud-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;max-width:240px}.player-tag{font-size:9px;font-weight:800;color:var(--paper);max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-name{font-size:10px;letter-spacing:0;text-transform:none;color:var(--fighter)}.hud-readout{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 4px}.hud-percent{font-size:36px}.hud-percent small{font-size:19px}.stock{width:7px;height:7px;border:1px solid var(--fighter)}.stock.empty{border-color:#30464d}.hud-energy{display:flex;align-items:center;gap:8px}.resource-label{font-size:8px;letter-spacing:0;display:block}.resource{flex:1;height:4px;min-width:30px;max-width:90px}.hud-center{font-size:10px;text-shadow:1px 1px 0 var(--ink)}.settings-list>.button{margin-top:20px}.connection-note:empty{display:none}@media(max-width:900px){.title-copy{padding:16px;width:36%}.title-logo{font-size:52px}.title-actions{margin-top:20px;gap:5px}.title-actions .button{padding:8px 12px;min-height:33px}.title-actions .button.primary{font-size:14px}.hud-fighter{min-width:145px;padding:6px 9px}.hud-name{font-size:9px}.hud-percent{font-size:29px}.player-tag{font-size:8px;max-width:80px}.hud-readout{gap:14px}.hud-energy{gap:6px}.resource-label{font-size:7px}}@media(max-width:620px){.screen-title{padding:18px;align-items:flex-start;min-height:360px}.stage-wrap:not(.is-playing){min-height:360px}.title-copy{display:contents}.title-logo{position:relative;z-index:2;font-size:41px;max-width:170px}.title-logo span{margin-bottom:5px}.title-actions{position:absolute;left:16px;right:16px;bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0;z-index:3}.title-actions .button{justify-content:center;min-height:38px;background:#08191e;border-color:var(--edge);color:var(--paper)}.title-actions .button.primary{background:var(--gold);color:var(--ink);font-size:13px}.cast-art{right:0;top:40px;bottom:auto;width:100%;height:auto;opacity:1}.cast-art canvas{height:auto}.hud-fighter{min-width:108px;max-width:43%;padding:4px 6px}.hud-heading{gap:7px}.hud-name{font-size:7px}.player-tag{font-size:7px;max-width:50px}.hud-percent{font-size:24px}.hud-percent small{font-size:13px}.hud-readout{gap:12px;margin:0 0 2px}.stock{width:5px;height:5px}.hud-energy{gap:5px}.resource-label{font-size:6px}.resource{height:3px;min-width:25px}.hud-center{font-size:7px;max-width:85px}.footer{min-height:28px;padding:8px 2px}.screen-head h1{font-size:28px}.fighter-choice canvas{height:100px}}.feka-resource{position:relative}.feka-resource:after{content:"";position:absolute;left:40%;top:-2px;bottom:-2px;border-left:1px solid #ffe29a}.fighter-mechanic{font-size:11px;line-height:1.5;color:var(--muted);margin:8px 0 12px;max-width:64ch}.guide-tabs{flex-wrap:wrap}.fighter-label strong{overflow-wrap:anywhere}@media(max-width:620px){.roster{grid-template-columns:repeat(2,minmax(0,1fr));flex:none}.fighter-choice{min-height:145px}.fighter-choice canvas{height:108px}.fighter-label strong{font-size:14px}.fighter-label small{font-size:9px}.fighter-mechanic{font-size:11px}}.rib-meter{display:flex;gap:5px;align-items:center}.rib-slot{position:relative;width:22px;height:15px;color:#aa8564;display:inline-block}.rib-slot svg{width:100%;height:100%;shape-rendering:crispEdges}.rib-slot.ready{color:#f0ddae}.rib-slot.deployed{color:#9d51e5}.rib-slot.rebuilding{color:#62565a}.rib-slot b{position:absolute;left:0;bottom:0;height:2px;background:#dcaaf5}@media(max-width:620px){.rib-slot{width:15px;height:11px}.rib-meter{gap:3px}}@media(min-width:621px){.roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fighter-label strong{font-size:18px}.fighter-label small{font-size:10px}}.valve-meter{display:inline-flex;width:14px;height:14px;flex:none;color:#62565a}.valve-meter.ready{color:#e9be78}.valve-meter svg{width:100%;height:100%;shape-rendering:crispEdges}.mayor-resource{position:relative}.mayor-resource:after{content:"";position:absolute;left:24%;top:-2px;bottom:-2px;border-left:1px solid #b9e9df}.training-toolbar{flex-wrap:wrap;align-items:flex-start;justify-content:flex-end;max-width:calc(100% - 40px)}.training-toolbar button[aria-pressed=true]{background:var(--gold);border-color:var(--gold);color:var(--ink)}.control-settings{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.control-settings>.button-row{grid-column:1/-1;justify-content:flex-start}.control-settings fieldset{border:1px solid var(--edge);padding:16px;min-width:0}.control-settings legend{font-weight:700}.control-settings label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px}.binding-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.binding-grid button{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid var(--edge);background:var(--ink);padding:9px;font-size:12px}.binding-grid kbd{color:var(--gold);font:inherit}.lab-tools{display:flex;flex-wrap:wrap;gap:5px;padding:8px;background:#172a33;border:1px solid var(--edge);max-width:590px}.lab-tools label{display:flex;gap:5px;align-items:center;font-size:10px}.lab-tools select{padding:4px;font-size:10px}.lab-tools .replay-file{cursor:pointer;border:1px solid var(--edge);padding:4px}.replay-file input{width:100px;font-size:9px;padding:0}.input-history{width:100%;font:10px monospace;color:var(--mint);white-space:nowrap;overflow:hidden}.lesson{position:relative;max-width:390px;background:#172a33;border:1px solid var(--edge);padding:9px 28px 9px 12px;font-size:12px;line-height:1.4}.lesson p{margin:5px 0 0}.lesson>button{position:absolute;right:4px;top:4px}.equipment-state{display:inline-flex;width:16px;height:14px;color:var(--gold)}.equipment-state svg{width:100%;height:100%;shape-rendering:crispEdges}.rocket-state{width:18px;opacity:.55}.rocket-state.ready{opacity:1}@media(max-width:620px){.control-settings{grid-template-columns:1fr}.lab-tools{max-width:300px;max-height:130px;overflow:auto}.lesson{font-size:10px;max-width:260px}}@media(max-width:620px){.training-toolbar{max-width:calc(100% - 16px)}}@media(max-width:620px){.valve-meter{width:11px;height:11px}}@media(min-width:621px)and (max-width:900px){.roster{grid-template-columns:repeat(3,minmax(0,1fr));flex:none}.fighter-choice{min-height:145px}.fighter-choice canvas{height:112px}.fighter-label strong{font-size:16px}}@media(min-width:621px){.stage-wrap.is-playing{width:min(100%,calc((100svh - 120px)*16/9));margin-inline:auto}.game-shell:fullscreen .stage-wrap.is-playing{width:100%;margin:0}}@media(max-width:620px){.stage-wrap:not(.is-playing){min-height:max(360px,calc(100svh - 110px));aspect-ratio:auto}}html[data-input=gamepad] :is(button,input,select,summary,[data-menu-scroll]):focus,summary:focus-visible,[data-menu-scroll]:focus-visible{outline:3px solid var(--mint);outline-offset:3px}html[data-input=gamepad] .fighter-choice:focus{outline-offset:-5px}summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;font-weight:700}.settings-list{padding-bottom:16px}.settings-list>.button-row{margin-top:18px}#control-settings{border-bottom:1px solid var(--edge)}#control-settings .setting-row select{max-width:62%;font-size:12px;padding:9px}.range-value{display:flex;align-items:center;gap:10px}.range-value output{min-width:3ch;font-size:12px;font-variant-numeric:tabular-nums}.binding-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}.binding-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;font-size:12px}.binding-row .button{font-size:11px;padding:6px 10px;min-width:70px;max-width:65%;min-height:36px;overflow-wrap:anywhere}#control-bindings>.button-row{margin:12px 0}.settings-note{margin:10px 0;color:var(--muted)}.control-table th{text-align:right;color:var(--muted);font-size:10px;padding-bottom:8px}.control-table th:first-child{text-align:left}.control-table td:nth-child(2){text-align:right;padding-inline:8px}.moves{scroll-margin:12px;overscroll-behavior:contain}.pause-training{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:20px}.pause-training button{background:var(--ink);border:1px solid var(--edge);padding:9px;color:var(--paper);font-size:11px;min-height:38px}.app-shell:not(.playing) .training-toolbar{display:none}.gamepad-keyboard{margin:8px 0;padding:10px;border:1px solid var(--edge);background:var(--ink)}.gamepad-keys{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin-bottom:8px}.gamepad-keyboard button{min-height:36px;padding:5px;background:#18292f;border:1px solid var(--edge);color:var(--paper);font-size:12px}.gamepad-keyboard .button-row button{padding:7px 12px}.gamepad-keyboard .button-row{gap:6px}.touch-controls{align-items:center;padding:10px max(8px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.touch-stick{position:relative;width:112px;height:112px;flex:none;border:1px solid var(--edge);background:#0f2025;touch-action:none}.touch-cross{position:absolute;inset:18px;pointer-events:none}.touch-cross:before,.touch-cross:after{content:"";position:absolute;background:var(--edge)}.touch-cross:before{left:0;right:0;top:36px;height:2px}.touch-cross:after{top:0;bottom:0;left:36px;width:2px}.touch-knob{position:absolute;left:39px;top:39px;width:32px;height:32px;background:var(--gold);border:2px solid oklch(91% .08 80);pointer-events:none}.touch-actions{grid-template-columns:repeat(3,minmax(44px,58px));grid-template-rows:repeat(2,48px);gap:6px}.touch-controls button{font-size:10px}html[data-input=touch] #input-hint{display:none}.game-shell:fullscreen{flex-direction:column}html[data-touch-visible=true] .playing .game-shell:fullscreen .touch-controls{position:static;opacity:1;width:min(100%,960px);flex-shrink:0}html[data-touch-visible=true] .playing .game-shell:fullscreen .stage-wrap{flex:none;aspect-ratio:16/9;width:min(100vw,calc((100dvh - 142px - env(safe-area-inset-bottom)) * 16 / 9));height:auto;min-height:0;max-height:calc(100dvh - 142px - env(safe-area-inset-bottom))}.game-shell:fullscreen #arena{object-fit:contain}@media(any-pointer:coarse){.screen :is(button,summary),.setting-row{min-height:44px}.screen select,.screen input:not([type=checkbox]):not([type=range]){min-height:44px}.hud-controls button{min-width:36px;min-height:36px}}@media(max-width:620px){.binding-list{grid-template-columns:1fr}.range-value{gap:6px}#control-settings .setting-row select{max-width:60%;min-width:0}.setting-row{flex-wrap:wrap;gap:10px}.gamepad-keys{grid-template-columns:repeat(8,minmax(0,1fr))}.gamepad-keyboard{padding:7px}.gamepad-keyboard button{font-size:11px;padding:2px}.touch-controls{gap:8px}.touch-actions{grid-template-columns:repeat(3,minmax(44px,54px));gap:4px}}@media(max-height:500px)and (orientation:landscape){.app-shell.playing .topbar{height:40px}.app-shell.playing .footer{display:none}html[data-touch-visible=true] .app-shell.playing .stage-wrap{width:min(100%,calc((100dvh - 180px) * 16 / 9));margin-inline:auto}.screen-panel{padding:16px 24px}}.debbie-meter{display:flex;gap:8px;align-items:center}.debbie-token{position:relative;width:20px;height:20px;color:#73606e;display:inline-flex}.debbie-token.ready{color:#ff91b3}.debbie-token svg{width:18px;height:18px}.debbie-token i{position:absolute;bottom:0;left:0;height:2px;background:currentColor}.hud-energy:has(.debbie-meter){gap:10px}.debbie-readout{display:flex;flex-direction:column;min-width:42px;line-height:1.1;color:#efdae4;font-variant-numeric:tabular-nums}.debbie-readout b{font-size:13px;font-weight:600}.debbie-readout small{font-size:11px}.debbie-meter .urgent{color:#ffd38b}.grab-prompt{position:absolute;bottom:calc(100% + 8px);left:0;width:max-content;max-width:min(310px,38vw);padding:8px 10px;background:#172c36;color:#f3eddc;border:1px solid #d3a75c;text-align:left;line-height:1.35;pointer-events:none}.p2 .grab-prompt{left:auto;right:0}.grab-prompt strong,.grab-prompt span,.grab-prompt small{display:block}.grab-prompt strong{font-size:12px;letter-spacing:.08em;color:#ffcf77}.grab-prompt span{font-size:12px}.grab-prompt small{font-size:11px;color:#d2dcd9}.grab-prompt .grab-clock{height:3px;background:#45616b;margin-top:5px}.grab-clock i{display:block;height:100%;background:#ffcf77}@media(max-width:640px){.grab-prompt{padding:5px 7px}.grab-prompt strong,.grab-prompt span,.grab-prompt small{font-size:10px}}.moraes-meter{display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}.moraes-hover{position:relative;min-width:24px;padding-bottom:4px;color:#847c80}.moraes-hover.ready{color:#e8e0cd}.moraes-hover.active{color:#e6bb68}.moraes-hover.ending{color:#da6a69}.moraes-hover b{font-size:13px;font-weight:600}.moraes-hover i{position:absolute;bottom:0;left:0;height:2px;background:currentColor}.moraes-order{display:flex;align-items:center;gap:4px;color:#b8ad98}.moraes-order.ready{color:#efb0a3}.moraes-order.queued{color:#e6bb68}.moraes-order svg{width:18px;height:18px}.moraes-order small{font-size:10px;white-space:nowrap}.roll-meter{height:19px;color:#e9a658;display:flex;align-items:center}.roll-meter svg{width:19px;height:19px}.roll-meter.spent{opacity:.28}.moraes-hover{display:inline-flex;align-items:center;justify-content:flex-end;min-width:34px;gap:2px}.moraes-hover.charging{color:#a8c9b4}.moraes-hover.locked{color:#a59ca4}.moraes-hover.charging svg{width:7px;height:12px;flex:none}.app-shell:not([data-hyp=true]) .touch-actions .technique{display:none}.app-shell[data-hyp=true] .touch-actions{grid-template-rows:repeat(3,44px)}.touch-actions .technique{grid-column:1 / -1;background:#193e32;color:#cbe5ba}:root{--menu-bg: oklch(19% .025 217);--menu-raised: oklch(24% .025 217);--menu-hover: oklch(30% .03 217);--p1: oklch(86% .12 82);--p2: oklch(84% .07 238)}.app-shell{max-width:1600px;padding-inline:28px;justify-content:flex-start}.topbar{height:60px}.top-actions{gap:8px}.icon-button{width:40px;height:40px;border:0;box-shadow:none}.quiet-link{font-size:13px}.brand small{letter-spacing:.1em}.brand-mark{box-shadow:none}.stage-wrap{border:0;box-shadow:none}.stage-wrap:not(.is-playing){width:100%;height:min(790px,calc(100svh - 100px));min-height:570px;max-height:none;aspect-ratio:auto}.stage-wrap:not(.is-playing)>#arena{position:absolute;inset:0;object-fit:cover}.footer{min-height:36px;padding:10px 0;font-size:11px}#input-hint{line-height:1.5}.game-shell>.footer{flex:0 0 auto;width:100%}#screen{scrollbar-width:auto;scrollbar-color:var(--edge) var(--menu-bg)}.screen{animation:none}.screen.menu-arriving>:not(.selection-scene,.home-cast,.result-scene),[data-menu-panel].menu-arriving{animation:menu-enter .14s cubic-bezier(.16,1,.3,1)}.button{min-height:44px;font-size:14px;padding:11px 20px;border:1px solid transparent;background:var(--menu-raised);box-shadow:none;transition:background .12s ease-out}.button.primary{background:var(--gold);border-color:transparent;box-shadow:none}.button.primary:hover:not(:disabled){background:#ffd484}.button.subtle{background:transparent;box-shadow:none;color:var(--muted)}.button:hover:not(:disabled){background:var(--menu-hover);border-color:transparent;transform:none}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[data-menu-scroll]:focus-visible,html[data-input=gamepad] :is(button,input,select,summary,[data-menu-scroll]):focus{outline:2px solid var(--paper);outline-offset:-3px}.button.primary:focus-visible,html[data-input=gamepad] .button.primary:focus{outline-color:var(--ink)}button[aria-pressed=true]:focus-visible{outline-color:var(--paper)}.back-button{min-height:44px;padding:10px 4px 10px 16px;font-size:14px;white-space:nowrap}input,select{min-height:44px;font-size:14px}input[aria-invalid=true]{border-color:#f48e74}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}.field input,.field select{width:100%}.compact-field{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px}.compact-field select{padding:9px 12px}.home-screen{display:grid;grid-template-columns:34% 1fr;align-items:center;isolation:isolate;overflow:hidden;padding:0 3%}.home-menu{padding:28px 0 44px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center}.home-logo{font-family:Barlow Condensed,Impact,sans-serif;line-height:.9;text-transform:uppercase;margin:0 0 30px}.home-logo span{display:block;font-size:42px;font-weight:800;letter-spacing:.12em;margin:0 0 8px 7px;color:var(--paper);text-shadow:3px 3px 0 oklch(13% .025 220)}.home-logo canvas{display:block;width:100%;height:auto;image-rendering:pixelated}.home-menu .title-actions{display:grid;grid-template-columns:1fr;gap:8px;margin:0 26px 0 7px;padding:0;position:relative;background:transparent}.home-menu .title-actions .button{padding:13px 22px;min-height:54px;font-size:18px;text-align:left;justify-content:flex-start;border-color:transparent}.home-menu .title-actions .home-play{min-height:64px;font-size:24px;margin-bottom:4px}.home-menu .title-actions .home-help{min-height:44px;font-size:14px;margin-top:6px;background:var(--ink);color:var(--muted)}.home-cast{position:absolute;inset:0;pointer-events:none;z-index:0}.home-cast canvas{width:100%;height:100%;display:block;image-rendering:pixelated}.menu-screen{padding:28px 32px;background:var(--menu-bg);display:flex;flex-direction:column;min-width:0}.menu-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;flex:0 0 auto}.menu-heading h1{font-family:Barlow Condensed,Impact,sans-serif;font-size:40px;font-weight:800;text-transform:uppercase;line-height:1;margin:0}.mode-tabs,.menu-tabs{display:flex;gap:4px;padding:0;background:transparent;margin:0 0 22px;flex-shrink:0}.mode-tab,.menu-tabs>button{min-height:44px;padding:10px 18px;border:1px solid transparent;background:transparent;color:var(--muted);font-size:14px;font-weight:700;white-space:nowrap;box-shadow:none}.mode-tab:hover,.menu-tabs>button:hover{background:var(--menu-raised);color:var(--paper)}.mode-tab[aria-pressed=true],.menu-tabs>button[aria-pressed=true]{background:var(--menu-hover);color:var(--paper)}.selection-screen,.room-screen{position:relative;isolation:isolate;height:100%;min-height:100%;padding:18px}.selection-scene{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}.selection-header,.room-screen>.menu-heading,.room-screen>.room-invite{position:relative;z-index:1;background:var(--menu-bg)}.selection-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:0 10px 0 0}.selection-header .mode-tabs{margin:0}.selection-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr);gap:18px;flex:1;min-height:0}.selection-panel{min-width:0;min-height:0;padding:14px;display:flex;flex-direction:column;background:var(--menu-bg)}.duel-preview{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.duel-space{min-width:0;min-height:0}.player-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-shrink:0}.seat-0{--seat: var(--p1)}.seat-1{--seat: var(--p2)}.player-choice{position:relative;text-align:left;border:1px solid transparent;background:var(--menu-raised);min-width:0;min-height:64px;padding:8px 12px;box-shadow:none;display:flex;align-items:center;gap:10px}.player-identity{min-width:0}.seat-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;color:var(--muted)}.seat-label b,b.seat-label{display:inline-block;padding:2px 4px;background:var(--seat);color:var(--ink);font-size:11px;font-weight:800}.player-choice strong,.room-seat>strong{display:block;color:var(--paper);margin-top:7px;font-size:22px;line-height:1.1;overflow-wrap:normal}.player-choice[aria-pressed=true]{background:color-mix(in oklch,var(--seat) 17%,var(--menu-bg))}.player-choice[aria-pressed=true] strong{color:var(--seat)}.player-choice:hover{background:var(--menu-hover)}.duel-stage{position:relative;min-width:0;min-height:0;overflow:hidden}.duel-art{position:absolute;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated;margin:0}.roster-browser{flex:1;overflow:auto;padding:0 4px 4px 0;scrollbar-width:auto;scrollbar-color:var(--edge) transparent;min-height:0;overscroll-behavior:contain;scroll-padding-top:46px}.roster-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--menu-bg);padding:0 0 10px}.roster-heading .seat-label{color:var(--paper);font-size:13px}.roster-heading .button{min-height:32px;padding:6px 8px;font-size:13px}.roster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start}.roster-choice{min-width:0;min-height:112px;height:112px;position:relative;overflow:hidden;text-align:left;border:0;padding:0;background:var(--menu-raised)}.roster-choice canvas{position:absolute;width:144px;height:96px;left:50%;transform:translate(-50%);top:-4px;display:block;image-rendering:pixelated}.roster-name{position:absolute;inset:auto 0 0;display:block;background:var(--menu-raised);padding:10px;line-height:1.1;min-height:36px;font-size:15px;font-weight:700;color:var(--paper)}.roster-markers{position:absolute;left:7px;top:7px;display:flex;gap:3px}.roster-markers b{font-size:10px;padding:3px;background:var(--seat);color:var(--ink);font-weight:800}.roster-variant{position:absolute;top:7px;right:7px;padding:3px 5px;background:var(--ink);color:var(--paper);font-size:10px;line-height:1.2;font-weight:700}.choice-variant{display:block;color:var(--muted);font-size:12px;line-height:1.3;margin-top:4px}.roster-choice[aria-pressed=true] .roster-name{color:var(--ink);background:var(--fighter)}.roster-choice:hover:not(:disabled),.roster-choice:hover:not([aria-pressed=true]):not(:disabled) .roster-name{background:var(--menu-hover)}.roster-choice:focus-visible,html[data-input=gamepad] .roster-choice:focus{outline-offset:-2px;outline:2px solid var(--paper)}.selection-bottom{margin-top:16px;display:flex;align-items:flex-end;gap:10px;flex:0 0 auto}.match-options{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.match-options .compact-field{min-width:0}.match-options .compact-field:first-child{flex:1}.match-options select{width:100%;font-size:12px;padding:9px 7px}.selection-bottom>.button{min-width:84px;min-height:44px;padding:10px 14px;font-size:16px}.selection-screen .selection-bottom{flex-wrap:wrap}.selection-screen .match-options{flex-basis:100%;align-items:stretch}.selection-screen .match-options .compact-field{flex:1}.selection-screen .selection-bottom>.button{width:100%;min-height:50px;font-size:18px}.training-rule,.room-rule{font-size:13px;color:var(--muted)}.online-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:42px;align-items:center;flex:1;padding:16px 2% 32px;width:min(1060px,100%);margin-inline:auto}.online-identity{min-width:0}.online-identity canvas{display:block;width:288px;max-width:100%;height:auto;image-rendering:pixelated;margin:0 auto 24px}.online-options{min-width:0}.online-options>.field{margin-bottom:32px}.online-paths{display:grid;grid-template-columns:1fr 1fr;gap:28px}.online-paths form{display:flex;flex-direction:column;align-items:stretch;min-width:0}.online-paths .button{width:100%;margin-top:18px}.online-paths .compact-field{margin-bottom:0}.online-paths .field{gap:6px}.online-paths .field>span{font-size:12px}.online-paths .room-code-input{letter-spacing:.18em;font-weight:700}.field-error{margin:8px 0 0;font-size:12px;line-height:1.4;color:#f6a88d}.field-error:empty{display:none}.connection-note{font-size:13px;text-align:left;min-height:20px;margin:18px 0 0}.room-invite{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px}.room-invite>div{display:flex;align-items:center;gap:18px}.room-invite>div>span{font-size:12px;color:var(--muted)}.room-code{font-size:29px;letter-spacing:.18em}.room-header .room-invite{margin:0;gap:14px}.room-header .room-code{padding-left:12px;font-size:23px}.room-header .room-invite .button{min-height:44px}.room-seat{padding:12px 16px;min-width:0;background:var(--menu-raised)}.room-seat .seat-label{overflow-wrap:anywhere}.room-seat .ready-label{display:block;font-size:12px;letter-spacing:0;text-transform:none;margin-top:10px}.room-status{color:var(--muted);font-size:13px;margin:0 auto 0 0}.room-screen .duel-preview{grid-template-rows:auto minmax(0,1fr)}.room-screen .selection-bottom{flex-wrap:wrap}.room-screen .room-rule{flex-basis:100%}.room-status:empty{display:none}.stage-wrap[data-view=pause]>#arena{object-fit:cover}.pause-screen{padding:32px;background:#021014d6;align-items:flex-start;text-align:left}.pause-content{width:min(400px,100%);max-width:none;margin:auto}.pause-heading{margin-bottom:28px}.pause-heading h1{font-family:Barlow Condensed,Impact,sans-serif;font-weight:800;font-size:64px;text-transform:uppercase;margin:0;line-height:1}.pause-heading p{margin:12px 0 0;font-size:14px;color:var(--muted)}.pause-actions{display:grid;gap:8px}.pause-actions .button{min-height:48px}.pause-play-actions,.pause-utilities{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pause-play-actions .button,.pause-utilities .button{min-width:0;padding-inline:10px}.pause-utilities{margin-top:14px}.pause-actions>.subtle{margin-top:4px}.pause-training{display:block;margin-top:16px;text-align:left}.pause-training>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--muted);font-size:14px}.pause-training[open]>summary{color:var(--paper)}.pause-training button,.pause-training select{min-height:44px}.pause-training .lab-tools{max-width:100%}.pause-training .lab-buttons{flex-wrap:wrap}.result-screen{text-align:left;align-items:stretch;padding:32px;background:var(--menu-bg)}.result-scene{position:absolute;inset:0 0 auto;height:100%;pointer-events:none;overflow:hidden}.result-scene canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.result-layout{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,1fr);gap:32px;width:100%;align-items:center}.result-space{min-width:0;min-height:320px;align-self:stretch}.result-copy{min-width:0;width:100%;max-width:490px;justify-self:end;padding:28px;background:var(--menu-bg)}.result-label{font-size:15px;color:var(--muted);margin:0 0 10px}.result-label .seat-label{display:inline;font-size:inherit;margin-right:3px}.result-copy h1{font-family:Barlow Condensed,Impact,sans-serif;font-size:clamp(44px,4.6vw,64px);font-weight:800;line-height:1;color:var(--paper);margin:0;text-transform:uppercase;overflow-wrap:anywhere}.winner-label{font-size:16px;color:var(--paper);margin:10px 0 0;overflow-wrap:anywhere}.result-reason{font-size:12px;color:var(--muted);margin:8px 0 0}.score-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px;font-variant-numeric:tabular-nums}.score-table th,.score-table td{text-align:right;padding:14px 10px}.score-table thead th{padding-block:8px}.score-table thead th{color:var(--muted);font-weight:400;font-size:12px}.score-table th:first-child{text-align:left}.score-table tbody th{font-weight:400}.score-player{display:flex;gap:9px;align-items:baseline}.score-player .seat-label{flex:0 0 auto}.score-player>span{min-width:0;overflow-wrap:anywhere}.score-player small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.score-table .winner-row{background:var(--menu-raised)}.score-table .winner-row th{color:var(--gold)}.result-actions{display:grid;gap:8px}.result-actions .primary{min-height:52px}.result-actions .subtle{margin-top:4px}.settings-body{width:min(720px,100%);margin:0 auto}.settings-screen>.menu-heading,.settings-screen>.menu-tabs{width:min(720px,100%);margin-inline:auto}.settings-list{width:100%;max-width:none}.settings-screen .setting-row{min-height:68px;padding:12px;margin-inline:-12px;border:0}.settings-screen .setting-row:focus-within,.settings-screen .binding-row:focus-within{background:var(--menu-raised)}.setting-row label{font-size:15px}.setting-row small{font-size:13px;line-height:1.4}.setting-row input[type=range]{width:180px;min-height:32px}.setting-row input[type=checkbox]{appearance:none;width:44px;height:26px;min-height:26px;flex:0 0 44px;background:var(--edge);border:0;position:relative;cursor:pointer}.setting-row input[type=checkbox]:before{content:"";position:absolute;inset:5px auto auto 5px;width:16px;height:16px;background:var(--paper)}.setting-row input[type=checkbox]:checked{background:var(--gold)}.setting-row input[type=checkbox]:checked:before{left:23px;background:var(--ink)}.settings-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.settings-screen #control-settings{margin:0;border:0}.settings-screen #control-settings>summary{display:none}.settings-screen .settings-note{font-size:13px;max-width:65ch}.settings-screen .binding-row{font-size:14px;padding-block:4px;border:0}.settings-screen #control-settings .setting-row select{font-size:14px}.settings-screen :is(#control-bindings,#control-calibration){margin:6px 0}.settings-screen :is(#control-bindings,#control-calibration)>summary{min-height:48px;padding-block:14px;font-size:14px}.guide-basics{display:grid;grid-template-columns:1fr 1fr;gap:42px;padding-bottom:20px}.guide-bindings,.guide-lessons{min-width:0;font-size:14px;line-height:1.55;color:var(--muted)}.guide-lessons h2{color:var(--paper);font-size:21px;margin:8px 0 16px}.guide-lessons>.button{margin-top:20px}.guide-lessons summary{color:var(--paper);font-size:15px;padding-block:15px}.guide-lessons details p{margin:0 0 18px}.guide-lessons kbd{color:var(--gold);font:inherit;font-weight:700}.guide-bindings .control-table{font-size:13px;line-height:1.3}.guide-bindings .control-table th{font-size:11px;color:var(--muted);font-weight:400}.guide-bindings .control-table td{padding:11px 4px;border:0}.guide-bindings>p{font-size:12px;margin-block:16px}.guide-moves{display:grid;grid-template-columns:.85fr 1.2fr;gap:40px;flex:1;min-height:0}.guide-fighter{padding-top:8px}.guide-fighter .fighter-mechanic{font-size:14px;line-height:1.6;margin:22px 0}.guide-moves .moves{height:min(440px,calc(100svh - 285px));min-height:230px;padding:0 16px 12px 4px}.guide-moves .move-row{padding:15px 0;display:grid;grid-template-columns:1fr auto;gap:4px 12px;border:0}.guide-moves .move-row strong{font-size:15px;line-height:1.3}.guide-moves .move-row code{font-size:13px;margin:0}.guide-moves .move-row p{grid-column:1/-1;font-size:13px;line-height:1.5}.game-shell:fullscreen{display:flex;flex-direction:column}.game-shell:fullscreen .stage-wrap:not(.is-playing){width:100%;height:0;flex:1;min-height:0;max-height:none;aspect-ratio:auto}.game-shell:fullscreen .stage-wrap.is-playing{max-height:calc(100dvh - 36px)}.game-shell:fullscreen>.footer{padding-inline:18px;background:var(--ink)}html[data-touch-visible=true] .playing .game-shell:fullscreen>.footer{display:none}.game-shell:fullscreen .home-menu{padding-inline:0}.menu-editor-layer{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px 16px 54px;background:#000407bd}body:has(.menu-editor-layer) .footer{position:relative;z-index:41;background:var(--ink)}body:has(.menu-editor-layer) #toast{top:8px;bottom:auto;z-index:42}.gamepad-editor{width:min(460px,100%);max-height:calc(100dvh - 70px);min-width:0;overflow:auto;overscroll-behavior:contain;padding:20px;background:var(--menu-bg);border:1px solid var(--edge);color:var(--paper)}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.editor-heading strong{font-size:17px}.editor-heading .back-button{color:var(--muted);font-size:13px;min-height:40px}.option-editor{display:flex;flex-direction:column;overflow:hidden}.option-editor .editor-heading{flex:0 0 auto}.menu-options{display:flex;flex-direction:column;gap:4px;overflow:auto;overscroll-behavior:contain;scrollbar-color:var(--edge) var(--menu-bg)}.menu-options button{flex-shrink:0;min-height:48px;padding:12px 16px;border:0;background:transparent;color:var(--paper);text-align:left;font-size:15px}.menu-options button[aria-selected=true]{background:var(--menu-raised);color:var(--gold)}.menu-options button:hover{background:var(--menu-hover)}.gamepad-keyboard{display:flex;flex-direction:column;overflow:hidden;margin:0}.gamepad-keyboard :is(.editor-heading,.keyboard-preview,.button-row){flex-shrink:0}.keyboard-preview{display:block;min-height:46px;margin-bottom:14px;padding:10px 12px;font-size:20px;background:var(--menu-raised);overflow-wrap:anywhere}.gamepad-keys{gap:5px;overflow:auto;min-height:0;padding:2px}.gamepad-keyboard button{border:0;min-height:40px;font-size:14px}.gamepad-keyboard .button-row{margin:12px 0 0;gap:6px;flex-wrap:wrap}.gamepad-keyboard .button-row button{flex:1;min-height:44px}.gamepad-keyboard .button-row .primary{background:var(--gold);color:var(--ink)}.gamepad-keyboard .editor-heading button{background:transparent}@keyframes menu-enter{0%{opacity:.45}to{opacity:1}}html[data-reduced-motion=true] *,html[data-reduced-motion=true] *:before,html[data-reduced-motion=true] *:after{animation:none!important;transition:none!important}@media(min-width:1450px){.home-logo span{font-size:48px}.menu-screen{padding:32px 40px}.selection-screen,.room-screen{padding:20px}.roster-name{font-size:16px}}@media(min-width:1000px)and (max-height:760px){.roster-choice{height:104px;min-height:104px}.roster-choice canvas{width:144px;height:96px;top:-9px}.roster-name{min-height:30px;padding:7px 8px;font-size:14px}}@media(max-width:1150px){.app-shell{padding-inline:18px}.home-logo span{font-size:32px}.home-menu .title-actions{margin-right:16px}.home-menu .title-actions .button{font-size:16px}.menu-screen{padding:24px}.selection-screen,.room-screen{padding:14px}.selection-layout{gap:14px;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.selection-panel{padding:10px}.roster-grid{gap:8px}.online-layout{gap:28px;padding-inline:0}.online-paths{gap:20px}}@media(max-width:800px){.app-shell{padding-inline:12px}.topbar{height:56px}.brand small{font-size:9px}.home-screen{grid-template-columns:36% 1fr;padding-inline:2%}.home-menu{padding:20px 0}.home-logo span{font-size:24px}.home-menu .title-actions{margin-right:12px}.home-menu .title-actions .button{padding-inline:12px}.home-menu .title-actions .home-play{min-height:60px}.menu-screen{padding:20px}.menu-heading h1{font-size:34px}.selection-layout{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:12px}.player-choice{min-height:64px;padding:8px}.player-choice strong,.room-seat>strong{font-size:18px}.seat-label{font-size:11px;gap:5px}.roster-choice{height:116px;min-height:116px}.roster-choice canvas{width:144px;height:96px}.roster-name{font-size:13px;padding:8px}.roster-markers{left:4px;top:4px}.selection-bottom{gap:8px;flex-wrap:wrap}.selection-bottom>.button{width:100%}.match-options{margin-right:auto}.online-layout{grid-template-columns:.7fr 1fr;gap:22px}.online-paths{grid-template-columns:1fr;gap:26px}.online-paths .button{margin-top:14px}.online-paths .compact-field{margin-bottom:0}.online-options>.field{margin-bottom:24px}.guide-basics{gap:24px}.result-layout{gap:20px;grid-template-columns:minmax(0,.8fr) minmax(320px,1fr)}.result-copy{padding:20px}}@media(max-width:620px){#screen{scroll-padding-block:12px 136px}.app-shell{padding-inline:8px}.topbar{height:56px}.brand-mark{width:30px;height:30px}.icon-button{width:40px;height:40px}.icon-button svg{width:18px;height:18px}.top-actions{gap:4px}.stage-wrap:not(.is-playing){height:calc(100svh - 96px);min-height:540px}.stage-wrap:is([data-view=select],[data-view=room],[data-view=settings],[data-view=guide],[data-view=online],[data-view=pause],[data-view=result]){min-height:0}.footer{min-height:32px;font-size:10px;padding:8px 0}.home-screen{display:flex;flex-direction:column;min-height:100%;justify-content:space-between;padding:0}.home-menu{display:contents}.home-logo{position:relative;z-index:1;padding:24px 0 0;align-self:center;margin:0;width:min(78%,330px)}.home-logo span{font-size:27px;margin-bottom:6px}.home-menu .title-actions{position:relative;z-index:1;order:2;display:grid;grid-template-columns:1fr 1fr;margin:0 14px 18px;gap:9px;width:calc(100% - 28px);inset:auto}.home-menu .title-actions .button{min-height:46px;justify-content:center;padding:10px 12px;background:var(--menu-raised);color:var(--paper)}.home-menu .title-actions .home-play{grid-column:1/-1;min-height:56px;background:var(--gold);color:var(--ink);font-size:20px}.home-menu .title-actions .home-help{grid-column:1/-1;min-height:44px;font-size:14px;margin-top:0;background:var(--ink);color:var(--muted)}.menu-screen{padding:18px 16px}.menu-heading{margin-bottom:14px;gap:10px}.menu-heading h1{font-size:32px}.back-button{min-height:44px;font-size:13px}.mode-tabs{width:100%;gap:3px;margin-bottom:14px}.mode-tab{padding:10px 8px;flex:1;font-size:12px}.menu-tabs{gap:6px;margin-bottom:16px}.menu-tabs>button{padding:10px 12px;font-size:14px}.selection-screen,.room-screen{height:auto;padding:12px}.selection-header{margin:0 0 10px;gap:2px;padding:0}.selection-header .mode-tabs{flex:1;width:auto;gap:0}.selection-header .mode-tab{padding:9px 6px;font-size:11px}.selection-header .back-button{padding:9px 8px;font-size:12px}.selection-layout{display:flex;flex-direction:column;gap:22px}.selection-panel{display:contents}.duel-preview{width:100%;display:flex;flex-direction:column}.player-choices{gap:8px}.player-choice{min-height:60px;padding:7px 10px}.player-choice strong{font-size:19px}.duel-stage{height:clamp(180px,55vw,260px);flex-shrink:0}.duel-space{height:clamp(190px,55vw,300px);flex-shrink:0}.roster-browser{overflow:visible;padding:10px;margin:0 -2px;background:var(--menu-bg)}.roster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.roster-choice{height:112px;min-height:112px}.roster-choice canvas{width:144px;height:96px;top:-9px}.roster-name{font-size:13px;padding:7px;min-height:34px}.roster-heading{position:static;padding:0 0 8px}.selection-bottom{position:sticky;bottom:-12px;margin:0 -12px -12px;padding:10px 12px 12px;background:var(--menu-bg);gap:10px;z-index:2}.match-options{gap:8px;flex:1}.compact-field{font-size:11px;gap:5px}.compact-field select{font-size:12px;padding:8px}.selection-bottom>.button{width:auto;min-width:82px;min-height:44px;font-size:15px;padding:10px 12px;align-self:flex-end}.selection-screen .selection-bottom{flex-wrap:nowrap}.selection-screen .match-options{flex-basis:auto}.selection-screen .match-options .compact-field:first-child{flex:1.5}.selection-screen .selection-bottom>.button{width:auto;min-height:44px;font-size:15px}.selection-bottom .training-rule{font-size:12px}.online-layout{display:flex;flex-direction:column;gap:24px;padding:0 0 12px;align-items:stretch}.online-identity canvas{height:150px;width:auto;margin-bottom:12px}.online-paths{gap:24px}.online-paths h2{font-size:21px}.online-options>.field{margin-bottom:26px}.online-paths .button{min-height:48px}.room-invite{margin-bottom:16px;gap:8px}.room-invite>div{display:block}.room-invite>div>span{display:block;font-size:11px;margin-bottom:5px}.room-code{font-size:24px}.room-header .room-invite{gap:5px}.room-header .room-code{font-size:19px;padding-left:7px;letter-spacing:.12em}.room-invite .button{font-size:12px;padding:9px 12px}.room-seat{padding:10px}.room-status{flex:1;font-size:12px}.room-rule{flex-basis:100%;font-size:12px}.pause-screen{min-height:100%;padding:24px}.pause-heading{margin-bottom:24px}.pause-heading h1{font-size:56px}.pause-actions .button{min-height:44px}.result-screen{padding:0}.result-layout{display:flex;flex-direction:column;gap:0}.result-space{width:100%;flex:0 0 auto;min-height:160px;height:min(27svh,240px)}.result-copy{max-width:none;width:100%;padding:22px 20px;flex:1}.result-copy h1{font-size:48px}.score-table{font-size:12px}.score-table th,.score-table td{padding:12px 8px}.score-table thead th{padding-block:6px;font-size:11px}.result-actions .button,.result-actions .subtle{justify-content:center;min-height:46px;padding:11px 16px}.setting-row{gap:14px}.setting-row label{font-size:14px}.setting-row small{font-size:12px;max-width:22ch}.setting-row input[type=range]{width:110px}.range-value{gap:6px}.settings-screen #control-settings .setting-row select{font-size:12px}.settings-actions{display:grid;grid-template-columns:1fr}.guide-basics,.guide-moves{display:flex;flex-direction:column;gap:24px}.guide-bindings .control-table{font-size:12px}.guide-bindings .control-table th{font-size:10px}.guide-bindings .control-table td{padding:10px 2px}.guide-moves .moves{height:auto;min-height:0;overflow:visible;padding-right:0}.guide-moves .move-row{grid-template-columns:1fr;gap:4px}.guide-moves .move-row p{grid-column:auto}.guide-fighter .fighter-mechanic{font-size:13px;margin:16px 0}.game-shell:fullscreen .home-logo{padding-top:16px}}@media(max-width:620px)and (max-height:720px){.result-space{min-height:100px;height:clamp(100px,25svh,160px)}.result-copy{display:flex;flex-direction:column;padding:18px 20px}.result-heading{margin-bottom:18px}.result-actions{order:1}.result-copy .score-table{order:2;margin:20px 0 0}}@media(max-height:600px)and (min-width:621px){.pause-screen{padding:20px 32px}.pause-content{width:min(720px,100%);display:grid;grid-template-columns:minmax(140px,.7fr) minmax(0,1fr);gap:16px 32px;align-items:start}.pause-heading{margin:0}.pause-heading h1{font-size:56px}.pause-actions .button{min-height:44px}.pause-utilities{margin-top:4px}.pause-actions>.subtle{margin-top:0}.pause-training{grid-column:1 / -1;margin:0}.result-screen{padding:12px}.result-layout{grid-template-columns:minmax(0,.75fr) minmax(390px,1.25fr);gap:12px}.result-space{min-height:220px}.result-copy{max-width:none;padding:12px}.result-copy h1{font-size:38px}.result-label{font-size:13px;margin-bottom:6px}.winner-label{font-size:13px;margin-top:6px}.score-table{margin:12px 0;font-size:12px}.score-table th,.score-table td{padding:8px}.score-table thead th{padding-block:4px;font-size:11px}.result-actions{grid-template-columns:1fr 1fr 1fr;gap:6px}.result-actions .button{min-width:0;min-height:44px;padding:8px;font-size:12px}.result-actions .subtle{margin:0}.gamepad-editor{padding:12px}.gamepad-keyboard{width:min(640px,100%)}.gamepad-keyboard .editor-heading{margin-bottom:8px}.gamepad-keyboard .keyboard-preview{min-height:36px;padding:5px 10px;margin-bottom:8px;font-size:18px}.gamepad-keyboard .gamepad-keys{grid-template-columns:repeat(12,1fr);gap:4px}.gamepad-keyboard .gamepad-keys button{min-height:36px}.gamepad-keyboard .button-row{margin-top:8px}.stage-wrap:not(.is-playing){min-height:0;height:calc(100svh - 100px)}.menu-screen{padding-block:16px}.menu-heading{margin-bottom:8px}.mode-tabs,.menu-tabs{margin-bottom:12px}.selection-screen,.room-screen{height:100%;padding:8px 12px}.selection-header{margin-bottom:8px}.selection-header .mode-tabs{gap:0}.room-screen>.menu-heading{min-height:32px;margin-bottom:8px}.selection-screen .menu-heading h1,.room-screen .menu-heading h1{font-size:27px}.selection-screen .back-button,.room-screen .back-button{min-height:32px;font-size:12px}.selection-screen .mode-tab{min-height:32px;padding:7px 10px;font-size:12px;flex:1}.selection-layout{min-height:0;height:auto;flex:1;gap:12px}.selection-panel{padding:6px}.player-choice{min-height:46px;padding:5px 8px}.player-choice strong,.room-seat>strong{font-size:16px;margin-top:3px}.seat-label{font-size:10px;gap:5px}.roster-heading{padding-bottom:6px}.roster-heading .seat-label{font-size:11px}.roster-heading .button{min-height:26px;padding:4px 8px;font-size:11px}.roster-choice{height:84px;min-height:84px}.roster-choice canvas{width:120px;height:80px;top:-12px}.roster-name{min-height:26px;padding:5px 7px;font-size:12px}.selection-bottom{position:static;margin:6px 0 0;padding:0;gap:8px;flex-wrap:nowrap}.compact-field{font-size:10px;gap:2px}.compact-field select{font-size:11px;padding:6px 8px}.match-options{gap:8px}.selection-bottom>.button{width:auto;min-height:44px;min-width:72px;font-size:14px;padding:7px 10px}.selection-screen .selection-bottom{flex-wrap:nowrap}.selection-screen .match-options{flex-basis:auto}.selection-screen .match-options .compact-field:first-child{flex:1.6}.selection-screen .selection-bottom>.button{width:auto;min-height:44px;font-size:14px}.room-invite{margin-bottom:6px}.room-invite>div>span{display:none}.room-code{font-size:21px}.room-invite .button{min-height:30px;padding:5px 9px;font-size:11px}.room-seat{padding:5px 8px}.room-seat .ready-label{font-size:10px;margin-top:3px}.room-status,.room-rule{font-size:11px}#screen{scroll-padding-block:12px 140px}.home-screen{height:100%;grid-template-columns:35% 1fr}.home-menu{padding-block:10px}.home-logo{margin-bottom:10px;max-width:220px}.home-logo span{font-size:22px;margin-bottom:3px}.home-menu .title-actions{grid-template-columns:1fr 1fr;gap:6px;margin-right:14px}.home-menu .title-actions .button{min-height:42px;padding:8px;font-size:14px}.home-menu .title-actions .home-play{grid-column:1/-1;min-height:44px;font-size:18px;margin:0}.home-menu .title-actions .button:last-child{grid-column:1/-1;min-height:36px;padding-block:6px}}@media(max-width:380px){.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selection-bottom>.button{width:100%}.selection-screen .selection-bottom{flex-wrap:wrap}.selection-screen .match-options{flex-basis:100%}.selection-screen .selection-bottom>.button{width:100%}.match-options{flex-basis:100%}.match-options .compact-field:first-child{flex:1}.mode-tab{padding-inline:5px}.home-logo{padding-top:16px}.home-menu .title-actions{margin-bottom:14px}}.app-shell.playing .stage-wrap.is-playing{--match-chrome: 106px;--touch-height: 0px;container:fight / inline-size;aspect-ratio:16 / 9;height:auto;min-height:0;max-height:none;width:min(100%,calc((100svh - var(--match-chrome) - var(--touch-height))*16/9));margin-inline:auto}.stage-wrap.is-playing>#arena{display:block;width:100%;height:auto;aspect-ratio:16 / 9;object-fit:contain}.is-playing #hud{display:block;position:absolute;inset:0;pointer-events:none}.hud-scores{position:absolute;inset:auto 16px 12px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:0;background:none;pointer-events:none}.hud-fighter{position:relative;inset:auto!important;display:grid;grid-template-columns:max-content 1fr;grid-template-areas:"heading heading" "alias alias" "damage stocks" "energy energy";width:212px;min-width:0;max-width:44%;padding:0;gap:0;border:0;border-radius:0;box-shadow:none;background:none;--seat: var(--p1);--hud-shadow: oklch(16% .025 217);text-shadow:-1px -1px 0 var(--hud-shadow),1px -1px 0 var(--hud-shadow),-1px 1px 0 var(--hud-shadow),1px 2px 0 var(--hud-shadow);pointer-events:none}.hud-fighter.p2{--seat: var(--p2);grid-template-columns:1fr max-content;grid-template-areas:"heading heading" "alias alias" "stocks damage" "energy energy"}.hud-heading{grid-area:heading;display:flex;justify-content:flex-start;align-items:baseline;gap:7px;min-width:0;max-width:none}.hud-name{font:700 13px/1.2 Barlow,sans-serif;color:var(--paper);letter-spacing:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-heading .player-tag{font-size:11px;font-weight:800;line-height:1.2;color:var(--seat);max-width:none;flex:none}.hud-alias{grid-area:alias;min-width:0;color:var(--paper);font-size:11px;line-height:14px}.hud-alias:empty{display:none}.hud-alias span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hud-readout{grid-area:damage;display:flex;justify-content:flex-start;align-items:center;gap:14px;margin:2px 0 1px}.hud-percent{display:flex;align-items:baseline;font:800 46px/.95 Barlow,sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:var(--paper);transition:color .12s ease-out}.hud-percent small{font-size:21px;letter-spacing:-.025em;margin-left:1px}.hud-percent[data-level=high]{color:oklch(87% .12 72)}.hud-percent[data-level=critical]{color:oklch(79% .15 30)}.stocks{grid-area:stocks;display:flex;gap:4px;align-self:center;justify-self:start;margin-left:14px}.p2 .stocks{justify-self:end;margin-left:0;margin-right:14px}.stock{display:block;width:8px;height:10px;background:var(--seat);border:1px solid var(--hud-shadow);box-shadow:0 1px 0 var(--hud-shadow)}.stock.empty{background:#112227;border-color:#889ca3}.hud-energy{grid-area:energy;display:flex;align-items:center;gap:7px;min-width:0;min-height:24px;font-variant-numeric:tabular-nums}.hud-energy .resource-label{display:inline;flex:none;color:#e3ddd1;font:500 11px/1.2 Barlow,sans-serif;letter-spacing:0}.reserve{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.hud-energy .resource{position:relative;height:6px;flex:1;width:auto;max-width:88px;min-width:20px;overflow:visible;background:#16272c;outline:1px solid var(--hud-shadow)}.resource i{display:block;height:100%;background:var(--fighter)}.resource b{position:absolute;width:2px;top:-2px;bottom:-2px;background:var(--paper);border:1px solid var(--hud-shadow)}.resource-value{color:var(--paper);font-size:11px;min-width:2ch;text-align:right;flex:none}.reserve.low .resource-value{color:oklch(87% .12 72)}.hud-equipment{display:inline-flex;width:32px;height:24px;flex:none;opacity:1}.hud-equipment,.rib-slot,.roll-meter{pointer-events:auto}.hud-energy svg{shape-rendering:crispEdges}.hud-energy .equipment-sprite{width:32px;height:24px}.ammo-meter{display:flex;align-items:center;gap:8px;min-width:0}.ammo-rounds{display:flex;align-items:center;gap:3px;position:relative;padding-bottom:4px}.ammo-rounds i{position:relative;display:block;width:5px;height:12px;border:1px solid oklch(74% .035 85);background:var(--hud-shadow)}.ammo-rounds i.loaded{background:#f5c66d;border-color:#fee5b3;box-shadow:0 1px 0 var(--hud-shadow)}.ammo-rounds i:before{content:"";position:absolute;top:-3px;left:0;right:0;height:2px;background:#b5aa92}.ammo-rounds i.loaded:before{background:#fee5b3}.ammo-rounds i:nth-child(3),.ammo-rounds i:nth-child(6){margin-right:3px}.reload-progress{position:absolute;left:0;bottom:0;height:2px;background:var(--fighter)}.reloading .resource-label{color:var(--paper)}.hud-energy .rib-meter{display:flex;gap:4px}.hud-energy .rib-slot{width:32px;height:24px}.hud-energy .rib-slot b{height:2px;background:#d4b6eb}.hud-energy .debbie-meter{gap:7px}.hud-energy .debbie-token{width:20px;height:22px;color:#b3a2ad}.hud-energy .debbie-token.ready{color:oklch(85% .12 355)}.debbie-readout{display:flex;flex-direction:column;gap:1px;min-width:0}.debbie-readout b{font-size:12px;line-height:1;font-weight:600;white-space:nowrap}.debbie-readout small{font-size:10px;line-height:1.1}.debbie-readout:empty{display:none}.hud-energy .moraes-meter{gap:7px}.hud-energy .moraes-hover{min-width:28px;padding-bottom:4px}.hud-energy .moraes-hover b{font-size:14px}.hud-energy .moraes-order{gap:3px}.hud-energy .moraes-order small{font-size:10px}.hud-energy .roll-meter{width:32px;height:24px}.hud-energy .mendonca-meter{color:var(--fighter)}.hud-energy .mendonca-meter>svg:last-child{order:-1}.hud-fighter.p2 .hud-heading,.hud-fighter.p2 .hud-readout{flex-direction:row-reverse}.hud-fighter.p2 .hud-energy{justify-content:flex-end}.hud-fighter.p2 .hud-alias{text-align:right}.hud-fighter[data-eliminated=true] :is(.hud-heading,.hud-alias,.hud-energy){opacity:.55}.hud-combo{position:absolute;left:0;bottom:calc(100% + 6px);padding:3px 6px;color:var(--paper);background:var(--ink);font-size:12px;line-height:1.2;white-space:nowrap}.p2 .hud-combo{left:auto;right:0}.hud-combo:empty{display:none}.hud-combo b{color:var(--seat);font-size:15px}.hud-combo span{margin-left:6px;color:var(--muted)}.hud-combo:has(+.hud-grab:not(:empty)){display:none}.hud-grab .grab-prompt{bottom:calc(100% + 6px);max-width:260px;border:0;padding:8px 10px;background:var(--ink)}.hud-grab .grab-prompt strong{font-size:11px;letter-spacing:0}.hud-grab .grab-prompt :is(span,small){font-size:11px}.hud-top{top:12px;left:16px;right:16px;align-items:flex-start}.hud-top .match-label{font-size:11px;line-height:1.2;font-weight:500;letter-spacing:0;padding:6px 8px;background:var(--ink)}.hud-top .match-label:empty{visibility:hidden}.hud-top .timer{padding:5px 10px 6px;color:var(--paper);background:var(--ink);font-size:25px;line-height:1;text-shadow:none}.timer small{margin-top:4px;font-size:10px;letter-spacing:0;font-weight:600;white-space:nowrap}.timer[data-urgent=true]{color:#f8ba6b}.hud-controls{margin-left:auto;gap:4px}.hud-controls button{width:36px;height:36px;min-width:36px;min-height:36px;font-size:15px;color:var(--paper);background:var(--ink);border:0;box-shadow:none}.hud-controls button:hover{background:var(--menu-hover)}.hud-controls button:focus-visible{outline:2px solid var(--mint);outline-offset:2px}.hud-center{top:57px;bottom:auto;max-width:70%;width:max-content;font-size:12px;line-height:1.3;padding:6px 10px;color:var(--paper);background:var(--ink);text-shadow:none}.hud-center:empty{display:none}@container fight (max-width: 900px){.hud-fighter{width:190px}.hud-percent{font-size:38px}.hud-name{font-size:12px}.hud-energy{gap:5px}.hud-energy .resource-label{font-size:10px}.reserve{gap:5px}.ammo-meter{gap:6px}}@container fight (max-width: 620px){.hud-scores{inset:auto 6px 5px;gap:16px}.hud-fighter{width:170px;max-width:calc(50% - 8px)}.hud-fighter{grid-template-areas:"damage heading" "damage alias" "damage stocks" "energy energy"}.hud-fighter.p2{grid-template-areas:"heading damage" "alias damage" "stocks damage" "energy energy"}.hud-heading{gap:4px}.hud-heading,.hud-alias{margin-left:6px}.p2 .hud-heading,.p2 .hud-alias{margin-left:0;margin-right:6px}.hud-heading .player-tag{font-size:10px}.hud-name{font-size:11px}.hud-alias{font-size:10px;line-height:12px}.hud-readout{margin:1px 0;gap:8px}.hud-percent{font-size:28px}.hud-percent small{font-size:14px}.stocks{gap:3px;margin-left:6px;align-self:start}.p2 .stocks{margin-left:0;margin-right:6px}.stock{width:6px;height:8px}.hud-energy{min-height:17px;gap:4px}.reserve{gap:4px}.resource-value{font-size:10px}.hud-energy .resource{min-width:12px;height:4px}.hud-equipment,.hud-energy .equipment-sprite,.hud-energy .rib-slot,.hud-energy .roll-meter{width:16px;height:12px}.ammo-meter{gap:4px}.ammo-rounds{gap:2px;padding-bottom:3px}.ammo-rounds i{width:4px;height:8px}.ammo-rounds i:nth-child(3),.ammo-rounds i:nth-child(6){margin-right:2px}.ammo-rounds i:before{top:-2px;height:1px}.hud-energy .debbie-meter,.hud-energy .moraes-meter{gap:3px}.hud-energy .moraes-hover{min-width:24px}.hud-energy .moraes-hover b{font-size:12px}.hud-energy .debbie-token{width:16px;height:16px}.hud-energy .debbie-token svg,.hud-energy .moraes-order svg{width:14px;height:14px}.hud-combo{font-size:10px;bottom:calc(100% + 4px);padding:3px 5px}.hud-combo b{font-size:12px}.hud-combo span{margin-left:3px}.hud-top{top:5px;left:6px;right:6px}.hud-top .timer{font-size:20px;padding:5px 8px}.hud-top .match-label{font-size:10px;padding:6px}.hud-center{top:47px;max-width:85%;font-size:11px}.hud-grab .grab-prompt{max-width:100%;min-width:0;width:100%;padding:6px}.hud-grab .grab-prompt :is(strong,span,small){font-size:10px}}.app-shell.playing .game-shell:fullscreen .stage-wrap.is-playing{--match-chrome: 0px;flex:none}.app-shell.playing .game-shell:fullscreen>.footer{display:none}html[data-touch-visible=true] .app-shell.playing .stage-wrap.is-playing{--touch-height: 142px}html[data-touch-visible=true] .app-shell.playing .game-shell:fullscreen .stage-wrap.is-playing{--match-chrome: 0px}@media(max-height:500px)and (orientation:landscape){.app-shell.playing .stage-wrap.is-playing{--match-chrome: 48px}.app-shell.playing .game-shell:fullscreen .stage-wrap.is-playing{--match-chrome: 0px}}.app-shell.playing .game-shell:fullscreen .stage-wrap.is-playing,html[data-touch-visible=true] .app-shell.playing .stage-wrap.is-playing,html[data-touch-visible=true] .app-shell.playing .game-shell:fullscreen .stage-wrap.is-playing{width:min(100%,calc((100dvh - var(--match-chrome) - var(--touch-height) - env(safe-area-inset-bottom))*16/9));height:auto;max-height:none;aspect-ratio:16 / 9}.collection-screen{position:relative;isolation:isolate;height:100%;min-height:100%;padding:18px}.collection-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.collection-header h1{font-size:26px;font-weight:700;line-height:1;margin:0}.collection-header .back-button{background:var(--menu-bg);padding-inline:16px}.collection-layout{position:relative;z-index:1;display:grid;grid-template-columns:270px minmax(0,1fr) 248px;gap:20px;flex:1;min-height:0}.collection-roster{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 6px 2px 0;scroll-padding:4px;scrollbar-color:var(--edge) var(--menu-bg)}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.collection-fighter.roster-choice{min-height:90px;height:90px}.collection-fighter canvas{width:126px;height:84px;top:-10px}.collection-fighter .roster-name{min-height:28px;padding:7px 5px;font-size:12px}.collection-preview{display:flex;flex-direction:column;min-width:0;min-height:0}.collection-preview .duel-space{flex:1;height:auto}.collection-turn{align-self:center;color:var(--paper)!important;background:var(--menu-bg)!important;min-width:88px}.collection-details{min-height:0;min-width:0;display:flex;flex-direction:column;padding:24px 18px 18px;background:var(--menu-bg);overflow:hidden}.collection-detail-body{flex:1;min-height:0;overflow:auto;scroll-padding:8px;scrollbar-color:var(--edge) var(--menu-bg)}.collection-name{font-size:30px;font-weight:700;line-height:1.08;margin:0 0 36px;overflow-wrap:break-word}.collection-options{display:flex;flex-direction:column;gap:26px}.collection-option{border:0;padding:0;margin:0;min-width:0}.collection-option legend{font-size:13px;color:var(--muted);padding:0 0 10px}.collection-switch{display:flex;gap:5px}.collection-switch button{flex:1;min-width:0;min-height:46px;padding:9px 6px;font-size:14px;line-height:1.2;background:var(--menu-raised);border:0;color:var(--paper)}.collection-switch button:hover{background:var(--menu-hover)}.collection-switch button[aria-pressed=true]{color:var(--ink);background:var(--gold)}.collection-switch button[aria-pressed=true]:focus-visible,html[data-input=gamepad] .collection-switch button[aria-pressed=true]:focus{outline-color:var(--ink)}.collection-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:32px}.collection-actions{flex-shrink:0}.collection-actions .button{width:100%}.collection-actions .primary{min-height:50px;font-size:18px}.roster-tools{display:flex;gap:6px}.roster-tools .button,.room-screen .roster-heading .button{min-height:44px}.online-identity>.button{margin-top:8px}@media(max-width:620px){.home-menu .title-actions .home-collection,.home-menu .title-actions .home-help{grid-column:auto;min-height:44px;margin:0;font-size:14px}}@media(max-width:1050px)and (min-width:621px){.collection-layout{grid-template-columns:192px minmax(0,1fr) 208px;gap:12px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-details{padding:18px 12px 12px}.collection-name{font-size:26px;margin-bottom:26px}.collection-switch button{font-size:13px;padding-inline:4px;white-space:nowrap}.collection-actions{flex-direction:row;padding-top:16px}.collection-actions .button{min-height:44px;font-size:14px;padding-inline:8px}}@media(max-width:620px){.stage-wrap[data-view=collection]{min-height:0}#screen:has(.collection-screen){scroll-padding:8px}.collection-screen{padding:12px;height:auto}.collection-header{margin-bottom:12px}.collection-header h1{font-size:24px}.collection-layout{display:grid;grid-template-columns:1fr;gap:16px}.collection-preview{grid-row:2;height:220px}.collection-preview .duel-space{min-height:170px}.collection-turn{min-height:44px;padding:9px 18px}.collection-details{grid-row:3;padding:18px 14px;overflow:visible}.collection-detail-body{overflow:visible}.collection-name{font-size:26px;margin-bottom:20px}.collection-options{flex-direction:row;gap:16px;flex-wrap:wrap}.collection-option{flex:1;min-width:140px}.collection-switch button{font-size:12px;padding-inline:3px;white-space:nowrap}.collection-actions{flex-direction:row;padding-top:20px}.collection-actions .button{flex:1;min-height:46px;font-size:16px}.collection-roster{grid-row:1;max-height:114px;overflow:auto;padding:0 4px 0 0;background:var(--menu-bg)}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.collection-fighter.roster-choice{height:94px;min-height:94px}.collection-fighter .roster-name{font-size:13px}}@media(max-height:540px)and (orientation:landscape){.collection-screen{padding:8px 12px}.collection-header{position:absolute;left:12px;top:8px;width:168px;margin:0;gap:4px}.collection-header .back-button{font-size:12px;padding-inline:8px}.collection-header h1{font-size:22px}.collection-layout{grid-template-columns:168px minmax(0,1fr) 226px;gap:10px}.collection-roster{grid-row:auto;max-height:none;margin-top:50px}.collection-preview{grid-row:auto;height:auto}.collection-preview .duel-space{min-height:0}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.collection-fighter.roster-choice{height:76px;min-height:76px}.collection-fighter canvas{top:-18px}.collection-details{grid-row:auto;padding:10px;overflow:hidden}.collection-detail-body{overflow:auto}.collection-name{font-size:21px;margin-bottom:12px}.collection-options{flex-direction:column;gap:10px}.collection-option legend{padding-bottom:6px;font-size:12px}.collection-switch button{min-height:44px}.collection-actions{flex-direction:row;padding-top:10px}.collection-actions .button{padding-inline:8px;font-size:14px;min-height:44px}.collection-turn{min-height:44px;padding:8px 14px}}
