#healthGauge{--health:#a7dba4;justify-self:end;min-width:108px;margin-top:4px;padding:5px 7px 6px;border-radius:4px;background:rgba(20,28,24,.78);color:#f4f1de;letter-spacing:.5px;text-shadow:none}
#healthGauge[data-health=caution]{--health:#ffcb7e}
#healthGauge[data-health=low]{--health:#ff826e}
.healthReadout{display:flex;align-items:center;gap:6px;line-height:1.15;font:600 11px/1.1 Barlow,sans-serif}
.healthReadout svg{flex:none;width:12px;height:12px;fill:var(--health)}
#healthLabel{flex:1;text-align:left}
#healthValue{font:700 11px/1.1 Barlow,sans-serif;color:var(--health);font-variant-numeric:tabular-nums}
.healthTrack{display:block;height:3px;background:#ffffff32;border-radius:2px;overflow:hidden;margin-top:4px}
#healthFill{display:block;height:100%;background:var(--health);transform-origin:left;transition:transform .14s ease-out}
#healthGauge[data-alert=true] #healthLabel{color:#ffcf89}
#hitEdge{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:0;background:
 linear-gradient(90deg,#ce2634 0%,#ce263400 16%,#ce263400 84%,#ce2634 100%),
 linear-gradient(180deg,#ce263486 0%,#ce263400 10%,#ce263400 90%,#ce263486 100%)}
.touchMode #healthGauge{min-width:92px;padding:4px 6px;margin-top:1px}
@media(prefers-reduced-motion:reduce){#healthFill{transition:none}}
