/* Mobile / touch layer. Only active when <html class="mobile"> (see mobile.js). */
#rotateGate,#mobileControls{display:none}
html.mobile,html.mobile body{overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
html.mobile input,html.mobile textarea{-webkit-user-select:text;user-select:text;touch-action:auto}
html.mobile .stage,html.mobile .selector,html.mobile .aircraft-info,html.mobile #portalBody,html.mobile .board-table{touch-action:pan-x pan-y}

/* ---------- Portrait gate ---------- */
@media (orientation:portrait){
  html.mobile #rotateGate{display:flex;position:fixed;inset:0;z-index:100;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:30px;text-align:center;background:radial-gradient(circle at 50% 40%,#0d2a3a,#040c12 70%);color:#e8f4f6}
  html.mobile #rotateGate svg{width:120px;height:120px;fill:none;stroke:#9fe3ef;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
  html.mobile #rotateGate .phone{transform-origin:60px 50px;animation:mRotate 2.4s ease-in-out infinite}
  html.mobile #rotateGate strong{font-size:20px;font-weight:400;letter-spacing:1px}
  html.mobile #rotateGate p{margin:0;font-size:13px;color:#9db8c2;max-width:260px;line-height:1.5}
}
@keyframes mRotate{0%,25%{transform:rotate(0)}55%,85%{transform:rotate(-90deg)}100%{transform:rotate(0)}}

/* ---------- Hangar / menus (landscape phone) ---------- */
html.mobile header{padding:7px max(12px,env(safe-area-inset-left)) 0}
html.mobile .brand{font-size:10px;letter-spacing:2px;gap:6px}
html.mobile .brand svg{width:20px;height:20px}
html.mobile .header-right{gap:4px}
html.mobile .header-right button{padding:5px 7px;font-size:9px;min-height:26px}
html.mobile .header-right .help-icon{width:26px;height:26px;font-size:14px}
html.mobile .dev-label,html.mobile #contactButton,html.mobile #hangarButton{display:none!important}
html.mobile #hangar{inset:40px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left))}
html.mobile .steps{gap:4px}
html.mobile .steps button{padding:5px 9px;font-size:9px}
html.mobile .hangar-actions{position:absolute;top:0;right:0;left:auto;bottom:auto;display:flex;gap:6px;padding:0;margin:0;background:none;border:0;pointer-events:auto}
html.mobile .hangar-actions button{padding:6px 12px!important;font-size:11px!important;min-height:30px}
html.mobile .hangar-actions #launch{padding:6px 16px!important}
html.mobile .stage{inset:36px 0 0!important;overflow:auto}
html.mobile .stage .eyebrow{font-size:8px;letter-spacing:2px}
html.mobile .stage h1,html.mobile .selector h1{font-size:17px;letter-spacing:-.3px;margin:3px 0 8px}
html.mobile .stage-intro,html.mobile .selector .note,html.mobile .map-card small,html.mobile .map-card .map-roster{display:none!important}
html.mobile .map-list{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(150px,24vw);gap:8px;overflow-x:auto;padding-bottom:6px;max-width:none}
html.mobile .map-card{min-height:0!important;border-radius:9px}
html.mobile .map-card img{height:min(30vh,140px)!important;aspect-ratio:auto}
html.mobile .map-card-content{margin-top:-24px!important;padding:10px 10px 9px!important}
html.mobile .map-card .mission-badge{font-size:7px;margin-bottom:4px}
html.mobile .map-card strong{font-size:13px!important;margin:0!important}
html.mobile .weather-list{gap:8px;margin-top:6px;grid-template-columns:repeat(3,1fr)}
html.mobile .weather-card{min-height:0!important;height:auto!important;padding:0 0 9px!important;border-radius:9px}
html.mobile .weather-card .weather-art{height:min(34vh,130px)!important;min-height:0!important;font-size:54px!important}
html.mobile .weather-card .weather-art svg{max-height:70%}
html.mobile .weather-card strong{font-size:14px!important;margin:8px 10px 0!important}
html.mobile .weather-card small,html.mobile .weather-card p{display:none}
html.mobile #aircraftStage{inset:36px 0 0!important}
html.mobile .selector{width:min(34vw,250px);padding:9px 10px;border-radius:10px}
html.mobile .selector .eyebrow{display:none}
html.mobile .fleet-heading{font-size:8px;margin:6px 0 5px}
html.mobile .aircraft-list,html.mobile .enemy-aircraft-list{gap:4px}
html.mobile .aircraft-list button,html.mobile .enemy-aircraft-list button{padding:7px 3px;font-size:9px;min-height:30px}
html.mobile .aircraft-list button small{display:none}
html.mobile .pilot-field{font-size:8px;margin-top:8px}
html.mobile .pilot-field input{padding:6px 8px;font-size:12px}
html.mobile .aircraft-info{width:min(30vw,225px);padding:10px 12px 14px!important;border-radius:10px}
html.mobile .aircraft-info .eyebrow{font-size:7px;letter-spacing:1.5px}
html.mobile .aircraft-info h2{font-size:18px;letter-spacing:1.5px;margin:5px 0}
html.mobile .aircraft-info p{font-size:9.5px;line-height:1.45;margin:5px 0}
html.mobile #aircraftDesc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html.mobile .aircraft-info .stats{gap:6px;margin:8px 0}
html.mobile .aircraft-info .stats small{font-size:6.5px}
html.mobile .aircraft-info .stats b{font-size:11px}
html.mobile #loadoutLabel,html.mobile .career,html.mobile #modelAttribution{font-size:8px}
html.mobile #modal article,html.mobile #portalOverlay article{max-height:calc(100vh - 20px);overflow:auto;padding:14px 18px;font-size:11px}
html.mobile #modal h2,html.mobile #portalOverlay h2{font-size:17px;margin:4px 0}
html.mobile #loading .brand{font-size:13px}
html.mobile #flightBriefing{transform:scale(.78);transform-origin:50% 50%}

/* ---------- Flight HUD ---------- */
html.mobile .flying header{display:none}
html.mobile #touch,html.mobile .flight-bottom,html.mobile #xpPanel,html.mobile #weaponPanel,html.mobile .systems,html.mobile #exitFlight,html.mobile #regionLabel,html.mobile #soloStocks,html.mobile #playerBoard,html.mobile .telemetry>div:nth-child(3){display:none!important}
html.mobile #radar,html.mobile .soloShow #radar,html.mobile .formationShow #radar{display:block;left:max(10px,env(safe-area-inset-left))!important;right:auto!important;top:8px!important;bottom:auto!important;width:min(26vh,108px)!important;height:min(26vh,108px)!important}
html.mobile .showFlight:not(.soloShow):not(.formationShow) #radar{display:none}
html.mobile .match-score{top:6px;padding:4px 10px;gap:2px 10px;font-size:8px;border-radius:7px}
html.mobile .match-score small{display:none}
html.mobile .mission-head{top:44px;padding:4px 10px;max-width:46vw}
html.mobile .mission-head strong{font-size:9.5px}
html.mobile .mission-head span{font-size:8px;margin-top:2px}
html.mobile #warning{top:78px;font-size:9px;padding:5px 9px;max-width:48vw}
html.mobile #takeoffGuide{transform:translateX(-50%) scale(.7)!important;transform-origin:50% 100%}
html.mobile .telemetry{left:auto;right:calc(max(10px,env(safe-area-inset-right)) + 46px);top:8px;bottom:auto;gap:10px;padding:5px 10px;border-radius:8px;grid-template-columns:repeat(3,auto)}
html.mobile .telemetry small{font-size:6px;margin-bottom:2px;letter-spacing:1px}
html.mobile .telemetry b{font-size:14px}
html.mobile .telemetry span{font-size:6px;margin-left:2px}
html.mobile .telemetry .bar{height:2px}
html.mobile #countdown{font-size:72px;top:26%}
html.mobile #toast{top:24%;font-size:11px;padding:7px 14px;max-width:60vw}
html.mobile #missileAlarm .missile-banner{top:118px;transform:translateX(-50%) scale(.72);transform-origin:50% 0}
html.mobile #counterHint{display:none}
html.mobile #combatHud{left:auto!important;right:calc(max(10px,env(safe-area-inset-right)) + 222px)!important;top:auto!important;bottom:12px!important;transform:none!important;width:150px!important;padding:6px 9px!important;border-radius:8px}
html.mobile #combatHud .target-heading,html.mobile #combatHud #signatureLabel,html.mobile #combatHud .combat-read,html.mobile #combatHud .target-actions,html.mobile #combatHud #lockStatus{display:none}
html.mobile #combatHud strong{font-size:10px!important;margin:3px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.mobile #combatHud .bar{margin:3px 0 0}
html.mobile .contact-marker{font-size:7px;padding:3px 4px;max-width:120px}
html.mobile #showPanel{top:44px;transform:translateX(-50%) scale(.72);transform-origin:50% 0;width:min(530px,70vw)}
html.mobile #formationRequest{top:56px;right:auto;left:50%;transform:translateX(-50%) scale(.78);transform-origin:50% 0}
html.mobile #ejectionPanel{bottom:10px;transform:translateX(-50%) scale(.8);transform-origin:50% 100%}

html.mobile #mobileControls.on{display:block;position:absolute;inset:0;pointer-events:none;z-index:3}
#mobileControls button{pointer-events:auto;touch-action:none;font:inherit;color:#eaf6f8;border:1px solid #bfe6ef66;background:#06182499;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#mobileControls button.down{background:#2a6b7fcc}

/* Floating joystick: the whole left half, origin where the thumb lands. */
#mJoyZone{position:absolute;left:0;top:0;bottom:0;width:50%;pointer-events:auto;touch-action:none}
#mJoyBase{position:absolute;left:23%;top:68%;width:112px;height:112px;margin:0;transform:translate(-50%,-50%);border-radius:50%;border:2px solid #cfeef555;background:radial-gradient(circle,#0c2a3a55,#06141d22 70%);opacity:.32;transition:opacity .15s}
#mJoyBase::before,#mJoyBase::after{content:'';position:absolute;left:50%;top:50%;background:#cfeef533;transform:translate(-50%,-50%)}
#mJoyBase::before{width:1px;height:72%}#mJoyBase::after{height:1px;width:72%}
#mJoyKnob{position:absolute;left:50%;top:50%;width:46%;height:46%;margin:-23% 0 0 -23%;border-radius:50%;background:radial-gradient(circle at 40% 35%,#e9fbffee,#8fd2e2bb 60%,#3c8aa0aa);box-shadow:0 2px 10px #0008}
#mJoyZone.held #mJoyBase{opacity:.9;transition:none}

/* Vertical throttle lever */
#mThrottle{position:absolute;right:max(10px,env(safe-area-inset-right));top:56px;bottom:12px;width:44px;display:flex;flex-direction:column;align-items:center;pointer-events:auto;touch-action:none;user-select:none}
#mThrottle .m-ab,#mThrottle .m-brake{flex:0 0 auto;width:100%;font-size:7px;letter-spacing:.5px;line-height:1.15;text-align:center;padding:4px 0;border:1px solid #cfeef544;border-radius:6px;background:#06182488;color:#bcd7de}
#mThrottle .m-ab{color:#ffd59a;border-color:#ffbe6a55}
#mThrottle .m-ab.off{visibility:hidden}
#mThrottle.boosting .m-ab{background:#c46a18cc;color:#fff}
#mThrottle.braking .m-brake{background:#a83a2ecc;color:#fff}
#mThrottle .m-track{position:relative;flex:1;width:16px;margin:10px 0;border-radius:8px;background:#06182499;border:1px solid #cfeef555}
#mThrottle .m-fill{position:absolute;left:2px;right:2px;bottom:2px;border-radius:6px;background:linear-gradient(0deg,#4fb6cfaa,#a6f0ffcc);max-height:calc(100% - 4px)}
#mThrottle .m-tick{position:absolute;right:calc(100% + 3px);transform:translateY(50%);font-size:7px;color:#cfe7ecaa;font-variant-numeric:tabular-nums}
#mThrottle .m-tick b{font-weight:400}
#mThrottle .m-tick::after{content:'';position:absolute;left:calc(100% + 1px);top:50%;width:4px;height:1px;background:#cfe7ec88}
#mThrottle .m-thumb{position:absolute;left:50%;bottom:0;width:40px;height:24px;margin-left:-20px;transform:translateY(50%);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:1px;background:#e5f7fb;color:#062130;box-shadow:0 2px 8px #0009;font-variant-numeric:tabular-nums}
#mThrottle .m-thumb b{font-size:12px}
#mThrottle .m-thumb small{font-size:8px}

/* Fire / countermeasure cluster (bottom right, left of the lever) */
#mWeapons{position:absolute;right:calc(max(10px,env(safe-area-inset-right)) + 58px);bottom:14px;width:150px;height:140px;pointer-events:none}
#mFire{position:absolute;right:0;bottom:0;width:86px;height:86px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-width:2px!important;background:#5e1e1a99!important;border-color:#ff9a8a88!important}
#mFire svg{width:30px;height:30px;fill:#ffe6df}
#mFire small{font-size:7.5px;letter-spacing:.5px;white-space:nowrap}
#mFire.ready{background:#c2342acc!important;border-color:#ffd2c8!important;box-shadow:0 0 16px #ff5b4699}
#mFire.smoke{background:#1b4e3c99!important;border-color:#9ff0c888!important}
#mFire.down{transform:scale(.94)}
#mFlare{position:absolute;right:94px;bottom:6px;width:52px;height:52px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:0}
#mFlare svg{width:20px;height:20px;fill:#ffe7a8}
#mFlare b{font-size:10px;font-weight:400}
#mAmmo{position:absolute;right:6px;bottom:92px;min-width:74px;padding:3px 8px;border-radius:7px;display:flex;flex-direction:column;align-items:center;line-height:1.1}
#mAmmo b{font-size:15px;font-weight:400;font-variant-numeric:tabular-nums}
#mAmmo small{font-size:6.5px;letter-spacing:.6px;color:#b7d3da}
#mAmmo.cycle small::after{content:' ⇄';color:#ffe0a0}
#mMenu{position:absolute;right:max(10px,env(safe-area-inset-right));top:8px;width:38px;height:38px;border-radius:8px;font-size:15px!important;padding:0}

/* Resupply / return prompt (top centre) */
#mResupply{position:absolute;left:50%;top:44px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:6px 8px 6px 12px;border-radius:9px;border:1px solid #ffc87a88;background:#3f2a10e6;pointer-events:auto;white-space:nowrap;z-index:4;animation:mPulse 1.6s ease-in-out infinite}
#mResupply[hidden]{display:none}
#mResupply span{display:flex;flex-direction:column;line-height:1.2}
#mResupply b{font-size:10px;font-weight:600;color:#ffe2b0;letter-spacing:.6px}
#mResupply small{font-size:8px;color:#f3d6ad}
#mResupply button{padding:7px 10px;font-size:9.5px;border-radius:6px}
#mResupplyGo{background:#e8b25acc!important;color:#20160a!important;border-color:#ffe3ad!important}
#mResupply.returning{border-color:#8fe3f388;background:#0f2e3ce6;animation:none}
#mResupply.returning b{color:#bfefff}#mResupply.returning small{color:#b5d8e2}
#mResupply.returning #mResupplyGo{display:none}
@keyframes mPulse{50%{box-shadow:0 0 18px #ffb34a77}}
html.mobile .mission-head:has(~ #mobileControls #mResupply:not([hidden])){opacity:0}
#mThrottle.collective .m-fill{display:none}
#mThrottle.collective .m-track::before{content:'YÜKSEL';position:absolute;top:4px;left:50%;transform:translateX(-50%);writing-mode:vertical-rl;font-size:7px;color:#cfe7ec99;letter-spacing:1px}
#mThrottle.collective .m-track::after{content:'ALÇAL';position:absolute;bottom:4px;left:50%;transform:translateX(-50%);writing-mode:vertical-rl;font-size:7px;color:#cfe7ec99;letter-spacing:1px}
#mFull{position:absolute;right:calc(max(10px,env(safe-area-inset-right)) + 44px);top:8px;width:34px;height:38px;border-radius:8px;font-size:15px!important;padding:0}
html.mobile.is-full #mFull{opacity:.55}
html.mobile .telemetry{right:calc(max(10px,env(safe-area-inset-right)) + 84px)}
#rotateGate button{margin-top:8px;padding:10px 18px;border-radius:8px;border:1px solid #9fe3ef88;background:#0f3446;color:#e8f4f6;font:inherit;font-size:13px}
#fullNotice{position:fixed;z-index:120;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,86vw);padding:16px 18px;border-radius:10px;border:1px solid #9fd8e488;background:#071a25f5;color:#e8f4f6;text-align:center;font-size:11px;line-height:1.5}
#fullNotice[hidden]{display:none}
#fullNotice strong{display:block;font-size:13px;font-weight:500;margin-bottom:6px}
#fullNotice p{margin:0 0 6px;color:#b5ccd4}
#fullNotice button{margin-top:6px;padding:7px 18px;border-radius:7px;border:1px solid #9fe3ef88;background:#164457;color:#fff;font:inherit}


#mobileVoice{position:absolute;top:8px;left:50%;transform:translateX(-50%);text-align:center;z-index:5}
#mobileVoice small{display:block;color:#effaff;font-size:10px;text-shadow:0 1px 4px #000}
#mobileVoice[hidden]{display:none}

/* After the portrait gate, explain the browser controls one step at a time. */
#fullscreenGuide[hidden],#fullscreenGuide [hidden]{display:none!important}
#fullscreenGuide{position:fixed;inset:0;z-index:99;display:grid;place-items:center;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));background:#030c14f2;color:#e8f4f6;touch-action:pan-y}
#fullscreenGuide article{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:20px;align-items:center;width:min(1100px,100%);max-height:100%;overflow:auto;overscroll-behavior:contain}
#fullscreenGuide section{padding:8px 0}
#fullscreenGuide .fg-image{min-width:0;border:1px solid #b1e6ec44;border-radius:12px;overflow:hidden;line-height:0}
#fullscreenGuide img{display:block;width:100%;height:auto;max-height:70dvh;object-fit:contain}
#fullscreenGuide small{color:#9fe3ef;letter-spacing:.12em;font-size:14px}
#fullscreenGuide h2{font-size:clamp(20px,3vw,30px);line-height:1.15;margin:10px 0}
#fullscreenGuide p{font-size:16px;line-height:1.45;margin:10px 0}
#fullscreenGuide .fg-note{font-size:14px;color:#9db8c2}
#fullscreenGuide button{min-height:44px;padding:10px 14px;font-size:16px;border-radius:8px}
#fullscreenGuide .fg-actions{display:flex;gap:10px;flex-wrap:wrap}
#fullscreenGuide .fg-skip{margin-top:6px;background:transparent;color:#b8ccd4;border-color:transparent}
#fullscreenGuide article:not(:has(.fg-image:not([hidden]))){display:block;max-width:500px}
html.fullscreen-guiding #mobileControls{pointer-events:none}
@media(orientation:portrait){#fullscreenGuide{display:none!important}}
@media(max-height:390px){#fullscreenGuide article{gap:14px}#fullscreenGuide h2{margin:6px 0;font-size:21px}#fullscreenGuide p{margin:7px 0;line-height:1.3}#fullscreenGuide .fg-note{font-size:12px}}

/* Mobile cockpit: central instruments, clear sightline and thumb controls. */
#showPanelToggle{display:none}
html.mobile .match-score,html.mobile .mission-head{display:none!important}
html.mobile .telemetry{left:50%;right:auto;top:8px;bottom:auto;transform:translateX(-50%);gap:14px;padding:8px 14px;max-width:48vw;min-height:43px;box-sizing:border-box;grid-template-columns:repeat(3,minmax(0,auto))}
html.mobile .telemetry small{font-size:8px;letter-spacing:.7px}
html.mobile .telemetry b{font-size:18px;white-space:nowrap}
html.mobile .telemetry span{font-size:8px}
html.mobile .telemetry .bar{height:3px}
html.mobile #radar,html.mobile .soloShow #radar,html.mobile .formationShow #radar{top:50%!important;bottom:auto!important;transform:translateY(-50%);width:min(26vh,106px)!important;height:min(26vh,106px)!important}
html.mobile #mMenu{left:max(10px,env(safe-area-inset-left));right:auto;width:40px;height:40px;z-index:7}
html.mobile #mFull{right:max(10px,env(safe-area-inset-right));width:36px}
html.mobile .contact-marker{font-size:10px;padding:6px 8px;max-width:145px;min-width:40px;border-radius:6px}
html.mobile .contact-marker.selected{font-size:11px;padding:7px 9px}
html.mobile .contact-marker.edge{gap:5px;padding:6px 7px}
html.mobile .direction-arrow{font-size:23px}
html.mobile .contact-marker .enemy-health{height:4px;width:60px;margin:4px auto 1px}
html.mobile .contact-marker.edge .enemy-health{width:42px}
html.mobile #warning{top:65px;font-size:11px;max-width:55vw;line-height:1.3}
html.mobile #toast{top:auto;bottom:16px;max-width:48vw;font-size:12px;line-height:1.3;padding:7px 12px;pointer-events:none}
html.mobile #mJoyBase{left:32%;top:78%}
html.mobile #mobileVoice{left:auto;right:calc(max(10px,env(safe-area-inset-right)) + 56px);top:calc(50% - 72px);transform:none;z-index:7;width:42px;height:42px}
html.mobile #voiceToggle{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;font-size:0!important;color:#e5f5fa}
html.mobile #voiceToggle::before{content:'';width:21px;height:25px;display:block;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Crect x='8' y='1' width='8' height='17' rx='4'/%3E%3Cpath d='M4 12v3a8 8 0 0 0 16 0v-3M12 23v4M7 27h10' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
html.mobile #voiceToggle.holding{background:conic-gradient(#a6f0ff var(--hold,0%),#123342 0);border-color:#b4f2ff}
html.mobile #voiceToggle.active{background:#1e6754;color:#b2ffdb}
html.mobile #voiceStatus{display:none;font-size:10px;background:#071c2bef;border-radius:6px;padding:6px;position:absolute;right:48px;top:0;width:145px;text-align:right}
html.mobile #mobileVoice:has(.holding) #voiceStatus{display:block}
#mSupply{position:absolute;right:calc(max(10px,env(safe-area-inset-right)) + 56px);top:calc(50% - 24px);width:42px;height:42px;padding:8px;border-radius:50%;z-index:7}
#mSupply svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#mSupply.active{background:#20614de6;color:#b7f7d9}
#mSupply[hidden]{display:none!important}
html.mobile #mResupply{top:auto;bottom:12px;max-width:65vw;white-space:normal;z-index:8;font-size:11px}
html.mobile #mResupply small{font-size:10px;line-height:1.25}
html.mobile #mResupply button{font-size:11px;min-height:36px}
html.mobile #showPanel{top:65px;transform:translateX(-50%);width:min(620px,70vw);max-width:calc(100vw - 220px);padding:12px 48px 12px 15px;box-sizing:border-box;z-index:6;border-radius:10px}
html.mobile #showPanel strong{font-size:16px}
html.mobile #showPanel p{font-size:12px;line-height:1.4;margin:7px 0}
html.mobile #showPanel b{font-size:14px}
html.mobile #showPanelToggle{pointer-events:auto;display:block;position:absolute;right:2px;top:2px;width:42px;height:42px;padding:0;font-size:25px;border:0;background:transparent;color:#bdeaf2}
html.mobile #showPanel.collapsed{width:fit-content;max-width:65vw;padding:10px 48px 10px 14px;min-height:43px}
html.mobile #showPanel.collapsed #showText,html.mobile #showPanel.collapsed #showTitle{display:none}

/* Larger hangar typography and tall, centered choice cards. */
html.mobile .brand{font-size:12px}
html.mobile .header-right button{font-size:10px;min-height:29px}
html.mobile .steps button{font-size:11px;min-height:31px;padding:6px 10px}
html.mobile .selector{width:min(35vw,300px);padding:12px}
html.mobile .selector h1{font-size:20px}
html.mobile .fleet-heading{font-size:10px}
html.mobile .aircraft-list,html.mobile .enemy-aircraft-list{gap:5px}
html.mobile .aircraft-list button,html.mobile .enemy-aircraft-list button{font-size:11px;min-height:36px;padding:8px 4px}
html.mobile .aircraft-info{width:min(32vw,290px);padding:13px 14px!important}
html.mobile .aircraft-info .eyebrow{font-size:9px}
html.mobile .aircraft-info h2{font-size:23px}
html.mobile .aircraft-info p{font-size:12px;line-height:1.4}
html.mobile #aircraftDesc{-webkit-line-clamp:4}
html.mobile .aircraft-info .stats small{font-size:8px}
html.mobile .aircraft-info .stats b{font-size:14px}
html.mobile #loadoutLabel,html.mobile .career{font-size:10px}
html.mobile #mapStage:not([hidden]),html.mobile #teamStage:not([hidden]){display:flex;flex-direction:column;overflow:auto;padding:0 4px 3px;box-sizing:border-box}
html.mobile .stage h1{font-size:20px;margin:3px 0 9px}
html.mobile .stage .eyebrow{font-size:9px}
html.mobile .map-list,html.mobile .weather-list{flex:1;min-height:0;display:grid;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(var(--map-columns,3),minmax(0,1fr));gap:10px;width:min(1100px,100%);margin:0 auto;padding:0 0 3px;overflow:visible;box-sizing:border-box}
html.mobile .weather-list{grid-template-columns:repeat(3,minmax(0,1fr))}
html.mobile .map-card,html.mobile .weather-card{display:flex;flex-direction:column;min-width:0;height:100%!important;min-height:170px!important;overflow:hidden;border-radius:11px}
html.mobile .map-card img{flex:1;min-height:0;height:0!important;width:100%;object-fit:cover}
html.mobile .map-card-content{margin-top:0!important;flex:0 0 auto;padding:11px 12px!important;min-height:44px;box-sizing:border-box;background:#071d29}
html.mobile .map-card strong,html.mobile .weather-card strong{font-size:15px!important;line-height:1.15;white-space:normal}
html.mobile .weather-card .weather-art{flex:1;height:0!important;min-height:0!important;width:100%;font-size:68px!important;display:grid;place-items:center}
html.mobile .weather-card strong{padding:0 0 5px}
@media(max-height:350px){html.mobile #showPanel{top:58px;padding-top:8px;padding-bottom:8px}html.mobile #showPanel p{font-size:11px;margin:4px 0}html.mobile #showPanel strong{font-size:14px}html.mobile #mFire{width:68px;height:68px}html.mobile #mFlare{width:44px;height:44px;right:76px}html.mobile #mAmmo{bottom:75px}html.mobile #mWeapons{width:126px;height:115px}html.mobile .telemetry{padding:6px 11px}html.mobile .telemetry b{font-size:17px}}

html.mobile .map-card strong{margin:0!important}

/* Mobile flight instruments: stocks, telemetry and score share one row. */
html.mobile #mFlightStrip{position:fixed;left:max(58px,env(safe-area-inset-left));right:max(58px,env(safe-area-inset-right));top:8px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:stretch;pointer-events:none}
html.mobile #mFlightStrip .telemetry{position:static;transform:none;max-width:none;min-height:57px;gap:14px;padding:9px 13px;display:flex;align-items:center;border-radius:9px}
html.mobile #mFlightStrip .telemetry small{font-size:10px;letter-spacing:.4px}
html.mobile #mFlightStrip .telemetry b{font-size:22px}
html.mobile #mFlightStrip .telemetry span{font-size:9px}
html.mobile #mStocks,html.mobile #mXP{background:#081e2be8;border:1px solid #b6d9e52c;border-radius:9px;min-width:0}
html.mobile #mStocks{display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:none;pointer-events:auto;touch-action:pan-x}
html.mobile #mStocks button{flex:1 0 52px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:6px;border:0;border-right:1px solid #b6d9e52c;border-radius:0;background:transparent;min-width:0}
html.mobile #mStocks small{font-size:9px;white-space:nowrap;color:#bad0da}
html.mobile #mStocks b{font-size:20px;line-height:1}
html.mobile #mXP{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:6px}
html.mobile #mXP small{font-size:9px;letter-spacing:.5px;color:#bad0da}
html.mobile #mXP b{font-size:20px;white-space:nowrap}
html.mobile #mAmmo,html.mobile #combatHud{display:none!important}
html.mobile #radar,html.mobile .soloShow #radar,html.mobile .formationShow #radar{top:43%!important;width:min(32vh,130px)!important;height:min(32vh,130px)!important}
html.mobile #toast{font-size:16px;line-height:1.4;padding:10px 16px;bottom:20px;max-width:60vw}
html.mobile #warning{font-size:15px;line-height:1.35;top:78px}
html.mobile #showPanel{top:78px}
html.mobile #mThrottle{top:94px;bottom:30px}
html.mobile #mThrottle .m-ab{font-size:11px!important;line-height:1.1;padding:6px 4px;min-width:60px;left:50%;transform:translateX(-50%);top:-35px}
html.mobile #mThrottle .m-brake{font-size:11px!important;padding:5px 4px;min-width:60px;left:50%;transform:translateX(-50%);bottom:-25px}
html.mobile .m-tick b{font-size:10px!important}
html.mobile .m-thumb b{font-size:16px!important}
html.mobile #mThrottle::before{content:'GAZ';position:absolute;left:-28px;top:calc(50% - 5px);font-size:11px;color:#e2f4f9;transform:rotate(-90deg)}
html.mobile #mobileVoice{right:calc(max(10px,env(safe-area-inset-right)) + 66px);top:calc(50% - 79px);width:48px;height:48px}
html.mobile #voiceToggle{width:48px;height:48px}
html.mobile #voiceToggle::before{width:24px;height:28px}
html.mobile #mSupply{right:calc(max(10px,env(safe-area-inset-right)) + 62px);top:calc(50% - 8px);width:56px;height:58px;border-radius:12px;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
html.mobile #mSupply svg{width:26px;height:28px;flex-shrink:0}
html.mobile #mSupply small{font-size:11px;font-weight:700}
html.mobile #mSupply.guide-target{outline:2px solid #a6e5ea;box-shadow:0 0 0 7px #a6e5ea32,0 0 22px #a6e5ea77}
html.mobile #mSupplyGuide{position:fixed;right:calc(max(10px,env(safe-area-inset-right)) + 132px);top:calc(50% - 13px);width:min(270px,38vw);padding:10px 29px 10px 12px;border:1px solid #a6e5ea;border-radius:10px;background:#082332f5;z-index:10;pointer-events:auto;box-shadow:0 5px 24px #0005}
html.mobile #mSupplyGuide::after{content:'';position:absolute;right:-9px;top:28px;width:15px;height:15px;transform:rotate(45deg);border-top:1px solid #a6e5ea;border-right:1px solid #a6e5ea;background:#082332}
html.mobile #mSupplyGuide b{display:block;font-size:13px;line-height:1.35;color:#c3f7ff}
html.mobile #mSupplyGuide small{display:block;font-size:12px;line-height:1.35;margin-top:5px}
html.mobile #mGuideDismiss{position:absolute;right:2px;top:1px;width:28px;height:28px;font-size:23px;padding:0;border:0;background:transparent}
/* Keep the image continuous down to its caption, regardless of card height. */
html.mobile .map-card{position:relative;padding:0!important;display:block}
html.mobile .map-card img{position:absolute;inset:0 0 44px;flex:none;width:100%!important;height:calc(100% - 44px)!important;max-height:none!important;object-fit:cover;aspect-ratio:auto}
html.mobile .map-card-content{position:absolute;bottom:0;left:0;right:0;height:44px;min-height:44px;display:flex!important;align-items:center;padding:8px 12px!important}
html.mobile .header-right button{font-size:12px;min-height:36px;padding:7px 10px}
html.mobile .header-right .help-icon{width:34px;height:36px;font-size:19px}
html.mobile #hangar{top:49px}
html.mobile .hangar-actions button{font-size:14px!important;min-height:39px;padding:8px 15px!important}
html.mobile .hangar-actions #launch{padding:8px 20px!important}
html.mobile .stage,html.mobile #aircraftStage{top:46px!important}
html.mobile .aircraft-info{transform:translateY(3px)}
@media(max-width:720px){html.mobile #mFlightStrip{left:56px;right:54px;gap:5px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}html.mobile #mFlightStrip .telemetry{gap:9px;padding:8px 10px}html.mobile #mFlightStrip .telemetry b{font-size:20px}html.mobile #mStocks button{flex-basis:48px}html.mobile #mStocks small{font-size:8px}html.mobile #mStocks b,html.mobile #mXP b{font-size:18px}}

html.mobile #mXP{width:78px;justify-self:start}
html.mobile #mThrottle .m-ab,html.mobile #mThrottle .m-brake{left:auto;transform:none}
html.mobile #mThrottle::before{display:none}
html.mobile .m-throttle-label{font-size:11px;letter-spacing:1px;margin-top:5px}
@media(max-width:720px){html.mobile #mXP{width:66px}}

html.mobile #bearingCue{font-size:14px;line-height:1.35;padding:8px 12px;max-width:60vw;bottom:24px}

/* Keep all three instrument groups inside the space between pause/fullscreen. */
html.mobile #mFlightStrip{left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 124px - env(safe-area-inset-left) - env(safe-area-inset-right));max-width:920px;grid-template-columns:minmax(0,1fr) minmax(205px,1.12fr) minmax(116px,.72fr);gap:6px;box-sizing:border-box;min-width:0}
html.mobile #mTelemetrySlot{min-width:0;display:flex}
html.mobile #mFlightStrip .telemetry{width:100%;min-width:0;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;min-height:66px;padding:10px 11px 13px}
html.mobile #mFlightStrip .telemetry>div{position:relative;min-width:0;align-self:start}
html.mobile #mFlightStrip .telemetry>div:nth-child(3){display:none!important}
html.mobile #mFlightStrip .telemetry small{display:block;height:13px;line-height:13px;margin:0 0 4px;font-size:9px;letter-spacing:.2px;white-space:nowrap}
html.mobile #mFlightStrip .telemetry b{font-size:20px;line-height:24px;vertical-align:baseline}
html.mobile #mFlightStrip .telemetry span{font-size:8px;margin-left:1px}
html.mobile #mFlightStrip .health-gauge .bar{position:absolute;left:0;right:0;bottom:-5px;height:3px;margin:0}
html.mobile #mStocks{min-width:0;max-width:100%;border-color:#a6e5ea55}
html.mobile #mStocks button{flex:1 0 70px;min-width:0;gap:5px;padding:8px 5px}
html.mobile #mStocks small{font-size:9px;font-weight:600;line-height:12px;color:#cee8f1;letter-spacing:.25px}
html.mobile #mStocks b{font-size:22px;line-height:24px;color:#f0fbff}
html.mobile #mXP{width:100%;min-width:0;gap:6px;padding:9px 6px;justify-content:center}
html.mobile #mXP>div{display:flex;align-items:baseline;justify-content:center;gap:4px;white-space:nowrap}
html.mobile #mXP b{font-size:21px;line-height:25px}
html.mobile #mXP span{font-size:11px;color:#c0e3ee}
html.mobile #mXP .m-kills{font-size:10px;letter-spacing:0;line-height:13px;color:#c5dde8;white-space:nowrap}
html.mobile #mBonus{position:absolute;right:calc(max(10px,env(safe-area-inset-right)) + 62px);top:calc(50% + 61px);width:56px;height:55px;border-radius:12px;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-color:#f5d57699;background:#503c168c;z-index:7}
html.mobile #mBonus>span{font-size:25px;line-height:27px}
html.mobile #mBonus small{font-size:9px;line-height:12px}
html.mobile #mBonus b{font-size:11px}
html.mobile #mBonus[hidden]{display:none!important}
html.mobile #bearingCue{bottom:calc(28px + var(--mobile-toast-height,0px));font-size:14px;max-width:60vw;z-index:7}
html.mobile #missileAlarm .missile-banner{top:86px;transform:translateX(-50%);width:min(285px,43vw);padding:11px 15px;border-width:2px}
html.mobile #missileAlarm .missile-banner strong{font-size:21px;line-height:1.15}
html.mobile #missileAlarm .missile-banner span{font-size:13px;line-height:1.3}
html.mobile #loading>.brand,html.mobile #loading>#loadingText{display:none!important}
html.mobile #flightBriefing{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)!important;transform-origin:center;width:min(660px,calc(100vw - 100px));max-height:calc(100vh - 32px);overflow:auto;margin:0;padding:22px 28px}
html.mobile #flightBriefing h2{font-size:23px;margin:10px 0}
html.mobile #flightBriefing #tipText{font-size:16px;line-height:1.6;min-height:52px}
html.mobile #flightBriefing .tip-heading{font-size:14px}
@media(max-width:700px){html.mobile #mFlightStrip{width:calc(100% - 116px - env(safe-area-inset-left) - env(safe-area-inset-right));grid-template-columns:minmax(0,1fr) 205px 112px;gap:5px}html.mobile #mFlightStrip .telemetry{gap:5px;padding-left:8px;padding-right:8px}html.mobile #mXP b{font-size:19px}html.mobile #mStocks button{flex-basis:68px}html.mobile #mStocks small{font-size:8px}}
@media(max-height:350px){html.mobile #mBonus{top:calc(50% + 55px);width:50px;height:47px;right:calc(max(10px,env(safe-area-inset-right)) + 126px)}html.mobile #flightBriefing{padding:15px 22px}html.mobile #flightBriefing h2{font-size:21px}html.mobile #flightBriefing #tipText{font-size:15px;line-height:1.45}}
html.mobile #mobileControls:has(#mBonus:not([hidden])) #mWeapons{right:calc(max(10px,env(safe-area-inset-right)) + 124px)}
@media(max-height:350px){html.mobile #mBonus{right:calc(max(10px,env(safe-area-inset-right)) + 62px)}}

html.mobile #missileAlarm .missile-banner{z-index:9}

/* Consistent mobile instruments and monochrome weapon symbols. */
html.mobile #mFlightStrip{font-family:Arial,Helvetica,sans-serif}
html.mobile #mFlightStrip .telemetry b,html.mobile #mStocks b,html.mobile #mXP b{font-family:inherit;font-size:20px;font-weight:600;line-height:24px}
html.mobile #mFlightStrip .telemetry small,html.mobile #mStocks small,html.mobile #mXP span,html.mobile #mXP .m-kills{font-family:inherit;font-size:9px;font-weight:500;letter-spacing:.15px}
html.mobile #mStocks button{flex-basis:80px;gap:5px}
html.mobile #mStocks small{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}
html.mobile #mStocks svg{width:14px;height:16px;flex:0 0 14px}
html.mobile #mStocks button[aria-pressed="true"]{background:#39718466;box-shadow:inset 0 -3px #a6e5ea}
html.mobile #mXP .m-kills{display:flex;align-items:center;justify-content:center;gap:4px}
html.mobile #mXP .m-kills svg{width:13px;height:14px;flex-shrink:0;color:#dbebef}
html.mobile #mXP .m-kills span{font-size:9px}
html.mobile #mBonus>svg{width:25px;height:27px}
html.mobile #radar,html.mobile .soloShow #radar,html.mobile .formationShow #radar{width:min(35vh,142px)!important;height:min(35vh,142px)!important}
html.mobile #mobileVoice{right:calc(max(10px,env(safe-area-inset-right)) + 62px);width:56px;height:58px;top:calc(50% - 79px)}
html.mobile #voiceToggle{width:56px;height:58px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px}
html.mobile #voiceToggle::before{width:22px;height:25px;flex-shrink:0}
html.mobile #voiceToggle::after{content:'KONUŞ';display:block;font:600 10px Arial,Helvetica,sans-serif;line-height:12px;color:inherit;white-space:nowrap}
html.mobile #mThrottle .m-throttle-label{display:block;width:100%;font-size:11px;letter-spacing:.5px;line-height:1.15;text-align:center;padding:5px 0;border:1px solid #cfeef544;border-radius:6px;background:#06182488;color:#bcd7de;margin-top:5px}
/* Three aligned hangar rows with room between each row. */
html.mobile header{height:47px;padding-top:7px;padding-bottom:0;align-items:center}
html.mobile .brand{font-size:15px;letter-spacing:2px;min-height:36px;align-items:center}
html.mobile .brand svg{width:25px;height:25px}
html.mobile .header-right{align-items:center}
html.mobile #hangar{top:58px}
html.mobile .steps{top:0;align-items:center;gap:5px;height:40px}
html.mobile .steps button{font-size:13px;min-height:40px;padding:8px 12px}
html.mobile .hangar-actions{top:0;min-height:40px;align-items:center}
html.mobile .hangar-actions button{height:40px}
html.mobile .stage,html.mobile #aircraftStage{top:54px!important}
html.mobile .aircraft-info{top:0;transform:none}
html.mobile .selector{top:0}
@media(max-width:700px){html.mobile .brand{font-size:13px;letter-spacing:1.2px}html.mobile .brand svg{width:23px;height:23px}html.mobile .header-right button{padding-left:8px;padding-right:8px}html.mobile #mFlightStrip .telemetry b,html.mobile #mStocks b,html.mobile #mXP b{font-size:19px}html.mobile #mStocks small{font-size:9px}}
html.mobile #mXP .m-kills[hidden],html.mobile #mFlare[hidden]{display:none!important}
html.mobile .formationShow #mThrottle .m-ab{display:none!important}
html.mobile #mStocks button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;flex-basis:94px}
html.mobile #mStocks .stock-icon{height:43px;width:27px;display:flex;align-items:center;justify-content:center;flex:0 0 27px}
html.mobile #mStocks .stock-icon svg{height:100%;width:100%;flex:none}
html.mobile #mStocks .stock-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0}
html.mobile #mStocks small{display:block;line-height:12px}
html.mobile #mStocks b{display:block;line-height:24px}
html.mobile #mFire{width:96px;height:96px}
html.mobile #mFire svg{width:34px;height:34px}
html.mobile #mFire small{font-size:9px}
html.mobile #mFlare{width:58px;height:58px;right:104px}
html.mobile #mFlare svg{width:24px;height:24px}
html.mobile #mFlare b{font-size:12px}
html.mobile #mWeapons{width:166px;height:150px}
html.mobile #flightBriefing #tipText{max-width:none;width:100%;text-align:center}
@media(max-height:350px){html.mobile #mFire{width:78px;height:78px}html.mobile #mFlare{width:50px;height:50px;right:86px}html.mobile #mWeapons{width:142px;height:125px}}

/* Fit complete four/five-type loadouts without hiding the last stock. */
html.mobile #mFlightStrip.many-stocks{grid-template-columns:minmax(0,1fr) 174px 100px;max-width:1040px}
html.mobile #mFlightStrip.many-stocks #mStocks{display:grid;grid-template-columns:repeat(var(--stock-count),minmax(0,1fr));overflow:visible}
html.mobile #mFlightStrip.many-stocks #mStocks button{padding:5px 2px;gap:3px;flex-basis:0}
html.mobile #mFlightStrip.many-stocks .stock-icon{width:20px;flex-basis:20px}
html.mobile #mFlightStrip.many-stocks #mStocks small{font-size:9px;letter-spacing:0}
html.mobile #mFlightStrip.many-stocks .telemetry{gap:3px;padding:8px 5px}
html.mobile #mFlightStrip.many-stocks #mXP{padding:6px 3px}
html.mobile #voiceToggle::after{font-size:9px}
@media(max-width:700px){html.mobile #mFlightStrip.many-stocks{grid-template-columns:minmax(0,1fr) 155px 82px;gap:4px}html.mobile #mFlightStrip.many-stocks .stock-icon{width:14px;flex-basis:14px}html.mobile #mFlightStrip.many-stocks #mStocks small{font-size:8px}html.mobile #mFlightStrip.many-stocks .telemetry b,html.mobile #mFlightStrip.many-stocks #mXP b{font-size:17px}html.mobile #mFlightStrip.many-stocks #mXP .m-kills{font-size:8px}}

html.mobile #mFlightStrip.many-stocks .telemetry>div{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:13px 24px 10px;gap:0}
html.mobile #mFlightStrip.many-stocks .telemetry small{font-size:8px;letter-spacing:0;margin:0;height:13px}
html.mobile #mFlightStrip.many-stocks .telemetry span{display:block;margin:0;line-height:10px;font-size:8px}
html.mobile #mFlightStrip.many-stocks #mXP .m-kills span{white-space:normal;font-size:8px;line-height:11px}

html.mobile #mFlightStrip.many-stocks #mXP .m-kills span{white-space:pre-line}

@media(max-width:700px){html.mobile #mFlightStrip.many-stocks #mStocks button{padding-left:1px;padding-right:1px;gap:1px}}

/* Narrow stocks keep every type visible by stacking the icon above its label. */
html.mobile #mFlightStrip #mStocks{display:grid;grid-template-columns:repeat(var(--stock-count),minmax(0,1fr));overflow:hidden}
html.mobile #mFlightStrip #mStocks button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:4px 1px;min-width:0}
html.mobile #mFlightStrip #mStocks .stock-icon{height:18px;width:20px;flex:0 0 18px}
html.mobile #mFlightStrip #mStocks .stock-info{align-items:center;gap:1px;width:100%}
html.mobile #mFlightStrip #mStocks small{font-size:8px;line-height:10px;letter-spacing:0}
html.mobile #mFlightStrip #mStocks b{font-size:19px;line-height:22px}

@media(max-width:700px){html.mobile #mFlightStrip.many-stocks #mStocks small{font-size:7.5px}}

/* Unified mobile instruments; stock icons span label + count on the left. */
html.mobile #mFlightStrip #mStocks,html.mobile #mFlightStrip .telemetry,html.mobile #mFlightStrip #mXP{background:#081e2be8;border:1px solid #b6d9e52c;color:#f0fbff;text-align:center;min-height:66px;box-sizing:border-box}
html.mobile #mFlightStrip #mStocks button{flex-direction:row;gap:3px;padding:5px 2px;align-items:center;justify-content:center}
html.mobile #mFlightStrip #mStocks .stock-icon{width:22px;height:40px;flex:0 0 22px}
html.mobile #mFlightStrip #mStocks .stock-info{width:auto;align-items:center;gap:2px}
html.mobile #mFlightStrip #mStocks b,html.mobile #mFlightStrip .telemetry b,html.mobile #mFlightStrip #mXP b{font-family:inherit;font-size:19px;font-weight:600;line-height:24px;color:inherit}
html.mobile #mFlightStrip #mStocks small,html.mobile #mFlightStrip .telemetry small,html.mobile #mFlightStrip #mXP span{font-family:inherit;font-size:9px;font-weight:500;line-height:12px;letter-spacing:0;color:#cee8f1;text-align:center}
html.mobile #mFlightStrip .telemetry{padding:8px 5px;gap:5px;align-items:center}
html.mobile #mFlightStrip .telemetry>div{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:12px 24px 10px;gap:2px;text-align:center}
html.mobile #mFlightStrip .telemetry small{height:auto;margin:0}
html.mobile #mFlightStrip .telemetry span{display:block;font-size:8px;line-height:10px;margin:0}
html.mobile #mFlightStrip.formation-instruments .telemetry>div:nth-child(3){display:none!important}
html.mobile #mFlightStrip.formation-instruments .health-gauge{display:grid!important}
html.mobile #mSoloManeuvers{position:fixed;right:calc(max(10px,env(safe-area-inset-right)) + 62px);top:calc(50% - 104px);display:grid;grid-template-columns:repeat(2,42px);gap:6px;transform:none;pointer-events:auto}
html.mobile #mSoloManeuvers button{width:42px;height:42px;padding:4px;border:1px solid #b6d9e54d;border-radius:10px;color:#def6fa;background:#102d3ce8;touch-action:none}
html.mobile #mSoloManeuvers svg{width:100%;height:100%;display:block}
html.mobile #mSoloManeuvers[hidden]{display:none!important}
@media(max-width:700px){html.mobile #mFlightStrip #mStocks .stock-icon{width:17px;flex-basis:17px}html.mobile #mFlightStrip #mStocks button{gap:2px}html.mobile #mFlightStrip #mStocks small{font-size:8px}html.mobile #mFlightStrip.many-stocks #mStocks small{max-width:26px;white-space:normal;overflow-wrap:anywhere;line-height:9px}html.mobile #mFlightStrip.many-stocks #mStocks .stock-icon{width:15px;flex-basis:15px}}

html.mobile .soloShow #showPanel{max-width:calc(100% - 360px);left:45%}

html.mobile #mFlightStrip.many-stocks #mStocks .stock-info{min-width:0;max-width:100%}
html.mobile #mFlightStrip.many-stocks #mStocks small{white-space:normal;overflow-wrap:anywhere;line-height:10px}

html.mobile #mFlightStrip #mStocks small,html.mobile #mFlightStrip .telemetry small,html.mobile #mFlightStrip #mXP span{font-size:8.5px;font-weight:500;line-height:12px;color:#cee8f1}
html.mobile #mFlightStrip #mStocks small{white-space:normal;overflow-wrap:anywhere}
html.mobile #mFlightStrip #mStocks .stock-icon{height:100%;min-height:40px;align-self:stretch}

/* One stock row, sized from the actual count, with score kept compact. */
html.mobile #mFlightStrip #mStocks{grid-template-columns:repeat(var(--stock-count),minmax(0,1fr));grid-template-rows:1fr;grid-auto-flow:column;min-height:66px}
html.mobile #mFlightStrip #mStocks button{min-width:0;white-space:nowrap;flex-wrap:nowrap;padding:4px 1px}
html.mobile #mFlightStrip #mStocks .stock-icon{width:16px;flex:0 0 16px;min-height:38px}
html.mobile #mFlightStrip #mStocks small{white-space:nowrap;overflow-wrap:normal;max-width:none;font-size:8px}
html.mobile #mFlightStrip #mXP{width:100%;min-width:0;padding:5px 2px}
html.mobile #mFlightStrip #mXP .m-kills{flex-wrap:nowrap;gap:2px;white-space:nowrap}
html.mobile #mFlightStrip #mXP .m-kills span{white-space:nowrap;font-size:7.5px;line-height:11px}
html.mobile #mFlightStrip #mXP .m-kills svg{width:10px;flex:0 0 10px}
html.mobile #mFlightStrip .telemetry{gap:3px;padding:8px 4px}
@media(max-width:700px){html.mobile #mFlightStrip #mStocks .stock-icon{width:13px;flex-basis:13px}html.mobile #mFlightStrip #mStocks button{gap:2px}html.mobile #mFlightStrip #mStocks b,html.mobile #mFlightStrip .telemetry b,html.mobile #mFlightStrip #mXP b{font-size:17px}}

html.mobile #mFlightStrip.many-stocks #mXP .m-kills span{white-space:nowrap;font-size:7.5px;line-height:11px}
html.mobile #mFlightStrip.many-stocks #mStocks small{white-space:nowrap;overflow-wrap:normal;max-width:none}

@media(max-width:700px){html.mobile #mFlightStrip.dense-stocks #mStocks .stock-icon{width:10px;flex-basis:10px}html.mobile #mFlightStrip.dense-stocks #mStocks b{font-size:14px}html.mobile #mFlightStrip.dense-stocks #mStocks button{gap:1px}html.mobile #mFlightStrip.dense-stocks #mStocks small{font-size:7.5px}}

html.mobile #showTourPicker{padding:8px;margin:8px 0}html.mobile #showTourPicker button{min-height:32px;padding:5px 0;font-size:14px}html.mobile #showTourPicker>div{gap:3px}html.mobile #showTourPicker p{font-size:10px}html.mobile #showTourPicker small{font-size:9px}
