@charset "UTF-8";
.game-toolbar .coop-control{width:auto;padding:6px 10px;font-size:13px;color:#d9fc55}.partner-hud{position:absolute;z-index:3;top:136px;left:28px;font-size:12px;color:#9fe0ff;background:#112b2ccc;padding:4px 9px;border-left:3px solid #7acfff}.boss-hud{position:absolute;z-index:3;bottom:25px;left:50%;transform:translateX(-50%);width:min(330px,40vw);text-align:center;pointer-events:none}.boss-hud strong{display:block;font-size:14px;color:#ffe4cb;text-shadow:0 2px 3px #000;margin-bottom:6px}.boss-track{height:10px;background:#301d2dcc;border:1px solid #a57765;border-radius:2px;overflow:hidden}.boss-track i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#b84147,#ff9c6d);transition:width .15s}.coop-status{position:absolute;right:20px;top:50px;z-index:3;font-size:11px;color:#a2c5c7;pointer-events:none}@media(max-width:600px){.partner-hud{top:127px;left:16px;font-size:10px}.boss-hud{bottom:190px;width:65vw}.boss-hud strong{font-size:12px}.game-toolbar .coop-control{font-size:11px;padding-inline:4px}.coop-status{top:50px;right:12px;font-size:9px}}@media(max-height:520px) and (orientation:landscape){.boss-hud{bottom:14px;width:35vw}.partner-hud{top:128px;left:20px}}
.move-label{position:absolute;z-index:3;left:28px;top:143px;padding:6px 10px;border-left:3px solid #d9fc55;background:#10261ed9;color:#e8f5c6;font-size:14px;line-height:1.3;letter-spacing:1px;pointer-events:none}@media(max-width:600px){.move-label{left:16px;top:142px;font-size:12px}}@media(max-height:520px) and (orientation:landscape){.move-label{top:131px;left:20px;font-size:12px;padding:4px 8px}}
.menu-card.help-card{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}
.game-toolbar #pause-btn{width:auto;display:flex;gap:5px;padding-inline:8px}.pause-label{font-size:11px;white-space:nowrap}
.icon-button.sound-control{width:auto;min-width:36px;display:flex;gap:6px;padding:6px 8px}.sound-label{font-size:11px;white-space:nowrap}.sound-cross{display:none}.muted .sound-cross{display:block}.muted .sound-waves{display:none}.audio-running .sound-label{color:#d9fc55}@media(max-width:600px){.icon-button.sound-control{gap:4px;padding-inline:3px}.sound-label{font-size:10px}}
:root{color-scheme:dark;--ink:#101a20;--deep:#0a1217;--lime:#d9fc55;--paper:#f3f3e8;--muted:#8b9b9b;--line:rgba(225,240,218,.14);font-family:Inter,"Arial","Microsoft YaHei","PingFang SC",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--ink);color:var(--paper)}body{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}button,select,a{touch-action:manipulation}button,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:4px}button{transition:background .17s,border-color .17s,transform .17s,color .17s}button:active{transform:translateY(1px)}.hidden,[hidden]{display:none!important}.arcade-app{height:100dvh;min-height:0;display:flex;flex-direction:column;padding:0 28px;background:radial-gradient(ellipse at 80% 0%,#192a2b 0%,var(--ink) 70%)}.app-header{height:88px;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand-mark{height:44px;width:44px;background:var(--lime);color:var(--ink);border-radius:10px;display:grid;place-items:center}.brand-mark svg{width:38px;height:38px}.brand-copy{display:flex;flex-direction:column;gap:5px}.brand-copy strong{font-size:20px;line-height:1;letter-spacing:1.8px;font-weight:900}.brand-copy strong span{font:800 10px/1 Arial;letter-spacing:0;border:1px solid #83964b;border-radius:3px;color:var(--lime);padding:2px 3px;margin-left:7px;vertical-align:3px}.brand-copy small{font-size:8px;font-weight:700;letter-spacing:2.3px;color:#99aaa5}.header-center{font:600 9px/1 monospace;letter-spacing:2px;color:#a3b4aa;display:flex;align-items:center;gap:11px;margin-left:auto;margin-right:auto}.status-dot{height:5px;width:5px;border-radius:50%;background:var(--lime);box-shadow:0 0 8px #d9fc5544}.header-slash{opacity:.25;margin:0 3px}.header-actions{display:flex;align-items:center;gap:7px}.cover-link{font-size:11px;letter-spacing:1px;color:#b0bdb6;padding:10px}.cover-link span{margin-left:10px;color:var(--lime)}.cover-link:hover{color:var(--paper)}.action-divider{width:1px;height:20px;background:var(--line);margin:0 12px}.icon-button{background:transparent;width:36px;height:36px;display:grid;place-items:center;border-radius:6px;border:1px solid transparent;color:#bbc8bd}.icon-button:hover{background:#ffffff09;border-color:var(--line)}.icon-button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-button.muted{opacity:.4}.game-frame{position:relative;isolation:isolate;flex:1;min-height:0;overflow:hidden;background:#234b49;border:1px solid rgba(183,209,178,.18);border-radius:10px;box-shadow:0 14px 50px #0002}#game-canvas{display:block;width:100%;height:100%;outline:none;touch-action:none}.canvas-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#09171b55,transparent 22%,transparent 80%,#0a181926);z-index:1}.loading{position:absolute;z-index:12;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid var(--line);background:#0d1b20ed;padding:14px 20px;border-radius:6px;font-size:12px;color:var(--lime);white-space:nowrap;display:flex;align-items:center;gap:10px}.loading>span{width:12px;height:12px;border:2px solid #d9fc5533;border-top-color:var(--lime);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.fatal{position:absolute;inset:0;display:grid;place-content:center;padding:28px;background:#0b151bec;z-index:50;text-align:center;line-height:1.8}.home-screen{position:absolute;inset:0;z-index:3;pointer-events:none}.home-gradient{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,21,24,.97) 0%,rgba(8,21,24,.91) 23%,rgba(8,21,24,.7) 36%,rgba(8,21,24,.12) 61%,transparent 75%)}.home-content{position:relative;width:510px;max-width:48%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:32px 0 34px 4.7%;pointer-events:auto}.hero-kicker{font:600 9px/1.4 monospace;color:#d0dfbb;letter-spacing:2.1px;display:flex;align-items:center;gap:9px;margin:0 0 19px}.hero-kicker>span{height:5px;width:5px;background:var(--lime);transform:rotate(45deg)}.hero-title{font-family:"Arial Black","Microsoft YaHei","PingFang SC",sans-serif;font-size:clamp(65px,6.9vw,108px);letter-spacing:1px;font-weight:1000;line-height:1.02;margin:0 0 14px;filter:drop-shadow(0 3px 0 #162323);transform:skew(-6deg);transform-origin:left center}.hero-title>span{display:block}.title-second{color:var(--lime);position:relative}.title-second i{position:absolute;font:900 italic 17px/1.4 Arial;background:var(--lime);color:#142222;border-radius:4px;letter-spacing:0;padding:3px 8px;transform:rotate(-8deg);left:calc(100% + 13px);top:15px;border:1px solid #f2ffab;box-shadow:3px 3px 0 #78912b}.hero-en{font:700 8px/1.6 monospace;letter-spacing:2px;color:#d4e2cb;margin:0 0 16px}.hero-description{font-size:12px;line-height:1.9;font-weight:400;color:#a1b5ac;margin:0 0 27px;letter-spacing:.8px}.fighter-selection{width:100%;max-width:389px}.section-label{display:flex;align-items:center;gap:13px;margin-bottom:11px}.section-label>span{font-size:10px;color:#c0cec2;letter-spacing:1.3px}.section-label>small{font:500 7px/1 monospace;letter-spacing:1.1px;color:#698880}.fighter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.fighter-card{position:relative;border:1px solid #8cad8040;border-radius:5px;background:#21342f99;min-width:0;height:106px;overflow:hidden;display:flex;align-items:center;flex-direction:column;padding:5px 3px 8px}.fighter-card:hover{background:#374a34c9;border-color:#b5d88e85;transform:translateY(-2px)}.fighter-card.selected,.fighter-card.active,.fighter-card[aria-pressed="true"]{background:linear-gradient(145deg,#9ab74633,#264637b3);border-color:var(--lime);box-shadow:0 0 0 1px #d9fc5512}.fighter-number{font:600 7px monospace;position:absolute;top:6px;left:6px;color:#94ad8b}.fighter-avatar{width:69px;height:55px;margin-bottom:4px;filter:drop-shadow(2px 3px 0 #0003)}.fighter-card strong{font-size:10px;letter-spacing:.5px;font-weight:600}.fighter-card>small{font-size:8px;color:#8ca296;margin-top:5px}.selected-check{display:none;position:absolute;right:4px;top:4px;background:var(--lime);border-radius:50%;height:11px;width:11px;font:900 8px/11px Arial;color:#24362b;text-align:center}.selected .selected-check,.active .selected-check{display:block}.start-row{display:flex;gap:9px;align-items:stretch;width:100%;max-width:389px;margin-top:15px}.primary-button{height:49px;min-height:49px;width:100%;border-radius:4px;background:var(--lime);color:#18251a;font-size:14px;font-weight:800;letter-spacing:2px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;box-shadow:0 3px 0 #8baf32}.primary-button:hover{background:#e7ff85;box-shadow:0 3px 0 #aac841,0 0 25px #d9fc551a}.primary-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.start-row>.primary-button{flex:1}.difficulty-label{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border:1px solid #5d786344;border-radius:4px;padding:5px 9px;min-width:73px;background:#16292188}.difficulty-label>span{font-size:8px;color:#97a98f;margin-bottom:4px;letter-spacing:1px}.difficulty-label select{background:transparent;border:none;font-size:10px;letter-spacing:1px;color:#e1eacb;outline-offset:0;padding:0;cursor:pointer;max-width:64px}.difficulty-label option{background:var(--ink)}.stage-route{display:flex;align-items:center;justify-content:space-between;gap:7px;max-width:389px;width:100%;margin-top:20px;font-size:8px;color:#7c978c;white-space:nowrap;letter-spacing:.3px}.stage-route b{font:500 8px monospace;color:#b5caa0;margin-right:3px}.stage-route i{font-style:normal;font-size:10px;opacity:.4}.scene-caption{position:absolute;right:4.2%;bottom:8.2%;text-shadow:0 2px 15px #102922cc;max-width:210px}.scene-caption-rule{display:block;width:33px;height:2px;background:var(--lime);margin-bottom:12px}.scene-caption>small{font:600 8px monospace;color:var(--lime);letter-spacing:3px}.scene-caption>strong{display:block;font-size:21px;letter-spacing:2px;font-weight:700;margin-top:7px}.scene-caption>strong span{font:500 8px monospace;vertical-align:3px;letter-spacing:1px;opacity:.6;margin-left:11px}.scene-caption p{color:#cedccc;font-size:9px;letter-spacing:1.5px;margin:8px 0 0}.home-corner-label{position:absolute;right:28px;top:24px;font:500 8px monospace;letter-spacing:1.6px;color:#e5efd3a6}.home-corner-label>span{color:var(--lime);margin:0 9px}.app-footer{min-height:61px;height:61px;display:flex;align-items:center;justify-content:space-between;gap:20px}.keyboard-guide{display:flex;align-items:center;gap:20px;color:#8a9e94;font-size:9px;letter-spacing:.3px}.keyboard-guide>span{display:flex;align-items:center;gap:7px}.keyboard-guide>i{height:15px;width:1px;background:var(--line);margin-right:2px}kbd{display:inline-flex;align-items:center;justify-content:center;font:600 9px/1 monospace;padding:5px 6px;border:1px solid #7590763d;border-bottom:2px solid #7590763d;border-radius:3px;background:#c6edb305;color:#c2d2ba;white-space:nowrap}.footer-right{display:flex;align-items:center;gap:26px}.fan-label{font:500 7px/1 monospace;color:#607a70;letter-spacing:1.1px}.footer-right button{font-size:9px;letter-spacing:1px;background:transparent;padding:6px 0;color:#abbdaf}.footer-right button>span{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;border:1px solid #5b7464;font:700 9px Arial;color:#a6b59c;margin-left:5px}
.hud{position:absolute;z-index:4;left:28px;right:28px;top:25px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}.player-hud{width:244px;filter:drop-shadow(0 2px 4px #0005)}.player-tag{display:flex;gap:9px;align-items:center;margin-bottom:8px}.player-tag>b{background:var(--lime);color:#1b2d22;font:800 10px Arial;padding:3px 5px;transform:skew(-5deg)}.player-tag>span{font-size:12px;font-weight:800;letter-spacing:1.2px}.player-tag>small{font:500 7px monospace;letter-spacing:1.5px;opacity:.65;margin-left:auto}.health-track{position:relative;height:16px;background:#0c221ada;border:1px solid #b8d79777;transform:skew(-8deg);overflow:hidden}.health-fill{width:100%;height:100%;background:linear-gradient(90deg,#a5d448,#dcfa64);transition:width .15s}.health-track>span{position:absolute;right:5px;top:2px;color:#152417;font:800 9px monospace;text-shadow:0 0 2px #d9fc55}.energy-line{display:flex;align-items:center;gap:8px;margin-top:7px}.energy-line>span{font:500 6px monospace;letter-spacing:1px;color:#d9e3be}.energy-track{flex:1;height:4px;background:#102a24c7;outline:1px solid #9bba7b22;transform:skew(-10deg)}.energy-fill{height:100%;width:0%;background:#f6b955;box-shadow:0 0 8px #f6b95566;transition:width .2s}.energy-line>small{font-size:6px;color:#ddc994;letter-spacing:.5px}.stage-hud{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:7px;padding:5px 12px;text-shadow:0 2px 4px #0008}.stage-hud>span{font-size:11px;letter-spacing:2px;font-weight:700;white-space:nowrap}.stage-hud>small{font:600 8px monospace;color:var(--lime);letter-spacing:2px}.score-hud{text-align:right;display:flex;flex-direction:column;gap:5px;text-shadow:0 2px 5px #0008}.score-hud>small{font:500 7px monospace;letter-spacing:2px;color:#d0dcc2}.score-hud>strong{font:800 27px/.9 monospace;letter-spacing:1px;color:var(--paper)}.score-hud>span{font:500 7px monospace;letter-spacing:1px;color:#bdcca9}.score-hud>span>b{font-weight:500;color:var(--lime);margin-left:8px}.combo{position:absolute;right:6%;top:27%;z-index:4;pointer-events:none;display:flex;align-items:flex-end;flex-direction:column;transform:rotate(-6deg);filter:drop-shadow(3px 4px 0 #11261b)}.combo>strong{font:900 italic 72px/.95 Arial;color:var(--lime)}.combo>span{font:800 italic 12px Arial;letter-spacing:1px;color:var(--paper)}.game-message{position:absolute;z-index:5;left:50%;top:24%;transform:translate(-50%,-50%) skew(-5deg);text-align:center;color:var(--paper);font-size:26px;line-height:1.4;font-weight:900;letter-spacing:4px;pointer-events:none;text-shadow:2px 3px 0 #12392d,0 0 30px #091c1599;white-space:nowrap}.go-arrow{position:absolute;z-index:4;right:7%;top:45%;font:900 italic 25px Arial;color:var(--lime);filter:drop-shadow(2px 2px 0 #143125);animation:go 1s infinite;pointer-events:none}.go-arrow>span{font-size:34px;margin-left:4px}@keyframes go{50%{transform:translateX(10px)}}.touch-controls{display:none;position:absolute;inset:0;z-index:6;pointer-events:none;touch-action:none}.direction-pad{position:absolute;left:25px;bottom:24px;width:147px;height:147px;pointer-events:auto}.dpad-center{position:absolute;inset:47px;border-radius:12px;background:#0b201a5c;border:1px solid #d7efb31a}.dpad-button{position:absolute;height:49px;width:49px;border:1px solid #d1e8b84d;border-radius:9px;background:#172d2396;backdrop-filter:blur(5px);color:#d6e4c9;font-size:15px;touch-action:none;box-shadow:0 3px 0 #07191266}.dpad-button:active,.dpad-button.pressed{background:#d9fc5570;border-color:var(--lime);color:#102417}.dpad-up{top:0;left:49px;border-radius:10px 10px 7px 7px}.dpad-down{bottom:0;left:49px;border-radius:7px 7px 10px 10px}.dpad-left{left:0;top:49px;border-radius:10px 7px 7px 10px}.dpad-right{right:0;top:49px;border-radius:7px 10px 10px 7px}.action-pad{position:absolute;right:21px;bottom:23px;width:188px;height:148px;pointer-events:auto}.touch-action{position:absolute;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:4px;touch-action:none;border:1px solid #c4ddaa6b;box-shadow:0 4px 0 #0a221066;background:#1e39298c;backdrop-filter:blur(5px)}.touch-action>span{font-size:13px;font-weight:700;letter-spacing:1px}.touch-action>small{font:600 7px monospace;letter-spacing:1px;opacity:.6}.touch-action:active,.touch-action.pressed{filter:brightness(1.4);transform:translateY(3px)}.touch-attack{width:76px;height:76px;right:0;bottom:0;background:#d9fc55da;color:#1b321c;border-color:#e5ff8e}.touch-jump{width:62px;height:62px;left:25px;bottom:3px;background:#315544bf;color:#e7f4d6}.touch-special{width:58px;height:58px;right:29px;top:1px;background:#8b6b35bb;color:#ffe1a4;border-color:#ecc27680}.touch-dodge{width:49px;height:49px;left:0;top:6px;color:#d4e1cf}.touch-dodge>span{font-size:10px}.touch-dodge>small{font-size:5px}.modal-screen{position:absolute;inset:0;z-index:20;background:#071513c9;backdrop-filter:blur(9px);display:grid;place-items:center;padding:20px}.menu-card{width:360px;max-width:100%;padding:37px 30px 25px;background:linear-gradient(155deg,#263c32,#12281f);border:1px solid #90ad6d5c;border-radius:8px;box-shadow:0 20px 80px #0006;text-align:center}.menu-eyebrow{font:500 8px monospace;letter-spacing:2px;color:var(--lime)}.menu-card h2{font-size:34px;font-weight:900;letter-spacing:3px;margin:18px 0 11px}.menu-card>p{font-size:11px;color:#a6bda9;line-height:1.9;margin:0 0 28px;letter-spacing:.3px}.menu-card .primary-button{font-size:12px;height:46px;min-height:46px}.secondary-actions{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:21px}.secondary-actions button{background:transparent;font-size:11px;color:#b9c9b6;padding:3px 8px}.secondary-actions button:hover{color:var(--lime)}.menu-note{display:block;color:#708b73;font-size:9px;letter-spacing:1px;margin-top:24px}.result-score{border-block:1px solid #afc48d26;margin-bottom:25px;padding:18px 0 21px;display:flex;flex-direction:column;gap:9px}.result-score>span{font:500 8px monospace;letter-spacing:3px;color:#a8ba8c}.result-score>strong{font:700 43px monospace;letter-spacing:2px;color:var(--lime)}.help-card{width:400px;padding-top:28px}.help-card h2{font-size:26px;margin:14px 0 19px}.help-list{padding-block:7px;border-block:1px solid #8fac6f33;margin-bottom:18px}.help-list p{display:flex;align-items:center;gap:7px;margin:8px 0;color:#8fa084;font-size:9px}.help-list p>span{margin-left:auto;color:#d5dfcc;font-size:10px}.menu-card>.help-tip{font-size:10px;margin-bottom:21px}.help-list kbd{font-size:8px;padding:5px}
@media(min-width:1600px){.home-content{width:610px;max-width:44%;padding-left:5.5%}.hero-title{font-size:112px}.hero-description{font-size:13px;margin-bottom:29px}.fighter-selection,.start-row,.stage-route{max-width:410px}.fighter-card{height:117px}.fighter-avatar{height:64px}.fighter-card strong{font-size:11px}}
@media(max-height:760px) and (min-width:901px){.app-header{height:72px;min-height:72px}.app-footer{height:48px;min-height:48px}.home-content{padding-block:22px;max-width:47%;width:470px}.hero-kicker{margin-bottom:10px;font-size:8px}.hero-title{font-size:clamp(60px,6.2vw,85px);margin-bottom:9px}.hero-en{margin-bottom:9px}.hero-description{font-size:11px;margin-bottom:16px}.fighter-card{height:91px;padding-bottom:6px}.fighter-avatar{height:43px}.fighter-card>small{margin-top:3px}.section-label{margin-bottom:8px}.start-row{margin-top:11px}.primary-button{height:44px;min-height:44px}.stage-route{margin-top:15px}.scene-caption{bottom:8%}}
@media(max-width:1100px){.arcade-app{padding-inline:20px}.header-center{display:none}.keyboard-guide{gap:13px}.footer-right{gap:18px}.fan-label{display:none}.home-content{max-width:49%;padding-left:4%}.hero-title{font-size:80px}.hero-description{font-size:11px}.hero-en{font-size:7px;letter-spacing:1.5px}.fighter-card{height:97px}.fighter-avatar{width:60px;height:47px}.stage-route{font-size:7px;gap:5px}.stage-route b{font-size:7px;margin-right:1px}}
@media(pointer:coarse),(max-width:900px){body.playing .touch-controls,.arcade-app.playing .touch-controls,.game-frame.playing .touch-controls{display:block}.touch-controls{display:block}.home-screen:not(.hidden)~.touch-controls{display:none}.keyboard-guide{display:none}.app-footer{min-height:39px;height:39px;justify-content:flex-end}.app-header{min-height:69px;height:69px}.brand-mark{height:37px;width:37px;border-radius:8px}.brand-mark svg{height:32px;width:32px}.brand-copy strong{font-size:17px}.brand-copy small{font-size:7px;letter-spacing:1.7px}.app-header{gap:10px}.header-actions{gap:3px}.cover-link{font-size:10px}.action-divider{margin-inline:5px}.icon-button{height:33px;width:33px}.home-content{max-width:54%;width:420px;padding-top:24px;padding-bottom:24px}.hero-title{font-size:72px}.hero-kicker{font-size:7px;letter-spacing:1.4px;margin-bottom:12px}.hero-description{margin-bottom:20px}.scene-caption{right:5%;bottom:11%}.scene-caption>strong{font-size:18px}.scene-caption>small{font-size:7px}.home-corner-label{font-size:7px;right:20px;top:19px}.hud{left:19px;right:19px;top:19px}.player-hud{width:210px}.stage-hud>span{font-size:10px}.score-hud>strong{font-size:24px}.footer-right{width:100%;justify-content:space-between}.fan-label{display:block;font-size:6px}.footer-right button{font-size:8px}}
@media(max-width:600px){.arcade-app{padding:0 10px;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:var(--ink)}.app-header{height:64px;min-height:64px;padding:0 3px}.brand{gap:8px}.brand-mark{height:33px;width:33px;border-radius:7px}.brand-mark svg{width:29px;height:29px}.brand-copy{gap:4px}.brand-copy strong{font-size:15px;letter-spacing:1px}.brand-copy strong span{font-size:8px;vertical-align:2px;margin-left:5px;padding:2px}.brand-copy small{font-size:5.5px;letter-spacing:1.5px}.cover-link,.action-divider{display:none}.header-actions{gap:2px}.icon-button{width:31px;height:31px}.icon-button svg{height:17px;width:17px}.game-frame{border-radius:7px}.app-footer{height:33px;min-height:33px;padding:0 4px}.home-content{padding:24px 22px 22px;width:100%;max-width:none;justify-content:flex-start}.home-gradient{background:linear-gradient(180deg,#081719e8 0%,#0817199c 23%,#08171912 48%,#081719a6 66%,#081719f5 83%)}.hero-kicker{font-size:7px;letter-spacing:1.3px;margin-bottom:12px}.hero-title{display:flex;gap:5px;font-size:57px;line-height:1.15;letter-spacing:0;margin-bottom:7px;transform:skew(-6deg)}.hero-title>span{display:inline-block}.title-second i{font-size:12px;padding:2px 5px;left:calc(100% + 10px);top:7px;box-shadow:2px 2px 0 #78912b}.hero-en{font-size:6px;letter-spacing:1.6px;margin-bottom:8px}.hero-description{font-size:10px;letter-spacing:.5px;line-height:1.75;margin-bottom:0}.fighter-selection{margin-top:auto;width:100%;max-width:none}.section-label{margin-bottom:8px;gap:10px}.section-label>span{font-size:9px}.section-label>small{font-size:6px}.fighter-grid{gap:6px}.fighter-card{height:89px;padding:4px 2px 7px;background:#20382ac7}.fighter-avatar{height:43px;width:58px;margin-bottom:4px}.fighter-card strong{font-size:9px}.fighter-card>small{font-size:7px;margin-top:4px}.fighter-number{font-size:6px;top:5px;left:5px}.selected-check{right:4px;top:4px;height:9px;width:9px;line-height:9px;font-size:6px}.start-row{margin-top:12px;max-width:none}.primary-button{height:47px;min-height:47px;font-size:13px;padding-inline:18px}.difficulty-label{min-width:67px}.stage-route{max-width:none;font-size:6.5px;margin-top:16px;letter-spacing:0}.stage-route b{font-size:6.5px}.home-corner-label{display:none}.scene-caption{right:21px;bottom:40%;transform:translateY(0);max-width:150px}.scene-caption-rule{width:24px;margin-bottom:7px}.scene-caption>small{font-size:6px;letter-spacing:2px}.scene-caption>strong{font-size:13px;margin-top:6px;letter-spacing:1px}.scene-caption>strong span{font-size:6px;margin-left:4px;vertical-align:1px}.scene-caption>p{font-size:7px;letter-spacing:.5px;margin-top:5px}.hud{left:15px;right:15px;top:17px;gap:10px}.player-hud{width:172px}.player-tag{gap:6px;margin-bottom:7px}.player-tag>span{font-size:10px;letter-spacing:.5px}.player-tag>small{font-size:5px;letter-spacing:.7px}.player-tag>b{font-size:8px;padding:3px 4px}.health-track{height:13px}.health-track>span{font-size:7px;top:2px}.energy-line{gap:5px;margin-top:6px}.energy-line>span{font-size:5px}.energy-line>small{font-size:5px}.score-hud{gap:5px}.score-hud>small{font-size:6px;letter-spacing:1px}.score-hud>strong{font-size:22px}.score-hud>span{font-size:5px;letter-spacing:.5px}.score-hud>span>b{margin-left:4px}.stage-hud{top:70px;gap:5px;left:50%;padding:5px 10px;background:#10291e77;border-radius:3px}.stage-hud>span{font-size:8px;letter-spacing:1.2px}.stage-hud>small{font-size:6px;letter-spacing:1.5px}.combo{right:8%;top:31%}.combo>strong{font-size:55px}.combo>span{font-size:9px}.game-message{top:30%;font-size:21px;letter-spacing:2px;width:100%;white-space:normal;padding-inline:15px}.direction-pad{left:16px;bottom:22px;width:129px;height:129px}.dpad-button{height:43px;width:43px;font-size:13px}.dpad-center{inset:41px}.dpad-up{left:43px}.dpad-down{left:43px}.dpad-left{top:43px}.dpad-right{top:43px}.action-pad{right:13px;bottom:23px;width:166px;height:132px}.touch-attack{width:66px;height:66px}.touch-jump{width:56px;height:56px;left:23px;bottom:1px}.touch-special{width:53px;height:53px;right:27px;top:1px}.touch-dodge{width:43px;height:43px;left:0;top:6px}.touch-action>span{font-size:11px}.touch-action>small{font-size:6px}.touch-dodge>span{font-size:9px}.touch-dodge>small{font-size:4px}.menu-card{padding:30px 24px 25px;width:325px}.menu-card h2{font-size:31px}.menu-card>p{font-size:10px}.menu-card .primary-button{font-size:12px}.help-card{padding:23px 22px 21px}.help-card h2{font-size:24px}.help-list p{margin:7px 0}.help-list kbd{font-size:7px}.help-card>.help-tip{font-size:9px}.fan-label{font-size:5.5px;letter-spacing:.7px}.footer-right button{font-size:8px}.footer-right button>span{height:13px;width:13px;font-size:8px}}
@media(max-width:380px){.home-content{padding-inline:17px}.hero-title{font-size:49px}.hero-kicker{font-size:6px;letter-spacing:1px}.hero-en{font-size:5.5px;letter-spacing:1.3px}.hero-description{font-size:9px}.fighter-card{height:82px}.fighter-avatar{height:38px}.fighter-card strong{font-size:8px}.fighter-card>small{font-size:6px}.stage-route{font-size:6px;gap:3px}.stage-route b{font-size:6px}.direction-pad{left:12px;bottom:18px;transform:scale(.9);transform-origin:left bottom}.action-pad{right:9px;bottom:18px;transform:scale(.9);transform-origin:right bottom}.scene-caption{right:18px;bottom:40%}}
@media(max-height:690px) and (max-width:600px){.home-content{padding-top:18px;padding-bottom:17px}.hero-title{font-size:49px}.hero-kicker{margin-bottom:8px}.hero-en{margin-bottom:5px}.hero-description{font-size:9px;line-height:1.6}.fighter-card{height:78px}.fighter-avatar{height:34px;margin-bottom:3px}.fighter-card>small{margin-top:3px}.section-label{margin-bottom:6px}.start-row{margin-top:9px}.primary-button{height:43px;min-height:43px}.stage-route{margin-top:12px}.scene-caption{bottom:43%}.scene-caption>p{display:none}.app-header{height:58px;min-height:58px}.app-footer{height:27px;min-height:27px}}
@media(max-height:520px) and (orientation:landscape){.arcade-app{padding-inline:10px}.app-header{height:47px;min-height:47px}.brand-mark{width:29px;height:29px}.brand-mark svg{width:25px;height:25px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:5px}.brand-copy strong span{font-size:7px}.app-footer{height:25px;min-height:25px}.home-content{padding:14px 0 13px 25px;width:360px;max-width:48%;justify-content:flex-start}.hero-kicker{font-size:6px;margin-bottom:5px;letter-spacing:1px}.hero-title{display:flex;gap:3px;font-size:45px;line-height:1.08;margin-bottom:5px}.hero-title>span{display:inline-block}.title-second i{font-size:10px;padding:1px 4px;left:calc(100% + 8px);top:6px}.hero-en{font-size:5px;letter-spacing:1.4px;margin-bottom:5px}.hero-description{display:none}.fighter-selection{margin-top:auto;max-width:275px}.section-label{margin-bottom:5px}.section-label>span{font-size:7px}.section-label>small{font-size:5px}.fighter-grid{gap:5px}.fighter-card{height:68px;padding:3px 1px 5px}.fighter-avatar{width:49px;height:31px;margin-bottom:3px}.fighter-card strong{font-size:7px}.fighter-card>small{font-size:6px;margin-top:3px}.fighter-number{font-size:5px}.selected-check{font-size:5px;width:8px;height:8px;line-height:8px}.start-row{margin-top:7px;max-width:275px;gap:6px}.primary-button{height:35px;min-height:35px;font-size:10px;padding-inline:15px}.primary-button svg{height:18px;width:18px}.difficulty-label{min-width:57px;padding:3px 7px}.difficulty-label>span{font-size:6px;margin-bottom:3px}.difficulty-label select{font-size:8px}.stage-route{font-size:5px;margin-top:9px;max-width:275px}.stage-route b{font-size:5px}.stage-route i{font-size:7px}.scene-caption{bottom:11%;right:5%}.scene-caption>strong{font-size:15px}.scene-caption p{font-size:7px}.scene-caption-rule{margin-bottom:8px}.home-corner-label{font-size:6px;top:15px}.hud{top:13px;left:18px;right:18px}.player-hud{width:180px}.stage-hud{position:absolute;top:0;left:50%;background:none}.stage-hud>span{font-size:8px}.stage-hud>small{font-size:6px}.score-hud>strong{font-size:21px}.player-tag>span{font-size:10px}.player-tag>small{font-size:5px}.health-track{height:12px}.health-track>span{font-size:7px;top:1px}.player-tag{margin-bottom:5px}.energy-line{margin-top:5px}.direction-pad{left:18px;bottom:16px;width:114px;height:114px}.dpad-button{height:38px;width:38px;font-size:12px}.dpad-center{inset:36px}.dpad-up,.dpad-down{left:38px}.dpad-left,.dpad-right{top:38px}.action-pad{right:18px;bottom:16px;transform:scale(.82);transform-origin:right bottom}.combo{top:25%;right:5%}.combo>strong{font-size:45px}.combo>span{font-size:8px}.game-message{font-size:21px;top:25%}.menu-card{padding:23px 27px 21px;width:330px}.menu-card h2{font-size:27px;margin-top:12px}.menu-card>p{font-size:10px;margin-bottom:19px}.menu-card .primary-button{height:38px;min-height:38px}.secondary-actions{margin-top:15px}.menu-note{margin-top:16px;font-size:8px}.result-score{padding:12px 0 15px;margin-bottom:18px}.result-score>strong{font-size:32px}.help-card{padding:16px 23px}.help-card h2{font-size:21px;margin:8px 0 10px}.help-list{margin-bottom:10px;padding-block:3px}.help-list p{margin:4px 0}.help-list kbd{font-size:6px;padding:3px 5px}.help-list p>span{font-size:8px}.help-card>.help-tip{font-size:8px;margin-bottom:11px}.footer-right button{font-size:7px}.footer-right button>span{height:12px;width:12px;font-size:7px}.fan-label{font-size:5px}}
.touch-special.depleted{background:#29352c9e;border-color:#9d9f7455;color:#a9ad8f;box-shadow:0 4px 0 #0a221066}.touch-special.depleted>span{opacity:.65}
@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* The arcade occupies the entire viewport; utilities float over the scene. */
html,body{width:100vw;height:100dvh;overflow:hidden}
.arcade-app,.game-frame{position:fixed;inset:0;width:100vw;height:100dvh;min-height:0;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}
.arcade-app{display:block;background:var(--ink)}
.app-header,.app-footer{display:none!important}
.game-toolbar{position:absolute;z-index:15;top:max(14px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #d9edba24;border-radius:9px;background:#0c201cc4;backdrop-filter:blur(12px);box-shadow:0 3px 18px #07151226}
.game-toolbar .icon-button{width:32px;height:32px;color:#e0e8d2;border-radius:5px}
.game-toolbar .icon-button:hover{background:#b5d37220}
.game-toolbar .sound-control{width:auto;min-width:92px;padding:5px 8px;gap:6px}
.game-toolbar .sound-label{font-size:10px;letter-spacing:.3px}
.game-toolbar #help-btn{display:flex;align-items:center;justify-content:center;gap:5px;height:32px;padding:0 8px;border-radius:5px;background:transparent;color:#c9d6bf;font-size:10px;white-space:nowrap}
.game-toolbar #help-btn>span{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #9db58b80;border-radius:50%;font:700 9px Arial}
.game-toolbar #help-btn:hover{background:#b5d37220}
.home-corner-label{display:none}
.home-content{padding-top:65px;padding-bottom:44px}
.hud{top:max(66px,calc(env(safe-area-inset-top) + 54px));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right))}
.stage-hud{top:-44px;background:none}
.direction-pad,.action-pad{bottom:max(24px,env(safe-area-inset-bottom))}
@media(max-width:900px){
  .game-toolbar{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));gap:3px;padding:3px}
  .game-toolbar .icon-button{width:31px;height:31px}
  .game-toolbar .sound-control{width:auto;min-width:88px;padding-inline:7px}
  .game-toolbar #help-btn{height:31px;padding-inline:7px;font-size:9px}
  .hud{top:max(64px,calc(env(safe-area-inset-top) + 52px));left:max(19px,env(safe-area-inset-left));right:max(19px,env(safe-area-inset-right))}
  .stage-hud{top:-42px}
}
@media(max-width:600px) and (orientation:portrait){
  .home-content{padding:80px 24px max(30px,env(safe-area-inset-bottom));max-width:none;width:100%}
  .hero-title{font-size:57px}
  .game-toolbar{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}
  .game-toolbar .sound-label{font-size:9px}
  .game-toolbar .sound-control{min-width:83px}
  .game-toolbar #help-btn{width:30px;padding:0;font-size:0;gap:0}
  .game-toolbar #help-btn>span{width:16px;height:16px;font-size:10px}
  .hud{top:max(66px,calc(env(safe-area-inset-top) + 54px));left:16px;right:16px}
  .stage-hud{top:77px;padding:5px 9px;border-radius:4px;background:#10251c7a}
  .score-hud{padding-top:2px}
  .scene-caption{right:24px;bottom:41%}
  .direction-pad{bottom:max(24px,env(safe-area-inset-bottom))}
  .action-pad{bottom:max(25px,env(safe-area-inset-bottom))}
}
@media(max-width:380px) and (orientation:portrait){.home-content{padding-inline:18px}.hero-title{font-size:49px}}
@media(max-height:690px) and (max-width:600px) and (orientation:portrait){.home-content{padding-top:67px;padding-bottom:23px}.hero-title{font-size:49px}}
@media(max-height:520px) and (orientation:landscape){
  .home-content{padding:27px 0 22px max(32px,env(safe-area-inset-left));width:390px;max-width:48%}
  .hero-title{font-size:51px}
  .fighter-selection,.start-row,.stage-route{max-width:297px}
  .fighter-card{height:77px}
  .fighter-avatar{height:39px;width:54px}
  .game-toolbar{top:max(10px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right))}
  .hud{top:64px;left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right))}
  .stage-hud{top:-43px}
  .direction-pad,.action-pad{bottom:max(18px,env(safe-area-inset-bottom))}
}
.touch-controls [data-action="special"],.touch-controls [data-action="dodge"]{display:none!important}
.action-pad{width:184px;height:118px}
.touch-controls .touch-attack,.touch-controls .touch-jump{width:78px;height:78px;bottom:0}
.touch-controls .touch-attack{right:0}
.touch-controls .touch-jump{left:0}
.touch-controls .touch-attack>span,.touch-controls .touch-jump>span{font:900 27px/1 Arial;letter-spacing:0}
.touch-controls .touch-attack>small,.touch-controls .touch-jump>small{font-size:10px;letter-spacing:1px;opacity:.85}
.touch-combo-hint{position:absolute;left:0;right:0;top:7px;text-align:center;font:600 11px/1.4 monospace;letter-spacing:1px;color:#e3e9c9;pointer-events:none;text-shadow:0 2px 3px #061911}
.touch-combo-hint b{font:500 9px Arial;color:#eecb7c;margin-left:4px;letter-spacing:2px}
@media(max-width:380px){.action-pad{width:176px;transform:scale(.95)}}
@media(max-height:520px) and (orientation:landscape){.action-pad{width:184px;transform:scale(.88)}}

.selection-status{max-width:410px;color:#e4eecb;font:500 11px/1.5 "Microsoft YaHei",Arial;letter-spacing:.4px;margin:10px 0 0}
.primary-button.confirming{opacity:.82;cursor:default}
@media(max-width:600px){.selection-status{font-size:9px;letter-spacing:0;margin-top:9px}}
/* Persistent player positions: 1P left, 2P right. */
@media(pointer:coarse),(max-width:900px){
  .home-screen:not(.hidden)~.touch-controls{display:block}
  .home-screen:not(.hidden)~.touch-controls .touch-jump,.home-screen:not(.hidden)~.touch-controls .touch-combo-hint{display:none}
}
@media(max-width:600px) and (orientation:portrait){
  .home-screen:not(.hidden) .home-content{padding-top:68px;padding-bottom:190px;justify-content:center}
  .home-screen:not(.hidden) .hero-title{font-size:43px}
  .home-screen:not(.hidden) .hero-description{display:none}
  .home-screen:not(.hidden) .fighter-selection{margin-top:15px}
  .home-screen:not(.hidden) .scene-caption{display:none}
}
@media(max-height:520px) and (orientation:landscape){.home-screen:not(.hidden)~.touch-controls .direction-pad{left:auto;right:195px}}
.hud{top:max(66px,calc(env(safe-area-inset-top) + 54px));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));height:76px;display:block}
.hud>.player-hud{position:absolute;top:0;left:0;width:min(244px,calc((100vw - 80px)/2))}
.hud>.score-hud{position:absolute;left:50%;right:auto;top:-49px;transform:translateX(-50%);text-align:center;align-items:center;gap:3px}
.hud>.score-hud>strong{font-size:23px}
.hud>.score-hud>small{font-size:6px}
.hud>.score-hud>span{font-size:6px}
.hud>.stage-hud{top:1px;left:50%;transform:translateX(-50%);background:none}
.energy-line{gap:6px}
.energy-line>span{font-size:6px;letter-spacing:.2px}
.energy-line>small{white-space:nowrap;font-size:6px}
.energy-track{min-width:20px}
.game-toolbar{flex-wrap:nowrap;white-space:nowrap}
.game-toolbar>button{flex-shrink:0;white-space:nowrap;word-break:keep-all}
.game-toolbar #coop-btn{display:flex;align-items:center;justify-content:center;width:auto;min-width:78px;padding:5px 9px;white-space:nowrap;word-break:keep-all;line-height:1;color:#d9fc55}
.game-toolbar .coop-label{white-space:nowrap;word-break:keep-all;font-size:12px;line-height:1}
@media(max-width:900px){
  .hud{top:max(64px,calc(env(safe-area-inset-top) + 52px));left:max(19px,env(safe-area-inset-left));right:max(19px,env(safe-area-inset-right))}
  .hud>.player-hud{width:min(210px,calc((100vw - 64px)/2))}
  .hud>.score-hud{top:-47px}
  .game-toolbar #coop-btn{min-width:68px;padding-inline:7px}
  .game-toolbar .coop-label{font-size:11px}
}
@media(max-width:600px){
  .hud{top:max(64px,calc(env(safe-area-inset-top) + 52px));left:14px;right:14px;height:96px}
  .hud>.player-hud{width:calc((100vw - 46px)/2);max-width:200px}
  .player-tag>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .player-tag>small{font-size:5px;letter-spacing:.2px}
  .hud>.stage-hud{top:72px;left:0;transform:none;align-items:flex-start;gap:4px;padding:0;text-align:left;background:none}
  .hud>.score-hud{top:70px;left:auto;right:0;transform:none;flex-direction:row;align-items:center;gap:6px;text-align:right;padding-top:0}
  .hud>.score-hud>strong{font-size:17px;letter-spacing:.4px}
  .hud>.score-hud>small{font-size:5px;letter-spacing:1px}
  .hud>.score-hud>span{position:absolute;right:0;top:21px;font-size:5px;letter-spacing:.3px;white-space:nowrap}
  .hud>.stage-hud>span{font-size:8px;letter-spacing:.7px}
  .hud>.stage-hud>small{font-size:5px;letter-spacing:1px}
  .energy-line{gap:4px}
  .energy-line>span{font-size:5px;letter-spacing:0}
  .energy-line>small{font-size:5px;letter-spacing:0}
  .game-toolbar #coop-btn{min-width:64px;padding-inline:6px}
  .game-toolbar .coop-label{font-size:10px}
  .game-toolbar #pause-btn{gap:4px;padding-inline:6px}
  .game-toolbar .pause-label{font-size:10px}
  .move-label{top:173px}
}
@media(max-height:520px) and (orientation:landscape){
  .hud{top:62px;left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right))}
  .hud>.player-hud{width:190px}
  .hud>.score-hud{top:-47px}
  .hud>.stage-hud{top:0}
}

/* Translucent arcade joystick with A on the left and B on the right. */
.direction-pad{width:136px;height:136px;border-radius:50%;border:1px solid #d1d6ca40;background:radial-gradient(circle at 46% 40%,#5c62594d 0,#222b2870 48%,#101816b3 75%);box-shadow:inset 0 0 0 7px #0c15191c,0 3px 12px #0003;touch-action:none}
.direction-pad .dpad-button{width:30px;height:30px;border:0;border-radius:50%;background:none!important;box-shadow:none;backdrop-filter:none;font-size:11px;color:#e5e7d3b3;z-index:2;padding:0;touch-action:none}
.direction-pad .dpad-button.pressed{color:#ffe6a5;filter:drop-shadow(0 0 4px #ffc757)}
.direction-pad .dpad-up{top:4px;left:50%;bottom:auto;transform:translateX(-50%)}
.direction-pad .dpad-down{bottom:4px;left:50%;top:auto;transform:translateX(-50%)}
.direction-pad .dpad-left{left:4px;top:50%;right:auto;transform:translateY(-50%)}
.direction-pad .dpad-right{right:4px;top:50%;left:auto;transform:translateY(-50%)}
#joystick-thumb{inset:auto;left:50%;top:50%;width:39px;height:39px;border-radius:50%;border:2px solid #bda971b8;background:radial-gradient(circle at 40% 28%,#c49c4eb5,#775d2bba 60%,#312a19d1);box-shadow:0 2px 7px #0008,inset 0 1px 3px #ffea9c55;transform:translate(-50%,-50%);pointer-events:none;z-index:3;will-change:transform}
.action-pad{width:174px;height:106px;right:max(18px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));transform:none}
.touch-controls .touch-attack,.touch-controls .touch-jump{height:74px;width:74px;bottom:0;border:3px solid #b9c9c17d;background:radial-gradient(circle at 40% 30%,#66787385,#233c3a9c 61%,#0a201ed4);box-shadow:0 0 0 3px #0e1715a6,inset 0 0 0 4px #dce5d31a,inset 0 1px 9px #d4e7d440,0 4px 12px #0006;color:#f0cb87;gap:2px}
.touch-controls .touch-attack{left:0;right:auto}
.touch-controls .touch-jump{left:auto;right:0}
.touch-controls .touch-attack>span,.touch-controls .touch-jump>span{font:800 29px/1 Arial;text-shadow:0 2px 3px #191d10;letter-spacing:0}
.touch-controls .touch-attack>small,.touch-controls .touch-jump>small{font-size:8px;color:#e6ecda;opacity:.85;letter-spacing:1px}
.touch-action.pressed,.touch-action:active{filter:brightness(1.35);transform:scale(.96);border-color:#f7e4a6}
.touch-combo-hint{top:8px;color:#e9dfb9;font-size:10px;letter-spacing:1px}
.weapon-status{margin-top:6px;color:#f5d18a;font:700 10px/1.3 "Microsoft YaHei",Arial;letter-spacing:.6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-shadow:0 1px 3px #000}
.move-label{top:158px}
@media(max-width:600px){.direction-pad{left:15px;bottom:max(24px,env(safe-area-inset-bottom))}.action-pad{right:15px}.weapon-status{font-size:8px;letter-spacing:.2px;margin-top:5px}.move-label{top:189px}}
@media(max-width:380px){.direction-pad{width:124px;height:124px;transform:none}.action-pad{width:164px;transform:none}.touch-controls .touch-attack,.touch-controls .touch-jump{width:70px;height:70px}}
@media(max-height:520px) and (orientation:landscape){.direction-pad{width:116px;height:116px;left:20px;bottom:max(20px,env(safe-area-inset-bottom));transform:none}.action-pad{width:170px;bottom:max(20px,env(safe-area-inset-bottom));transform:none}.touch-controls .touch-attack,.touch-controls .touch-jump{width:70px;height:70px}.home-screen:not(.hidden)~.touch-controls .direction-pad{left:auto;right:200px}.move-label{top:150px}}

/* Mobile selection: keep the logo lockup on its own clear line at narrow portrait widths. */
@media (max-width:600px) and (orientation:portrait){
  #home-screen:not(.hidden) .home-content{padding-top:max(74px,calc(env(safe-area-inset-top) + 64px));padding-bottom:190px;justify-content:center}
  #home-screen:not(.hidden) .hero-title{display:flex;align-items:baseline;gap:4px;isolation:isolate;white-space:nowrap;font-size:43px;line-height:1.12;margin:0 0 12px}
  #home-screen:not(.hidden) .hero-title>span{display:block}
  #home-screen:not(.hidden) .title-second{white-space:nowrap}
  #home-screen:not(.hidden) .title-second i{top:-1px;left:calc(100% + 7px);font-size:10px;padding:2px 4px}
  #home-screen:not(.hidden) .hero-en,#home-screen:not(.hidden) .hero-description{display:none!important}
  #home-screen:not(.hidden) .fighter-selection{margin-top:12px}
}
@media (max-width:380px) and (orientation:portrait){
  #home-screen:not(.hidden) .home-content{padding-inline:18px}
  #home-screen:not(.hidden) .hero-title{font-size:40px;gap:3px}
}

/* Arcade diagonal face buttons: A sits high-right, B low-left, leaving thumb room between them. */
.action-pad{width:174px;height:150px;right:max(18px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom))}
.touch-controls .touch-attack,.touch-controls .touch-jump{bottom:auto}
.touch-controls .touch-attack{left:auto;right:0;top:0}
.touch-controls .touch-jump{left:0;right:auto;top:auto;bottom:0}
.touch-combo-hint{display:none}
@media (max-width:600px){
  .action-pad{width:174px;height:150px;right:max(15px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom))}
}
@media (max-width:380px){
  .action-pad{width:158px;height:140px;right:max(12px,env(safe-area-inset-right))}
}
@media (max-height:520px) and (orientation:landscape){
  .action-pad{width:170px;height:142px;right:max(18px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));transform:none}
}

/* Browser-stable joystick: CSS triangles replace system glyphs and only the pad captures touch input. */
.direction-pad{contain:layout paint;-webkit-user-select:none;user-select:none;touch-action:none}
.direction-pad .dpad-button{
  display:grid!important;place-items:center;appearance:none;-webkit-appearance:none;-moz-appearance:none;
  font-size:0!important;line-height:1;pointer-events:none;touch-action:none;background:transparent!important;
  color:#e6ecd9c9;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.direction-pad .dpad-button::before{content:"";display:block;width:0;height:0;border:7px solid transparent;filter:drop-shadow(0 1px 1px #07141299)}
.direction-pad .dpad-up::before{border-top-width:0;border-bottom-color:currentColor;transform:translateY(-1px)}
.direction-pad .dpad-down::before{border-bottom-width:0;border-top-color:currentColor;transform:translateY(1px)}
.direction-pad .dpad-left::before{border-left-width:0;border-right-color:currentColor;transform:translateX(-1px)}
.direction-pad .dpad-right::before{border-right-width:0;border-left-color:currentColor;transform:translateX(1px)}
.direction-pad.joystick-active{border-color:#dbc07399;box-shadow:inset 0 0 0 7px #0c15191c,0 0 0 2px #e7cb7650,0 3px 12px #0005}
.direction-pad .dpad-button.pressed{color:#ffe6a5;filter:none}

/* The page is a full-screen game surface, not a scrollable document.  Keep Chrome/Safari
   from interpreting a joystick + A/B chord as a pinch or double-tap page zoom. */
html,body{touch-action:none;overscroll-behavior:none}
.game-frame,#game-canvas,.touch-controls,.direction-pad,.action-pad,.touch-action{touch-action:none!important}

/* In landscape the guide can contain more rows than the available height. Keep its action
   reachable while the instruction list itself scrolls inside the dialog. */
@media (max-height:520px) and (orientation:landscape){
  .modal-screen{padding:10px}
  .menu-card.help-card{width:min(520px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:15px 22px 14px;display:flex;flex-direction:column;overflow:hidden;text-align:left}
  .help-card .menu-eyebrow{font-size:7px;text-align:center}
  .help-card h2{font-size:22px;line-height:1.1;margin:8px 0 10px;text-align:center}
  .help-card .help-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:0 0 10px;padding:5px 0 7px}
  .help-card .help-list p{margin:4px 0;font-size:8px;gap:5px}
  .help-card .help-list kbd{font-size:6px;padding:3px 5px}
  .help-card .help-list p>span{font-size:8px}
  .help-card>.help-tip{display:none}
  .help-card>#close-help-btn{flex:0 0 37px;width:100%;height:37px;min-height:37px;font-size:10px;margin:0;padding-inline:15px}
}

/* Three-button mobile cluster: C is a direct, thumb-reachable A+B special. */
.action-pad{width:190px;height:150px}
.touch-controls .touch-special{display:flex!important;width:47px;height:47px;left:71px;right:auto;top:53px;bottom:auto;z-index:2;border:3px solid #f4d598a8;background:radial-gradient(circle at 38% 28%,#f2ce72e8,#9a563ab8 63%,#3a2021e8);box-shadow:0 0 0 3px #2414139c,inset 0 1px 9px #ffe2a966,0 4px 12px #0007;color:#fff1cb;gap:1px}
.touch-controls .touch-special>span{font:900 22px/1 Arial;letter-spacing:0;text-shadow:0 2px 3px #34200e}
.touch-controls .touch-special>small{font-size:7px;color:#fff1cb;letter-spacing:.5px;opacity:.95}
@media (max-width:380px){
  .action-pad{width:170px;height:140px}
  .touch-controls .touch-special{width:42px;height:42px;left:64px;top:49px}
  .touch-controls .touch-special>span{font-size:20px}
  .touch-controls .touch-special>small{font-size:6px}
}
@media (max-height:520px) and (orientation:landscape){
  .action-pad{width:190px;height:150px}
  .touch-controls .touch-special{left:71px;top:53px}
}

/* Prevent iOS/Android long-press text lookup and drag UI inside the actual game surface. */
.game-frame,.game-frame *,.touch-controls,.touch-controls *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;-webkit-user-drag:none!important;caret-color:transparent}

/* Character cards and the large start button are already touch targets. Keeping
   the combat joystick on this screen both obscures the layout and can make it
   look as if the left stick has jumped to the right on short landscape viewports. */
@media (max-height:520px) and (orientation:landscape){
  .home-screen:not(.hidden)~.touch-controls{display:none!important}
}
