#hud-ammo{width:224px;height:70px;position:absolute;top:44px;right:10px;display:block;pointer-events:none}
#hud-ammo-art{position:absolute;inset:0;width:224px;height:70px;pointer-events:none}
.hud-right{gap:8px;align-items:flex-end}
.hud-grenade{font-size:11px;margin-bottom:5px}
.hud-slots{gap:4px;min-width:0;flex:1}
.hud-slots .slot{width:154px;flex:1;max-width:154px}
/* Battle hand stays two rows: the name row truncates (full name and model are in the titles),
   the model line is dropped and the rarity shrinks to its letter in the top-right corner
   (the category tag already holds the bottom-right corner, see nightfall.css). */
#hud-inv .slot-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hud-inv .slot-name .weapon-reference{display:none}
#hud-inv .slot-name .weapon-rarity{position:absolute;right:4px;top:3px;margin:0;padding:0 2px;font-size:0;line-height:1}
#hud-inv .slot-name .weapon-rarity::before{content:attr(data-rarity);font-size:8px}
#hud-inv .slot:has(.weapon-rarity) .slot-top{padding-right:12px}
.ally-portrait{width:52px;height:64px;flex-shrink:0;background:#eee6fa;border-radius:12px}
