/* Compact, readable status without blur or extra render work. */
body.playing{--player-card-width:198px;--player-hud-left:4%;--player-hud-top:79px}
#hud{top:var(--player-hud-top);left:var(--player-hud-left);display:grid;grid-template-columns:var(--player-card-width) minmax(0,1fr) auto;gap:16px;align-items:start;text-shadow:none}
#playerCard{width:var(--player-card-width);padding:9px;border:1px solid #9ebbb530;border-radius:10px;background:linear-gradient(135deg,#142831ed,#0b1922ed);box-shadow:0 3px 10px #0003;color:#f3f7f3;font-variant-numeric:tabular-nums;pointer-events:none}
#playerCard .playerheading{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:18px}
#playerCard .playeridentity{display:flex;align-items:center;gap:5px;min-width:0}
#hudName{font-size:11px;font-weight:800;letter-spacing:.6px}
#hudLives{float:none;padding:3px 4px;border-radius:4px;font-size:6.5px;line-height:1;letter-spacing:0;color:#b5cbc7;background:#d0e8e30d;white-space:nowrap}
#playerCard #hudLives{font-size:6.5px;padding:3px 4px}
#playerCard .healthreading{display:flex;align-items:baseline;gap:4px;white-space:nowrap;margin:0}
#healthLabel{font-size:7px;font-weight:700;letter-spacing:0;color:#a4bfb9}
#hudHealth{font-size:15px;line-height:1;font-weight:800;letter-spacing:-.3px}
#playerCard>#healthTrack{height:4px;margin:5px 0 0;border-radius:3px;overflow:hidden;background:#42575b}
#healthFill{border-radius:3px;background:#73dec2;transition:width .15s}
#playerCard.low-health{border-color:#e4a17d80}
#playerCard.low-health #healthLabel,#playerCard.low-health #hudHealth{color:#ffc398}
#playerCard.low-health #healthFill{background:#ff9470}
#weaponHud,.playing.controls-visible #weaponHud,.touchmode.playing.controls-visible #weaponHud{position:static;inset:auto;display:block;max-width:none;width:100%;padding:0;margin-top:7px;background:none;border:0;pointer-events:none}
#weaponHud .weaponreading{display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:6px;align-items:center;padding:0;border:0}
#weaponLetter{display:flex;align-items:center;justify-content:center;min-height:24px;border-radius:5px;border:1px solid #bfceca30;background:#d9ebe809;font:700 10px 'Segoe UI',Arial,sans-serif}
#weaponHud small{display:block;margin:0;font-size:6px;font-weight:600;line-height:1.2;letter-spacing:.2px;color:#9eb8b7}
#weaponHud .weaponcopy{min-width:0}#weaponHud .weaponcopy>small{display:none}
#weaponName{display:block;font-size:10px;line-height:1.2;letter-spacing:0;font-weight:750;color:#f3f7f3;margin:0;overflow-wrap:anywhere}
#weaponHud .ammoreading{text-align:right;min-width:26px}
#weaponAmmo{display:block;margin-top:1px;font-size:16px;line-height:1;font-weight:800;letter-spacing:0;color:#f7dcaa}
#weaponHud .supplyreading{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:6px;margin-top:7px}
#weaponHud .supplyreading>span{display:flex;align-items:baseline;justify-content:space-between;gap:3px;font-size:6.5px;line-height:1.2;letter-spacing:0;color:#9eb8b7}
#weaponHud .supplyreading>span+span{padding-left:5px;border-left:1px solid #a8c6c420}
#weaponHud .supplyreading strong{font-size:11px;font-weight:750;letter-spacing:0;color:#e9efeb}
#weaponHud .supplyreading>span:first-child strong{color:#f7dcaa}
#weaponHud #skillStatus{max-width:none;margin-top:7px;font-size:7px;letter-spacing:0;color:#b2c9c0}
#companionHud{position:static;inset:auto;width:auto;margin-top:6px;padding:6px 0 0;border:0;border-top:1px solid #a8c6c420;background:none;text-shadow:none}
#companionHud .companiontitle strong{font-size:7px;letter-spacing:0;color:#b2e8d8}
#companionHud .companiontitle>span{font-size:8px}
#companionHud .healthtrack{height:3px;margin:3px 0;border-radius:3px;overflow:hidden;background:#42575b}
#companionHud .companionfooter>span:first-child{font-size:6px;letter-spacing:0}
#companionHud.waiting .companiontitle strong{color:#ffc398}
#companionHud .companionlives{gap:3px}#companionHud .companionlives i{width:5px;height:5px}
#hud .scorehud{grid-column:3;min-width:88px;padding:7px 9px;border:1px solid #9ebbb52b;border-radius:8px;background:#0b1922d9;text-align:right}
#hud .scorehud>small{font-size:6px;letter-spacing:.7px;color:#a4bfb9}
#hud .scorehud strong{font:700 18px 'Segoe UI',Arial,sans-serif;letter-spacing:.8px;line-height:1.2;margin-top:2px;color:#f2ead8}
#hud .scorehud>span{font-size:7px;letter-spacing:0;margin-top:2px}
#hud .missionhud{padding-top:3px}#hud .missionhud strong{font-size:11px;letter-spacing:.5px}
#hud .missionhud>small{font-size:7px;letter-spacing:.4px}#hud .missionhud .progresstrack{height:3px;width:100px;margin:4px auto}
.playing #airstrike{left:calc(var(--player-hud-left) + var(--player-card-width) + 10px);top:var(--player-hud-top)}
.playing #airstrike{width:48px;height:52px}.playing #airstrike img{width:28px;height:28px}
.touchmode.playing{--player-card-width:174px;--player-hud-left:max(16px,env(safe-area-inset-left));--player-hud-top:42px}
.touchmode.playing #hud{right:max(16px,env(safe-area-inset-right));gap:12px}
.touchmode.playing #playerCard{padding:8px;border-radius:8px}
.touchmode.playing #weaponHud #skillStatus{display:none}
.touchmode.playing .notice-rail{left:calc(var(--player-hud-left) + var(--player-card-width) + 68px);right:118px}
.touchmode.playing #hud .scorehud{min-width:80px;padding:5px 8px}.touchmode.playing #hud .scorehud strong{font-size:17px}
.touchmode.playing #hud .missionhud{padding-top:0;margin-left:54px}
@media(max-height:370px){
 .touchmode.playing{--player-hud-top:39px;--player-hud-left:max(14px,env(safe-area-inset-left));--player-card-width:174px}
 .touchmode.playing .notice-rail{right:108px}
}

#weaponHud .pot-actions{display:flex;gap:5px;margin-top:5px;pointer-events:auto}#weaponHud .pot-actions button{display:flex;align-items:center;gap:3px;height:28px;padding:2px 6px;border:1px solid #a4d6c448;border-radius:6px;background:#25433dd9;color:#e1efde;touch-action:manipulation;cursor:pointer}#weaponHud .pot-actions img{width:20px;height:20px}#weaponHud .pot-actions span{font-size:7px;letter-spacing:.3px;font-weight:650}#weaponHud .pot-actions b{font-size:9px}#weaponHud .pot-actions button:disabled{opacity:.35;cursor:default}#weaponHud .pot-actions .ally-heal{margin-left:auto;background:#1b363e}#weaponHud .pot-actions button:focus-visible{outline:2px solid #a8ddc8;outline-offset:2px}
