/* Active protections: distinct from offensive effects. */
.profile-card .visible-debuffs{grid-column:1/-1}
.visible-debuffs small{display:block;margin-bottom:8px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#e8d3b0}
.visible-buffs small{color:#9cdbac}
.visible-debuffs-list{display:flex;flex-wrap:wrap;gap:8px}
.visible-debuff{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#4a1f24;border:1px solid #b85c67;color:#ffe5e8;font-size:12px;line-height:1}
.visible-debuff b{font-weight:700}
.visible-debuff i{font-style:normal;color:#ffccd2}
.visible-debuff.visible-buff,#fightHud .fight-hud-debuff.fight-hud-buff{background:#183e30;border:1px solid #4eae80;color:#c4f6d6}
.visible-debuff.visible-buff i{color:#9ce5b5}

#fightHud .fight-hud-effects{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
#fightHud .fight-hud-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
#fightHud .fight-hud-group small{font-size:12px;font-weight:700;letter-spacing:.02em;color:#d9c39b}
#fightHud .fight-hud-group--buffs small{color:#9cdbac}
#fightHud .fight-hud-debuff{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#4a1f24;border:1px solid #b85c67;color:#ffe5e8;font-size:12px;white-space:nowrap}
#fightHud .fight-hud-debuff.fight-hud-buff{background:#183e30;border-color:#4eae80;color:#c4f6d6}
@media (max-width: 900px){
  #fightHud .fight-hud-effects{width:100%}
}

/* Reserve an explicit, expandable row above the loot strip. */
#fightdock #fightHud:has(> .fight-hud-effects){height:auto;grid-template-rows:20px 15px auto;row-gap:4px}
#fightdock #fightHud > .fight-hud-effects{grid-area:3/1/4/-1;min-width:0;width:auto;padding:3px 0 1px;align-self:start}
#fightdock #fightHud .fight-hud-group{max-width:100%}
#fightdock #fightHud .fight-hud-debuff{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
@media(max-width:650px){
  #fightdock #fightHud:has(> .fight-hud-effects){height:auto;grid-template-rows:18px 18px 14px auto}
  #fightdock #fightHud > .fight-hud-effects{grid-area:4/1/5/-1}
}
