/* Health belongs to the HUD, never to the sprite plane. */
#battle-view .battle-vitals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:14px 16px;background:linear-gradient(135deg,#29243d,#362b44);border:2px solid #d2af72;border-radius:12px 12px 0 0}
#battle-view .battle-vitals .status{position:relative;inset:auto;width:auto;min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto 14px auto;column-gap:12px;row-gap:7px;padding:12px 14px;margin:0;z-index:auto;border:1px solid #b79867;border-radius:10px;background:linear-gradient(135deg,#fff2cf,#e7d4a4);box-shadow:inset 0 1px #fff8df;color:#604a35}
#battle-view .battle-vitals .status:before{display:none}
#battle-view .battle-vitals .status .element-medallion{position:static;inset:auto;grid-column:1;grid-row:1 / 4;align-self:center;width:46px;height:46px;object-fit:contain;transform:none;filter:drop-shadow(0 2px 2px #60452c44)}
#battle-view .battle-vitals .vital-meta{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;min-width:0;text-align:left}
#battle-view .battle-vitals .status .vital-side{grid-column:1;font:800 9px 'Nunito',sans-serif;letter-spacing:1.5px;color:#866c4c;filter:none;text-shadow:none}
#battle-view .battle-vitals .status strong{grid-row:2;grid-column:1 / -1;font:600 18px/1.25 'Fredoka',sans-serif;min-width:0;overflow-wrap:anywhere;color:#59412f;text-shadow:none}
#battle-view .battle-vitals .status .vital-type{grid-column:1 / -1;grid-row:3;font-size:9px;line-height:1.4;letter-spacing:.8px;color:#705b43;filter:none;text-shadow:none}
#battle-view .battle-vitals .status b{grid-column:2;grid-row:1;align-self:center;justify-self:end;margin:0;white-space:nowrap;padding:5px 7px;font-size:11px;line-height:1.2}
#battle-view .battle-vitals .hp-track{grid-column:2;grid-row:2;width:100%;height:14px;margin:0;overflow:hidden;box-sizing:border-box}
#battle-view .battle-vitals .status small{grid-column:2;grid-row:3;margin:0;text-align:right;font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums;color:#6a5339;letter-spacing:0}
#battle-view .game>.arena{border-radius:0;border-top:0}
@media(max-width:600px){#battle-view .battle-vitals{gap:8px;padding:10px 8px}#battle-view .battle-vitals .status{grid-template-columns:30px minmax(0,1fr);column-gap:6px;row-gap:6px;padding:9px 7px}#battle-view .battle-vitals .status .element-medallion{width:30px;height:30px}#battle-view .battle-vitals .status strong{font-size:14px}#battle-view .battle-vitals .status b{font-size:9px;padding:4px}#battle-view .battle-vitals .status small{font-size:9px}#battle-view .battle-vitals .vital-meta{gap:3px 4px}#battle-view .battle-vitals .status .vital-side{font-size:8px}#battle-view .battle-vitals .status .vital-type{font-size:8px}}
@media(prefers-reduced-motion:reduce){#battle-view .battle-vitals .hp-track i{transition:none}}
/* Share row tracks so long evolved names never offset the opposing health bar. */
@supports(grid-template-rows:subgrid){#battle-view .battle-vitals{grid-template-rows:auto 14px auto;row-gap:7px}#battle-view .battle-vitals .status{grid-row:1 / span 3;grid-template-rows:subgrid}#battle-view .battle-vitals .player-status{grid-column:1}#battle-view .battle-vitals .enemy-status{grid-column:2}}
