/* Slim rounded energy meter; HP logic and transform-based smoothing are unchanged. */
#healthBar,#avatarHealthBar{
 --hp-edge:#55dfff;--hp-light:#d7fbff;--hp-mid:#48dfff;--hp-base:#1684db;
 box-sizing:border-box;
 padding:0;overflow:hidden;pointer-events:none;border:0;border-radius:999px;
 background:#151b24;box-shadow:inset 0 1px 2px #0009,0 1px 0 #ffffff18;
}
#healthBar{position:relative;flex:0 0 6px;height:6px;}
#avatarHealthBar{position:fixed;height:12px;}
body.theme-7key #healthBar,body.theme-7key #avatarHealthBar{--hp-edge:#b6ff36;--hp-light:#efffba;--hp-mid:#b8f849;--hp-base:#4c9917}
#healthFill,#avatarHealthFill{
 display:block;height:100%;width:100%;transform-origin:left center;border-radius:999px;
 background:linear-gradient(180deg,var(--hp-light),var(--hp-mid) 40%,var(--hp-base));
 box-shadow:0 0 5px var(--hp-edge);
}
#healthBar.low,body.theme-7key #healthBar.low,#avatarHealthBar.low,body.theme-7key #avatarHealthBar.low{--hp-edge:#ff546a;--hp-light:#ffe4d9;--hp-mid:#ff6363;--hp-base:#bc173e}
