/* V240 — Buffs legiveis sem cobrir o perfil, no mobile ou PC. */
#hud>#bl.eld240-buffs{
 position:fixed!important;
 left:var(--eldBuffX,8px)!important;
 top:var(--eldBuffY,95px)!important;
 right:auto!important;bottom:auto!important;
 width:max-content!important;
 max-width:var(--eldBuffMax,232px)!important;
 display:flex!important;flex-wrap:wrap!important;
 gap:4px!important;align-items:flex-start!important;
 justify-content:flex-start!important;
 pointer-events:none!important;
 z-index:12!important;
}
#hud>#bl.eld240-buffs:empty{display:none!important}
#hud>#bl.eld240-buffs .bf.eld240-buff{
 box-sizing:border-box!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
 width:48px!important;min-width:48px!important;height:52px!important;flex:0 0 48px!important;
 padding:2px 2px 3px!important;margin:0!important;gap:0!important;
 border:1px solid #a37b4b!important;border-radius:7px!important;
 background:linear-gradient(170deg,#242c36ef,#101117f5)!important;
 color:#fbe9bb!important;box-shadow:0 1px 4px #0009!important;
 text-shadow:none!important;white-space:nowrap!important;
 user-select:none!important;
}
#hud>#bl.eld240-buffs .eld240-buff img.eld240-icon{
 display:block!important;max-width:none!important;
 width:23px!important;height:23px!important;min-width:23px!important;object-fit:contain!important;
 padding:0!important;margin:0!important;pointer-events:none!important;
}
#hud>#bl.eld240-buffs .eld240-bonus{
 display:block!important;width:100%!important;line-height:11px!important;
 color:#bdf6ca!important;font:700 8px/11px Arial,sans-serif!important;
 text-align:center!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#hud>#bl.eld240-buffs .bf-timer.eld240-time{
 display:block!important;color:#ffdf94!important;
 font:700 10px/12px Arial,sans-serif!important;line-height:12px!important;
 font-variant-numeric:tabular-nums!important;
}
/* Os quadros de skills recebem cada toque mesmo com o joystick ativo. */
body.touch #hud>#sb .sl{touch-action:none!important;pointer-events:auto!important;user-select:none!important;-webkit-user-select:none!important}
body.touch #hud>#sb .sl>canvas{pointer-events:none!important}
body.touch #hud>#sb .sl:active{box-shadow:0 0 11px #fff2b8aa!important;filter:brightness(1.15)}
@media(max-width:700px){
 #hud>#bl.eld240-buffs{gap:3px!important}
 #hud>#bl.eld240-buffs .bf.eld240-buff{width:44px!important;min-width:44px!important;flex-basis:44px!important;height:47px!important;padding:2px!important}
 #hud>#bl.eld240-buffs .eld240-buff img.eld240-icon{width:21px!important;height:21px!important;min-width:21px!important}
 #hud>#bl.eld240-buffs .eld240-bonus{font-size:7px!important;line-height:9px!important}
 #hud>#bl.eld240-buffs .bf-timer.eld240-time{font-size:9px!important;line-height:11px!important}
}

/* Buff de classe (V): o botao permanece uma habilidade real, mas vira um unico simbolo compacto. */
#hud>#eldStarBtn.eld240-star-button{
 width:41px!important;height:41px!important;min-width:41px!important;min-height:41px!important;
 padding:2px!important;gap:0!important;border-radius:9px!important;
}
#hud>#eldStarBtn.eld240-star-button .eld240-star-ability{width:21px;height:21px;object-fit:contain;pointer-events:none}
#hud>#eldStarBtn.eld240-star-button .eld-star-caption{font:700 9px/11px Arial,sans-serif!important;letter-spacing:0!important}
@media(max-width:700px){
 #hud>#eldStarBtn.eld240-star-button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
 #hud>#eldStarBtn.eld240-star-button .eld240-star-ability{width:19px;height:19px}
 #hud>#eldStarBtn.eld240-star-button .eld-star-caption{font-size:8px!important;line-height:9px!important}
}
