.officerCorps{--officer-line:#81917438;--officer-muted:#b7bfad;color:var(--ui-text,#eeeadd);min-width:0}.officerOverview{display:flex;gap:16px;flex-wrap:wrap;padding:15px 0 20px;border-bottom:1px solid var(--officer-line);color:var(--officer-muted);font-size:12px}.officerOverview b{font-size:22px;color:#e5e5ce;margin-right:4px}.officerCard{border:1px solid var(--officer-line);border-radius:14px;background:#202923;padding:20px;margin:20px 0;min-width:0}.officerCard>header{display:flex;align-items:center;gap:17px;padding-bottom:18px}.officerCard>header>.rank-insignia{width:48px;height:67px;flex:0 0 48px}.officerCard>header>div{min-width:0}.officerRankTitle{font-size:13px;color:#d4c69c}.officerCard h3{font-size:23px!important;font-weight:550!important;line-height:1.2;margin:5px 0 7px!important;overflow-wrap:anywhere}.officerCard small{font-size:12px;color:var(--officer-muted);line-height:1.5}.officerPosting{display:grid;gap:5px;padding:13px 15px;border-radius:10px;background:#71855720;border:1px solid #8e9d7440}.officerPosting>span{font-size:11px;color:var(--officer-muted)}.officerPosting>b{font-size:15px}.officerPosting>button{justify-self:start;margin:5px 0 0!important}.officerProgress{margin:22px 0}.officerProgress>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--officer-muted)}.officerProgress progress{appearance:none;width:100%;display:block;height:5px;margin:12px 0;border:0;border-radius:8px;background:#3f4b3a;accent-color:#cbb986}.officerProgress progress::-webkit-progress-bar{background:#3f4b3a}.officerProgress progress::-webkit-progress-value{background:#cbb986;border-radius:8px}.officerProgress p{font-size:13px!important;margin:8px 0!important;color:#d1d6c5!important}.officerExpertise{display:grid;gap:7px;padding:14px 0 20px;font-size:13px}.officerExpertise>span{font-size:12px;color:var(--officer-muted);line-height:1.5}.officerCard>details{border:0!important;border-top:1px solid var(--officer-line)!important;padding:0!important;border-radius:0!important;background:transparent!important;margin:0!important}.officerCard>details>summary{min-height:48px!important;padding:14px 0!important;font-size:14px!important}.officerCard p,.officerRules p,.officerCommission p{font-size:13px;line-height:1.65;color:#bfc8b7}.officerSkill{display:grid;gap:9px;padding:15px 0;border-top:1px solid var(--officer-line)}.officerSkill small{display:block;margin:5px 0}.officerSkill button{justify-self:start}.officerCard button,.officerCommission button{min-height:42px;padding:10px 13px!important;border-radius:9px!important;font-size:13px!important;white-space:normal;box-shadow:none!important}.officerCorps label{display:grid;gap:8px;margin:15px 0;font-size:13px;color:#c9d0c0}.officerCorps input,.officerCorps select{width:100%;min-width:0;min-height:46px;box-sizing:border-box;padding:10px 11px;background:#172119;border:1px solid #70845b88;border-radius:9px;color:#eeeadd;font-size:16px}.officerCommission{padding:18px!important;border:1px solid var(--officer-line)!important;border-radius:13px!important;background:#232c23!important;margin:20px 0!important}.officerCommission>summary{font-size:15px!important;line-height:1.5}.officerRecord{padding:13px 0;border-bottom:1px solid var(--officer-line);display:grid;gap:5px}.officerRecord>b{font-size:13px}.officerLadder{list-style:none;padding:0;margin:18px 0}.officerLadder li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--officer-line);font-size:13px}.officerLadder .rank-insignia{width:26px;height:36px}.officerLadder li.current{color:#dfd1a7;font-weight:600}.officerEmpty{padding:18px 0}.officerEmpty h3{font-size:21px}
.unitOfficer{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 0;color:#e0d6b4;font-weight:400}.unitOfficer>.rank-insignia{width:24px;height:34px;flex:0 0 24px}.unitOfficer>span:not(.rank-insignia){display:grid;gap:3px;min-width:0}.unitOfficer b{font-size:12px!important;font-weight:550!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}.unitOfficer small{font-size:10px!important;font-weight:400;line-height:1.4;color:#bac4ae;white-space:normal!important}.unitOfficer.compactOfficer{display:inline-flex;vertical-align:middle;padding:0;margin-right:5px;width:16px;height:23px;flex:0 0 16px;gap:0}.compactOfficer>.rank-insignia{width:16px;height:23px;flex:0 0 16px}.officerMarkText{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.mapOfficer{display:inline-flex;align-items:center;vertical-align:middle;margin-left:5px;flex:0 0 auto}.mapOfficer .compactOfficer{width:13px;height:20px;margin-right:0}.mapOfficer .rank-insignia{width:13px;height:20px;flex-basis:13px}.mapbadge.compact .mapOfficer{position:absolute;right:-4px;top:-4px;background:#263222;border-radius:3px;padding:1px 3px}.mapbadge .mapUnitTitle{min-width:0}.forceUnitActions>.unitOfficer{flex:1 1 100%;padding:10px 0}.forceUnitIdentity>b,.quickUnitIdentity>b{display:flex;align-items:center;min-width:0}.fieldOfficer{display:block!important;border:0!important;box-shadow:none!important;background:transparent!important;min-height:0!important;padding:0!important;text-align:left;margin-top:2px!important;max-width:100%}.fieldOfficer[hidden]{display:none!important}.fieldOfficer .unitOfficer{padding:3px 0;gap:6px}.fieldOfficer .rank-insignia{width:18px;height:27px;flex-basis:18px}.fieldOfficer .unitOfficer small{display:none}.fieldOfficer .unitOfficer b{font-size:11px!important}.unitOfficerOrder{border-bottom:1px solid #71815b55;padding:6px 0 10px}.unitOfficerOrder>button{font-size:12px!important;min-height:36px!important}.readinessBody>.unitOfficer{margin-bottom:10px}#unitSelectList .unitOfficer{padding:5px 0}#unitSelectList .unitOfficer .rank-insignia{width:21px;height:29px;flex-basis:21px}
.officerPromotion{position:fixed;z-index:240;bottom:calc(110px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(420px,calc(100vw - 32px));box-sizing:border-box;background:linear-gradient(135deg,#3d4931,#1c2921 75%);border:1px solid #c6b47a99;border-radius:17px;box-shadow:0 18px 50px #0008;display:flex;gap:18px;padding:22px 38px 22px 18px;pointer-events:auto;color:#f0ead4}.officerPromotionBadge{display:grid;align-content:start;padding-top:8px}.officerPromotionBadge>.rank-insignia{width:47px;height:65px}.officerPromotion>div:last-child{min-width:0}.officerPromotion span:not(.rank-insignia){font-size:12px;color:#d8c590}.officerPromotion h3{font-size:19px!important;line-height:1.3;margin:6px 0 9px!important;overflow-wrap:anywhere}.officerPromotion b{font-size:13px;font-weight:500}.officerPromotion p{font-size:12px;line-height:1.5;color:#c4cdb9;margin:10px 0}.officerPromotionDismiss{position:absolute;right:6px;top:6px;min-width:36px;min-height:36px;padding:7px;background:transparent;border:0;color:#e1dfcc;font-size:20px}.officerPromotionView{min-height:40px;padding:9px 13px;border:1px solid #b2aa7855;border-radius:8px;background:#71855755;color:#eee8cd;font-size:12px}
@media(max-width:350px){.officerCard{padding:15px}.officerCard>header{gap:12px}.officerCard h3{font-size:20px!important}.officerCard>header>.rank-insignia{width:39px;height:56px;flex-basis:39px}.officerOverview{gap:12px}.officerPromotion{padding:19px 32px 18px 14px;gap:12px}.officerPromotion h3{font-size:17px!important}}
@media(prefers-reduced-motion:no-preference){.officerPromotion{animation:officerArrival .45s cubic-bezier(.2,.8,.2,1)}.officerPromotionBadge{animation:officerGlow 1.3s ease-out}@keyframes officerArrival{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}@keyframes officerGlow{0%{filter:brightness(1)}35%{filter:brightness(1.7);scale:1.08}100%{filter:brightness(1);scale:1}}}

/* Unit attachments own their dimensions; commander and promotion badges stay larger. */
.gameShell .unitOfficer{--officer-mark-width:24px;--officer-mark-height:34px;position:relative;max-width:100%;box-sizing:border-box}
.gameShell .unitOfficer>.rank-insignia{box-sizing:border-box;width:var(--officer-mark-width);height:var(--officer-mark-height);min-width:0;min-height:0;flex:0 0 var(--officer-mark-width);padding:1px;border-radius:4px;box-shadow:none}
.gameShell .unitOfficer.compactOfficer{--officer-mark-width:16px;--officer-mark-height:23px}
.gameShell .mapOfficer .compactOfficer{--officer-mark-width:13px;--officer-mark-height:20px}
.gameShell .mapbadge.compact .mapOfficer{right:-5px;top:-6px;padding:2px;border:1px solid #9f9b6b80;border-radius:5px;background:#202c25;box-shadow:0 2px 5px #0005;pointer-events:none}
.gameShell .fieldOfficer .unitOfficer{--officer-mark-width:18px;--officer-mark-height:27px}
.gameShell #unitSelectList{display:flex;flex-direction:column;align-items:stretch}
.gameShell #unitSelectList>button{height:auto;flex:0 0 auto;align-items:center}
.gameShell #unitSelectList>button>span{display:grid;gap:5px;min-width:0}
.gameShell #unitSelectList>button>span>small{margin:0}
.gameShell #unitSelectList .unitOfficer{--officer-mark-width:12px;--officer-mark-height:18px;display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:7px 0;margin:0;align-items:center;border:0}
.gameShell #unitSelectList .unitOfficer>.rank-insignia{position:absolute;left:21px;top:calc(50% - 2px);width:var(--officer-mark-width);height:var(--officer-mark-height);flex-basis:var(--officer-mark-width)}
.gameShell #unitSelectList .unitOfficer>.officerPortrait.smallPortrait{width:30px;height:30px;min-width:0;border-radius:5px}
.gameShell #unitSelectList .unitOfficer b{font-size:11px!important;line-height:1.45!important;color:#dfd2af}
.gameShell #unitSelectList .unitOfficer small{font-size:10px!important;line-height:1.4;margin:2px 0 0}
.gameShell .officerLadder .rank-insignia{box-sizing:border-box;min-width:0;min-height:0;padding:1px;border-radius:4px}
@media(max-width:350px){.gameShell #unitSelectList>button{grid-template-columns:36px minmax(0,1fr) 16px;gap:10px}.gameShell #unitSelectList .unitPortrait{width:36px;height:44px}.gameShell #unitSelectList>button>i{width:16px}}

/* Promotion notices are bounded by the visible viewport, including mobile browser chrome. */
.gameShell .officerPromotion{--officer-safe-top:env(safe-area-inset-top,0px);--officer-safe-bottom:env(safe-area-inset-bottom,0px);top:calc(12px + env(safe-area-inset-top,0px));bottom:auto;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;align-items:flex-start}
.gameShell .officerPromotion>div:last-child{padding-top:4px}.gameShell .officerPromotionDismiss{position:sticky;top:0;order:3;flex:0 0 36px;margin:-14px -30px 0 -8px;min-width:36px;min-height:36px;z-index:1;border-radius:8px;background:#253228;color:#f0ead4}
@media(max-width:350px){.gameShell .officerPromotionDismiss{margin-right:-26px;margin-left:-10px}}
@media(prefers-reduced-motion:no-preference){.gameShell .officerPromotion{animation-name:officerArrivalBounded}@keyframes officerArrivalBounded{from{opacity:0}to{opacity:1}}}
