/* Production art generated with ChatGPT; text and interactions remain native UI. */
#welcome.game-menu { background: #06132d; }
.game-menu .menu-airspace img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; filter: none; }
.menu-airspace::after { background: linear-gradient(0deg,#031027bd,transparent 36%,transparent 70%,#03102730); }
.menu-identity { top: 11%; left: 7%; right: 7%; text-align: center; }
.menu-identity > p { font-size: 24px; letter-spacing: 9px; margin-left: 9px; color: #f0ce87; text-shadow: 0 2px 8px #06132d; }
#welcome.game-menu #landing-title { font-size: clamp(90px,13vw,150px); color: #fff4d8; text-shadow: 0 3px 0 #a67e38,0 10px 25px #00102a99; letter-spacing: 10px; margin-left: 10px; }
.menu-identity > span { margin-top: 16px; color: #d7e5fc; }
.menu-actions { left: 50%; right: auto; transform: translateX(-50%); bottom: max(7vh,34px); width: min(340px,calc(100% - 48px)); gap: 10px; }
#welcome.game-menu #start,#welcome.game-menu #resume,#menu-help,body .primary,#close-game-guide,body.manual-flight.playing .touch-right #takeoff-button { border: 0; border-radius: 0; background: transparent url('/assets/ui-v3/play-gold.webp') center/100% 185% no-repeat; box-shadow: none; color: #18223b; min-height: 62px; padding: 12px 28px; text-shadow: 0 1px 0 #ffe8b4; transition: filter .15s,transform .15s; }
#welcome.game-menu #resume,#menu-help { background-image: url('/assets/ui-v3/button-navy.webp'); color: #f7dfab; min-height: 52px; text-shadow: 0 1px 3px #0008; font-size: 14px; }
button.primary:hover,#start:hover,#menu-help:hover { filter: brightness(1.12); }
button.primary:active,#start:active,#menu-help:active { transform: translateY(2px); filter: brightness(.93); }
button:focus-visible,a:focus-visible { outline: 2px solid #fff2c7; outline-offset: 4px; }
#welcome.game-menu #start-status { color: #b9cbea; font-size: 12px; margin-top: 2px; min-height: 17px; }
.menu-actions .app-download { margin-top: 3px; min-height: 24px; color: #f3d7a0; font-size: 11px; letter-spacing: 1.5px; }
.menu-best { right: 20px; left: 20px; bottom: max(12px,env(safe-area-inset-bottom)); text-align: center; font-size: 10px; color: #a5badc; }
body .dialog,#app-dialog,#game-guide,body .quiz-card { border: 1px solid #c5a365; border-radius: 15px; background: linear-gradient(145deg,#173459f7,#06162ff7); box-shadow: inset 0 0 0 4px #112a4c,0 20px 70px #020918aa; }
body.manual-flight.playing .touch-right button { background: transparent url('/assets/ui-v3/button-navy.webp') center/100% 185% no-repeat; border: 0; border-radius: 0; padding: 10px 8px; color: #f4dba8; text-shadow: 0 1px 2px #000; }
body.manual-flight.playing .touch-right #takeoff-button { min-height: 52px; font-size: 13px; padding: 8px; }
body.manual-flight.playing .touch-right .pitch-actions,body.manual-flight.playing .touch-right .flight-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.manual-flight.playing .touch-right button { grid-column: auto !important; grid-row: auto !important; display: block !important; }
body.manual-flight.playing .touch-right #land-button { grid-column: 1 / -1 !important; }
body.manual-flight.playing .touch-right #land-button:not(:disabled),body.manual-flight.playing .touch-right #touch-camera { display: block !important; }
body.manual-flight.playing .touch-right #land-button:not(:disabled) { min-height: 52px; padding: 10px 8px; background: transparent url('/assets/ui-v3/play-gold.webp') center/100% 185% no-repeat; color: #17243d; text-shadow: 0 1px #ffe8b4; font-weight: 700; }
body.manual-flight.playing .touch-right #land-button:disabled,body.manual-flight.playing .touch-right #touch-pause { display: none !important; }
body.manual-flight.playing #hud::after { display: none !important; }
body.manual-flight.playing #pilot-coach { top: calc(151px + env(safe-area-inset-top)); max-width: min(260px,calc(100% - 40px)); font-weight: 600; color: #fff; text-shadow: 0 1px 4px #001025,0 0 10px #001025; background: #071a3759; border-radius: 6px; padding: 6px 8px; }
body.manual-flight.playing #joystick { border: 2px solid #c9a76a; background: radial-gradient(circle,#13335c8c 40%,#071932d9 70%); box-shadow: 0 0 0 6px #07132b80,inset 0 0 20px #0006; }
body.manual-flight.playing #joystick-knob { background: linear-gradient(#ffe1a0,#ab7c35); border: 2px solid #f5d38b; box-shadow: 0 4px 8px #0008; }
body.manual-flight.playing #joystick-knob svg { fill: #162e50; }
body.manual-flight.gate-question #quiz { border: 1px solid #b9a06c; background: linear-gradient(145deg,#19365bee,#06172ef5); box-shadow: inset 0 0 0 4px #112a4c,0 20px 70px #020918aa; }
body.manual-flight.gate-question #quiz .answer { min-height: 58px; padding: 12px 24px; border: 0; border-radius: 0; color: #f6e2bc; background: transparent url('/assets/ui-v3/button-navy.webp') center/100% 185% no-repeat; box-shadow: none; }
body.manual-flight.gate-question #quiz .answer:hover,body.manual-flight.gate-question #quiz .answer:focus-visible { filter: brightness(1.3); }
body.manual-flight.gate-question #hud .touch-controls,body.manual-flight.cinema-playing #hud .touch-controls { display: none !important; }
body.manual-flight .modal-backdrop .primary { min-width: 0; width: 100%; min-height: 56px; font: 700 17px/1.3 'Titillium Web',Arial,sans-serif; letter-spacing: .5px; padding: 12px 22px; }
body.manual-flight #app-dialog #new-flight,body.manual-flight #app-dialog #main-menu { width: 100%; margin-top: 12px; border: 0; border-radius: 0; background: transparent url('/assets/ui-v3/button-navy.webp') center/100% 185% no-repeat; color: #f6dfb2; }
body.manual-flight.playing .navigation,body.manual-flight.playing .instruments,body.manual-flight.playing #risk-hud { border-color: #b89b635e; background: #071a37d9; backdrop-filter: blur(6px); }
@media (min-width:900px) { .game-menu .menu-airspace img { object-fit: contain; background: #071630; } }
@media(max-width:600px) and (orientation:portrait) {
 .menu-identity { top: calc(88px + env(safe-area-inset-top)); left: 20px; right: 20px; }
 .menu-identity > p { font-size: 20px; letter-spacing: 8px; }
 #welcome.game-menu #landing-title { font-size: clamp(82px,26vw,112px); }
 .menu-identity > span { margin-top: 12px; font-size: 10px; letter-spacing: 3px; }
 .menu-actions { bottom: max(42px,calc(22px + env(safe-area-inset-bottom))); }
 .game-menu .menu-airspace img { inset: auto 0; top: 50%; transform: translateY(-50%); width: 100%; height: auto; object-fit: contain; mask-image: linear-gradient(transparent,black 16%,black 80%,transparent); }
}
@media(max-height:660px) and (orientation:portrait) {
 .menu-identity { top: 72px; } #welcome.game-menu #landing-title { font-size: 72px; }
 .menu-identity > span { margin-top: 8px; }
 .menu-actions { bottom: 29px; gap: 4px; }
 #welcome.game-menu #start { min-height: 54px; }
 #menu-help { min-height: 46px; }
 .game-menu .menu-airspace img { object-position: center 40%; }
}
@media(orientation:landscape) and (max-height:600px) {
 .game-menu .menu-airspace img { object-position: 65% 42%; }
 .menu-identity { top: 24%; left: 5%; right: auto; width: 40%; }
 #welcome.game-menu #landing-title { font-size: 84px; }
 .menu-identity > p { font-size: 18px; } .menu-identity > span { font-size: 10px; letter-spacing: 2px; }
 .menu-actions { left: auto; right: 6%; transform: none; width: 34%; bottom: 12%; gap: 6px; }
 #welcome.game-menu #start { min-height: 54px; } #menu-help { min-height: 46px; }
}
