/* Input-aware and compact layouts. Safe areas belong to #interface only. */
body.touch #map-toggle { display:block;right:16px; }body.touch #flight-chart { right:88px; }body.touch .map-panel { display:none; }body.touch.map-open .map-panel { display:block;top:148px;bottom:auto;width:190px; }body.touch.in-cockpit #instrument-panel { left:158px; }.skydiving .flight-strip,.on-foot .flight-strip { bottom:auto;top:150px; }.skydiving .flight-actions,.on-foot .flight-actions { bottom:24px; }.on-foot .flight-actions { bottom:252px; }
@media (max-width:1050px) {
  #title-screen { padding:16px 18px 6px; }.launch-layout { gap:20px;grid-template-columns:minmax(0,1fr) minmax(330px,420px); }.departure-panel { padding:16px; }.launch-hero { gap:18px; }.wordmark h1 { font-size:clamp(30px,5.2vw,55px); }.launch-picture figcaption,.launch-summary { flex-direction:column;gap:6px; }.telemetry>div { min-width:74px;padding:7px 9px; }.flight-brand { font-size:clamp(9px,1.2vw,12px); }.map-panel { width:210px; }.flight-actions { max-width:70%; }.chart-layout { grid-template-columns:minmax(0,1fr) 270px; }
}
@media (max-height:600px) and (min-width:600px) {
  #title-screen { padding:10px 14px 4px;gap:8px; }.studio img { width:32px;height:32px; }.launch-layout { gap:18px;align-items:center; }.launch-hero { gap:14px; }.wordmark h1 { font-size:clamp(28px,4.5vw,48px); }.wordmark h1 span { display:inline;margin-left:8px; }.wordmark p { margin-top:10px; }.launch-summary { display:none; }.departure-panel { padding:12px; }.departure-heading { padding-bottom:8px; }.departure-heading .label:last-child { display:none; }.plane-choice { padding-bottom:8px;margin:9px 0; }.plane-choice small { display:none; }.choice { min-height:49px;padding:6px; }.choice small { margin-top:3px; }.mode-row { gap:6px; }.route-choice { padding:6px 0; }.launch-options { margin:2px 0 6px; }.departure-actions .fbs-btn { min-height:44px; }#mode-description { margin:8px 0; }.title-footer .text-button { min-height:32px; }
  .hangar-header { top:10px;left:14px;right:14px; }.hangar-detail { left:14px;bottom:14px;padding:12px; }.hangar-detail h2 { font-size:clamp(14px,1.8vw,20px);margin:6px 0; }.hangar-detail>p { font-size:clamp(17px,1.7vw,21px); }.hangar-specs { margin:8px 0; }.hangar-specs>div { padding:7px; }.hangar-specs strong { margin-top:7px; }#hangar-note { margin-top:6px; }.fleet-list { top:70px;bottom:14px;right:14px;gap:8px; }.fleet-card { min-height:112px;padding:10px; }.fleet-card strong { font-size:clamp(8px,.9vw,11px);margin:8px 0; }.fleet-status { margin-top:12px; }
  .flight-header { top:8px;left:12px;right:12px;gap:8px; }.telemetry>div { min-width:65px;padding:6px 8px; }.telemetry strong { font-size:clamp(10px,1.3vw,14px);margin:6px 0; }.flight-wallet { top:74px;left:12px; }#flight-message { top:76px;max-width:45%;font-size:clamp(7px,.75vw,9px); }#warning { top:110px;padding:8px; }.flight-strip { left:12px;bottom:144px;max-width:49%;padding:8px 10px; }.flight-strip strong { font-size:clamp(7px,.75vw,9px); }.flight-actions { top:76px;bottom:auto;right:12px;max-width:43%; }.flight-actions button { padding:7px 8px;font-size:clamp(6px,.7vw,8px); }#flight-chart { top:auto;bottom:18px;right:74px; }body.touch #flight-chart { right:74px;top:auto;bottom:18px; }body.touch #map-toggle { top:auto;bottom:18px;right:202px; }.throttle-control { right:12px;left:auto;top:auto;bottom:14px;width:45px;padding:7px 3px;gap:5px; }#throttle { height:95px;width:24px; }.throttle-control .text-button { min-height:38px; }.map-panel,body.touch.map-open .map-panel { top:170px;right:75px;bottom:auto;width:170px; }#map { height:98px; }.map-title,.map-footer { padding:3px 5px; }.map-title .text-button { min-height:24px; }
  #stick { width:105px;height:105px;left:12px;bottom:14px; }#touch-brake { left:128px;bottom:16px; }.in-cockpit #instrument-panel,body.touch.in-cockpit #instrument-panel { left:50%;transform:translateX(-50%);bottom:14px; }.instrument { width:56px;gap:6px; }.instrument strong { font-size:clamp(11px,1.3vw,15px); }.instrument span,.instrument small { font-size:clamp(4px,.45vw,6px); }.attitude { width:83px;height:56px; }
  .skydiving .flight-actions,.on-foot .flight-actions { top:76px;bottom:auto;right:12px;max-width:43%; }.skydiving .flight-strip,.on-foot .flight-strip { top:122px;bottom:auto; }#deck-panel { top:132px;bottom:auto;right:12px;width:300px;padding:8px; }#deck-panel p { display:none; }
  .chart-header { top:10px;left:14px;right:14px; }.chart-layout { inset:67px 14px 14px;gap:10px;grid-template-columns:minmax(0,1fr) 260px; }.chart-details { padding:10px; }.chart-legend { bottom:8px;padding:6px;gap:8px;font-size:clamp(5px,.55vw,7px); }.menu-header { padding:12px 16px; }.menu-header h1 { font-size:clamp(16px,2vw,23px);margin-top:4px; }.menu-actions { padding:10px 16px; }.menu-scroll { padding:14px 16px; }
}
@media (max-width:599px) {
  #title-screen { padding:12px 12px 4px;gap:9px; }.launch-header { gap:8px; }.studio { gap:7px;font-size:clamp(6px,1.8vw,9px); }.studio img { width:30px;height:30px; }.studio .beta-tag { padding:5px;font-size:clamp(5px,1.45vw,7px); }.launch-header .coin-wallet small { display:none; }.coin-wallet { font-size:clamp(7px,2vw,10px);gap:5px; }.launch-layout { grid-template-columns:minmax(0,1fr);grid-template-rows:130px minmax(0,1fr);gap:12px;padding:3px 2px 8px; }.launch-hero { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:10px;align-items:center; }.wordmark h1 { font-size:clamp(24px,7.5vw,36px); }.wordmark p { font-size:clamp(6px,1.5vw,8px);line-height:1.8;margin-top:10px; }.launch-picture figcaption { font-size:clamp(4px,1.25vw,6px);padding:6px;gap:4px; }.launch-summary { display:none; }.departure-panel { padding:12px; }.departure-heading .label { font-size:clamp(6px,1.6vw,8px); }.departure-heading .label:last-child { font-size:clamp(5px,1.3vw,7px); }.plane-choice { margin:10px 0;padding-bottom:10px; }.plane-choice strong { font-size:clamp(10px,2.8vw,14px); }.plane-choice small { font-size:clamp(6px,1.6vw,8px); }.plane-choice button { font-size:clamp(7px,1.8vw,9px);padding:8px; }.choice { min-height:61px;font-size:clamp(7px,1.9vw,9px); }.choice small { font-size:clamp(18px,5vw,21px); }.route-choice strong { font-size:clamp(7px,1.8vw,9px); }.route-choice .text-button { font-size:clamp(6px,1.6vw,8px); }#mode-description { font-size:clamp(20px,5.5vw,23px); }.launch-options button { font-size:clamp(6px,1.8vw,9px); }.departure-actions button { font-size:clamp(8px,2.1vw,11px); }.title-footer { font-size:clamp(5px,1.5vw,7px); }.title-footer .text-button { font-size:clamp(5px,1.5vw,7px);min-height:32px; }
  .hangar-header { top:10px;left:10px;right:10px;gap:7px; }.hangar-header h1 { font-size:clamp(10px,3.2vw,16px); }.hangar-header .fbs-btn { padding:8px;font-size:clamp(7px,1.8vw,9px); }.hangar-header .coin-wallet { padding:7px; }.hangar-detail { left:10px;right:10px;top:33%;bottom:auto;width:auto;padding:10px;max-height:41%;overflow-y:auto;touch-action:pan-y; }.hangar-detail * { touch-action:pan-y; }.hangar-detail h2 { font-size:clamp(15px,4.2vw,22px);margin:6px 0; }.hangar-detail>p { font-size:clamp(19px,5vw,23px); }.hangar-specs { margin:8px 0; }.hangar-specs>div { padding:7px; }.hangar-specs strong { margin-top:7px; }#hangar-note { font-size:clamp(17px,4.5vw,21px);margin-top:7px; }.fleet-list { left:10px;right:10px;top:76%;bottom:10px;width:auto;gap:8px; }.fleet-card { min-height:112px;padding:10px; }.fleet-role { font-size:clamp(5px,1.4vw,7px); }.fleet-card strong { font-size:clamp(8px,2.3vw,12px); }.fleet-status { font-size:clamp(6px,1.6vw,8px); }
  .flight-header { top:8px;left:8px;right:8px;gap:6px; }.flight-brand { display:none; }.telemetry { flex:1; }.telemetry>div { flex:1;min-width:0;padding:7px 6px; }.telemetry strong { font-size:clamp(10px,3vw,15px);margin:6px 0; }.telemetry span,.telemetry small { font-size:clamp(5px,1.5vw,7px); }.vs-cell { display:none; }.menu-button { padding:8px;font-size:clamp(7px,1.8vw,9px); }.flight-wallet { top:80px;left:12px; }#map-toggle,body.touch #map-toggle { top:76px;right:12px;padding:8px;font-size:clamp(7px,1.8vw,9px); }#flight-chart,body.touch #flight-chart { top:76px;right:77px;padding:8px;font-size:clamp(7px,1.8vw,9px); }
  #flight-message { top:132px;max-width:90%;font-size:clamp(7px,1.9vw,10px); }#warning { top:173px;font-size:clamp(8px,2vw,11px);padding:10px; }.flight-strip { left:12px;bottom:310px;max-width:calc(100% - 85px);padding:8px 10px; }.flight-strip strong { font-size:clamp(7px,1.8vw,9px); }.power-row { font-size:clamp(5px,1.4vw,7px);gap:8px; }.throttle-control { left:auto;right:12px;top:auto;bottom:212px;width:44px;padding:7px 3px;gap:6px; }#throttle { height:89px; }.throttle-control .text-button { min-height:44px; }
  .flight-actions { right:12px;bottom:104px;max-width:calc(100% - 90px);gap:6px; }.flight-actions button { padding:7px 8px;font-size:clamp(6px,1.6vw,8px);min-height:44px; }#stick { width:112px;height:112px;left:12px;bottom:190px; }#touch-brake { left:12px;bottom:114px;font-size:clamp(7px,1.8vw,9px);padding:8px; }
  #instrument-panel,body.touch.in-cockpit #instrument-panel { left:12px;right:12px;bottom:12px;justify-content:center;padding:5px; }.instrument { flex:1;width:auto;gap:8px; }.instrument strong { font-size:clamp(14px,4vw,20px); }.instrument span,.instrument small { font-size:clamp(5px,1.5vw,7px); }.attitude { width:112px;height:71px; }.map-panel,body.touch.map-open .map-panel { top:127px;right:12px;bottom:auto;width:180px; }#map { height:121px; }
  .skydiving #stick,.on-foot #stick { bottom:18px; }.skydiving .flight-actions,.on-foot .flight-actions { bottom:18px;max-width:58%; }.skydiving .flight-strip,.on-foot .flight-strip { top:210px;bottom:auto;max-width:calc(100% - 24px); }#deck-panel { left:12px;right:12px;width:auto;top:207px;bottom:auto;padding:10px; }#deck-panel p { font-size:clamp(19px,5vw,22px); }
  .chart-header { top:10px;left:10px;right:10px;gap:8px; }.chart-header h1 { font-size:clamp(11px,3.2vw,16px); }.chart-header .beta-tag { display:none; }.chart-layout { inset:70px 10px 10px;grid-template-columns:1fr;grid-template-rows:minmax(180px,1fr) minmax(0,.8fr);gap:10px; }.chart-details { padding:12px; }.chart-legend { padding:6px;font-size:clamp(4px,1.2vw,6px);gap:8px; }.chart-details h2 { font-size:clamp(12px,3.5vw,17px); }.chart-details p { font-size:clamp(21px,5.6vw,25px); }.airport-card strong { font-size:clamp(10px,2.9vw,14px); }
  .overlay { padding:10px; }.menu-header { padding:12px;gap:8px; }.menu-header h1 { font-size:clamp(14px,4.5vw,21px); }.menu-header .fbs-btn { padding:8px;font-size:clamp(7px,1.8vw,9px); }.menu-scroll { padding:14px 12px; }.menu-scroll>p,.control-guide p { font-size:clamp(22px,6vw,26px); }#tuning label { grid-template-columns:minmax(0,1fr) 43px;gap:6px;font-size:clamp(7px,2vw,9px);margin:18px 0; }#tuning label input { grid-column:1;grid-row:2; }#tuning output { grid-column:2;grid-row:2; }.menu-options { gap:8px; }.menu-options button { font-size:clamp(7px,1.8vw,9px);padding:8px 5px; }.menu-actions { padding:10px;gap:6px; }.menu-actions button { font-size:clamp(6px,1.6vw,8px);padding:8px 3px; }
}
@media (max-width:599px) and (max-height:650px) {
  .launch-hero { min-height:0; }.wordmark p { font-size:clamp(5px,1.45vw,7px); }.hangar-detail { top:30%;max-height:43%; }.fleet-list { top:75%; }.flight-strip { bottom:260px; }.throttle-control { bottom:205px; }#stick { bottom:162px;width:98px;height:98px; }.flight-actions { bottom:104px; }#touch-brake { bottom:107px; }#instrument-panel { bottom:10px; }.attitude { height:62px; }
}
@media (max-width:599px) and (orientation:landscape) {
  .chart-layout { grid-template-columns:minmax(0,1fr) 200px;grid-template-rows:minmax(0,1fr); }
}
@media (max-width:599px) and (orientation:landscape) {
  .flight-header { top:8px;left:10px;right:10px; }
  .telemetry>div { padding:6px 8px; }.telemetry strong { font-size:clamp(10px,2vw,13px); }
  .flight-wallet { left:78px;top:82px; }#map-toggle,body.touch #map-toggle { left:12px;right:auto;top:76px; }
  #flight-chart,body.touch #flight-chart { right:12px;top:76px;bottom:auto; }
  #flight-message { top:80px;max-width:40%;font-size:clamp(6px,1.4vw,8px); }#warning { top:114px; }
  .flight-strip { left:12px;bottom:122px;max-width:46%;padding:7px 9px; }.power-row { gap:7px; }
  #stick { left:12px;bottom:12px;width:95px;height:95px; }#touch-brake { left:119px;bottom:14px; }
  .throttle-control { right:12px;left:auto;bottom:12px;top:auto;width:44px;gap:4px;padding:5px 2px; }#throttle { height:72px; }.throttle-control .text-button { min-height:34px; }
  .flight-actions { right:72px;top:127px;bottom:auto;max-width:66%;gap:5px; }.flight-actions button { font-size:clamp(5px,1.1vw,7px);padding:7px; }
  #instrument-panel,body.touch.in-cockpit #instrument-panel { left:50%;right:auto;transform:translateX(-50%);bottom:12px; }.instrument { flex:none;width:53px;gap:6px; }.instrument span,.instrument small { font-size:clamp(4px,1vw,5px); }.instrument strong { font-size:clamp(12px,2.3vw,15px); }.attitude { width:76px;height:51px; }
  .map-panel,body.touch.map-open .map-panel { right:72px;top:180px;bottom:auto;width:164px; }#map { height:84px; }.map-title,.map-footer { padding:3px 5px; }
  .skydiving .flight-strip,.on-foot .flight-strip { top:127px;bottom:auto;max-width:68%; }
  .skydiving #stick,.on-foot #stick { bottom:12px; }.skydiving .flight-actions,.on-foot .flight-actions { top:auto;bottom:14px;right:12px;max-width:58%; }
  #deck-panel { left:auto;right:12px;top:126px;bottom:auto;width:300px;padding:8px; }#deck-panel p { display:none; }
}
/* Reserved action row; only flight choices scroll within the panel. */
.departure-actions { flex-shrink:0;background:var(--panel);border-top:1px solid var(--border);padding-top:10px; }
@media (min-width:1000px) and (max-height:800px) {
  .launch-hero { gap:16px; }.wordmark h1 { font-size:clamp(34px,4.5vw,58px); }.wordmark h1 span { display:inline;margin-left:8px; }.wordmark p { margin-top:12px; }.launch-picture { max-width:640px; }.launch-summary { max-width:640px; }
  .departure-panel { padding:14px; }.departure-heading { padding-bottom:8px; }.plane-choice { margin:10px 0;padding-bottom:10px; }.choice { min-height:55px;padding:7px; }.choice small { margin-top:4px; }#mode-description { margin:8px 0; }.route-choice { padding:8px 0; }
  .departure-actions { grid-template-columns:1fr 1fr;gap:8px; }.departure-actions button { font-size:clamp(7px,.7vw,9px);padding:8px; }.departure-actions .text-button { background:var(--bg);border:1px solid var(--border); }
}
@media (max-height:650px) {
  .departure-actions { grid-template-columns:1fr 1fr;gap:8px; }
  .departure-actions button { padding:8px 6px;font-size:clamp(7px,.8vw,9px); }
  .departure-actions .text-button { background:var(--bg);border:1px solid var(--border); }
}

@media (max-width:599px) and (orientation:landscape) {
  .launch-layout { grid-template-columns:minmax(0,1fr) minmax(260px,1fr);grid-template-rows:minmax(0,1fr);gap:12px; }
  .launch-hero { display:flex;gap:10px;align-items:flex-start;justify-content:flex-start; }.wordmark h1 { font-size:clamp(20px,4vw,28px); }.wordmark h1 span { display:inline;margin-left:4px; }.wordmark p { margin-top:8px; }.launch-picture { max-width:200px; }
}
/* Interior actions reserve their own space above the walking controls. */
#interaction { position:absolute;left:50%;top:60%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:8px 10px;background:var(--bg);border:2px solid var(--accent);pointer-events:auto; }
#interaction-hint { font-family:var(--font-pixel-body);font-size:clamp(20px,1.7vw,25px);line-height:1; }
#interact { min-height:44px;padding:8px 12px;font-size:clamp(7px,.7vw,9px);white-space:nowrap; }
#interaction-dot { position:absolute;left:50%;top:50%;width:5px;height:5px;transform:translate(-50%,-50%);background:var(--cream);border:1px solid var(--bg); }
.in-cabin .flight-strip { max-width:calc(100% - 32px); }
.in-cabin .flight-actions { bottom:20px; }
@media (max-width:599px) {
  #interaction { top:auto;bottom:160px;max-width:calc(100% - 24px);gap:8px;width:max-content; }
  #interaction-hint { font-size:clamp(18px,5vw,24px); }
  #interact { padding:8px; }
  .in-cabin .flight-actions { max-width:calc(100% - 145px);bottom:18px; }
}
@media (max-height:600px) and (min-width:600px),(max-width:599px) and (orientation:landscape) {
  #interaction { top:auto;bottom:62px;max-width:55%; }
  .in-cabin .flight-actions { top:auto;bottom:14px;right:12px;max-width:65%; }
}
.splash-screen { background:var(--bg);display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:24px 30px;gap:20px; }
.splash-body { display:flex;align-items:center;justify-content:center;gap:7%;min-height:0;overflow:hidden; }.splash-body .wordmark { flex:0 1 390px; }.splash-art { width:52%;max-width:800px;max-height:100%;object-fit:contain;image-rendering:pixelated;border:2px solid var(--border); }
.splash-screen footer { display:flex;justify-content:space-between;align-items:center;gap:16px; }.splash-screen footer>span { color:var(--dim);font-size:clamp(7px,.8vw,11px);line-height:1.8; }.splash-screen footer button { min-width:240px; }
.career-screen { background:var(--bg);display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px;padding:20px 30px; }.career-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:32px;max-width:1380px;width:100%;margin:auto;height:100%;min-height:0; }.career-intro { min-height:0;overflow-y:auto;display:flex;flex-direction:column;justify-content:center;gap:20px; }.career-intro h1 { font-size:clamp(23px,3.4vw,46px);line-height:1.55; }.career-intro .launch-picture { max-width:650px; }.career-intro>p { font-family:var(--font-pixel-body);font-size:clamp(23px,2vw,29px);line-height:1.1; }.career-links { display:flex;gap:10px; }.career-board { display:flex;flex-direction:column;min-height:0;border:2px solid var(--border);background:var(--panel);padding:16px; }.career-scroll { overflow-y:auto;min-height:0;flex:1; }.career-scroll,.career-scroll *,.career-intro,.career-intro * { touch-action:pan-y; }.career-board footer { padding-top:12px;margin-top:8px;border-top:1px solid var(--border);flex-shrink:0; }.career-board footer button { width:100%;min-height:48px; }
#mission-list { display:grid;gap:6px;margin:12px 0; }.mission-card { display:flex;align-items:center;gap:12px;width:100%;min-height:57px;text-align:left;padding:9px;background:var(--bg);border:2px solid var(--border);color:var(--cream);font-size:clamp(7px,.75vw,10px); }.mission-card.selected { border-color:var(--accent); }.mission-card>span { color:var(--accent); }.mission-card strong { flex:1;line-height:1.7; }.mission-card small { display:block;color:var(--dim);font-family:var(--font-pixel-body);font-size:clamp(17px,1.5vw,21px);line-height:1.1;margin-top:3px; }.mission-card em { font-style:normal;font-size:clamp(5px,.6vw,8px);color:var(--dim); }.mission-brief { border-top:1px solid var(--border);padding-top:14px; }.mission-brief h2 { font-size:clamp(13px,1.4vw,19px);line-height:1.7;margin:8px 0; }.mission-brief p { font-family:var(--font-pixel-body);font-size:clamp(22px,1.8vw,26px);line-height:1.1;margin:8px 0; }.mission-brief #mission-goal,.mission-brief #mission-lock { color:var(--dim); }#mission-reward { margin:14px 0; }
.hangar-actions { display:grid;gap:8px; }.hangar-detail { max-height:calc(100% - 105px);overflow-y:auto;touch-action:pan-y; }.hangar-detail * { touch-action:pan-y; }
#mission-panel { position:absolute;left:50%;top:153px;transform:translateX(-50%);max-width:480px;width:45%;padding:9px 12px;background:var(--bg);border:2px solid var(--accent); }#mission-panel p { font-family:var(--font-pixel-body);font-size:clamp(21px,1.9vw,26px);line-height:1.08;margin-top:5px; }
@media (max-width:599px) {
 .splash-screen { padding:14px;gap:12px; }.splash-body { flex-direction:column;gap:25px; }.splash-body .wordmark { flex:0 1 auto;align-self:flex-start; }.splash-body .wordmark h1 { font-size:clamp(32px,10vw,58px); }.splash-art { width:100%;max-height:45%; }.splash-screen footer { align-items:flex-end; }.splash-screen footer>span { font-size:clamp(6px,1.6vw,9px);max-width:120px; }.splash-screen footer button { min-width:0;max-width:65%;font-size:clamp(8px,2.2vw,12px); }
 .career-screen { padding:12px;gap:10px; }.career-layout { grid-template-columns:1fr;grid-template-rows:150px minmax(0,1fr);gap:10px; }.career-intro { display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start; }.career-intro>.label { grid-column:1/-1; }.career-intro h1 { font-size:clamp(16px,4.8vw,24px); }.career-intro .launch-picture { grid-column:2;grid-row:2; }.career-intro>p { display:none; }.career-links { grid-column:1/-1; }.career-links button { flex:1;font-size:clamp(7px,1.8vw,9px);padding:6px;min-height:44px; }.career-board { padding:10px; }.career-scroll .departure-heading { padding-bottom:6px; }.mission-card { font-size:clamp(7px,1.8vw,10px);gap:8px; }.mission-card small { font-size:clamp(18px,4.8vw,22px); }.mission-card em { font-size:clamp(5px,1.5vw,7px); }.mission-brief p { font-size:clamp(22px,5.8vw,26px); }
 #mission-panel { top:173px;left:12px;right:12px;transform:none;width:auto;max-width:none;padding:7px 9px; }#mission-panel p { font-size:clamp(20px,5.3vw,25px); }.hangar-detail { max-height:41%; }
}
@media (max-height:600px) and (min-width:600px),(max-width:599px) and (orientation:landscape) {
 .splash-screen { padding:12px 18px;gap:12px; }.splash-body { flex-direction:row;gap:5%; }.splash-body .wordmark { flex:0 1 40%; }.splash-body .wordmark h1 { font-size:clamp(27px,5vw,46px); }.splash-art { width:48%;max-height:100%; }
 .career-screen { padding:10px 14px;gap:10px; }.career-layout { grid-template-columns:minmax(0,1fr) minmax(270px,1.2fr);grid-template-rows:minmax(0,1fr);gap:14px; }.career-intro { display:flex;justify-content:flex-start;gap:10px; }.career-intro h1 { font-size:clamp(17px,2.8vw,28px); }.career-intro .launch-picture { max-width:300px; }.career-intro>p { display:none; }.career-links { flex-wrap:wrap; }.career-links button { font-size:clamp(6px,.9vw,9px);padding:8px; }.career-board { padding:10px; }
 #mission-panel { left:12px;right:auto;top:118px;width:43%;max-width:340px;transform:none;padding:6px 8px; }#mission-panel p { font-size:clamp(18px,2.6vw,22px); }.hangar-detail { max-height:calc(100% - 85px); }
}

.career-scroll,.career-intro { scrollbar-width:none; }.career-scroll::-webkit-scrollbar,.career-intro::-webkit-scrollbar { display:none; }.mission-brief { border-top:0;padding-top:8px; }
@media (max-width:599px) and (orientation:portrait) {
 .career-intro { grid-template-columns:minmax(0,1fr) minmax(0,.8fr);grid-template-rows:auto 74px 44px;gap:7px;overflow:hidden; }.career-intro h1 { font-size:clamp(13px,3.6vw,18px);line-height:1.6; }.career-intro .launch-picture { height:74px;width:100%; }.career-intro .launch-art { width:100%;height:100%;object-fit:cover; }.career-links button { min-width:0;min-height:44px; }.career-layout { grid-template-rows:155px minmax(0,1fr); }
}

.in-story:not(.on-foot) .flight-strip { display:none; }

@media (max-height:600px) and (min-width:600px),(max-width:599px) and (orientation:landscape) {
 .in-story:not(.on-foot) .flight-actions { top:76px;bottom:auto;right:72px;max-width:calc(50% - 72px); }.in-story #flight-chart { display:none; }
}
@media (max-width:599px) and (max-height:650px) and (orientation:portrait) {
 .in-story #mission-panel { right:85px; }
}
/* The front door uses the commissioned scene as the full screen. */
.splash-screen { display:flex;flex-direction:column;justify-content:space-between;position:absolute;padding:clamp(22px,4vw,60px);gap:0;isolation:isolate; }
.splash-screen .splash-art { position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:58% 50%;border:0;z-index:-2; }
.splash-screen::before { content:"";position:absolute;inset:0;background:rgba(10,22,40,.24);z-index:-1; }
.splash-screen .splash-body { display:block;overflow:visible;min-height:0;margin-top:clamp(35px,7vh,90px); }
.splash-screen .wordmark { width:max-content;max-width:100%;padding:16px 20px;background:rgba(10,22,40,.86);border-left:5px solid var(--accent); }
.splash-screen .wordmark h1 { font-size:clamp(35px,6.7vw,94px);line-height:1.35; }
.splash-screen .wordmark h1 span { display:block;margin:0; }.splash-screen .wordmark p { font-size:clamp(6px,.8vw,11px);line-height:1.8;margin-top:16px; }
.splash-beta { position:absolute;right:24px;top:24px;background:var(--bg); }
.splash-screen footer { display:flex;align-items:flex-end;justify-content:space-between;gap:16px; }
.splash-screen footer button { min-width:230px;max-width:none;min-height:58px; }.splash-screen footer p { display:block;margin-top:16px;padding:7px 9px;background:var(--bg);font-size:clamp(6px,.7vw,10px);line-height:1.8; }
.splash-logo { width:clamp(55px,7vw,95px);height:auto;background:var(--bg);padding:10px; }
.career-header-actions { display:flex;gap:14px;align-items:center; }.career-header-actions button { font-size:clamp(7px,.75vw,10px);padding:9px; }
.mission-section { margin-top:18px;line-height:1.8; }.chart-purpose { display:flex;gap:8px;margin:12px 0; }.chart-purpose button { flex:1;font-size:clamp(7px,.7vw,10px);padding:8px; }.chart-purpose button.selected { border-color:var(--accent);background:var(--panel); }
@media (max-width:599px) {
 .splash-screen { padding:20px; }.splash-screen .splash-body { margin-top:70px; }.splash-screen .wordmark { padding:12px; }.splash-screen .wordmark h1 { font-size:clamp(32px,10vw,58px); }.splash-screen footer button { min-width:170px;min-height:52px; }.splash-screen footer p { max-width:190px; }.splash-screen .splash-art { object-position:62% 50%; }.splash-beta { right:20px;top:20px; }
 .career-header-actions { gap:8px; }.career-screen .launch-header .studio>span:not(.beta-tag) { display:none; }.career-header-actions .coin-wallet { font-size:clamp(6px,1.8vw,9px); }
}
@media (max-height:600px) and (min-width:600px),(max-width:599px) and (orientation:landscape) {
 .splash-screen { padding:18px 24px; }.splash-screen .splash-body { margin-top:12px; }.splash-screen .wordmark { padding:8px 14px; }.splash-screen .wordmark h1 { font-size:clamp(28px,5vw,46px); }.splash-screen .wordmark p { margin-top:8px; }.splash-screen footer button { min-height:44px;min-width:170px; }.splash-screen footer p { display:none; }.splash-logo { width:62px;padding:7px; }.splash-beta { top:18px;right:24px; }
}
