/* 2026 shell: live 3D takes the image area, controls stay at the edges. */
:root{--ink:#101b29;--line:#d9e6f02b;--muted:#9faebb;--red:#ed4943}
.round-grid{max-height:calc(100dvh - 230px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8496a655 transparent;padding-right:8px}
.rival-choice b{color:#c9ad79}.rival-choice[id=stage-8]{border-top:1px solid #b1c1cf66;margin-top:8px}
button{touch-action:manipulation}button:focus-visible{outline:2px solid #ffdf86;outline-offset:4px}
#title-screen{display:block;background:linear-gradient(90deg,#081320f5 0%,#0a172be8 29%,#0b1a2d70 57%,#0b183422 78%),linear-gradient(0deg,#071321e8,transparent 28%,transparent 70%,#0b1b3380)}
.arcade-layout{width:100%;height:100%;max-width:1800px;margin:auto;display:block;padding:clamp(24px,5vh,54px) clamp(24px,5vw,84px)}
.menu-edition{display:flex;align-items:center;gap:18px;color:#9bacbc;font-size:10px;letter-spacing:3px;font-weight:700}
#title-mode{color:#e3e9ee;font-size:11px;letter-spacing:1px;border-left:1px solid #a5becb5c;padding-left:18px}
.ranger-title{width:max-content;max-width:66%;text-align:left;margin:clamp(32px,7vh,76px) 0 0}
#title-toggle{display:flex;align-items:flex-start;padding:0 10px 12px 0;--logo:#f24943;cursor:pointer}
.ranger-title .ranger-kicker{font-size:clamp(16px,2.2vw,24px);color:#dce8f0;letter-spacing:.24em;background:none;box-shadow:none;transform:none;padding:0;margin:0 0 13px;text-shadow:none;font-weight:600}
.ranger-title .ranger-logo{font-size:clamp(47px,6.6vw,104px);letter-spacing:-.065em;font-weight:900;line-height:1.1;color:var(--logo);-webkit-text-stroke:0;transform:none;text-shadow:0 3px 22px #0005;margin:0}
#title-toggle[aria-pressed=true]{--logo:#d7e2e9}
#main-menu{position:absolute;left:clamp(24px,5vw,84px);top:53%;width:clamp(245px,30vw,390px);max-width:45%;gap:0}
.menu-choice{display:flex;align-items:center;text-align:left;gap:12px;padding:19px 0;border:0;border-top:1px solid #bfced735;min-height:68px;background:none;color:#e0e6eb;font-size:21px;letter-spacing:-.04em;font-weight:700}
.menu-choice b{font-weight:400;font-size:23px;margin-left:auto;color:#8f9eac}.menu-choice small{font-size:10px;letter-spacing:1px;font-weight:500;color:#9cabb7;margin-left:auto}
.menu-choice:hover,.menu-choice.selected,.menu-choice:focus-visible{border-color:#aab9c952;background:none;color:#fff;outline:0}
.menu-choice.selected:before{content:'';height:19px;width:3px;background:var(--red);position:absolute;left:-13px}
.menu-choice:focus-visible{box-shadow:0 2px #ffdf86}.menu-choice:hover b,.menu-choice:focus-visible b{color:var(--red);transform:translate(2px,-2px)}
.menu-utilities{display:flex;gap:22px;margin-top:19px}.menu-utilities button{background:none;padding:8px 0;color:#a5b5c3;font-size:12px}.menu-utilities button:hover{color:#fff}
.musou-mark{font-size:clamp(52px,6.8vw,84px);right:clamp(28px,5vw,84px);bottom:28px;color:#ece7d7;opacity:.94}
.rounds-open .ranger-title{margin:16px 0 0;max-width:none}.rounds-open #title-toggle{flex-direction:row;align-items:center;gap:14px;padding-bottom:0}
.rounds-open .ranger-kicker{font-size:12px;letter-spacing:.1em;margin:0}.rounds-open .ranger-logo{font-size:26px;letter-spacing:-.05em;text-shadow:none}
#round-menu{position:static;width:clamp(260px,34vw,420px);max-width:47%;margin-top:24px}
.round-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.round-heading h2{font-size:18px;letter-spacing:-.04em;margin:0;font-weight:600}
.menu-back{position:static;border:1px solid var(--line);padding:2px 10px;font-size:21px;background:#0f203880;line-height:1.2}
.round-grid{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line)}
.round-choice{display:flex;flex-direction:row;align-items:center;text-align:left;gap:15px;width:100%;padding:10px 12px 10px 0;border-bottom:1px solid var(--line);font-family:inherit;font-size:14px;min-height:52px;transition:background .15s;color:#aab9c7}
.round-choice>b{font-size:12px;font-weight:500;color:#738b9f;font-variant-numeric:tabular-nums;min-width:22px}.round-choice>span{font-weight:600;display:block}.round-choice small{display:block;font-size:10px;margin-top:3px;font-weight:400;color:#9aaebf}.round-choice i{font-size:17px;font-style:normal;margin-left:auto;opacity:0}
.round-choice.previewed{background:linear-gradient(90deg,#d3e5f01c,transparent);color:#fff;outline:0;border-bottom-color:#dce7ef6b}.round-choice.previewed>b{color:#ff8178}.round-choice.previewed i{opacity:1}
.round-choice:focus-visible{box-shadow:inset 2px 0 #ffdf86}
.round-caption{position:absolute;left:59%;bottom:18%;text-align:left;pointer-events:none;text-shadow:0 2px 10px #000}
.round-caption small{display:block;font-size:11px;letter-spacing:.12em;color:#b9c9d7;margin-bottom:9px}.round-caption strong{font-size:clamp(22px,3.5vw,43px);letter-spacing:-.05em;font-weight:700}
.modal{background:#071321a8;backdrop-filter:blur(12px)}.modal-card{border:1px solid #c1d8ed33;border-top:2px solid #e9544a;background:#0c1b2bed;box-shadow:0 16px 60px #0005;padding:28px;max-height:92vh}
.modal-card h2{font-weight:600;letter-spacing:-.04em;margin:0 0 22px}.modal-card .primary{border:1px solid #de6a61;background:#ba3b35;letter-spacing:0}.modal-card .secondary{border-color:#a6b9cd29;color:#b8c9d5}
.settings-actions{display:flex;gap:8px;margin-top:20px}.settings-actions button{flex:1;padding:10px;background:#34455566;border:1px solid var(--line);font-size:11px}.volume{font-size:12px;color:#bbc9d3}.volume input{accent-color:#e9c665}
/* HUD: one portrait system across the team, Gray and both robots. */
.player-panel{left:24px;top:22px;gap:10px;background:linear-gradient(90deg,#08121de8,#08121d66,transparent);padding:5px 16px 9px 4px}
#hero-icon.helmet,#hero-icon.helmet.gray,#hero-icon.helmet.robot{width:62px;height:62px;background:#121f2c80;border:1px solid #bccbd535;border-radius:4px;box-shadow:none;overflow:hidden;flex-shrink:0}
#hero-icon:before,#hero-icon:after{display:none!important}#hero-portrait{display:block;width:100%;height:100%;object-fit:contain}
.player-details{width:195px}.player-label{margin:0 0 8px}.player-label strong{font-size:13px;letter-spacing:1px;font-weight:600;text-shadow:0 1px 3px #000}.player-details .hp{height:9px;border:0;background:#26313e}.player-details .hp>div{background:#e44d4d}
.player-details>.bar.power{height:5px;margin-top:6px;border:0;background:#26313e}.player-details .power>div{background:#eed06c}.player-meta{margin-top:6px;font-size:9px;letter-spacing:.3px;color:#99aebf;line-height:1}.player-meta #power-text{color:#e3d6a3}.player-meta #hp-text{color:#b4c1cb}
.low-health .player-details .hp>div{background:#ff655e}.low-health #hero-icon{border-color:#f26c5f80!important}
.mission{top:24px;min-width:0;width:240px;padding:0 12px;background:none;pointer-events:none}.mission>span{font-size:9px;letter-spacing:1px;color:#b1c0cd}.mission strong{font-size:12px;line-height:1.4;font-weight:600;margin:6px 0 0;letter-spacing:.06em}.mission small{display:none}
.right-hud{right:24px;top:24px}.top-buttons button{background:#0e1d2bc9;border:1px solid #b3c7db33;font-size:14px;border-radius:3px;min-width:34px;min-height:34px}
.ko{position:fixed;right:26px;bottom:24px;margin:0;align-items:baseline;gap:6px;text-shadow:0 2px 6px #000}.ko strong{font-size:25px;font-weight:600;font-variant-numeric:tabular-nums}.ko span{font-size:9px;letter-spacing:1px;color:#b8c7d1}#timer{display:none}
#boss-panel{top:85px;left:50%;right:auto;transform:translateX(-50%);width:clamp(220px,35vw,520px)}#boss-panel>div:first-child{font-size:12px;font-weight:600;letter-spacing:.04em;margin-bottom:7px}#boss-hp-text{display:none}.bar.boss{height:6px;background:#172331;border:0}.boss>div{background:#ea655c}.boss-fight .mission{opacity:.55}.boss-fight .radar-panel{display:none}
#finish-boss{font-size:12px;letter-spacing:0;padding:8px 13px;border:1px solid #e6c66e;background:#172332e8;box-shadow:0 0 20px #e6c66e20;color:#f9df9c}
.radar-panel{top:auto;bottom:68px;right:24px;width:96px;padding:5px;border:1px solid #95aec32c;background:#081623b3;opacity:.8;border-radius:3px}.radar-panel small{display:none}#radar{width:84px;height:65px}
#combo{top:auto;bottom:132px;left:28px;transform:none;text-shadow:0 2px 7px #000}#combo strong{font-size:38px;font-weight:700;color:#f7d788;display:inline-block}#combo>span{font-size:8px;letter-spacing:2px;margin-left:8px}
.bottom-hud{left:24px;bottom:24px;right:auto;gap:0}.group-label{font-size:10px;letter-spacing:.4px;color:#b3c3cf;margin-bottom:7px;text-shadow:0 1px 4px #000}.team-buttons{gap:5px}.team-card{width:57px;padding:2px 4px 5px;display:flex;flex-direction:column;border:1px solid #9cb1c42b;border-bottom:2px solid transparent;background:#0b1827d9;border-radius:3px;gap:0}.team-card img{width:35px;height:35px;object-fit:contain}.team-card>span:not(.helmet){font-size:8px;letter-spacing:.5px;color:#9bafc0}.team-card.selected{background:#283b4bd9;border-bottom-color:#f4d27e}.team-card.selected>span{color:#eee!important}
.giant-battle .team{display:block}.giant-battle #team-switcher{display:none}
#notice strong{font-size:25px;font-weight:600;letter-spacing:-.03em}#notice small{letter-spacing:3px}#skip-scene{right:24px;bottom:24px;font-size:11px;border-color:#9fb9cd44;background:#0b1827c9}
@media(max-width:1000px){.mission{left:auto;right:80px;transform:none;width:auto;max-width:220px;text-align:right}.player-details{width:165px}#boss-panel{top:107px;width:44%}.round-choice{min-height:49px;padding-top:8px;padding-bottom:8px}}
@media(max-width:700px){.arcade-layout{padding:25px 24px}.menu-edition{font-size:9px;letter-spacing:2px}.ranger-title{margin-top:43px;max-width:78%}.ranger-title .ranger-logo{font-size:54px}.ranger-title .ranger-kicker{font-size:18px}.musou-mark{font-size:60px;right:29px;bottom:23px}#main-menu{left:25px;max-width:44%;width:265px;top:54%}.menu-choice{font-size:18px;padding:16px 0;min-height:61px}.menu-choice small{display:none}.rounds-open .ranger-title{margin-top:16px}.rounds-open .ranger-logo{font-size:24px}#round-menu{margin-top:25px;width:48%;max-width:48%}.round-heading h2{font-size:15px}.round-choice{gap:8px;min-height:48px;padding-right:6px;font-size:12px}.round-choice small{font-size:9px}.round-choice b{font-size:10px;min-width:18px}.round-caption{left:59%;bottom:19%;max-width:38%}.round-caption small{font-size:9px}.round-caption strong{font-size:24px}
.player-panel{left:12px;top:12px;gap:7px;padding-right:9px}#hero-icon.helmet,#hero-icon.helmet.gray,#hero-icon.helmet.robot{width:48px;height:48px}.player-details{width:142px}.player-label strong{font-size:11px}.player-label{margin-bottom:6px}.player-details .hp{height:7px}.player-details>.bar.power{height:4px;margin-top:5px}.player-meta{font-size:8px}.player-meta #power-text{display:inline}.right-hud{top:16px;right:14px}.mission{top:19px;right:65px;max-width:175px;min-width:0;padding:0}.mission>span{font-size:8px}.mission strong{font-size:10px}.top-buttons button{min-width:29px;min-height:29px}#boss-panel{top:92px;width:56%}.bottom-hud{left:15px;bottom:17px}.radar-panel{right:15px;bottom:56px}#combo{left:18px;bottom:119px}.ko{right:18px;bottom:18px}#combo strong{font-size:32px}
}
@media(max-width:480px){.ranger-title .ranger-logo{font-size:45px}#main-menu{max-width:54%}.rounds-open .ranger-kicker{display:none}#round-menu{max-width:54%;width:54%}.round-caption{left:64%}.round-caption strong{font-size:19px}.mission{top:78px;left:15px;right:auto;text-align:left;max-width:150px}.boss-fight .mission{display:none}#boss-panel{width:54%;top:79px;left:auto;right:15px;transform:none}.player-details{width:128px}}
@media(max-height:560px){.arcade-layout{padding-top:16px}.ranger-title{margin-top:24px}.ranger-title .ranger-logo{font-size:55px}#main-menu{top:48%}.menu-choice{min-height:47px;padding:11px 0}.menu-utilities{margin-top:9px}.rounds-open .ranger-title{margin-top:9px}#round-menu{margin-top:15px}.round-heading{margin-bottom:6px}.round-choice{min-height:37px;padding:4px 4px 4px 0}.round-choice small{font-size:8px;margin-top:1px}.round-caption{bottom:22%}.rounds-open .ranger-logo{font-size:23px}.musou-mark{font-size:45px;bottom:20px}}
#ending-credits{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:24;text-align:center;color:#fff;background:linear-gradient(90deg,transparent,#07132266 30%,#07132266 70%,transparent);text-shadow:0 2px 10px #071322}
#credit-roll{position:absolute;top:0;width:100%;will-change:transform}
#credit-roll small{font-size:12px;letter-spacing:.24em;color:#d4c1a2}
#credit-roll h2{margin:24px 0 90px;font-size:clamp(30px,4vw,60px);line-height:1.25;letter-spacing:-.05em}
#credit-roll em{display:block;font-family:serif;font-style:italic;color:#ddc19a;font-size:.75em;margin-top:14px}
#credit-roll p{margin:24px 0 16px;font-size:15px;color:#c6c8cc;letter-spacing:.14em}
#credit-roll strong{display:block;font-size:clamp(22px,3vw,34px);line-height:1.8;font-weight:600}
#credit-roll .credit-thanks{margin-top:110px;letter-spacing:.02em}
.round-choice.secret-choice{border-color:#bd672b66}
.title-credits{position:absolute;left:clamp(24px,5vw,84px);bottom:27px;display:flex;gap:25px;font-size:11px;line-height:1.6;color:#9faebb;letter-spacing:.02em}.title-credits b{font-weight:500;color:#d1dbe2;margin-left:5px}
.creator-credit{display:inline-flex;align-items:center;gap:.5em;color:inherit;text-decoration:none;white-space:nowrap;pointer-events:auto}.creator-credit:hover{color:#fff}.creator-credit:focus-visible{outline:2px solid #ffdf86;outline-offset:5px;border-radius:2px}.instagram-mark{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}.instagram-dot{fill:currentColor;stroke:none}.title-credits .creator-credit{color:#d1dbe2;font-weight:500}.title-credits .creator-credit:hover{color:#fff}
.title-creator{display:inline-flex;align-items:center;gap:7px}
#credit-roll .credit-original{margin-top:80px}#credit-roll .credit-work{font-size:13px;letter-spacing:.03em}#credit-roll .credit-tribute{margin:30px 0 0;font-size:16px;line-height:1.9;letter-spacing:0;color:#d6dbe0}
@media(max-width:600px){.title-credits{gap:8px;flex-direction:column;font-size:10px;bottom:20px}}
