#overlay.arcade{padding:0;display:flex;align-items:center;justify-content:center;overflow:auto;background:linear-gradient(0deg,#03080de8,#07121b55 60%,#080d1880),url('assets/stages/title-v050.png') center/cover;isolation:isolate}#overlay.arcade[hidden]{display:none}#overlay.arcade:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,#0002 4px);box-shadow:inset 0 0 180px 30px #0009}.title-content{width:100%;text-align:center;padding:18px;position:relative}.arcade-kicker{font-weight:bold;font-size:clamp(12px,1.7vw,23px);letter-spacing:.4em;color:#fff6d8;text-shadow:0 2px 6px #000}.arcade-logo{display:flex;flex-direction:column;align-items:center;transform:skew(-9deg);line-height:.78;margin:16px 0 11px;font-weight:1000;font-family:Impact,'Arial Black',sans-serif;letter-spacing:-.025em;filter:drop-shadow(5px 8px 0 #591d16) drop-shadow(0 3px 1px #000);font-size:clamp(55px,8.4vw,120px)}.arcade-logo span,.arcade-logo strong{background:linear-gradient(#fff6ba 5%,#ffd768 25%,#ff971f 49%,#e83919 52%,#ffae3d 83%,#fff1b0);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:1px #ffdb78;paint-order:stroke fill}.arcade-logo span{font-size:.65em;letter-spacing:.06em}.arcade-logo strong{font-size:1em;margin-top:.1em}.arcade-jp{color:#f6d38b;font-size:clamp(8px,1vw,14px);letter-spacing:.6em;margin:14px 0}.title-rule{width:42%;height:1px;background:linear-gradient(90deg,transparent,#ffc869,transparent);margin:8px auto}.title-tag{font-size:11px;letter-spacing:.2em;color:#f6e6c5;margin:10px}.arcade-commands{width:min(350px,70%);margin:15px auto 10px;display:grid;gap:3px}.arcade-commands button{position:relative;display:flex;align-items:center;justify-content:space-between;padding:9px 22px 9px 43px;border:1px solid transparent;background:linear-gradient(90deg,transparent,#07172599,transparent);border-radius:0;color:#ddd7c8;text-shadow:0 2px #000}.arcade-commands b{font-size:clamp(12px,1.25vw,18px);letter-spacing:.15em}.arcade-commands small{font-size:8px;letter-spacing:1px;color:#a19d92}.command-arrow{position:absolute;left:14px;color:#ffb747;visibility:hidden}.arcade-commands button.menu-selected{background:linear-gradient(90deg,#d8621922,#bf681c44,#9d501622);border-color:#d5984344;color:#fff3c8}.menu-selected .command-arrow{visibility:visible}.menu-selected:not(.arcade-commands button){outline:1px solid #eebe72;outline-offset:2px}.title-status{font:10px monospace;letter-spacing:.12em;color:#d3baa0;margin-top:15px}.title-status i{font-size:6px;color:#e39646;margin:0 14px}.title-hint{font-size:9px;color:#9babb3;margin:12px 0 0}.title-corner{position:absolute;bottom:16px;right:20px;text-align:right;line-height:1.8;font-size:8px;letter-spacing:2px;color:#bda98c}.arcade-page{width:100%;padding:3.4% 5%;background:#08111bdc;min-height:100%}.screen-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.screen-head small{font-size:10px;letter-spacing:3px;color:#d69b54}.screen-head h2{font-size:clamp(22px,3vw,42px);margin:7px 0 0;letter-spacing:.08em}.screen-head button{font-size:11px}.team-grid{display:grid;grid-template-columns:repeat(var(--members),minmax(0,1fr));gap:16px;max-width:950px;margin:auto}.team-slot{border:1px solid #b8c4ce22;background:linear-gradient(160deg,#142331,#08111b);min-width:0;overflow:hidden;padding:12px;text-align:center;border-top:3px solid var(--player)}.team-slot label{display:flex;justify-content:space-between;font-size:16px;color:var(--player);letter-spacing:1px}.team-slot label span{font-size:11px;color:#bcc5c7}.team-art{height:clamp(100px,15vw,220px);background:radial-gradient(ellipse at 50% 80%,#687f8220,transparent 60%);margin:10px auto}.team-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 10px #0008)}.team-slot select{width:100%;font-size:13px}.team-slot p{height:30px;font-size:10px;color:#aeb8be;margin:10px 0 0}.team-slot>small{font-size:9px;color:#637c91}.team-grid:has(.team-slot:only-child){max-width:300px}.team-grid:has(.team-slot:nth-child(2):last-child){max-width:580px}.roster-bottom{display:flex;justify-content:space-between;align-items:center;margin:22px auto 0;max-width:950px;gap:18px}.roster-bottom p{font-size:10px;color:#9caeb8;line-height:1.8}.roster-bottom p span{color:#efb869;padding:0 12px}.arcade-launch{background:linear-gradient(#fbd591,#d58b36);color:#17212b;border:1px solid #ffe0a1;font-weight:bold;border-radius:1px;padding:14px 26px;min-width:210px;display:inline-flex;justify-content:space-between;gap:25px}.arcade-launch:hover{color:#17212b;background:#ffe0a1}.arcade-page #loadstatus{margin:5px auto;font-size:11px;text-align:center}.settings-page{max-width:1100px}.setting-section{border-top:1px solid #aabbcc22;padding-top:12px;margin-top:18px}.setting-section h3{font-size:15px;font-weight:normal;letter-spacing:2px;color:#d7c7ad}.setting-section h3 small{font-size:10px;color:#8199ab;margin-left:15px}.difficulty-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.difficulty-options button{padding:18px 10px;border-radius:1px;background:#132331}.difficulty-options button b,.difficulty-options button small{display:block}.difficulty-options button small{font-size:10px;color:#869eac;margin-top:7px}.difficulty-options button[aria-pressed=true]{border-color:#e8ad57;background:#533b2088;color:#ffdb97}.life-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.life-setting{background:#0e1e2a;padding:14px 8px;text-align:center}.life-setting label{color:var(--player);font-size:15px;margin-bottom:12px}.life-setting>div{display:flex;align-items:center;justify-content:center;gap:5px}.life-setting button{padding:7px 10px;line-height:1;border-radius:1px}.life-setting input{width:57px;min-width:0;background:#07131e;border:1px solid #53636d;color:#fff1d4;font:24px monospace;text-align:center;padding:4px 0;border-radius:0}.settings-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:15px}.settings-bottom p{color:#92a5b2;font-size:10px;line-height:1.9}.settings-bottom button{font-size:10px}.continue-panel{text-align:center;padding:30px 15px;width:100%;background:#08121bd9}.continue-panel>small{letter-spacing:3px;color:#dd9d56;font-size:10px}.continue-panel h2{font:bold italic clamp(45px,7vw,100px) Impact,'Arial Black',sans-serif;color:#ffc66c;letter-spacing:3px;text-shadow:4px 5px #7f2a1b;margin:20px 0}.continue-panel p{color:#c9d3d6;font-size:14px}.continue-info{font-size:11px;color:#8fa4b3;letter-spacing:2px;margin:24px}.continue-info b{display:block;font-size:26px;color:#f9dfac;margin-top:8px}.continue-lives{display:flex;justify-content:center;gap:20px}.continue-panel button{margin:8px}.continue-note{display:block;margin-top:20px;font-size:10px!important;letter-spacing:1px!important}#hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px}.playerhud{width:auto;min-width:0;grid-template-columns:34px minmax(0,1fr)}.playerhud img{width:34px;height:43px}.playerhud b{font-size:11px;white-space:nowrap}.playerhud .throwname{font-size:8px!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.stagehud{grid-column:5;grid-row:1}.stagehud b{font-size:18px}#hud[data-count='1']{grid-template-columns:minmax(180px,320px) 1fr auto}#hud[data-count='1'] .stagehud{grid-column:3}#hud[data-count='2']{grid-template-columns:1fr 1fr auto}#hud[data-count='2'] .stagehud{grid-column:3}#hud[data-count='3']{grid-template-columns:1fr 1fr 1fr auto}#hud[data-count='3'] .stagehud{grid-column:4}@media(max-width:900px){.title-content{padding:10px}.arcade-logo{font-size:clamp(55px,9vw,95px);margin-top:9px}.arcade-jp{margin:8px}.title-tag{font-size:9px;margin:6px}.arcade-commands{margin:9px auto 5px;gap:1px}.arcade-commands button{padding-top:6px;padding-bottom:6px}.title-status{margin-top:10px;font-size:8px}.title-hint{font-size:7px;margin-top:7px}.arcade-page{padding:3%}.screen-head{margin-bottom:14px}.team-grid{gap:8px}.team-slot{padding:7px}.team-slot label{font-size:12px}.team-slot label span{font-size:8px}.team-slot select{font-size:10px;padding:7px 2px}.team-art{height:105px}.team-slot p{font-size:8px;height:30px}.team-slot>small{font-size:7px}.roster-bottom{margin-top:10px}.roster-bottom p{font-size:8px}.arcade-launch{padding:10px 15px;min-width:150px}.setting-section{margin-top:10px;padding-top:4px}.setting-section h3{font-size:12px}.difficulty-options button{padding:9px}.life-setting{padding:9px 4px}.life-setting input{font-size:20px;width:44px}.life-setting button{padding:6px}.settings-bottom{margin-top:10px}.settings-bottom p{font-size:8px}.playerhud{grid-template-columns:24px minmax(0,1fr);gap:4px}.playerhud img{width:24px;height:32px}.playerhud b{font-size:8px}.playerhud small{font-size:8px}.playerhud .throwname{font-size:6px!important}.stagehud{font-size:7px}.stagehud b{font-size:13px}.bar{height:6px;margin-top:3px}.bar.mp{height:3px;margin-top:2px}}
@media(max-width:600px) and (orientation:portrait){body:not(.playing) #stage{aspect-ratio:3/5;min-height:600px;max-height:none}.arcade-logo{font-size:82px}.arcade-kicker{font-size:16px}.arcade-jp{font-size:11px}.title-content{padding:30px 15px}.arcade-commands{margin-top:28px;width:85%;gap:7px}.arcade-commands button{padding:13px 15px 13px 40px}.arcade-commands b{font-size:16px}.title-status{font-size:9px;margin-top:25px}.title-hint{font-size:8px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.team-grid:has(.team-slot:only-child){grid-template-columns:1fr;width:75%}.team-art{height:105px}.team-slot p{height:25px;margin-top:5px}.team-slot label{font-size:13px}.team-slot label span{font-size:10px}.screen-head{margin:12px 0 18px}.screen-head h2{font-size:24px}.roster-bottom{display:block;text-align:center}.roster-bottom .arcade-launch{width:100%;justify-content:center}.team-slot select{font-size:12px}.life-grid{grid-template-columns:repeat(2,1fr)}.settings-page{align-self:stretch;padding:6%}.settings-bottom{display:block;margin-top:25px}.difficulty-options{gap:7px}.difficulty-options button{padding:18px 5px}.difficulty-options button small{font-size:8px}.setting-section{margin-top:30px}.settings-bottom p{font-size:10px}#hud,#hud[data-count='1'],#hud[data-count='2'],#hud[data-count='3']{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.playerhud{width:100%}.playerhud .throwname{display:none}.stagehud{display:none}.continue-panel h2{font-size:54px}.continue-lives{gap:12px;font-size:12px!important}}
@media(prefers-reduced-motion:no-preference){.command-arrow{animation:arrow-pulse 1s steps(2,end) infinite}@keyframes arrow-pulse{50%{opacity:.45}}}
#overlay.arcade.roster-screen,#overlay.arcade.settings-screen,#overlay.arcade.continue-screen{align-items:flex-start}

.title-cancel{font:inherit;color:inherit;background:none;border:0;border-bottom:1px solid #768b88;padding:4px 6px;margin-left:10px;cursor:pointer}.title-cancel:hover,.title-cancel:focus-visible{color:#ffe1a1;border-color:#ffe1a1}
.debug-page{max-width:1060px}.debug-page .screen-head h2{font-size:clamp(19px,3vw,34px)}.debug-intro,.debug-note{color:#abc3c5;font-size:13px;line-height:1.6}.debug-players{display:flex;gap:10px;margin:12px 0 18px}.debug-players button{flex:1;padding:10px;color:#d6e5df;background:#102f36;border:1px solid #416168;cursor:pointer}.debug-players button[aria-pressed=true]{color:#ffdb96;border-color:#e6b85d;background:#443925}.debug-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.debug-stages button{position:relative;min-height:128px;padding:17px;text-align:left;border:1px solid #607b7c;color:#fff4d4;cursor:pointer;background:linear-gradient(0deg,#061820f0,#06182055),var(--stage-image) center/cover;display:flex;flex-direction:column;justify-content:flex-end;gap:6px}.debug-stages span{color:#ffcc75;font-size:12px;letter-spacing:2px}.debug-stages b{font-size:18px}.debug-stages small{color:#b3c9cb;font-size:10px;letter-spacing:1px}.debug-page button.menu-selected,.debug-page button:focus-visible,.debug-page button:hover{outline:2px solid #ffdb96;outline-offset:2px}.debug-note{font-size:11px;margin-top:15px}@media(max-width:650px){.debug-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.debug-stages button{min-height:95px;padding:11px}.debug-stages b{font-size:14px}.debug-players{gap:6px}.debug-players button{padding:8px 3px;font-size:12px}.debug-intro{font-size:11px}.title-cancel{margin-left:2px}}
