/* Original R5530000; the selected target lives directly to the left of Chat. */
#targetHud{--target-pixel:1.4px;position:absolute;top:0;right:200px;width:calc(80 * var(--target-pixel));height:calc(31 * var(--target-pixel));z-index:3;background-repeat:no-repeat;background-size:100% 100%;image-rendering:pixelated;pointer-events:none}
#targetHud .target-meter{position:absolute;left:calc(7 * var(--target-pixel));width:calc(50 * var(--target-pixel));height:calc(2 * var(--target-pixel));overflow:hidden}
#targetHudLife{top:calc(10 * var(--target-pixel))}
#targetHudMana{top:calc(17 * var(--target-pixel))}
/* APK subtracts the missing amount from the LEFT: the remaining fill hugs the circle. */
#targetHud .target-meter>i{position:absolute;right:0;top:0;height:100%;background:#00ff00}
#targetHud #targetHudMana>i{background:#003cff}
#targetHudLevel{position:absolute;left:calc(39 * var(--target-pixel));top:calc(22 * var(--target-pixel));display:flex;width:calc(20 * var(--target-pixel));height:calc(7 * var(--target-pixel));overflow:hidden}
#targetHudLevel>i{display:block;flex:0 0 calc(5 * var(--target-pixel));height:100%;background-image:var(--target-digits);background-size:calc(65 * var(--target-pixel)) calc(7 * var(--target-pixel));background-repeat:no-repeat}
@media(max-width:360px){#game:has(#targetHud:not([hidden])) #vitals{--vital-pixel:1.1px}}
