[hidden]{display:none!important}
.ghost-cta{min-height:42px;border-color:#71cbf3!important;background:#124865!important;color:#f0f9ff!important;font-weight:800}
.ghost-explainer{margin:.25rem 0;color:#b6d9ec;font-size:.84rem;line-height:1.35}
.guest-bar{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center;padding:.55rem .72rem;border:1px solid #304e69;border-radius:.65rem;background:#102b42}
.guest-bar .ghost-explainer{flex:1 1 180px}
.guest-bar button,.arcade-tools summary{min-height:42px}
.arcade-tools{border:1px solid #314964;border-radius:.6rem;padding:.18rem .58rem;margin:.4rem 0}
.arcade-tools summary{cursor:pointer;display:flex;align-items:center;font-weight:750;color:#d6eaff}
.arcade-tools summary::before{content:'+';margin-right:.6rem;color:#98d8ff}
.arcade-tools[open] summary::before{content:'−'}
#guest-ghost-info{position:absolute;z-index:4;pointer-events:none;left:50%;transform:translateX(-50%);bottom:clamp(28px,7%,70px);padding:.25rem .6rem;border:1px solid #74c9e9;border-radius:1rem;color:#d3f2ff;background:#092a42e6;font:700 clamp(10px,1.3vw,13px)/1.2 system-ui;white-space:nowrap}
#guest-ghost-marker{position:absolute;z-index:3;left:0;top:0;pointer-events:none;color:#8fe8ff;opacity:.72;text-shadow:0 0 7px #b0efff;font-weight:800;line-height:1;will-change:transform}
#guest-ghost-marker img{width:100%;display:block;opacity:.68;filter:grayscale(1) brightness(1.5) sepia(.55) hue-rotate(145deg);transform:rotate(var(--ghost-bank,0rad));}
#guest-ghost-marker span{display:block;text-align:center;font:700 10px/1.1 system-ui;margin-top:.24rem}
#flight .menu-ghost-link{border-color:#67c1e0;background:#164058}
#flight #debrief .choices{flex-wrap:wrap}
#flight #debrief .choices button{min-height:42px}
@media(max-width:680px){.modebar{display:grid!important;grid-template-columns:1fr 1fr;gap:.4rem!important}.modebar>.kicker{grid-column:1/-1}.modebar button{min-height:42px}.guest-bar button{width:100%}#guest-ghost-info{bottom:9%;}}
.game-shell main{max-width:1490px;padding-top:12px}
.game-shell .mast{padding:0 0 8px;align-items:center}
.game-shell .hero,.game-shell .modebar,.game-shell #difficultyPanel,.game-shell .hangar,.game-shell .airfield-strip,.game-shell .panel,.game-shell main>.brief{display:none!important}
.game-shell .view{height:clamp(610px,74dvh,870px)}
.game-shell .deck-room .deck-overlay:not([hidden]){display:grid;align-items:safe center}
.game-shell .deck-room .deck-tools:not([hidden]){display:flex;bottom:12px;right:16px}
.game-shell .deck-overlay{padding:clamp(10px,2.5vw,36px);background:radial-gradient(ellipse at 88% 0%,#122f4b8a,#081321e8 56%,#050c1bf0 95%);overscroll-behavior:contain}
.game-shell .deck-briefing{width:min(810px,100%);border-color:#4c7a9e;padding:clamp(14px,3vw,32px);background:linear-gradient(140deg,#0c2237f7,#0a1628f7 74%)}
.game-shell .deck-briefing h2{font-size:clamp(28px,5vw,48px);margin:9px 0}
.arcade-mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0}
.arcade-mode-cards button{min-width:0;display:grid;text-align:left;justify-content:start;gap:.16rem;padding:.6rem .65rem;min-height:65px;background:#122b42;border-color:#395a77}
.arcade-mode-cards button:hover,.arcade-mode-cards button[aria-pressed=true]{background:#244b66;border-color:#98d6f7}
.arcade-mode-cards small{font:750 9px ui-monospace,monospace;letter-spacing:.10em;color:#9ad7f3}
.arcade-mode-cards b{font-size:clamp(12px,1.4vw,16px)}
.arcade-mode-cards span{font-size:11px;color:#c4d9eb;font-weight:500}
.game-shell .deck-selects{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:8px 0 4px}
.game-shell .deck-selects label{font-size:12px}
#deckStart,#deckResume{background:#eb5e73;color:#091725;border-color:#ff91a3}
.game-shell #deckDailyPanel{width:100%}
.game-shell .deck-actions:has(#deckChange:not([hidden])){margin-top:20px}
.game-shell #deckCamera{white-space:nowrap}
.game-shell .deck-tools button{min-height:39px}
.game-shell #deckSaveStatus{font-size:12px;color:#a9d5ec}
@media(max-width:680px){
 .game-shell main{padding:8px}
 .game-shell .view{height:clamp(610px,83dvh,850px)}
 .arcade-mode-cards{grid-template-columns:1fr 1fr}
 .arcade-mode-cards button{min-height:55px;padding:.42rem .53rem}
 .game-shell .deck-briefing{padding:14px 11px}
 .game-shell .deck-room .deck-tools:not([hidden]){top:95px;bottom:auto;right:8px;gap:4px}
 .game-shell .deck-tools button{min-height:40px;padding:4px 8px;font-size:11px}
 .game-shell #deckLeave{display:none}
 .game-shell .deck-overlay:not([hidden])~.deck-tools{display:none}
}
@media(max-height:530px) and (orientation:landscape){
 .game-shell .deck-overlay{place-items:start center}
 .game-shell .arcade-mode-cards{grid-template-columns:repeat(5,minmax(0,1fr));margin:8px 0}
 .game-shell .view{height:min(440px,88dvh)}
 .game-shell .deck-briefing h2{font-size:30px}
}
.deck-nav{display:flex;flex-wrap:wrap;gap:.35rem 1rem;margin:.7rem 0 0}
.deck-nav a{color:#b7def5;font-size:.81rem;text-decoration:underline;text-underline-offset:.16em}
.game-shell #deckDailyPanel label{display:inline-flex;align-items:center;gap:.4rem;min-height:36px;color:#c8e8fa;font-size:.84rem}
.game-shell #deckDailyPanel .deck-controls{align-items:center}
.game-shell #deckNotice{border-left:2px solid #adcdea;padding-left:.5rem}
.game-shell #deckGhost{width:auto}
.game-shell .deck-overlay{z-index:9}
.game-shell .deck-actions #deckResult{background:#193d59}
.arcade-mode-groups>.kicker{margin:14px 0 4px;font-size:11px;color:#aadaf3}
.game-shell .arcade-mode-groups .arcade-mode-cards{margin:5px 0 12px}
.game-shell .arcade-mode-groups .arcade-demo-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.arcade-demo-cards button{background:#152238;border-color:#455371}
#ghost-hud,#guest-ghost-info{font-variant-numeric:tabular-nums;max-width:75%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:680px){.game-shell .arcade-mode-groups .arcade-mode-cards:not(.arcade-demo-cards){grid-template-columns:repeat(3,minmax(0,1fr))}.arcade-mode-groups .arcade-mode-cards{gap:4px}.arcade-mode-groups .arcade-mode-cards button{padding:.35rem .40rem;min-height:53px}.arcade-mode-groups .arcade-mode-cards span{font-size:10px}}
@media(max-width:385px){.game-shell .arcade-mode-groups .arcade-mode-cards:not(.arcade-demo-cards){grid-template-columns:repeat(2,minmax(0,1fr))}}
.controller-menu-focus{outline:3px solid #a9efff!important;outline-offset:2px;box-shadow:0 0 12px #8edaff77}
