/* The playfield contains only controls needed for the current action. */
.game-hud,.volunteer-tag,#loadingTip,#holdHint,#phaseBadge,#launchStatus,#bumperCombo{display:none!important}
.pause-button{position:absolute;z-index:8;right:18px;top:18px;width:44px;height:44px;padding:0;border:2px solid #526747;border-radius:12px;background:#f4e9c5;color:#42513b;font-size:21px;box-shadow:0 3px #52674755}
.game>.flight-stats{top:18px;left:18px;padding:8px 12px;box-shadow:none;font-size:10px}.game.preparing>.flight-stats{display:none}.preparing .flight-stats,.swinging .flight-stats{display:none!important}.flight-stats .detail-stat{display:none!important}.flight-stats strong{font-size:24px}
.game .launch-prompt{bottom:24px!important;max-width:270px}.game .launch-prompt[hidden]{display:none!important}.game .charge-track{margin:7px auto 0}.game #launchButton{min-height:44px;padding:9px 16px;font-size:14px}
.weapon-tray{display:none!important}.in-flight .weapon-tray{display:flex!important;top:100px;left:15px;right:auto;width:60px;gap:8px}.weapon-tray p,.weapon-tray span,.weapon-tray kbd{display:none}.weapon-tray button{display:flex;flex-direction:column;min-height:0;padding:4px;border-width:2px;border-radius:9px}.weapon-tray img{width:36px;height:42px}.weapon-tray small{font-size:8px}
#pauseMenu{width:min(390px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:24px;overflow:auto}#pauseMenu::backdrop{background:#19261db3}#pauseMenu h2{margin:0 0 18px;text-align:center}#pauseMenu summary{cursor:pointer;padding:16px 0;font-weight:bold}#pauseMenu .mode-switch,#pauseMenu .field-controls,#pauseMenu .hud-right,#pauseMenu .game-logo,#pauseMenu .game-dock{position:static;transform:none;margin:12px 0;max-width:100%;width:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}#pauseMenu .game-dock button{flex:1;min-width:75px;font-size:12px;padding:12px 7px;min-height:0}#pauseMenu .game-dock button span,#pauseMenu #shopNew{display:none}#pauseMenu .field-controls button{display:block}#pauseMenu .game-logo{display:none}#pauseMenu .bank{padding:8px}#pauseMenu .hud-right{align-items:center}#pauseMenu .field-controls{padding:0}#pauseMenu .field-controls button,#pauseMenu .speed-control{font-size:12px}#pauseMenu .mode-switch{justify-content:stretch}#pauseMenu .mode-switch button{flex:1}

.weapon-tray .weapon-fire{min-height:48px;padding:7px 3px;font:bold 14px/1.1 "Trebuchet MS",sans-serif;background:#f3d785;color:#344831;border-color:#445a3e;touch-action:manipulation}.weapon-tray .weapon-fire strong{font:inherit}.weapon-tray .weapon-fire small{font-size:9px;line-height:1.25;margin-top:3px;max-width:54px}.weapon-tray .weapon-fire:disabled{opacity:.5}.weapon-tray .weapon-fire:active:not(:disabled){background:#fff0b8;transform:translateY(2px)}

.equipment-spec{font-size:12px;line-height:1.45;color:#405941;font-weight:bold}.equipment-choice small{font-size:10px;line-height:1.35;max-width:175px}

#altitudeStrip{position:absolute;right:9px;top:94px;width:44px;height:min(64dvh,540px);z-index:2;pointer-events:none;filter:drop-shadow(0 2px 2px #203c2a55)}
@media(max-width:600px){#altitudeStrip{width:38px;right:7px;height:min(64dvh,510px)}}
@media(max-height:420px){#altitudeStrip{top:76px;height:calc(100dvh - 92px)}}

.capacity-adjustment{margin:12px 0;padding:12px;border:2px solid #92a274;border-radius:9px;background:#eaf0d5}.capacity-adjustment>strong{display:block;font-size:13px;color:#35543b}.capacity-adjustment>p{font-size:11px;line-height:1.45;color:#586d48}.part-group .capacity-row{display:grid;grid-template-columns:1fr minmax(90px,140px);align-items:center;gap:5px 12px;margin:11px 0;font-size:12px;color:#40563d}.capacity-row input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:7px;border:1px solid #92a274;border-radius:6px;background:#fffdf0;color:#324b34;font:inherit}.capacity-row small{grid-column:1/-1;font-size:10px;font-weight:normal;color:#5a704c}.capacity-adjustment .capacity-status{min-height:1.5em;color:#40563d}.capacity-adjustment .capacity-apply{width:100%;min-height:44px;padding:9px 12px}.capacity-apply:disabled{opacity:.55;cursor:not-allowed}.part-group:has(.capacity-adjustment){scroll-margin-top:8px}
@media(max-width:600px){.part-group .capacity-row{grid-template-columns:1fr 110px;font-size:11px}.capacity-adjustment{padding:10px}.capacity-adjustment>strong{font-size:12px}.capacity-row input{font-size:16px}}

.part-group .capacity-row>span{display:block;font-size:12px;font-weight:600}@media(max-width:600px){.part-group .capacity-row>span{font-size:11px}}

.space-escaped .weapon-tray{display:none!important}.result-card p.space-reward-badge{display:inline-block;margin:0 0 10px;padding:5px 10px;border-radius:20px;background:#405b56;color:#fff0b6;font-weight:bold;letter-spacing:.06em}.space-escaped #resultNumbers{font-size:22px;line-height:1.3}.achievement-status{padding:12px;border:1px solid #b6bf95;border-radius:10px;background:#e7e9ce;color:#345344}
@media(max-width:600px){.space-escaped .result-card{max-width:calc(100% - 76px);left:12px;transform:translateY(-50%)}.space-escaped #resultNumbers{font-size:20px}.space-escaped .result-card h2{font-size:27px}.space-escaped #resultNote{font-size:13px;line-height:1.4}}

.space-escaped #resultNote{color:#486149}.space-escaped #collect,.space-escaped #collectShop{min-height:44px}

.failure-stamp{position:absolute;z-index:12;top:18%;left:50%;transform:translateX(-50%) rotate(-12deg);padding:8px 22px;border:8px double #a62b25;border-radius:10px;background:#fff1d5eb;color:#a62b25;font:900 clamp(42px,8vw,94px)/1.05 "Trebuchet MS",sans-serif;letter-spacing:.07em;text-shadow:2px 2px #f4c194;box-shadow:0 6px 18px #38291f55;pointer-events:none;animation:fail-stamp-in .25s ease-out}.failure-stamp[hidden]{display:none}@keyframes fail-stamp-in{from{opacity:0;transform:translateX(-50%) rotate(-17deg) scale(1.4)}to{opacity:1;transform:translateX(-50%) rotate(-12deg) scale(1)}}@media(prefers-reduced-motion:reduce){.failure-stamp{animation:none}}
