/* Range progression stays behind one unbacked glyph and a requested dialog. */
#greg-ability-cycle,#greg-jump{display:inline-grid;place-items:center;width:46px;height:46px;min-width:44px;min-height:44px;padding:10px;border:0!important;background:transparent!important;box-shadow:none!important;color:#fff;pointer-events:auto;touch-action:manipulation}
#greg-ability-cycle svg,#greg-jump svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #000c)}
#greg-ability-cycle:disabled,#greg-jump:disabled{opacity:.4}
#range-career-open,#mobile-career-open,#greg-weapon-cycle,#greg-ability-activate{display:inline-grid;place-items:center;position:relative;width:46px;height:46px;min-width:44px;min-height:44px;padding:10px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#fff;pointer-events:auto;touch-action:manipulation;line-height:1}
#range-career-open svg,#mobile-career-open svg,#greg-weapon-cycle svg,#greg-ability-activate svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 2px #ffffff70) drop-shadow(0 1px 2px #000c);pointer-events:none}
#range-career-open:hover,#mobile-career-open:hover,#greg-weapon-cycle:hover{color:#e1f0b9}#greg-ability-activate{color:#c2e9ff}#greg-ability-activate:disabled,#greg-weapon-cycle:disabled{opacity:.4;cursor:default}
#mobile-career-open{display:none}.mobile-hud #mobile-career-open{display:inline-grid;width:44px;height:44px}.mobile-hud #range-career-open{display:none}
.range-career-actions{display:flex;gap:6px;position:absolute;right:24px;bottom:260px;z-index:8;pointer-events:none}.range-career-actions button{pointer-events:auto}.range-career-count{position:absolute;right:0;bottom:0;font-size:11px;line-height:1.25;font-weight:600;color:#e1f4ff;text-shadow:0 1px 3px #000}
.range-career-tracker{position:absolute;top:78px;left:24px;width:min(300px,calc(100vw - 48px));padding:11px 34px 10px 12px;border-left:2px solid #d8e6a4a6;border-radius:0 5px 5px 0;background:#11211ce0;color:#ecf0e5;z-index:7;pointer-events:none;box-shadow:0 3px 18px #0002}.range-career-tracker strong{display:block;font-size:12px;line-height:1.45;font-weight:600}.range-career-tracker p{font-size:11px;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.range-career-tracker small{font-size:10px;color:#bacbb7}.range-career-tracker-close{position:absolute;right:0;top:0;min-width:34px;min-height:38px;padding:0;border:0;background:transparent;pointer-events:auto;font-size:21px;color:#d4e2ce}
#range-career-dialog{width:min(820px,calc(100vw - 32px));max-width:820px;max-height:calc(100dvh - 40px);padding:24px;border:1px solid #bed0bd4d;border-radius:10px;background:#13231d;color:#edf1e7;overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 70px #0007}#range-career-dialog::backdrop{background:#07110ccc;backdrop-filter:blur(3px)}
#range-career-dialog button,#range-career-dialog select{min-height:44px;font-size:13px;line-height:1.4}#range-career-dialog button:disabled{cursor:default;opacity:.45}#range-career-dialog button:focus-visible,#range-career-dialog select:focus-visible,#range-career-dialog summary:focus-visible{outline:2px solid #d8e6a4;outline-offset:3px}
.range-career-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.range-career-heading h2{flex:1;margin:0;padding-top:7px;font-size:22px;font-weight:500;line-height:1.3;letter-spacing:0}.range-career-close{flex:none;padding:10px 12px;background:transparent}
.range-career-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:20px}.range-career-tabs button{padding:10px 12px;border-color:#b9cdb738;background:#192e24}.range-career-tabs button[aria-selected=true]{color:#f1f6dc;border-color:#d8e6a4;background:#324332}
.range-career-panel{font-size:13px;line-height:1.6;min-width:0}.range-career-panel h3{font-size:17px;font-weight:500;margin:0 0 10px;color:#eaf0df}.range-career-panel h4{font-size:13px;font-weight:600;margin:14px 0 8px}.range-career-panel p{margin:8px 0 12px}.range-career-muted{color:#b7c7b5;font-size:12px;line-height:1.65}.range-career-card{padding:16px;border:1px solid #b9cdb730;border-radius:7px;background:#1a2c23;margin:14px 0}.range-career-eyebrow{display:block;color:#d8e6a4;font-size:10px;letter-spacing:.15em;margin-bottom:7px}.range-career-objective{color:#edf4cf;font-weight:500}.range-career-card small{color:#bdd0b7;font-size:11px}.range-career-card-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}.range-career-card-actions button{border-color:#b7d48e88;background:#30462d}
.range-career-field{display:grid;gap:7px;min-width:0;margin:10px 0;font-size:12px}.range-career-field select{width:100%;min-width:0;max-width:100%;background:#15291f;color:#eaf0df}.range-career-checkbox{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.range-career-checkbox input{width:22px;height:22px;margin:0;accent-color:#bfd593}.range-career-slot-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.range-career-slot-grid .range-career-field{margin:0}
.range-career-panel details{border-top:1px solid #bed0bd29;padding-top:10px;margin-top:18px}.range-career-panel summary{cursor:pointer;min-height:44px;padding:10px 0;color:#dfebd0;font-size:13px}.range-career-sequence ol,.range-career-collection ul{list-style:none;padding:0;margin:6px 0}.range-career-sequence li{display:flex;gap:12px;align-items:baseline;justify-content:space-between;border-top:1px solid #b9cdb71a;padding:9px 0;font-size:12px}.range-career-sequence li small{flex:none;font-size:10px;color:#b6c9af}.range-career-sequence li[data-state=locked]{color:#95a891}.range-career-sequence li[data-state=complete] small{color:#c3df99}.range-career-collection ul{display:grid;grid-template-columns:1fr 1fr;gap:12px}.range-career-collection li{padding:12px;border:1px solid #b9cdb72a;border-radius:5px}.range-career-collection li strong{font-size:12px;font-weight:500}.range-career-collection li small{display:block;color:#d3e6ad;font-size:10px;margin-top:4px}.range-career-collection li p{margin:7px 0 0;font-size:11px}
.range-career-balance{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #bdd1b333}.range-career-balance strong{font-size:15px;font-weight:500}.range-career-balance small{font-size:11px;color:#bdcdb5}.range-career-station{font-size:12px;color:#e6d7af}.range-career-upgrades{margin-top:24px}.range-career-upgrade{display:flex;align-items:center;gap:16px;padding:13px 0;border-top:1px solid #bbceb42d}.range-career-upgrade>div{flex:1;min-width:0}.range-career-upgrade strong{display:block;font-size:13px;font-weight:500}.range-career-upgrade small{display:block;color:#b7c7b1;font-size:11px;margin-top:4px}.range-career-upgrade button{flex:none;min-width:132px;max-width:42%;padding:8px 12px}.range-career-status{min-height:1.6em;font-size:12px;line-height:1.6;color:#efdfa8;margin:16px 0 0;overflow-wrap:anywhere}
#range-career-dialog.range-career-quick-dialog{max-width:420px}.range-career-quick-dialog .range-career-heading h2{font-size:20px}.mobile-map-open .range-career-actions,.mobile-map-open .range-career-tracker,.ship-navigation-open .range-career-actions,.ship-navigation-open .range-career-tracker{display:none}
@media(pointer:coarse),(max-width:760px){.range-career-actions{right:max(18px,env(safe-area-inset-right));bottom:max(212px,calc(env(safe-area-inset-bottom) + 190px));gap:10px}.range-career-actions button{width:50px;height:50px}.range-career-tracker{top:70px;left:16px;width:min(292px,calc(100vw - 32px));padding-top:9px;padding-bottom:8px}.range-career-tracker strong{font-size:11px}.range-career-tracker p{font-size:10px}.mobile-hud:has(#mobile-tutorial:not([hidden])) .range-career-tracker{display:none}#range-career-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px}.range-career-heading h2{font-size:20px;padding-top:5px}.range-career-heading{gap:8px}.range-career-tabs{gap:6px}.range-career-tabs button{font-size:12px!important;padding:10px 7px}.range-career-card{padding:13px}.range-career-slot-grid{grid-template-columns:1fr;gap:10px}.range-career-collection ul{grid-template-columns:1fr}.range-career-upgrade{gap:10px}.range-career-upgrade button{min-width:112px;max-width:43%;font-size:12px!important}.range-career-upgrade strong{font-size:12px}}
@media(max-height:520px){.mobile-hud .range-career-actions{bottom:max(16px,env(safe-area-inset-bottom));right:180px;gap:6px}.mobile-hud .range-career-actions button{width:46px;height:46px}.mobile-hud .range-career-tracker{left:16px;max-width:240px;top:64px}#range-career-dialog{max-height:calc(100dvh - 18px)}.range-career-heading{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){#range-career-dialog::backdrop{backdrop-filter:none}}

.range-career-action-notice{position:absolute;right:24px;bottom:316px;max-width:260px;z-index:9;padding:7px 10px;border-radius:4px;background:#14251ee8;color:#e4eed9;font-size:11px;line-height:1.5;pointer-events:none}
@media(pointer:coarse),(max-width:760px){.range-career-action-notice{right:18px;bottom:268px;max-width:220px;font-size:10px}}
@media(max-height:520px){.mobile-hud .range-career-action-notice{right:180px;bottom:68px;max-width:220px}}
.desktop-hud .mobile-context-guide.range-mission-guidance{display:block}
.desktop-hud .mobile-context-guide #mobile-guide-replay{display:none}
.range-entry-modes{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.range-entry-modes button{margin:0!important;min-width:150px}#range-mode-description{max-width:460px;font-size:13px;line-height:1.6;color:#bac8b8}
.range-mission-mode .activity-status{display:none!important}
.range-mission-checklist{padding-left:22px;margin:18px 0;font-size:12px;line-height:1.65}.range-mission-checklist li{padding:4px 0;color:#aabfb4}.range-mission-checklist li[data-state=current]{color:#c0ffe7}.range-mission-checklist li[data-state=complete]{color:#92c2aa}
.range-play-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}.range-play-modes button[aria-pressed=true]{background:#365148;border-color:#9fe8d0;color:#f1fff5}
.range-mode-menu{min-height:44px;padding:7px 12px;background:transparent;border:1px solid #a9daca50;border-radius:4px;color:#e2f3e8;font-size:12px;white-space:nowrap;pointer-events:auto}.mobile-hud-bar .range-mode-menu{font-size:10px;min-width:82px;padding:5px}
.range-mission-panel{width:min(330px,calc(100vw - 48px));border-left-color:#8debd2;background:#10231fe8}.range-mission-panel .range-mission-objective{font-size:13px;color:#fff;line-height:1.5}.range-mission-panel .range-mission-hint{font-size:11px;color:#bde2d6}.range-mission-panel progress{display:block;width:100%;height:5px;margin:8px 0;accent-color:#87edcf}.range-mission-panel .range-mission-details{pointer-events:auto;min-height:36px;padding:4px 0;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:11px;color:#b8f5df}
.range-mission-arrow{position:absolute;transform:translate(-50%,-50%);z-index:12;pointer-events:none;display:grid;justify-items:center;gap:3px;color:#a2ffe3;text-shadow:0 1px 3px #061b16,0 0 7px #2ae2bc80}.range-mission-arrow-shape{display:block;font-size:52px;font-weight:700;line-height:1;filter:drop-shadow(0 2px 3px #071c16)}.range-mission-arrow-label{font-size:12px;line-height:1.3;white-space:nowrap;font-weight:600}.range-mission-cue{outline:2px solid #91f4d5!important;outline-offset:5px;filter:drop-shadow(0 0 5px #53edc5aa);border-radius:3px}
.range-mission-complete{position:absolute;top:90px;left:50%;transform:translateX(-50%);z-index:15;width:min(420px,calc(100vw - 32px));padding:20px;background:#14372ff2;border:1px solid #98e6cc;border-radius:8px;box-shadow:0 8px 35px #0005;color:#effff7;text-align:center;pointer-events:auto}.range-mission-complete strong{display:block;font-size:23px;font-weight:500}.range-mission-complete p{font-size:13px;line-height:1.5;margin:12px 0}.range-mission-complete button{min-height:44px;padding:8px 20px;background:#355b48;border-color:#a0e4c4;color:#f3fff5}
@media(pointer:coarse),(max-width:760px){.range-mission-panel{top:72px;left:14px;width:min(305px,calc(100vw - 28px));padding-top:9px}.range-mission-panel .range-mission-objective{font-size:12px}.range-mission-panel .range-mission-hint{font-size:10px}.range-mission-panel .range-mission-details{min-height:36px}.range-mission-complete{top:82px;padding:17px}.range-mission-complete strong{font-size:21px}.range-mission-arrow-shape{font-size:42px}.range-mission-arrow-label{font-size:11px}}
@media(max-height:520px){.range-mission-panel{width:250px;top:62px;left:12px}.range-mission-panel .range-mission-hint{display:none}.range-mission-complete{top:65px;width:330px;padding:12px}.range-mission-complete strong{font-size:19px}.range-mission-complete p{margin:7px 0}}
