/* The same live counts and three real admission buttons lead every device. */
.compact-entry:not(.phone-ui) #hangar{--entry-left:max(28px,calc((100vw - 1120px) / 2));--entry-right:max(28px,calc((100vw - 1120px) / 2));--entry-top:24px;--entry-bottom:36px}
.compact-entry:not(.phone-ui) #hangar #landingLiveStats{max-width:720px;margin-left:auto;margin-right:auto;background:#0b202ac2}
.compact-entry:not(.phone-ui) #hangar #compactEntrySurface #mobilePlayActions{gap:16px}
.compact-entry:not(.phone-ui) #hangar #compactEntrySurface :is(.matchmaking-split>button,#landingChallengesButton){border-radius:7px;font-size:clamp(16px,1.4vw,22px);box-shadow:0 6px 24px #06121833}

/* A deliberately simple period workstation: solid colours, bevels and one
   reused editor window. No blur, animated wallpaper or extra render surface. */
#customizer.hangar-computer-os{position:fixed;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px minmax(0,1fr) 44px;width:min(920px,calc(100vw - 48px));height:min(660px,calc(100dvh - 48px));max-width:none;max-height:none;box-sizing:border-box;padding:0;margin:0;overflow:hidden;border:3px outset #c4c8bd;border-radius:0;background:#1c5956;color:#182327;box-shadow:10px 12px 0 #02070888;backdrop-filter:none;font:13px/1.4 Tahoma,Verdana,Arial,sans-serif;z-index:48}
#hangarComputerCompactBack{display:none}
#customizer.hangar-computer-os[hidden]{display:none!important}
#customizer.hangar-computer-os>.customizer-head{grid-column:1;grid-row:1;position:relative;top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:44px;min-height:44px;box-sizing:border-box;margin:0;padding:0 0 0 10px;border:0;background:#233c72;color:#f0f0df}
#customizer.hangar-computer-os>.customizer-head .micro{font:10px/1.3 Tahoma,Verdana,Arial,sans-serif;letter-spacing:.04em;color:#f0f0df}
#customizer.hangar-computer-os #closeCustomizer{display:block;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:2px outset #d5d8c9;border-radius:0;background:#c4c8bd;color:#1b2423;font:26px/1 Tahoma,Verdana,Arial,sans-serif;box-shadow:none}
#hangarComputerDesktop{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(4,96px);grid-auto-rows:100px;align-content:start;justify-content:start;gap:16px;margin:0;padding:24px;overflow:auto;box-sizing:border-box;width:100%;height:100%;font-family:Tahoma,Verdana,Arial,sans-serif}
#hangarComputerDesktop[hidden],#hangarComputerWindow[hidden]{display:none!important}
#hangarComputerDesktop .computer-app{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:80px;height:100px;margin:0;padding:6px;border:1px solid transparent;border-radius:0;background:transparent;color:#f0f4df;font:11px/1.25 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0;box-shadow:none;text-align:center;touch-action:manipulation}
#hangarComputerDesktop .computer-app:focus-visible,#hangarComputerDesktop .computer-app[data-controller-focus=true]{outline:1px dotted #f0f4df;outline-offset:-3px;background:#274a72}
#hangarComputerDesktop .computer-app-label{padding:2px;background:#13403ec7;text-shadow:1px 1px #102220}
.computer-icon{position:relative;display:block;flex:none;width:36px;height:32px;border:3px outset #d1d5c5;background:#bfc7b5;box-sizing:border-box;box-shadow:2px 2px #0b3030}
.computer-icon:before,.computer-icon:after{content:'';position:absolute;display:block;box-sizing:border-box}
.computer-icon-pilot:before{left:10px;top:3px;width:10px;height:10px;background:#233c72;box-shadow:-5px 10px #233c72,0 10px #233c72,5px 10px #233c72}
.computer-icon-hangar:before{left:2px;top:9px;width:26px;height:17px;background:#69777a;border:2px solid #34494e}
.computer-icon-hangar:after{left:8px;top:14px;width:14px;height:12px;background:#223834}
.computer-icon-aircraft:before{left:13px;top:1px;width:5px;height:24px;background:#233c72;box-shadow:-8px 10px #233c72,-4px 9px #233c72,4px 9px #233c72,8px 10px #233c72}
.computer-icon-weapons:before{left:3px;top:10px;width:24px;height:6px;background:#31493a;box-shadow:9px -4px #31493a,5px 6px #31493a}
.computer-icon-exit:before{left:6px;top:3px;width:18px;height:20px;border:3px solid #713b35}
.computer-icon-exit:after{left:13px;top:0;width:5px;height:13px;background:#713b35;border:1px solid #bfc7b5}
.computer-icon-travel:before{left:4px;top:3px;width:23px;height:23px;border:2px solid #315e69;border-radius:50%;background:radial-gradient(ellipse at 35% 40%,#93ae78 0 26%,transparent 28%),#6c9bab}
.computer-icon-travel:after{left:11px;top:3px;width:9px;height:23px;border:1px solid #315e69;border-radius:50%}
#hangarComputerWindow{grid-column:1;grid-row:2;min-width:0;min-height:0;margin:12px;padding:12px;overflow:auto;overscroll-behavior:contain;scroll-padding:58px 12px 16px;border:2px outset #d4d8cb;background:#c4c8bd;color:#172623;box-shadow:4px 4px #11332f;font-family:Tahoma,Verdana,Arial,sans-serif}
#hangarComputerWindow .computer-window-bar{position:sticky;top:-12px;z-index:3;display:flex;align-items:center;gap:10px;min-height:44px;margin:-12px -12px 10px;padding:0 6px;background:#425e91;color:#f1f3e8;font:10px/1.3 Tahoma,Verdana,Arial,sans-serif}
#hangarComputerWindow .computer-window-back{min-width:96px;min-height:36px;margin:0;padding:6px 8px;border:2px outset #e0e2d6;border-radius:0;background:#c4c8bd;color:#162723;font:11px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
#customizer.hangar-computer-os h2{font:24px/1.2 Tahoma,Verdana,Arial,sans-serif;color:#152724;margin:10px 0 14px}
#hangarComputerWindow .custom-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px}
#hangarComputerWindow .custom-tabs button{min-width:64px;min-height:36px;margin:0;padding:7px 9px;border:2px outset #e0e2d6;border-radius:0;background:#b7bfb1;color:#1b2b25;font:10px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
#hangarComputerWindow .custom-tabs button.active{border-style:inset;background:#e0e3d6;color:#152724}
#hangarComputerWindow #customOptions fieldset{margin:14px 0 0;padding:12px 0 0;border:0;border-top:1px solid #7a8b7a}
#hangarComputerWindow #customOptions legend{padding-right:10px;color:#243c32;font:12px/1.3 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
#hangarComputerWindow .option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#hangarComputerWindow .custom-option{min-height:56px;padding:9px;border:2px outset #e0e2d6;border-radius:0;background:#cbd0c1;color:#162723;font:13px/1.3 Tahoma,Verdana,Arial,sans-serif;box-shadow:none}
#hangarComputerWindow .custom-option.equipped{border-style:inset;background:#9eaf96}
#hangarComputerWindow .custom-option small{color:#334a3b;font:9px/1.3 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
#hangarComputerWindow :is(.custom-copy,#accountState,#localSaveStatus,#characterSaveStatus,#customNotice,.account-identity,#pilotIdentity){color:#243c32;font:12px/1.5 Tahoma,Verdana,Arial,sans-serif}
#hangarComputerWindow #customNotice{min-height:18px;margin:10px 0 0}
#hangarComputerWindow .computer-aircraft-dispatch{min-width:0;margin:0 0 16px;padding:12px;border:2px groove #dce1d1}
#hangarComputerWindow .computer-aircraft-dispatch[hidden]{display:none!important}
#hangarComputerWindow .computer-aircraft-dispatch legend{padding:0 6px;color:#243c32;font:11px Tahoma,Verdana,Arial,sans-serif}
#hangarComputerWindow .computer-aircraft-dispatch label{display:block;margin:10px 0 5px;font-size:12px}
#hangarComputerWindow .computer-aircraft-dispatch select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:8px;border:2px inset #e0e2d6;border-radius:0;background:#eff1e7;color:#162723;font:13px Tahoma,Verdana,Arial,sans-serif;touch-action:manipulation}
#hangarComputerWindow .computer-aircraft-dispatch button{width:100%;min-height:44px;margin:8px 0 0;padding:9px;border:2px outset #e0e2d6;border-radius:0;background:#233c72;color:#f0f0df;font:bold 12px Tahoma,Verdana,Arial,sans-serif;touch-action:manipulation}
#hangarComputerWindow .computer-aircraft-dispatch button:disabled{background:#b7bfb1;color:#4c5c51;opacity:.8}
#hangarComputerWindow .computer-aircraft-dispatch :is(select,button):focus-visible{outline:2px solid #233c72;outline-offset:2px}
#hangarComputerWindow .computer-aircraft-dispatch p{margin:7px 0;color:#243c32;font:11px/1.5 Tahoma,Verdana,Arial,sans-serif}
#hangarComputerWindow .computer-aircraft-current{font-weight:bold!important}
#hangarComputerWindow .computer-aircraft-status{min-height:34px}
#hangarComputerWindow #profileCallsign{color:#1d3029;background:#edf0e2;border:2px inset #d6dacd}
#hangarComputerWindow :is(.solid,.secondary,.backup-actions button,.name-entry button){color:#172b24;background:#d0d4c6;border:2px outset #e0e2d6;border-radius:0}
#hangarComputerTaskbar{grid-column:1;grid-row:3;display:grid;grid-template-columns:74px 58px auto minmax(0,1fr);align-items:center;gap:4px;width:100%;height:44px;min-height:44px;box-sizing:border-box;margin:0;padding:3px 6px;border:0;border-top:2px outset #d4d8cb;background:#bfc5b6;color:#25392f;font:10px/1.3 Tahoma,Verdana,Arial,sans-serif}
#hangarComputerTaskbar button{height:36px;min-width:44px;min-height:36px;margin:0;padding:4px;border:2px outset #e0e2d6;border-radius:0;background:#cbd0c1;color:#172b24;font:9px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
#hangarComputerTaskbar strong{white-space:nowrap;font:10px/1.2 Tahoma,Verdana,Arial,sans-serif}
#hangarComputerTaskbar .computer-save-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font:9px/1.2 Tahoma,Verdana,Arial,sans-serif}
.phone-ui #customizer.hangar-computer-os{left:var(--phone-left);right:var(--phone-right);top:calc(var(--phone-viewport-top,0px) + var(--phone-hud-top));bottom:auto;transform:none;width:auto;height:calc(var(--phone-viewport-height,100dvh) - var(--phone-hud-top) - var(--phone-bottom));padding:0;border-radius:0;grid-template-rows:44px minmax(0,1fr) 50px}
.phone-ui #hangarComputerDesktop{grid-template-columns:repeat(3,minmax(64px,1fr));grid-auto-rows:92px;gap:6px;padding:12px}
.phone-ui #hangarComputerDesktop .computer-app{height:92px;min-height:80px;font-size:10px}
.phone-ui #hangarComputerWindow{margin:5px;padding:9px;scroll-padding:58px 9px 12px}
.phone-ui #hangarComputerWindow .computer-window-bar{top:-9px;margin:-9px -9px 9px;padding:0 4px}
.phone-ui #hangarComputerWindow :is(.computer-window-back,.custom-tabs button){min-height:44px}
.phone-ui #hangarComputerWindow .custom-tabs{gap:3px}
.phone-ui #hangarComputerWindow .custom-tabs button{min-width:61px;flex:1;padding:7px 4px;font-size:9px}
.phone-ui #hangarComputerWindow .option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.phone-ui #hangarComputerWindow .custom-option{min-height:54px;padding:9px;font-size:12px}
.phone-ui #hangarComputerTaskbar{height:50px;min-height:50px;grid-template-columns:70px 52px auto minmax(0,1fr);gap:3px;padding:2px 3px}
.phone-ui #hangarComputerTaskbar button{min-height:44px;height:44px}
.phone-ui #hangarComputerTaskbar strong{font-size:8px}.phone-ui #hangarComputerTaskbar .computer-save-status{font-size:7px}
@media(max-height:430px) and (orientation:landscape){
 .phone-ui #hangarComputerDesktop{grid-template-columns:repeat(5,minmax(64px,1fr));grid-auto-rows:86px;gap:4px;padding:5px}
 .phone-ui #hangarComputerDesktop .computer-app{height:86px;min-height:80px}
 #customizer.hangar-computer-os{height:calc(100dvh - 20px);width:calc(100vw - 28px)}
}

/* Still photographs live inside the OS. They never reposition the game view.
   Weapon studies borrow the same held mesh and finish as the live armory. */
#hangarComputerEditor{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:16px;align-items:start;min-width:0}
#hangarComputerEditor[data-preview=false]{display:block}
#hangarComputerPreview{position:sticky;top:42px;min-width:0;margin:14px 0 0;padding:0;border:2px inset #d2d9cc;background:#153640;color:#c9e3da;font:10px/1.4 "Courier New",monospace;overflow:hidden}
#hangarComputerPreview[hidden],#hangarComputerPreviewWeapons[hidden],#hangarComputerCategories[hidden],#hangarComputerPilotCategories[hidden],#hangarComputerPreviewVehicles[hidden],#hangarComputerVehicleCategories[hidden]{display:none!important}
.computer-preview-bar{display:flex;justify-content:space-between;gap:6px;min-height:24px;padding:5px 7px;box-sizing:border-box;background:#1c4a54;color:#b7dbd3;font-size:9px;letter-spacing:.02em}
.computer-preview-bar>span:last-child{font-size:7px;align-self:center;text-align:right;color:#7baca8}
.computer-preview-stage{position:relative;min-width:0;aspect-ratio:16 / 9;background:#102b35;overflow:hidden}
#hangarComputerPreviewCanvas{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:transparent}
#hangarComputerPreviewCanvas[hidden]{visibility:hidden}
.computer-blueprint-marks{display:none}
#hangarComputerPreview[data-blueprint=true] .computer-preview-stage{background-color:#0a2938;background-image:linear-gradient(#57918c26 1px,transparent 1px),linear-gradient(90deg,#57918c26 1px,transparent 1px),linear-gradient(#57918c12 1px,transparent 1px),linear-gradient(90deg,#57918c12 1px,transparent 1px);background-size:40px 40px,40px 40px,8px 8px,8px 8px}
#hangarComputerPreview[data-blueprint=true] .computer-blueprint-marks{position:absolute;inset:7px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;pointer-events:none;border:1px solid #82bbae40;color:#9bc9ba9c;font-size:7px;letter-spacing:.02em}
.computer-blueprint-marks span{padding:3px}.computer-blueprint-marks span:nth-child(even){text-align:right}.computer-blueprint-marks span:nth-child(n+3){align-self:end}
#hangarComputerPreviewCaption{display:flex;flex-direction:column;gap:4px;min-height:49px;padding:8px 9px;box-sizing:border-box;border-top:1px solid #62867d;background:#15363e;color:#d2e5d4}
#hangarComputerPreviewTitle{font-size:11px;line-height:1.3;overflow-wrap:anywhere;font-weight:normal}
#hangarComputerPreviewNote{font-size:8px;line-height:1.4;color:#94b8a7}
#hangarComputerPreviewWeapons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:7px;border-top:1px solid #62867d;background:#0e2b33}
#hangarComputerPreviewWeapons button{min-width:0;min-height:36px;margin:0;padding:5px;border:1px solid #557d73;border-radius:0;background:#163d44;color:#b8dbcb;box-shadow:none;font:9px/1.3 "Courier New",monospace;letter-spacing:0}
#hangarComputerPreviewWeapons button[aria-pressed=true]{background:#b4c7ab;color:#123136;border-color:#d8dfc9}
#hangarComputerEditor #customOptions{min-width:0}
#hangarComputerOptions{min-width:0}
#hangarComputerEditor .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.phone-ui #hangarComputerEditor{gap:9px}
.phone-ui #hangarComputerPreviewWeapons button{min-height:44px}
@media(max-width:600px){
 #hangarComputerEditor{grid-template-columns:minmax(0,1fr);gap:0}
 #hangarComputerPreview{position:relative;top:auto;margin-top:0}
 .computer-preview-stage{height:clamp(110px,28vw,155px);aspect-ratio:auto}
 #hangarComputerPreviewWeapons{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:5px}
 #hangarComputerPreviewWeapons button{font-size:8px}
 #hangarComputerPreviewCaption{min-height:43px;padding:6px 8px}
 .computer-preview-bar>span:last-child{display:none}
}
@media(max-height:430px) and (orientation:landscape){
 #hangarComputerEditor{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:10px}
 #hangarComputerPreview{position:sticky;top:42px;margin-top:0}
 .computer-preview-stage{height:auto;aspect-ratio:16 / 9}
 #hangarComputerPreviewWeapons{grid-template-columns:repeat(2,minmax(0,1fr))}
 #hangarComputerPreviewWeapons button{font-size:8px}
}

/* Hangar, character and armory labs: one fixed photograph and native swipe wheels.
   The browser page and OS window stay still while the strips scroll. */
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerWindow{display:flex;flex-direction:column;overflow:hidden;scroll-padding:0}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerWindow>.computer-window-bar{position:relative;top:auto;flex:none;min-height:44px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) :is(#customTitle,.custom-tabs,#customNotice){display:none}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerEditor{flex:1;min-height:0;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);align-items:stretch;gap:12px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreview{position:relative;top:auto;display:grid;grid-template-rows:24px minmax(0,1fr) auto;min-height:0;margin:0}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .computer-preview-stage{height:auto;min-height:0;aspect-ratio:auto}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreviewCaption{min-height:44px;gap:3px;padding:7px 8px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreviewTitle{font-size:12px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerOptions{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0;min-height:0}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #customOptions{display:flex;flex-direction:column;gap:14px;min-height:0}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #customOptions fieldset{min-width:0;margin:0;padding:0;border:0}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #customOptions legend{display:none}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) :is(#hangarComputerPreviewWeapons,#hangarComputerCategories,#hangarComputerPilotCategories,#hangarComputerPreviewVehicles,#hangarComputerVehicleCategories){display:block;padding:0;border:0;background:transparent}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;height:20px;padding:0 2px;color:#314839;font:10px/1.2 Tahoma,Verdana,Arial,sans-serif}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-count{color:#455d4b;font-size:9px;font-variant-numeric:tabular-nums}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-body{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:3px;align-items:stretch;height:60px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip{position:relative;display:flex;align-items:stretch;gap:6px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:0;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain;touch-action:pan-x;cursor:grab}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip:before,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip:after{content:'';flex:0 0 calc(50% - 68px)}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip::-webkit-scrollbar{display:none}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>button{flex:0 0 124px;scroll-snap-align:center;scroll-snap-stop:always;box-sizing:border-box;min-width:0;min-height:44px;height:60px;margin:0;padding:5px;border:2px outset #e1e5d5;border-radius:0;background:#b3bdaa;color:#233d30;font:11px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0;box-shadow:none;white-space:normal;text-align:center;touch-action:pan-x;user-select:none}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>button[data-wheel-current=true]{border:2px inset #dbe6ca;background:#1d4a4a;color:#f1f4df;outline:1px solid #304f3d;outline-offset:-4px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>button:focus-visible{outline:2px dotted #d9fa80;outline-offset:-5px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) button.selection-wheel-arrow{min-width:44px;width:44px;min-height:44px;height:60px;margin:0;padding:0;border:2px outset #e1e5d5;border-radius:0;background:#bfc8b5;color:#233d30;font:28px/1 Tahoma,Verdana,Arial,sans-serif;box-shadow:none;touch-action:manipulation}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:1fr auto;gap:1px 5px;text-align:left}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option i{grid-column:1;grid-row:1/3;width:30px;height:34px;border-radius:0;border:1px inset #a0b5a0;background-size:16px 16px!important}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option span{grid-column:2;font-size:11px}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option small{grid-column:2;color:inherit;font:8px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0;opacity:.8}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .armory-apply{display:flex;flex-direction:column;gap:5px;min-width:0}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) button.armory-apply-button{width:100%;min-height:44px;height:44px;margin:0;padding:7px;border:2px outset #e4eccd;border-radius:0;background:#285654;color:#f0f4da;font:bold 11px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:.03em;box-shadow:none}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) button.armory-apply-button[aria-disabled=true]{background:#8ea68b;color:#213d2d;border-style:inset}
#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .armory-apply>small{color:#354b3b;font:9px/1.3 Tahoma,Verdana,Arial,sans-serif;text-align:center}
/* Longer room-option names keep their swatch, name and state legible. */
#customizer:is([data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .computer-option-wheel .selection-wheel-strip>button{flex-basis:160px}
#customizer:is([data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .computer-option-wheel .selection-wheel-strip:before,#customizer:is([data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .computer-option-wheel .selection-wheel-strip:after{flex-basis:calc(50% - 86px)}
/* Callsign editing stays directly below the character photograph. Keep the original save
   handlers and accessible status; the taskbar already shows local/cloud state. */
#customizer[data-section="pilot"] #hangarComputerPreview{grid-template-rows:24px minmax(0,1fr) auto auto}
#customizer[data-section="pilot"] #pilotIdentity{display:grid;gap:4px;min-width:0;margin:0;padding:6px;background:#c4c8bd;border-top:1px solid #62867d}
#customizer[data-section="pilot"] #pilotIdentity label{color:#314839;font:10px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
#customizer[data-section="pilot"] #pilotIdentity .name-entry{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:4px;min-width:0}
#customizer[data-section="pilot"] #profileCallsign{box-sizing:border-box;width:100%;min-width:0;min-height:44px;height:44px;margin:0;padding:5px 7px;font:16px/1.2 Tahoma,Verdana,Arial,sans-serif}
#customizer[data-section="pilot"] #saveCharacterName{box-sizing:border-box;width:76px;min-width:44px;min-height:44px;height:44px;margin:0;padding:4px;font:10px/1.2 Tahoma,Verdana,Arial,sans-serif}
#customizer[data-section="pilot"] #pilotIdentity>small{display:none}
#customizer[data-section="pilot"] #characterSaveStatus{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
#customizer[data-section="pilot"] #profileCallsign[aria-invalid="true"]{border-color:#963e34}
#customizer[data-section="pilot"] #pilotIdentity[data-name-error="true"] #characterSaveStatus{position:static;width:auto;height:auto;clip-path:none;margin:0;color:#83382f;font:10px/1.25 Tahoma,Verdana,Arial,sans-serif}
@media(max-width:600px){
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerEditor{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(90px,1fr) auto;gap:8px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .computer-preview-bar{display:none}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreview{grid-template-rows:minmax(0,1fr) auto}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerOptions{gap:6px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #customOptions{gap:8px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-body{height:52px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>button,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) button.selection-wheel-arrow{height:52px}
 #customizer[data-section="pilot"] #hangarComputerEditor{grid-template-rows:minmax(150px,1fr) auto}
 #customizer[data-section="pilot"] #hangarComputerPreview{grid-template-rows:minmax(0,1fr) auto auto}
}
@media(max-height:600px){
 #customizer.hangar-computer-os:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]){grid-template-rows:44px minmax(0,1fr)}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerTaskbar{display:none}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-heading{height:16px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-body,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>button,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) button.selection-wheel-arrow{height:44px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option i{height:27px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option span{font-size:10px}
}
@media(max-height:480px) and (orientation:landscape){
 #customizer[data-section="pilot"] #pilotIdentity{gap:0;padding:4px}
 #customizer[data-section="pilot"] #pilotIdentity label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerEditor{grid-template-columns:minmax(0,1.15fr) minmax(240px,1fr);grid-template-rows:minmax(0,1fr);gap:8px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerOptions,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #customOptions{gap:4px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-heading,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .armory-apply>small{display:none}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-body,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>button,#customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) button.selection-wheel-arrow{height:44px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option i{height:27px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreviewCaption{min-height:36px;padding:4px 6px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreviewTitle{font-size:10px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .computer-preview-bar{display:none}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerPreview{grid-template-rows:minmax(0,1fr) auto}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerWindow{margin:3px;padding:5px}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerWindow>.computer-window-bar{margin:-5px -5px 4px}
 #customizer[data-section="pilot"] #hangarComputerPreview{grid-template-rows:minmax(0,1fr) auto auto}
 #customizer[data-section="pilot"] #hangarComputerEditor{grid-template-rows:minmax(0,1fr)}
}

@media(max-height:360px) and (orientation:landscape){
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerWindow>.computer-window-bar{display:none}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"])>.customizer-head .micro{visibility:hidden}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) #hangarComputerCompactBack{position:absolute;left:4px;top:0;display:block;min-width:104px;width:104px;min-height:44px;height:44px;margin:0;padding:6px;border:2px outset #e0e2d6;border-radius:0;background:#c4c8bd;color:#162723;font:11px/1.2 Tahoma,Verdana,Arial,sans-serif;letter-spacing:0}
 #customizer:is([data-section="weapons"],[data-section="hangar"],[data-section="pilot"],[data-section="vehicles"]) .selection-wheel-strip>.custom-option span{font-size:10px}
}

/* Vehicle studies use the same bounded still and settled swipe controls. */
.computer-icon-vehicles:before{left:2px;top:10px;width:26px;height:10px;background:#713b35;box-shadow:4px -5px #713b35}
.computer-icon-vehicles:after{left:5px;top:18px;width:6px;height:6px;background:#23352e;box-shadow:15px 0 #23352e}
#customizer[data-section="vehicles"] #hangarComputerOptions{gap:9px}
#customizer[data-section="vehicles"] #customOptions{gap:10px}
@media(max-width:600px){#customizer[data-section="vehicles"] #hangarComputerOptions{gap:3px}#customizer[data-section="vehicles"] #customOptions{gap:5px}#customizer[data-section="vehicles"] .selection-wheel-heading{height:16px}}
/* Three garage choices share two control rows on very short screens. Keep the
   vehicle and part swipes beside each other so Apply stays reachable. */
@media(max-height:480px) and (orientation:landscape){
 #customizer[data-section="vehicles"] #hangarComputerOptions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);gap:4px}
 #customizer[data-section="vehicles"] #hangarComputerPreviewVehicles{grid-column:1;grid-row:1}
 #customizer[data-section="vehicles"] #hangarComputerVehicleCategories{grid-column:2;grid-row:1}
 #customizer[data-section="vehicles"] #customOptions{grid-column:1/3;grid-row:2;gap:4px}
 #customizer[data-section="vehicles"] :is(#hangarComputerPreviewVehicles,#hangarComputerVehicleCategories) .selection-wheel-body{grid-template-columns:minmax(0,1fr)}
 #customizer[data-section="vehicles"] :is(#hangarComputerPreviewVehicles,#hangarComputerVehicleCategories) .selection-wheel-arrow{display:none}
 #customizer[data-section="vehicles"] :is(#hangarComputerPreviewVehicles,#hangarComputerVehicleCategories) .selection-wheel-strip>button{flex-basis:100%}
 #customizer[data-section="vehicles"] :is(#hangarComputerPreviewVehicles,#hangarComputerVehicleCategories) .selection-wheel-strip:before,#customizer[data-section="vehicles"] :is(#hangarComputerPreviewVehicles,#hangarComputerVehicleCategories) .selection-wheel-strip:after{display:none}
}
