/* Combat hierarchy: essentials above, compact equipment dock below. */
.hud-top{padding:18px 22px}.vitals{width:190px}.vitals-label{font-size:9px}.vitals-label>span{font-size:0}.vitals-label .status-dot{display:none}.health-track{height:6px}.xp-track{height:3px}.timer-group strong{font-size:25px}#phase-label,#xp-number,.kills>span,.personal-points,#pet-badge,.objective>#objective-text,.objective>.status-dot{display:none}.left-telemetry{top:91px;gap:12px;font-size:11px}.kills svg{width:13px;height:13px}.objective{border:0;background:none;box-shadow:none;padding:0;top:120px}.mission-tracker{top:112px;max-width:240px;padding:10px 12px;background:#101c18c9;border:1px solid #c2d0af1c;border-radius:8px;box-shadow:none}#mission-next{font-size:12px;line-height:1.4;margin:5px 0 0}.mission-tracker #mission-toggle{font-size:10px}#district-hud{width:124px;right:22px;top:86px;background:#101c18b3;padding:7px;border:1px solid #c2d0af1c;border-radius:8px}#district-hud canvas{width:110px;height:auto}#district-hint,#district-hud small,#district-sector,#district-parts,#scrap-count{display:none}
#build-panel{width:300px;height:64px;padding:5px;bottom:calc(12px + var(--safe-bottom,0px));background:#101c18d9;border:1px solid #b6c8a72b;border-radius:10px;box-shadow:none}#build-panel .build-options{gap:5px}#build-panel .build-options button{position:relative;padding:3px;border-radius:6px;background:#a3ba8908;border:1px solid #b4c6a124;gap:0}#build-panel .build-options button svg{height:31px;width:44px}#build-panel .build-options button b{font-size:9px;letter-spacing:0}#build-panel .build-options button>span{display:none}#build-panel .build-options button kbd{position:absolute;left:4px;top:2px;font-size:9px;background:none;border:0;color:#c8d5b9}#build-panel .build-options button:disabled{opacity:.35}#build-toggle{bottom:calc(82px + var(--safe-bottom,0px));left:50%;font-size:10px;background:#101c18d9;border:0;height:22px;min-height:22px;padding:3px 8px}#build-help{left:calc(50% + 59px);bottom:calc(82px + var(--safe-bottom,0px));width:22px;height:22px;min-height:22px;opacity:.6}
#weapon-hud{left:50%;transform:translateX(-50%);bottom:calc(111px + var(--safe-bottom,0px));width:300px;box-sizing:border-box;display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:8px 11px;background:#101c18df;border:1px solid #b6c8a724;border-radius:8px}#weapon-name{font:11px sans-serif;margin:0;align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#weapon-ammo{font:12px monospace;margin:0;align-self:center;color:#e2dfc6}#weapon-hud>div{grid-column:1/-1;justify-content:center;gap:6px}#weapon-hud button{min-height:28px;font-size:10px;background:#81966b12;border:1px solid #a7bc8624;padding:4px 9px}.no-touch #weapon-hud>div{position:absolute;bottom:100%;left:0;right:0}.no-touch #weapon-switch,.no-touch #weapon-reload{display:none}#inventory-open{top:21px;bottom:auto;right:116px;width:36px;height:36px;border-radius:7px;background:#17271cd9;border:1px solid #b6c8a72b}#inventory-open svg{width:23px;height:23px}#inventory-open span{font-size:8px}#placement-actions,#build-guide{bottom:calc(187px + var(--safe-bottom,0px));max-width:340px;background:#102019ed}#placement-step{font-size:11px}.no-touch #joystick{display:none}.no-touch #dash,.no-touch #pet-call{opacity:.7}.pet-call label,.dash-button label{font-size:9px}#moto-toggle{bottom:calc(181px + var(--safe-bottom,0px));left:22px;width:105px;font-size:10px}#fuel-status{bottom:calc(133px + var(--safe-bottom,0px));left:22px;width:105px}#fuel-label{display:none}
@media(max-width:700px){.hud-top{padding:14px}.vitals{width:128px}.timer-group{left:50%;top:62px}.timer-group strong{font-size:20px}#timer-caption{font-size:8px}.hud-actions{gap:5px}.hud-actions button{width:32px;height:32px}.left-telemetry{top:75px;left:15px}.mission-tracker{top:111px;left:14px;width:180px;max-width:calc(100vw - 140px);padding:8px 10px}#mission-next{font-size:11px}#district-hud{right:14px;top:111px;width:95px;padding:5px}#district-hud canvas{width:83px}#inventory-open{top:14px;right:92px;width:32px;height:32px}#build-panel{width:250px;height:61px;bottom:calc(6px + var(--safe-bottom,0px))}#build-toggle,#build-help{bottom:calc(72px + var(--safe-bottom,0px))}#weapon-hud{bottom:calc(100px + var(--safe-bottom,0px));width:220px}#weapon-name{font-size:10px}#weapon-ammo{font-size:11px}#weapon-hud button{min-height:32px}#placement-actions,#build-guide{bottom:calc(197px + var(--safe-bottom,0px));width:calc(100vw - 30px)}#joystick{bottom:calc(180px + var(--safe-bottom,0px));left:14px;width:96px;height:96px}#dash{bottom:calc(180px + var(--safe-bottom,0px));right:14px;width:70px;height:70px}#pet-call{bottom:calc(268px + var(--safe-bottom,0px));right:22px;width:54px;height:54px}#moto-toggle{bottom:calc(310px + var(--safe-bottom,0px));left:14px;width:96px}#fuel-status{bottom:calc(354px + var(--safe-bottom,0px));left:14px;width:96px}.weapon-profile{max-width:100%}}
@media(max-height:500px) and (orientation:landscape){.mission-tracker{top:86px;max-width:210px}#district-hud{top:75px;width:95px}#district-hud canvas{width:83px}#build-panel{height:58px;bottom:6px;width:270px}#build-toggle,#build-help{bottom:70px}#weapon-hud{bottom:98px;width:270px}#joystick{bottom:20px}#dash{bottom:20px}#pet-call{bottom:106px}#moto-toggle{bottom:151px;left:15px}#fuel-status{bottom:195px;left:15px}#inventory-open{top:17px;bottom:auto}#placement-actions,#build-guide{bottom:170px}}
/* Anchor relative to the viewport rather than nested top-bar padding. */
.hud-top{padding:0;left:22px;right:22px;top:calc(20px + var(--safe-top,0px))}#inventory-open{top:auto;right:calc(50% - 198px);bottom:calc(24px + var(--safe-bottom,0px))}
@media(max-width:700px){.hud-top{padding:0;left:14px;right:14px;top:calc(14px + var(--safe-top,0px))}.timer-group{left:50%;right:auto;top:44px;transform:translateX(-50%);min-width:90px}#inventory-open{top:auto;right:14px;bottom:calc(19px + var(--safe-bottom,0px))}}
@media(max-height:500px) and (orientation:landscape){.timer-group{top:0;left:50%;right:auto;transform:translateX(-50%)}#inventory-open{top:auto;bottom:19px;right:calc(50% - 180px)}}

/* v83: explicit icon sizing defeats legacy !important rules that clipped names. */
#build-panel{height:76px;bottom:calc(35px + var(--safe-bottom,0px));overflow:visible}#build-panel .build-options button{min-height:0;overflow:visible;gap:3px;padding:5px 2px}#build-panel .build-options .equipment-art{height:35px!important;width:44px!important;flex:0 0 35px}#build-panel .build-options b{font-size:10px!important;line-height:15px;white-space:nowrap;flex:none}#build-toggle,#build-help{bottom:calc(116px + var(--safe-bottom,0px))}#weapon-hud{bottom:calc(7px + var(--safe-bottom,0px));padding:3px 8px;background:#101c1880;border:0;border-radius:4px;min-height:21px}#weapon-name{font-size:10px;color:#b6c1ad}#weapon-ammo{font-size:11px;color:#d7d9c6}#weapon-hud>div{position:absolute;bottom:calc(100% + 91px);left:0;right:0;justify-content:center}.no-touch #weapon-hud>div{bottom:calc(100% + 112px)}#inventory-open{bottom:calc(54px + var(--safe-bottom,0px))}
@media(max-width:700px){#build-panel{width:270px;height:73px;bottom:calc(33px + var(--safe-bottom,0px))}#build-panel .build-options b{font-size:10px!important}#build-toggle,#build-help{bottom:calc(112px + var(--safe-bottom,0px))}#weapon-hud{width:260px;bottom:calc(6px + var(--safe-bottom,0px))}#inventory-open{right:8px;bottom:calc(55px + var(--safe-bottom,0px));width:29px}#joystick{bottom:calc(174px + var(--safe-bottom,0px))!important}#dash{bottom:calc(174px + var(--safe-bottom,0px))!important}#pet-call{bottom:calc(260px + var(--safe-bottom,0px))!important}#weapon-hud>div{bottom:calc(100% + 116px)}}
@media(max-width:360px){#build-panel{width:242px}#inventory-open{right:4px;width:27px}#build-panel .build-options b{font-size:9px!important}}
@media(max-height:500px) and (orientation:landscape){#joystick{bottom:20px!important}#dash{bottom:20px!important}#pet-call{bottom:106px!important}}
