:root{--ink:#121413;--surface:#20231f;--paper:#f0eee5;--muted:#b4b8ad;--accent:#ff8b4b;--line:#484d43;--cyan:#dce5cd}
body{background:var(--ink);color:var(--paper);font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN","Meiryo",sans-serif}
button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 110ms ease,background-color 150ms ease,border-color 150ms ease,box-shadow 110ms ease;box-shadow:0 4px 0 #080b08,inset 0 1px 0 #ffffff18}
button:not(:disabled):active,button.is-pressed{transform:translateY(3px) scale(.98)!important;box-shadow:0 1px 0 #080b08,inset 0 2px 6px #0006!important}
button:focus-visible{outline:3px solid var(--paper);outline-offset:4px}
button:disabled{cursor:default}
button.tap-confirm{animation:tap-confirm 200ms ease-out}
@keyframes tap-confirm{50%{filter:brightness(1.28)}}
@media(hover:hover){button:not(:disabled):hover{border-color:var(--paper);filter:brightness(1.08)}}
.hangar{padding:24px max(24px,calc((100vw - 1080px)/2)) 30px;background:#121413;min-height:100svh}
.hangar:before,.hangar-atmosphere{display:none}
.masthead{max-width:none;padding-bottom:20px;border-color:var(--line);gap:20px}
.brand{font-family:"Arial Narrow","Impact",sans-serif;font-size:28px;letter-spacing:.06em;font-weight:800;color:var(--paper)}
.brand small{font:12px "Yu Gothic UI",sans-serif;letter-spacing:.15em;color:var(--muted)}
.brand-mark{background:var(--accent);color:#171912;border:0;width:35px;height:42px;font:32px Impact,sans-serif;transform:skew(-10deg)}
.icon-button,.utility button{border:1px solid #687060;border-radius:4px;background:#30362d;color:var(--paper);min-width:48px;min-height:48px}
.help-button{margin-left:auto;width:auto;height:48px;font-size:14px;padding:0 16px;display:flex;align-items:center;gap:15px}
.help-button span{border:1px solid #9bA58f;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}
.hangar-content{max-width:none;margin:24px auto 0}
.selection-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.selection-heading h1{font-size:20px;font-weight:700;letter-spacing:.05em}
.selection-heading>span{font:12px monospace;color:var(--muted)}
.mech-showcase{display:grid;grid-template-columns:54% 46%;min-height:390px;border:1px solid var(--line);background:#1a1e19;overflow:hidden}
.showcase-art{position:relative;background-image:url('assets/hangar-ui-v8.webp');background-size:300% auto;background-position:0% 20%;background-repeat:no-repeat;min-height:390px}
.showcase-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 70%,#1a1e19),linear-gradient(0deg,#11151088,transparent 30%);pointer-events:none}
.bay-mark{position:absolute;bottom:12px;left:22px;font:80px Impact,sans-serif;color:#e4e9db29;line-height:1;z-index:1}
.showcase-info{padding:36px 32px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.eyebrow{font-size:12px;letter-spacing:.1em;color:#c4c9ba;margin:0 0 10px}
.showcase-info h2{font-size:clamp(26px,3vw,38px);font-weight:800;letter-spacing:.015em;line-height:1.35;margin:0 0 12px}
.mech-description{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 24px}
.loadout{display:flex;align-items:center;gap:18px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.loadout small,.special-summary small{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}
.loadout strong{font-size:16px;font-weight:700}
.loadout>span{color:var(--accent);font-size:20px}
.special-summary{margin-top:18px;padding-left:12px;border-left:3px solid var(--accent)}
.special-summary strong{font-size:18px}.special-summary p{font-size:14px;color:var(--muted);margin:6px 0 0}
.auto-note{font-size:12px;color:#c7cebd;margin-top:16px}
.mech-grid{gap:12px;margin-top:14px}
.mech-card,.mech-card.selected{display:flex;align-items:center;position:relative;height:82px;min-height:82px;background:#272d24;border:1px solid #636e59;border-radius:4px;padding:0 14px 0 0;overflow:hidden}
.mech-card:before,.mech-card:after{display:none!important}
.mech-card.selected{background:#e5e9dc;border-color:#e5e9dc;color:#1a2016;box-shadow:0 4px 0 #66705d}
.mech-thumb{display:block;width:74px;height:100%;flex-shrink:0;background-image:url('assets/hangar-ui-v8.webp');background-size:300% 100%;background-repeat:no-repeat;margin-right:12px}
.mech-tab-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.mech-tab-copy small{font-size:12px;color:#b6c0ad}
.mech-tab-copy strong{font-size:16px;font-weight:700}
.selected .mech-tab-copy small{color:#4c5942}
.selection-dot{margin-left:auto;flex-shrink:0;width:18px;height:18px;border:1px solid #859174;border-radius:50%;margin-left:12px}
.selected .selection-dot{background:#34492a;border-color:#34492a}
.selected .selection-dot:after{content:"";display:block;width:7px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:rotate(-45deg);margin:4px 0 0 4px}
.selected-label{display:none}
.launch-panel{margin-top:24px;padding-top:22px;border-color:var(--line);gap:30px;align-items:center}
.difficulty-box{flex:1}.difficulty{border:0;gap:8px;max-width:none}
.difficulty button,.difficulty button:last-child{flex:1;min-height:48px;border:1px solid #626c59;border-radius:4px;background:#262d23;color:#e8ebdf;font-size:14px;padding:12px}
.difficulty button.active{background:#dfe5d4;color:#1e2818;border-color:#dfe5d4;box-shadow:0 4px 0 #657359}
#difficulty-hint{font-size:13px;line-height:1.5;color:var(--muted);margin-top:12px;min-height:20px}
.launch-button{clip-path:none;border-radius:4px;border:1px solid #ffa571;background:var(--accent);color:#23190f;min-height:82px;width:35%;padding:14px 22px;letter-spacing:.04em;box-shadow:0 6px 0 #8c4422,inset 0 1px 0 #ffd0b4}
.launch-button span{display:flex;flex-direction:column;gap:3px;align-items:flex-start}
.launch-button small{font-size:13px;letter-spacing:0;font-weight:500}
.launch-button b{font-size:23px;line-height:1.35}
.launch-button svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:2}
.launch-button:disabled{background:#464d42;border-color:#626b5c;color:#b4bea9;box-shadow:0 4px 0 #242b20}
.hangar-footer{font-size:12px;color:var(--muted);letter-spacing:0;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.utility{position:static;justify-content:flex-end;padding:0 max(24px,calc((100vw - 1080px)/2)) 24px;background:var(--ink);gap:10px}
.utility button{font-size:14px;min-height:44px;padding:10px 16px}
body.battle-active>.utility,body.battle-active .utility{display:none}
.hud{background:#11170fea;border:1px solid #5a6353;border-radius:4px;padding:12px;left:16px;right:16px;top:max(12px,env(safe-area-inset-top));gap:16px;align-items:center}
.armor{width:240px;min-width:0}.hud-label{font-size:12px;letter-spacing:0;margin-bottom:8px;color:#edf2e5}
.health-track{height:10px;transform:none;border:0;padding:0;background:#4e332c}
.armor small{font-size:12px;color:#bdc7b3;margin-top:5px}
.score-panel span{font-size:12px;color:#c4cbbd}.score-panel strong{font:25px monospace;letter-spacing:0;color:#f2f4ea}
.hud .icon-button{width:48px;height:48px;font-size:24px;flex-shrink:0}
.stage-hud{top:112px;left:18px;right:18px;font-size:12px;align-items:center;gap:10px;color:#e4ebdc}
.stage-hud #weapon-level{pointer-events:none;cursor:default;min-height:0;max-width:70%;padding:6px 0 6px 12px;background:transparent;border:0;border-left:2px solid #a4b392;font-size:12px;color:#e2ead7;text-align:right}
.boss-hud{top:151px;left:18px;right:18px;background:#281b13e8;padding:10px;border:1px solid #ac6d42;text-align:left;font:12px sans-serif;letter-spacing:0}.boss-hud b{font-size:12px}.boss-track{height:7px;margin-top:8px}
.battle-controls{left:18px;right:18px;bottom:max(24px,calc(env(safe-area-inset-bottom) + 16px));align-items:end;gap:12px}
.joystick{opacity:.75;width:104px;height:110px;font-size:12px;color:#e3e9dc}
.stick-rings{width:78px;height:78px;border-style:solid;border-color:#bac6ab55;background:#1b261447}
#stick{background:#c6d3b44d;border-color:#d0dabfa0}
.combat-buttons{gap:14px;align-items:end}
.blade-button,.special-button{border-radius:8px;border:1px solid #89947b;background:linear-gradient(#43513b,#263020);box-shadow:0 6px 0 #111b0b,inset 0 1px 0 #b5c6a544;color:#f3f5ed}
.blade-button{width:90px;height:90px}.blade-button>span{font-size:32px;color:#e1ebd6}
.blade-button b,.special-button b{font-size:16px;font-weight:700}
.blade-button small,.special-button small{font-size:12px;color:#d1d9c9}
.blade-button:not(:disabled){border-color:#b9c8aa;box-shadow:0 6px 0 #111b0b,inset 0 1px 0 #b5c6a544}
.blade-button:disabled{opacity:.7}
.special-button{width:112px;height:112px;border-color:#626a5b;background:#242a21;color:#c7d0be;overflow:visible}
.special-button .special-icon{font-size:30px}
.charge-ring{border-radius:10px;inset:-5px;background:conic-gradient(#ff9d62 var(--charge,0%),#a7ad9d33 0);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;-webkit-mask-composite:xor;padding:3px}
.special-button.ready{background:#ff8b4b;color:#25190d;border-color:#ffcaa7;box-shadow:0 6px 0 #8c4422,inset 0 1px 0 #ffddc6;animation:charged-breathe 2s ease-in-out infinite}
.special-button.ready small{color:#392315;font-weight:700}
@keyframes charged-breathe{50%{box-shadow:0 6px 0 #8c4422,0 0 22px #ff8b4b55}}
.keyboard-hint{font-size:12px;left:24px;bottom:8px;color:#bcc5b2}
.announcement{font-size:clamp(26px,5vw,48px);letter-spacing:.04em}.announcement small{font-size:14px;letter-spacing:0}
.pickup-notice{font-size:16px;top:27%;color:#f3e4c6;letter-spacing:0}
.modal{background:#080b09e8;padding:24px;backdrop-filter:blur(8px)}
.dialog{position:relative;width:min(100%,500px);padding:30px;background:#20251d;border:1px solid #6e795e;border-top:4px solid var(--accent);border-radius:6px;box-shadow:0 20px 80px #0009;animation:dialog-enter 180ms ease-out}
@keyframes dialog-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.dialog h2{font-size:28px;letter-spacing:.015em;margin-bottom:18px}.dialog p{font-size:16px;line-height:1.7;color:#c5cdbd}
.dialog .help-row{font-size:15px;line-height:1.7;color:#c5cdbd;margin:20px 0;align-items:start}
.help-row>span{width:40px;height:40px;border-color:#6b775d;color:#f0e3cc}
.dialog-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:24px}
.dialog button{border-radius:4px;min-height:52px;font-size:16px;background:#394431;border:1px solid #758365;color:#e8eddf;white-space:normal}
.dialog button.primary{background:var(--accent);border-color:#ffad7b;color:#25190d;box-shadow:0 4px 0 #84401e;font-weight:800}
.result-score{font:52px Impact,monospace;color:#f1e9d6;letter-spacing:.06em}.result-stats div{font-size:13px;color:#c1cbb7}.result-stats b{font-size:24px;color:#eef3e5}
.setting-row{width:100%;display:flex;justify-content:space-between;align-items:center;margin:12px 0;padding:14px}
.retry-assets{min-height:48px;padding:12px 20px;margin-top:12px;background:#3b4531;color:var(--paper);border:1px solid #a5b291;border-radius:4px}
.result-art{height:140px;background-image:url('assets/hangar-ui-v8.webp');background-size:300% 200%;background-repeat:no-repeat;border-bottom:2px solid var(--accent);margin:0 0 20px;border-radius:3px}
.setting-row b{color:#ffe4c2}.launch-count{position:absolute;inset:0;z-index:18;display:grid;place-content:center;text-align:center;pointer-events:none;background:#11180b66;color:var(--paper);font-size:20px;gap:10px}
.launch-count strong{font:90px Impact,sans-serif;line-height:1}.launch-count small{font-size:16px}
@media(max-width:700px){
 .hangar{padding:18px 16px 22px}.masthead{padding-bottom:16px;gap:12px}.brand{font-size:24px}.brand small{font-size:12px}.brand-mark{width:28px;height:36px;font-size:28px}.help-button{padding:0 12px;font-size:13px;gap:8px}
 .hangar-content{margin-top:18px}.selection-heading{margin-bottom:12px}.selection-heading h1{font-size:18px}
 .mech-showcase{grid-template-columns:48% 52%;min-height:260px}.showcase-art{min-height:260px;background-size:300% auto}.showcase-art:after{background:linear-gradient(90deg,transparent 70%,#1a1e19)}
 .bay-mark{font-size:56px;left:10px}.showcase-info{padding:18px 12px 18px 8px}.showcase-info .eyebrow{font-size:12px;letter-spacing:0;margin-bottom:8px}.showcase-info h2{font-size:22px;overflow-wrap:anywhere;margin-bottom:10px}
 .mech-description{font-size:13px;line-height:1.6;margin-bottom:12px}.loadout{gap:8px;padding:10px 0;flex-wrap:wrap}.loadout strong{font-size:14px}.loadout small{font-size:12px;margin-bottom:4px}.loadout>span{font-size:16px}
 .special-summary{margin-top:12px;padding-left:8px}.special-summary strong{font-size:14px}.special-summary p{display:none}.auto-note{font-size:12px;margin-top:10px}
 .mech-grid{gap:8px;margin-top:12px}.mech-card,.mech-card.selected{height:auto;min-height:76px;padding:10px 6px;justify-content:center;text-align:center}
 .mech-thumb{display:none}.mech-tab-copy{gap:7px}.mech-tab-copy small{font-size:12px}.mech-tab-copy strong{font-size:13px}.selection-dot{display:none}.selected .mech-tab-copy:after{content:"選択中";font-size:12px;color:#415534}
 .launch-panel{margin-top:20px;padding-top:18px;gap:18px;flex-direction:column;align-items:stretch}.difficulty button{font-size:14px;min-height:48px;padding:10px 5px}
 .launch-button{width:100%;min-width:0;min-height:70px;padding:12px 20px}.launch-button b{font-size:22px}.launch-button small{font-size:12px}
 .hangar-footer{font-size:12px;margin-top:22px;gap:10px;flex-wrap:wrap}.utility{padding:0 16px 24px;justify-content:stretch}.utility button{flex:1}
 .hud{left:10px;right:10px;padding:10px;gap:10px}.armor{width:44%;flex:1}.hud-label{font-size:12px}.score-panel strong{font-size:22px}.hud .icon-button{width:46px;height:46px;min-width:46px}.stage-hud{top:111px;left:14px;right:14px;font-size:12px}.stage-hud #weapon-level{font-size:12px}.boss-hud{top:154px;left:12px;right:12px}
 .battle-controls{left:12px;right:14px}.joystick{width:80px;height:98px}.stick-rings{width:66px;height:66px}.combat-buttons{gap:12px}.blade-button{width:78px;height:86px}.special-button{width:98px;height:108px}
 .blade-button b,.special-button b{font-size:14px}.blade-button small,.special-button small{font-size:12px}.dialog{padding:24px 20px}.dialog h2{font-size:25px}.dialog .help-row{font-size:14px}
}
@media(max-width:360px){.hangar{padding:14px 12px}.brand{font-size:21px}.showcase-info h2{font-size:20px}.showcase-info{padding-right:8px}.mech-tab-copy strong{font-size:12px}.mech-tab-copy small{font-size:12px}.stage-hud{flex-wrap:wrap;gap:3px}.stage-hud #weapon-level{border:0;padding:0;max-width:100%}.joystick{width:64px}.combat-buttons{gap:10px}}
@media(orientation:landscape) and (max-height:600px){.mech-showcase,.showcase-art{min-height:290px}.mech-showcase{grid-template-columns:45% 55%}.showcase-info{padding:20px}.mech-grid .mech-card{min-height:68px;height:68px}.launch-panel{flex-direction:row}.launch-button{width:36%}.hud{max-width:380px;right:auto}.stage-hud{top:104px;right:auto;max-width:380px}.boss-hud{top:15px;left:auto;right:16px;width:35%}.battle-controls{bottom:20px}.special-button{width:96px;height:90px}.blade-button{width:78px;height:74px}}
@media(prefers-reduced-motion:reduce){button,.dialog,.showcase-art{transition:none!important;animation:none!important}.special-button.ready{animation:none!important}button:not(:disabled):active,button.is-pressed{transform:none!important}}

/* Fixed presentation slots keep all three loadouts at identical height. */
.mech-showcase{height:490px;min-height:490px;grid-template-rows:minmax(0,1fr)}
.showcase-art{min-height:0;height:100%}
.showcase-info{height:100%;padding:24px 28px;display:grid;grid-template-rows:20px 52px 56px 116px 94px 24px;gap:8px;justify-content:stretch;align-content:center;overflow:auto;scrollbar-width:thin}
.showcase-info>*{margin:0;min-width:0}.showcase-info h2{margin:0;line-height:1.35;align-self:center;font-size:32px}
.mech-description{margin:0;font-size:15px;line-height:1.7}
.loadout{margin:0;display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);padding:8px 0;gap:12px;align-items:center}
.loadout>div{display:grid;grid-template-columns:52px 1fr;column-gap:8px;align-items:center;min-width:0}
.loadout-art{grid-row:1/3;display:block;width:52px;height:62px;background-image:url('assets/weapons-v4.webp');background-size:400% 222.222%;background-repeat:no-repeat;mix-blend-mode:screen}
.weapon-rapid{background-position:0% 0}.weapon-spread{background-position:33.333% 0}.weapon-beam{background-position:66.667% 0}.weapon-missile{background-position:100% 0}
.loadout small{margin:0;font-size:12px}.loadout strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.special-summary{display:flex;align-items:center;gap:12px;margin:0;padding:8px 0;border:0}
.summary-icon{width:46px;height:46px;flex-shrink:0;fill:none;stroke:#ffb17e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;padding:4px}
.special-summary small{margin:0 0 4px}.special-summary p{display:block;font-size:13px;line-height:1.5;margin:4px 0 0}.auto-note{align-self:center;margin:0}
/* Minimal HUD: no window backgrounds, only health, score and level. */
.hud{top:max(12px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));max-width:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;align-items:flex-start;gap:14px;text-shadow:0 1px 3px #000,0 0 8px #000}
.armor{width:138px;flex:0 1 138px}.hud-label{margin-bottom:5px;color:#fff;font:14px monospace;align-items:center}.health-track{height:5px;background:#0007;box-shadow:0 1px 3px #0009}.score-panel{margin-left:auto}.score-panel strong{font-size:23px;color:#fff}.score-panel #weapon-level{font:12px monospace;color:#e7efda;display:block;margin-top:3px}
.hud .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;background:#1b241a66;border:1px solid #d6dec14d;box-shadow:none;border-radius:50%;font-size:21px}
.boss-hud{top:74px;left:15%;right:15%;width:auto;padding:0;border:0;background:none;box-shadow:none;display:flex;align-items:center;gap:9px;color:#ffd5c1;text-shadow:0 1px 4px #000;font:12px monospace;pointer-events:none}
.boss-track{margin:0;flex:1;height:4px;background:#0008;box-shadow:0 1px 4px #0008}.boss-track i{background:#ff8754}.boss-hud>span{min-width:34px;text-align:right}
.battle-controls{justify-content:flex-end;left:auto;right:max(22px,env(safe-area-inset-right));bottom:max(25px,calc(env(safe-area-inset-bottom) + 16px))}
.combat-buttons{gap:0}.special-button{isolation:isolate;width:110px;height:120px;border:0;border-radius:0;clip-path:polygon(25% 0,75% 0,100% 24%,100% 76%,75% 100%,25% 100%,0 76%,0 24%);background:#243028;box-shadow:none;padding:12px 6px;color:#dae8d5;overflow:hidden}
.special-button:before{content:"";position:absolute;inset:0;z-index:-2;background:conic-gradient(from 0deg,#aebea9 var(--charge,0%),#354035 0);pointer-events:none}
.special-button:after{content:"";position:absolute;inset:4px;z-index:-1;clip-path:inherit;background:linear-gradient(150deg,#344336,#142117);pointer-events:none}
.special-button .charge-ring{display:none}.special-button .special-icon{line-height:1;height:32px;color:#dce8d8}.special-button b{font-size:16px;margin-top:5px}.special-button small{font-size:12px;color:#c1d4bb}
.special-button.ready{background:#ede7ff;color:white;border:0;box-shadow:none;animation:none}
.special-button.ready:before{inset:-40%;background:conic-gradient(#ff6b9c,#ffbc59,#faff87,#73ffbb,#64dfff,#a995ff,#ff6b9c);animation:rainbow-orbit 4s linear infinite}
.special-button.ready:after{background:linear-gradient(140deg,#542c69de,#143e4cdd 45%,#42501cdd)}
.special-button.ready .special-icon{color:#fff5c6;filter:drop-shadow(0 0 6px #fff9)}
.special-button.ready small{color:#fff;font-weight:700}.special-button.ready b{text-shadow:0 0 7px #ffd6ff}
@keyframes rainbow-orbit{to{transform:rotate(360deg)}}
@media(max-width:700px){.mech-showcase{height:430px;min-height:430px;grid-template-columns:44% 56%}.showcase-art{min-height:0}.showcase-info{padding:16px 10px;grid-template-rows:32px 38px 72px 112px 80px 20px;gap:5px}.showcase-info .eyebrow{margin:0;line-height:1.5}.showcase-info h2{font-size:22px;margin:0;overflow-wrap:normal}.mech-description{font-size:13px;line-height:1.7;margin:0}.loadout{gap:5px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);padding:6px 0}.loadout>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;height:100%}.loadout-art{width:44px;height:42px;flex-shrink:0}.loadout strong{font-size:13px;line-height:1.45}.loadout small{font-size:12px;white-space:nowrap}.loadout-plus{font-size:14px!important}.special-summary{gap:6px;padding:0}.summary-icon{width:32px;height:38px;padding:0}.special-summary strong{font-size:14px;line-height:1.4}.special-summary p{font-size:12px;line-height:1.5}.auto-note{font-size:12px}.hud{gap:10px}.armor{width:115px;flex-basis:115px}.score-panel strong{font-size:21px}.boss-hud{left:12%;right:12%;top:72px}.special-button{width:100px;height:112px}}
@media(max-width:360px){.mech-showcase{grid-template-columns:40% 60%}.showcase-info h2{font-size:20px}.showcase-info{padding:16px 8px}.hud{left:10px;right:10px}.boss-hud{left:10%;right:10%}}
@media(orientation:landscape) and (max-height:600px){.hud{max-width:none;right:14px}.boss-hud{top:66px;left:25%;right:25%;width:auto}.battle-controls{bottom:18px}.special-button{width:96px;height:104px}}
@media(prefers-reduced-motion:reduce){.special-button.ready:before{animation:none!important}.special-button.ready .special-icon{filter:none}}
.weapon-power{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:5px}
.score-panel .weapon-power #weapon-level{margin:0;font-size:12px;min-width:30px;color:#dcecca}
.weapon-gauge{display:flex;gap:3px;width:96px;height:9px;filter:drop-shadow(0 1px 2px #000)}
.weapon-gauge i{flex:1;display:block;background:#162017a6;border:1px solid #c4d7b267;transform:skew(-14deg);transition:background-color .2s}
.weapon-gauge i.lit{background:#c2ee8a;border-color:#edffd6;box-shadow:0 0 5px #b4ff8155}
.weapon-gauge[aria-valuenow="8"] i.lit{background:#ffcc71;border-color:#fff0b7}
.loadout-art.weapon-missile,.loadout-art.weapon-spread{background-image:url('assets/ordnance-v10.webp');background-size:400% 200%;mix-blend-mode:normal}
.loadout-art.weapon-missile{background-position:0% 0%}.loadout-art.weapon-spread{background-position:0% 100%;mix-blend-mode:screen}
@media(max-width:360px){.weapon-gauge{width:72px;gap:2px}.weapon-power{gap:5px}}
/* Generated armor surfaces; labels remain live, readable text. */
.help-button,.utility button,.difficulty button,.difficulty button:last-child,.mech-card,.dialog button,.retry-assets{background-image:url('assets/ui-surfaces-v10.webp');background-size:200% 200%;background-position:0% 0%;background-repeat:no-repeat;border-color:#6c7466}
.mech-card.selected,.difficulty button.active,.setting-row[aria-pressed="true"]{background-image:url('assets/ui-surfaces-v10.webp');background-size:200% 200%;background-position:100% 0%;color:#172016}
.setting-row[aria-pressed="true"] b{color:#244418}
.launch-button,.dialog button.primary{background-image:url('assets/ui-surfaces-v10.webp');background-size:200% 200%;background-position:0% 100%;border-color:#e99b60;color:#201209;text-shadow:0 1px 0 #ffd8a755}
.launch-button:disabled{background-position:0% 0%;color:#d0d7c8;text-shadow:none}
.mech-card.selected .mech-tab-copy small{color:#34472c}.selected .mech-tab-copy:after{color:#34472c}
.special-button:after{inset:0;background-image:url('assets/ui-surfaces-v10.webp');background-size:200% 200%;background-position:100% 100%;background-repeat:no-repeat;filter:grayscale(1) brightness(.65);clip-path:none}
.special-button:before{background:none;inset:0;animation:none}
.special-button.ready:after{background-image:url('assets/ui-surfaces-v10.webp');background-size:200% 200%;background-position:100% 100%;filter:none;animation:reactor-spectrum 5s linear infinite}
.special-button.ready:before{background:none;animation:none;inset:0}
.special-button .charge-ring{display:block;position:absolute;inset:auto 26% 17%;height:3px;padding:0;border-radius:2px;background:linear-gradient(90deg,#dfefc4 var(--charge,0%),#76836a55 0);mask:none;-webkit-mask:none;z-index:2}
.special-button.ready .charge-ring{display:none}
.special-button.ready small{font-size:12px;text-shadow:0 1px 3px #000}
.weapon-gauge i.lit{background-image:url('assets/ui-surfaces-v10.webp');background-size:200% 200%;background-position:100% 0%}
.weapon-gauge[aria-valuenow="8"] i.lit{background-position:0% 100%}
@keyframes reactor-spectrum{to{filter:hue-rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.special-button.ready:after{animation:none!important;filter:none}}
.campaign-route{display:flex;align-items:center;justify-content:center;gap:12px;color:#b4b7b9;font-size:12px;margin:18px 0 2px;flex-wrap:wrap}.campaign-route b{color:#f1d1ac;font-variant-numeric:tabular-nums}.campaign-route i{color:#727b82;font-style:normal}.stage-progress{position:absolute;top:calc(env(safe-area-inset-top,0px) + 74px);left:22px;color:#c3c9cb;font:600 12px system-ui;letter-spacing:.14em;pointer-events:none;text-shadow:0 1px 4px #000}
