:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#193647;background:#f3f6f5;font-synthesis:none;font-optical-sizing:auto;--navy:#102c3c;--navy-2:#183f50;--teal:#13a59d;--teal-dark:#087e7b;--orange:#f2a34a;--muted:#718792;--line:#e0e9e8;--paper:#fff}
*{box-sizing:border-box}
html{min-width:320px;min-height:100%;background:#f3f6f5}
body{margin:0;min-width:320px;min-height:100vh}
button,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f2a34a;outline-offset:3px}
.hidden{display:none!important}
.app-shell{max-width:1760px;min-height:100vh;margin:auto;padding:18px 26px 12px;display:flex;flex-direction:column;gap:16px}
.topbar{min-height:70px;display:flex;align-items:center;gap:22px;padding:0 2px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;flex:none}.brand-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:var(--teal);color:white;font-size:24px;box-shadow:0 7px 18px #078e8926;transform:rotate(-8deg)}.brand-copy{display:grid;gap:4px}.brand-name{font-weight:850;font-size:19px;letter-spacing:.08em;line-height:1;color:var(--navy)}.brand-name>span{color:var(--teal-dark)}.brand-subtitle{font-size:10px;color:#80929a;font-weight:700;letter-spacing:.04em}
.top-stats{display:flex;align-items:center;gap:9px;margin-left:auto}.stat-pill{min-width:103px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:13px;padding:8px 11px;background:#fff;box-shadow:0 3px 12px #12334508}.stat-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#e8f5f3;color:var(--teal-dark);font-size:15px;font-weight:850}.stat-pill small,.stat-pill strong{display:block}.stat-pill small{font-size:9px;line-height:1.3;color:#8799a0;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.stat-pill strong{font-size:14px;line-height:1.3;color:var(--navy);font-weight:800}
.top-actions{display:flex;align-items:center;gap:7px}.rank-label{margin-right:4px;border:1px solid #dce9e7;border-radius:99px;padding:8px 11px;background:white;color:#63818a;font-size:9px;font-weight:850;letter-spacing:.08em;white-space:nowrap}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy-2);font-size:15px;font-weight:800;transition:background .16s,border-color .16s,transform .16s}.icon-button:hover{background:#eaf7f5;border-color:#bee3de;transform:translateY(-1px)}.version-badge{margin-left:2px;display:grid;place-items:center;width:29px;height:24px;border-radius:7px;background:#fff1df;color:#b96b23;font-size:10px;font-weight:900;letter-spacing:.06em}
.game-layout{flex:1;min-height:680px;display:grid;grid-template-columns:minmax(245px,275px) minmax(470px,1fr) minmax(245px,275px);grid-template-areas:"routes map hangar";gap:15px;align-items:stretch}.map-section{grid-area:map;position:relative;min-width:0;min-height:680px;overflow:hidden;border:1px solid #d8e8e7;border-radius:22px;background:#bddfdc;box-shadow:0 14px 38px #183c4714}.mission-panel{grid-area:routes}.upgrade-panel{grid-area:hangar}.side-panel{min-width:0;padding:21px 18px 18px;display:flex;flex-direction:column;border:1px solid #e3ebea;border-radius:20px;background:var(--paper);box-shadow:0 9px 28px #183c470b}
.panel-kicker{display:flex;align-items:center;justify-content:space-between;gap:8px}.eyebrow{display:flex;align-items:center;gap:7px;color:var(--teal-dark);font-size:9px;font-weight:900;letter-spacing:.15em}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--teal)}.eyebrow-dot.gold{background:var(--orange)}.step-number{color:#a2b0b4;font-size:9px;font-weight:850;letter-spacing:.06em}.side-panel h1,.side-panel h2,.welcome-card h2{margin:0;font-weight:780;letter-spacing:-.045em;color:var(--navy)}.side-panel h1{margin:16px 0 9px;font-size:27px;line-height:1.09}.side-panel h2{margin:15px 0 9px;font-size:25px;line-height:1.1}.side-panel h2 em,.welcome-card h2 em{color:var(--teal-dark);font-style:normal}.upgrade-panel h2{font-size:24px}.panel-intro{margin:0 0 17px;color:#788d96;font-size:11px;line-height:1.55}
.mission-card{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:11px;border:1px solid #d1ece8;border-radius:13px;background:#f0faf8}.mission-icon{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:#d9f1ed;color:var(--teal-dark);font-size:16px}.mission-card div{min-width:0}.mission-card .small-label,.mission-card strong,.mission-card #mission-progress{display:block}.small-label{color:#8ca0a5;font-size:8px;font-weight:850;letter-spacing:.11em}.mission-card strong{margin-top:3px;color:#244855;font-size:11px;font-weight:800;line-height:1.25}.mission-card #mission-progress{margin-top:2px;color:#81969b;font-size:9px;line-height:1.25}
.current-airport{margin:0 0 17px;padding:10px 11px;border:1px solid #e4eeec;border-radius:12px;background:#fbfdfc}.airport-line{display:flex;align-items:center;gap:7px;margin-top:5px}.airport-line strong{font-size:15px;font-weight:800;color:#193c4d}.airport-line>span:last-child{margin-left:auto;padding:4px 6px;border-radius:6px;background:#e3f3f0;color:#197f7c;font-size:9px;font-weight:850;letter-spacing:.06em}.location-icon{color:var(--teal);font-size:18px;line-height:1}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;color:#294653;font-size:11px;font-weight:850}.section-heading span:last-child:not(:first-child){color:#90a1a6;font-size:9px;font-weight:750}.route-options{display:flex;flex-direction:column;gap:8px;max-height:370px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7dcda transparent;margin-bottom:14px}.route-option{width:100%;min-height:66px;padding:10px 11px;text-align:left;border:1px solid #e1ebea;border-radius:12px;background:#fff;transition:border-color .15s,background .15s,transform .15s}.route-option:hover{border-color:#83cfca;transform:translateY(-1px)}.route-option.selected{border-color:#1ca9a0;background:#f0faf8;box-shadow:0 0 0 2px #1ca9a013}.route-option:disabled{cursor:default;opacity:.58;transform:none}.route-title,.route-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}.route-title strong{color:#193c4d;font-size:13px;font-weight:800}.route-code{color:#88a0a6;font-size:9px;font-weight:850}.route-bottom{margin-top:6px;color:#889ca2;font-size:9px;font-weight:750}.route-reward{color:var(--teal-dark);font-size:10px;font-weight:850;text-align:right;white-space:nowrap}.primary-button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:0;border-radius:11px;background:var(--teal-dark);color:white;font-size:12px;font-weight:850;box-shadow:0 6px 15px #087e7b25;transition:background .15s,transform .15s,box-shadow .15s}.primary-button:hover{background:#066d6d;transform:translateY(-1px);box-shadow:0 8px 18px #087e7b30}.primary-button:disabled{background:#a9c4c1;box-shadow:none;cursor:default;transform:none}.primary-button span{font-size:17px}.mission-panel .primary-button{margin-top:auto}.mission-hint{margin:9px 0 0;text-align:center;color:#97a8ac;font-size:9px;line-height:1.45}.flight-result{margin:-7px 0 13px;padding:10px 11px;border:1px solid #f0d49d;border-radius:11px;background:#fff8e8;color:#695a3c;font-size:10px}.flight-result strong{display:block;margin-bottom:4px;font-size:11px}.flight-result span{display:block;margin-top:2px}.flight-result b{display:block;margin-top:5px;padding-top:5px;border-top:1px solid #ead8b5;color:#087e79}.flight-result b.loss{color:#bf5545}
.map-section canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.map-topline,.map-bottomline{position:absolute;z-index:3;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.map-topline{top:15px}.map-bottomline{bottom:14px}.map-tag,.map-button,.map-legend,.distance-label,.mode-control{border:1px solid #e1ecea;border-radius:10px;background:#fffffff0;color:#3e6974;font-size:9px;font-weight:850;box-shadow:0 4px 12px #244b4c15}.map-tag,.map-button{padding:9px 10px}.map-tag{display:flex;align-items:center;white-space:nowrap}.map-button{pointer-events:auto;white-space:nowrap}.map-button:hover{background:#effaf8}.live-dot,.legend-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#22a790}.live-dot{box-shadow:0 0 0 3px #22a7902b}.mode-control{display:flex;align-items:center;gap:8px;margin-left:auto;padding:5px 7px 5px 10px;color:#82999f;font-size:8px;letter-spacing:.08em;pointer-events:auto}.mode-control select{border:0;background:transparent;color:#234c58;font-size:10px;font-weight:850;outline:none}.map-legend,.distance-label{padding:8px 10px}.legend-plane{margin-right:4px;color:#0c8587;font-size:14px}.legend-dot{margin:0 0 0 10px;background:var(--orange)}.distance-label{white-space:nowrap}.pilot-hud{position:absolute;z-index:3;top:62px;left:16px;right:16px;display:flex;gap:7px;pointer-events:none}.pilot-hud>div{min-width:78px;padding:7px 9px;border:1px solid #ffffff38;border-radius:10px;background:#103d4bdc;color:#fff;box-shadow:0 4px 12px #1b647329}.pilot-hud small,.pilot-hud strong{display:block}.pilot-hud small{color:#bce4e2;font-size:7px;font-weight:850;letter-spacing:.1em}.pilot-hud strong{margin-top:3px;font-size:11px;font-weight:800;white-space:nowrap}.pilot-hud>div:first-child{min-width:133px}.map-progress{position:absolute;z-index:3;left:17px;right:17px;top:108px;max-width:310px;padding:8px 10px;border:1px solid #ffffff3a;border-radius:10px;background:#123f4bd9;color:white;box-shadow:0 4px 12px #1b647329;pointer-events:none}.progress-copy{display:flex;align-items:center;justify-content:space-between;gap:9px}.progress-copy span{color:#b7dcd8;font-size:7px;font-weight:850;letter-spacing:.1em}.progress-copy strong{font-size:9px;font-weight:800}.progress-track{height:4px;margin-top:6px;overflow:hidden;border-radius:6px;background:#ffffff47}.progress-fill{width:0;height:100%;border-radius:inherit;background:var(--orange);transition:width .25s ease}
.flight-controls{position:absolute;z-index:4;left:50%;bottom:58px;display:flex;align-items:flex-end;gap:8px;transform:translateX(-50%)}.control-button{width:62px;height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #fff;border-radius:15px;background:#126e78ed;color:#fff;box-shadow:0 5px 0 #0b4e58,0 9px 19px #1f526b40;font-size:26px;font-weight:850;line-height:1;touch-action:none;user-select:none;-webkit-user-select:none}.control-button small{margin-top:3px;font-size:7px;font-weight:850;letter-spacing:.05em}.control-button.slim{background:var(--orange);color:#18354b;box-shadow:0 5px 0 #bd7b27,0 9px 19px #1f526b40}.control-button.boost{background:#25aaa2;box-shadow:0 5px 0 #117c7a,0 9px 19px #1f526b40}.control-button:active,.control-button.pressed{transform:translateY(4px);box-shadow:0 1px 0 #0b4e58,0 4px 9px #1f526b40}.control-button:disabled{opacity:.52;cursor:default}.control-button:disabled:active{transform:none}.map-button.help-on{background:#fff1cf;color:#97621b;border-color:#efce7b}
.flight-alert,.powerup-status,.flight-instruments{position:absolute;z-index:3;left:17px;max-width:calc(100% - 34px);padding:7px 10px;border:1px solid #d5e9ec;border-radius:9px;background:#fffffff0;color:#395b71;font-size:9px;font-weight:850;box-shadow:0 4px 10px #1b647320;pointer-events:none}.flight-alert{top:162px;background:#e8fcf5ed;border-color:#bfe8d2;color:#25775b}.flight-alert.late{background:#fff1d8f2;color:#9b571e;border-color:#e8b76c}.flight-alert.damaged{background:#ffe8e2f2;color:#ad4b39;border-color:#e7aaa0}.powerup-status{top:199px}.flight-instruments{top:236px;background:#133e4bdd;border-color:#ffffff54;color:#fff}.flight-instruments.low-fuel{background:#a64d3ce8}
.welcome-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:22px;background:#102f3e77;backdrop-filter:blur(3px)}.welcome-card{width:min(100%,365px);padding:28px 30px 23px;border:1px solid #ffffffb8;border-radius:22px;background:#fff;text-align:center;box-shadow:0 22px 60px #143d5061}.welcome-plane{width:66px;height:66px;display:grid;place-items:center;margin:0 auto 15px;border-radius:20px;background:#dcf3ef;color:#078989;font-size:35px;transform:rotate(-10deg)}.eyebrow.centered{justify-content:center}.welcome-card h2{margin:13px 0 9px;font-size:30px;line-height:1.08}.welcome-card p{margin:0 0 19px;color:#748a93;font-size:12px;line-height:1.6}.welcome-controls{margin-top:13px;color:#91a2a8;font-size:9px;line-height:1.45}.world-card{background:linear-gradient(155deg,#fff,#fff9e9)}.world-card .primary-button{background:#e59331}.world-card .primary-button:hover{background:#c87820}.world-emoji{margin:4px 0 13px;font-size:48px;line-height:1}.world-card .eyebrow{color:#bd8236}.help-instructions{padding:12px;border:1px solid #e6efed;border-radius:12px;background:#f8fbfa;text-align:left!important}.help-instructions strong{color:#214957}.debrief-stars{margin:4px 0 12px;color:var(--orange);font-size:28px;letter-spacing:.12em}.debrief-details{margin:0 0 17px;padding:10px;border-radius:11px;background:#f3f8f7;color:#68808a;font-size:10px;line-height:1.55;text-align:left}.toast{position:absolute;z-index:7;left:50%;bottom:58px;max-width:calc(100% - 32px);padding:11px 16px;border-radius:12px;background:#103b48;color:#fff;box-shadow:0 10px 22px #133a4b3e;font-size:11px;font-weight:800;opacity:0;pointer-events:none;transform:translate(-50%,18px);transition:.3s ease;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}
.aircraft-card{display:flex;align-items:center;gap:11px;margin:0 0 18px;padding:11px;border:1px solid #d5ebe8;border-radius:13px;background:#eaf6f4}.aircraft-illustration{width:51px;height:48px;display:grid;place-items:center;flex:none;border-radius:11px;background:#fff;color:#118f92;font-size:30px;transform:rotate(-18deg)}.aircraft-card strong,.aircraft-card div:last-child span:last-child{display:block}.aircraft-card strong{margin:3px 0;font-size:13px;font-weight:800}.aircraft-card div:last-child span:last-child{color:#0d8c8b;font-size:9px;font-weight:850}.upgrades-heading{margin-bottom:10px}.upgrade-list{display:flex;flex-direction:column;gap:8px}.upgrade-item{padding:10px;border:1px solid #e3eeeb;border-radius:12px}.upgrade-header{display:flex;align-items:center;gap:8px}.upgrade-icon{width:29px;height:29px;display:grid;place-items:center;flex:none;border-radius:8px;background:#e9f7f4;color:#139992;font-size:15px}.upgrade-icon.gold{background:#fff6df;color:#d6a13b}.upgrade-name{font-size:11px;font-weight:850;line-height:1.1}.upgrade-description{margin-top:3px;color:#8ca2ab;font-size:8px}.upgrade-level{margin-left:auto;align-self:flex-start;color:#95aab1;font-size:8px;font-weight:850;white-space:nowrap}.upgrade-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.level-dots{display:flex;gap:4px}.level-dots i{width:18px;height:5px;display:block;border-radius:5px;background:#e2edeb}.level-dots i.filled{background:#25aaa1}.upgrade-buy{padding:6px 9px;border:0;border-radius:7px;background:#0d8b8e;color:#fff;font-size:9px;font-weight:850;white-space:nowrap}.upgrade-buy:hover:not(:disabled){background:#096e73}.upgrade-buy:disabled{background:#e4ecea;color:#9caeb4;cursor:default}.upgrade-buy.needs-money{background:#e7f1ef;color:#3b817e}.upgrade-stage{max-width:125px;color:#8ba3a9;font-size:8px;font-weight:800;line-height:1.3}.world-progress{margin-top:11px;padding:10px 11px;border:1px solid #dbeee7;border-radius:11px;background:linear-gradient(135deg,#eaf9f7,#f8f0d8)}.world-progress strong{display:block;margin:4px 0 7px;font-size:11px;font-weight:800}.world-flight-progress{margin:-2px 0 8px;color:#5f9291;font-size:8px;font-weight:800}.world-progress-dots{display:flex;gap:6px}.world-progress-dots span{height:6px;flex:1;border-radius:10px;background:#d5e7e5}.world-progress-dots span.done{background:#edae42}.tip-box{display:flex;align-items:flex-start;gap:8px;margin-top:auto;padding:10px;border-radius:11px;background:#fff8e7;color:#ba8b2c}.tip-box span{font-size:15px}.tip-box p{margin:1px 0 0;color:#9d875a;font-size:9px;line-height:1.45}.upgrade-panel .tip-box{margin-top:11px}
.footerbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:25px;padding:0 4px;color:#81989e;font-size:9px;font-weight:800}.footerbar button{border:0;background:none;color:#91a4a8;font-size:9px;font-weight:750}.footerbar button:hover{text-decoration:underline}.mobile-tabs{display:none}
@media(max-width:1180px){.app-shell{padding:14px 16px 10px}.game-layout{grid-template-columns:minmax(215px,245px) minmax(380px,1fr) minmax(215px,245px);gap:10px}.side-panel{padding:18px 14px}.topbar{gap:12px}.stat-pill{min-width:92px;padding:7px 9px}.rank-label{display:none}}
@media(max-width:900px){.game-layout{grid-template-columns:1fr 1fr;grid-template-areas:"map map" "routes hangar";min-height:0}.map-section{min-height:490px;height:min(65vw,640px)}.side-panel{min-height:420px}.topbar{flex-wrap:wrap}.top-stats{margin-left:auto}}
@media(max-width:620px){.app-shell{padding:9px 10px 11px;gap:9px}.topbar{min-height:0;align-items:center;gap:8px}.brand{gap:8px}.brand-mark{width:36px;height:36px;border-radius:12px;font-size:20px}.brand-name{font-size:16px}.brand-subtitle{font-size:8px}.top-stats{gap:4px}.stat-pill{min-width:0;padding:6px 7px;border-radius:10px}.stat-pill .stat-icon{display:none}.stat-pill small{font-size:7px}.stat-pill strong{font-size:10px}.top-actions{gap:4px}.icon-button{width:29px;height:29px;border-radius:9px;font-size:13px}.version-badge{width:24px;height:21px;font-size:9px}.game-layout{display:flex;flex-direction:column;gap:9px}.map-section{order:0;min-height:420px;height:116vw;max-height:550px;border-radius:17px}.mission-panel,.upgrade-panel{display:none;order:1;min-height:0;padding:18px 15px}.game-layout[data-active-panel="routes"] .mission-panel,.game-layout[data-active-panel="hangar"] .upgrade-panel{display:flex}.game-layout[data-active-panel="routes"] .map-section,.game-layout[data-active-panel="hangar"] .map-section{display:none}.mission-panel h1 br{display:none}.mission-panel h1{font-size:25px}.route-options{display:grid;grid-template-columns:1fr 1fr;max-height:unset}.mission-panel .primary-button{margin-top:13px}.upgrade-panel .tip-box{margin-top:12px}.mobile-tabs{position:sticky;z-index:8;bottom:7px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;border:1px solid #dae6e4;border-radius:14px;background:#ffffffef;box-shadow:0 8px 24px #173f4818;backdrop-filter:blur(10px)}.mobile-tabs button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;background:transparent;color:#718990;font-size:10px;font-weight:850}.mobile-tabs button span{font-size:15px}.mobile-tabs button[aria-current="page"]{background:#e9f7f4;color:#087e7b}.footerbar{font-size:8px}.footerbar>span:first-child{display:none}.footer-controls{display:none}.footerbar button{margin-left:auto;font-size:8px}.welcome-card{padding:23px 20px 19px;border-radius:19px}.welcome-plane{width:57px;height:57px;font-size:30px}.welcome-card h2{font-size:26px}.welcome-card p{font-size:11px}.welcome-controls{font-size:8px}.map-topline,.map-bottomline{left:10px;right:10px}.map-topline{top:10px}.map-bottomline{bottom:10px}.map-tag,.map-button{padding:8px;font-size:8px}.map-tag{max-width:44%;overflow:hidden;text-overflow:ellipsis}.mode-control{gap:4px;padding:5px 6px;font-size:7px}.mode-control select{font-size:9px}.pilot-hud{top:52px;left:10px;right:10px;gap:4px}.pilot-hud>div{min-width:0;padding:5px 6px}.pilot-hud>div:first-child{min-width:105px}.pilot-hud strong{font-size:9px}.pilot-hud small{font-size:6px}.map-progress{top:95px;left:10px;right:10px;max-width:250px;padding:7px 8px}.progress-copy span{font-size:6px}.progress-copy strong{font-size:8px}.flight-alert,.powerup-status,.flight-instruments{left:10px;max-width:calc(100% - 20px);font-size:8px;padding:6px 8px}.flight-alert{top:139px}.powerup-status{top:172px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flight-instruments{top:205px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.control-button{width:53px;height:52px;font-size:23px;border-radius:13px}.control-button small{font-size:6px}.flight-controls{bottom:45px;gap:5px}.map-legend{display:none}.distance-label{font-size:8px;padding:7px 8px}.toast{bottom:52px;font-size:9px;white-space:normal;text-align:center}.debrief-stars{font-size:24px}}
@media(max-width:380px){.topbar{flex-wrap:wrap}.top-stats{order:3;width:100%;margin:0}.top-actions{margin-left:auto}.stat-pill{flex:1;justify-content:center}.map-section{min-height:390px;height:118vw}.map-tag{max-width:39%}.pilot-hud>div:first-child{min-width:94px}.route-options{grid-template-columns:1fr}.footerbar button{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.topbar{padding:10px 15px;border-radius:18px;background:var(--navy);box-shadow:0 8px 22px #102c3c1a}.brand-name{color:#fff}.brand-name>span{color:#5ad1c3}.brand-subtitle{color:#a9c4ca}.stat-pill{border-color:#ffffff18;background:#214354;box-shadow:0 3px 12px #081e2b25}.stat-icon{background:#2a5864;color:#68d7c9}.stat-pill small{color:#a8c1c6}.stat-pill strong{color:#fff}.rank-label{border-color:#ffffff20;background:#214354;color:#b2d0d1}.icon-button{border-color:#ffffff25;background:#214354;color:#e3f6f1}.icon-button:hover{background:#2b5965;border-color:#68bdb3}.version-badge{background:#5e4838;color:#ffd5a6}
@media(max-width:620px){.topbar{padding:8px 9px;border-radius:14px}.brand-mark{width:34px;height:34px;border-radius:11px;font-size:19px}.brand-name{font-size:15px}.top-actions .icon-button{width:27px;height:27px;border-radius:8px;font-size:12px}.version-badge{width:22px;height:20px;font-size:8px}body[data-panel="routes"] .mission-panel,body[data-panel="hangar"] .upgrade-panel{display:flex}body[data-panel="routes"] .map-section,body[data-panel="hangar"] .map-section{display:none}body[data-panel="routes"] .mobile-tabs [data-panel="routes"],body[data-panel="hangar"] .mobile-tabs [data-panel="hangar"],body[data-panel="map"] .mobile-tabs [data-panel="map"]{background:#e9f7f4;color:#087e7b}}

/* V2 flight deck: keep the route clear and the instruments within reach. */
.icon-button:disabled{opacity:.4;cursor:default}
.debrief-details>div{display:flex;justify-content:space-between;gap:16px;padding:5px 0;border-bottom:1px solid #dce8e5}
.debrief-details>div:last-child{border:0}.debrief-details strong{text-align:right;flex-shrink:0;color:#24525c}
.toast{white-space:normal;text-align:center;bottom:132px;width:max-content;max-width:calc(100% - 34px)}
body[data-flying="false"] .pilot-hud,body[data-flying="false"] .map-progress,body[data-flying="false"] .flight-alert,body[data-flying="false"] .powerup-status,body[data-flying="false"] .flight-instruments,body[data-flying="false"] .flight-controls{display:none}
.flight-alert{top:auto;bottom:142px}.flight-instruments{top:113px;left:auto;right:17px;font-size:9px}.powerup-status{top:auto;bottom:179px}
.map-progress{max-width:310px}.welcome-overlay{overflow:auto}.welcome-card{max-height:100%;overflow:auto}
#game-canvas:focus-visible{outline:3px solid #f2a34a;outline-offset:-4px}
@media(max-width:620px){
  .topbar{justify-content:space-between}.top-stats{order:3;width:100%;margin:0}.stat-pill{flex:1;justify-content:center;min-height:35px}.stat-pill small{font-size:9px}.stat-pill strong{font-size:12px}
  .top-actions{margin-left:auto}.top-actions .icon-button{width:34px;height:34px;font-size:16px}
  .map-section{height:calc(100svh - 192px);min-height:470px;max-height:780px}
  .route-options{display:flex}.route-option{min-height:78px;padding:13px}.route-title strong{font-size:16px}.route-bottom{font-size:11px}.route-reward{font-size:12px}
  .panel-intro{font-size:13px}.section-heading{font-size:13px}.mission-card strong{font-size:13px}.mission-card #mission-progress{font-size:11px;line-height:1.5}.mission-hint{font-size:11px}
  .map-tag{max-width:48%;font-size:9px}.mode-control>span{display:none}.mode-control select{max-width:84px;font-size:11px}.map-button{font-size:9px;padding:8px 5px}
  .pilot-hud{top:54px}.pilot-hud strong{font-size:11px}.pilot-hud small{font-size:8px}.map-progress{top:100px;max-width:calc(100% - 20px);padding:5px 8px}.progress-copy span{display:none}.progress-copy strong{font-size:10px}
  .flight-instruments{top:140px;right:10px;left:10px;font-size:10px;background:#133e4bdd}.flight-alert{top:auto;bottom:113px;font-size:10px}.powerup-status{top:auto;bottom:148px;font-size:9px}
  .toast{bottom:190px;font-size:11px}.control-button{width:60px;height:59px}.control-button small{font-size:8px}.flight-controls{bottom:45px}.distance-label{font-size:10px}.welcome-card p{font-size:13px}.welcome-controls{font-size:11px}.mobile-tabs button{font-size:12px}
  .upgrade-name{font-size:13px}.upgrade-description{font-size:10px}.upgrade-stage{font-size:10px}.upgrade-buy{font-size:12px;padding:9px 12px}
}
:root .prototype-link{width:44px;min-height:34px;text-decoration:none;white-space:nowrap}
