/* Flight modes stay visible before, during and after the launch. */
.flight-mode-switch{display:flex;align-items:center;gap:5px;flex:none}.flight-mode-choice{display:flex;border:1px solid #8190a44a;border-radius:10px;padding:3px;background:#17191e;gap:3px}
.flight-mode-choice button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border:1px solid transparent;border-radius:7px;padding:0 13px;background:none;font:500 12px var(--sans);color:#aab3c3;white-space:nowrap}.flight-mode-choice button[aria-pressed=true]{background:#e4eaf3;color:#232936;border-color:#e4eaf3}.flight-mode-choice #modeChip{color:#d2bdf8;border-color:#a98ad65c;background:#b18be90a}.flight-mode-choice #modeChip[aria-pressed=true]{color:#f0e5ff;border-color:#b99ae9;background:#635083;box-shadow:inset 0 0 0 1px #c4a8f640}.flight-mode-choice svg{width:17px;height:17px}.flight-mode-choice small{font-size:10px;font-weight:500}.flight-mode-choice button:disabled{opacity:.75;cursor:default}.flight-mode-choice button[aria-pressed=true]:disabled{opacity:1}.mode-info{width:36px;min-height:44px;border:0;border-radius:8px;background:none;color:#a8b4c9;font:500 15px var(--sans)}
#play .flight-settings{display:grid;place-items:center;width:42px;min-width:42px;height:42px;border-color:#8794ab44;background:#b8ccee08}#play .flight-settings svg{width:22px;height:22px}body[data-page=play] .account>[data-action=settings]{display:none}
body[data-page=play][data-difficulty=pro] #mapViewport{border-color:#a48abd66}body[data-page=play][data-difficulty=pro] #stagePill{color:#e0c9ff;border-color:#a185c67d;background:#342a47e8}body[data-page=play][data-difficulty=pro] .launch-button,body[data-page=play][data-difficulty=pro] #mobileLaunch{background:#d6c5f1;color:#30233f;border-color:#e0d0fa}
.mode-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode-option{display:block;text-align:left;padding:15px;border:1px solid #78869e4d;border-radius:11px;background:#151922;color:#c8d4e8;min-width:0}.mode-option[aria-pressed=true]{border-color:#c5d4ec;background:#b7cef00a;box-shadow:inset 0 0 0 1px #b7cef02b}.mode-option.pro-option{color:#d4c0f1}.mode-option.pro-option[aria-pressed=true]{border-color:#bfa0ec;background:#b38bdf13;box-shadow:inset 0 0 0 1px #bba0de38}.mode-option-title{display:flex;align-items:center;gap:5px}.mode-option-title strong{font:600 13px var(--sans)}.mode-option-title svg{height:18px;width:18px}.mode-option-title small{font:400 9px var(--sans);margin-left:auto;color:#aab7cd}.mode-payout{display:block;margin:15px 0 18px;font:500 27px/1.1 var(--sans);letter-spacing:-.04em}.mode-payout small{display:block;font:400 9px var(--sans);letter-spacing:0;margin-top:5px;color:#99a9c0}.mode-facts{display:block;border-top:1px solid #a2b3cb28;padding-top:6px}.mode-facts>span{display:flex;flex-direction:column;gap:2px;margin-top:8px;font-size:9px;line-height:1.5;color:#9eacc3}.mode-facts b{font-size:12px;color:#d5dfef;font-weight:500}.mode-explanation{font-size:11px!important;line-height:1.6;color:#9dabc2!important;margin:12px 0 19px}.mode-option:disabled{opacity:.85;cursor:default}.mode-option:disabled[aria-pressed=false]{opacity:.55}
#modal.mode-modal{width:min(590px,calc(100vw - 24px))}.mode-modal .mode-facts>span{flex-direction:row;justify-content:space-between;gap:10px}.mode-modal .mode-payout{margin-top:20px}
.playback-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.playback-choices button{min-height:44px;padding:5px 0;border:1px solid #8a9aba44;border-radius:7px;background:#151922;color:#a9b9d0;font:500 12px var(--sans)}.playback-choices button[aria-pressed=true]{border-color:#c2d5ee;background:#c4d5ef;color:#253248}.flight-precision{margin-top:20px}.sound-preview{min-height:44px;padding:9px 16px;background:#b6ccea0b;color:#d6e5fa;border:1px solid #9fb5d54d;border-radius:8px;font-size:12px}
#modal.preferences-modal .preferences-layout .settings-tabs{gap:4px}#modal.preferences-modal .preferences-layout .settings-section{min-height:420px}.preferences-footer{position:sticky;bottom:-28px;background:#1b1d22;padding-bottom:6px}
@media(max-width:999px) and (orientation:portrait),(max-width:699px){
 #play .flight-heading{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:44px 44px;height:94px;flex:0 0 94px;gap:6px 8px}#play .flight-back{grid-area:1/1}#play .flight-title-group{grid-area:1/2;min-width:0}#play .flight-actions{grid-area:1/3;gap:5px}#play .flight-mode-switch{grid-area:2/1/3/-1;min-width:0;gap:3px}#play .flight-mode-choice{flex:1;padding:2px;border-radius:10px}.flight-mode-choice button{flex:1;min-height:38px;font-size:12px;padding:0 10px}.flight-mode-choice small{font-size:11px}.mode-info{width:36px;min-width:36px;min-height:44px}#play .flight-settings{width:44px;min-width:44px;height:44px;border-radius:12px}
 body[data-result-view=summary] #play .flight-heading{height:44px;flex-basis:44px;grid-template-rows:44px}body[data-result-view=summary] #flightModeSwitch{display:none}body[data-result-view=summary][data-difficulty=pro] #flightTitle:before{content:'ПРО · ';color:#cdb1f1}
 #modal.preferences-modal .preferences-layout .settings-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}#modal.preferences-modal .preferences-layout .settings-tabs button{display:flex;flex-direction:column;gap:3px;font-size:11px;padding:7px 2px}#modal.preferences-modal .preferences-layout .settings-tabs button>span{font-size:16px;height:20px}.mode-option{padding:12px 10px}.mode-option-title{flex-wrap:wrap}.mode-option-title small{font-size:8px}.mode-facts>span{font-size:10px}.mode-facts b{font-size:12px}.mode-payout{font-size:25px}.mode-payout small{font-size:9px;line-height:1.5}.mode-explanation{font-size:11px!important}.playback-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#modal.preferences-modal .preferences-layout .settings-section{min-height:0}.preferences-footer{bottom:-22px;padding-bottom:8px}.mode-modal .mode-facts>span{flex-direction:column}
}
@media(min-width:520px) and (max-width:999px) and (max-height:480px) and (orientation:landscape){#play .flight-title-group{flex:1!important}#play .flight-heading{display:flex;flex-wrap:nowrap;height:44px}.flight-mode-choice button{padding:0 9px;font-size:11px}.flight-mode-choice small{font-size:10px}.mode-info{width:30px;min-width:30px}.flight-mode-switch{gap:0}#play .flight-settings{width:40px;min-width:40px}#play .flight-plan{position:relative;inset:auto;width:100%;background:#1c1e22;flex:0 0 38px;height:38px;min-height:38px}#play .flight-plan>summary{height:38px;min-height:38px}#play .flight-plan .plan-marker{display:block}#play .flight-actions{margin-left:0}}
.mode-comparison.compact .mode-facts{display:none}.mode-comparison.compact .mode-payout{margin:12px 0 1px}.mode-comparison.compact .mode-payout small{font-size:10px}.mode-facts>span{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;font-size:11px}.mode-info{min-width:44px;width:44px;background:#b3c5e907;border:1px solid #8292ad33}.preferences-footer{bottom:0;padding:14px 0 8px;background:#1b1d22}.flight-mode-choice{padding:2px}.flight-mode-choice button{min-height:40px}
body[data-page=play][data-difficulty=pro] #play .launch-button{background:#d6c5f1;color:#30233f;border-color:#e0d0fa}
@media(max-width:999px) and (orientation:portrait),(max-width:699px){#play .flight-heading{grid-template-rows:44px 46px;height:96px;flex-basis:96px}.flight-mode-choice{padding:0}.flight-mode-choice button{min-height:44px}.preferences-footer{bottom:0}.mode-facts>span{font-size:10px}.mode-modal .mode-facts>span{flex-direction:row}.mode-info{width:44px;min-width:44px}}
@media(min-width:520px) and (max-width:999px) and (max-height:480px) and (orientation:landscape){#play .flight-heading{height:44px;flex-basis:44px}.flight-mode-choice button{min-height:40px}.flight-mode-choice{padding:0}.mode-info{width:30px;min-width:30px}}
@media(min-width:520px) and (max-width:999px) and (max-height:480px) and (orientation:landscape){#play .flight-mode-choice button{min-height:44px}.mode-info{width:44px;min-width:44px}#play .flight-settings{width:44px;min-width:44px;height:44px}#play .flight-plan,#play .flight-plan>summary{height:44px;min-height:44px;flex-basis:44px}}
@media(max-width:699px) and (max-height:660px) and (orientation:portrait){#play .flight-left{position:relative}#play .flight-plan{position:absolute;top:8px;right:8px;left:auto;bottom:auto;width:46px;height:46px;min-height:46px;z-index:3;border:1px solid #8b9bb74d;background:#23262cee}#play .flight-plan>summary{width:44px;min-width:44px;min-height:44px;justify-content:center;padding:0}#play .flight-plan summary>div,#play .flight-plan .plan-chevron,#play #planCounter{display:none}#play .flight-plan .plan-marker{display:block;font-size:20px}}

/* Keep the campaign flight focused on the map and launch controls. */
#play>.medal-deck{display:none}
#play .flight-plan summary small,#play .flight-mode-choice small,#play .map-extra{display:none}
#play .mobile-options small{display:none}
body[data-page=play][data-flight=aiming] #play .telemetry{display:none}
#play .launch-secondary #speedButton{display:flex;align-items:center;justify-content:center;width:100%;min-width:44px;min-height:44px;height:44px;margin:0;padding:7px 8px;font:500 12px var(--sans);border:1px solid #ffffff20;border-radius:8px;background:none;color:#c2cad7}
#play .launch-secondary button{min-height:44px}
#play .flight-live-state,#play .flight-metrics>div:first-child{display:none}
#play .memory-intro{margin-top:0}
#play .memory-intro strong{margin-top:0}
#play .flight-plan .plan-chevron{font-size:12px}
@media(min-width:1000px){
 #play .flight-title-group .eyebrow,#play .flight-plan .plan-marker{display:none}
 #play .flight-heading h2{font-size:19px}
 #play .flight-plan>summary{padding-inline:12px}
 #play .cockpit{gap:10px}
 #play .panel-actions{padding-top:12px}
 #play .precision-row{margin-top:6px}
}
