/* HP belongs to a body: the host's readout stays under its artwork. */
.breach-study.dock-study .arena{height:202px}
.breach-study.dock-study .arena .host-health{position:absolute;top:164px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:3px 8px;width:320px;max-width:95%;height:34px;margin:0;padding:4px 7px;background:#f4eedc;border:1px solid #9eac8a;border-radius:5px;z-index:4}
.host-health .hp-owner{font:700 10px ui-monospace,monospace;letter-spacing:1px;color:#536b57}
.breach-study.dock-study .host-health .hp-track{height:10px;grid-column:1 / -1;grid-row:2;min-width:30px}
.breach-study.dock-study .host-health .hp-value,.breach-study.dock-study .host-health .repair-tag{font:700 13px ui-monospace,monospace;white-space:nowrap}
.breach-study.dock-study .host-health .hit-lane{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.breach-study.dock-study .intent-bubble{top:126px;bottom:auto}
@media(max-width:699px){
 .breach-study.dock-study .arena{height:auto;padding-top:202px}
 .breach-study.dock-study .arena .host-health{width:300px}
}
@media(max-width:580px){
 .breach-study.dock-study .arena{padding-top:136px}
 .breach-study.dock-study .intent-bubble{top:61px}
 .breach-study.dock-study .arena .host-health{top:96px;height:36px;width:280px;padding:3px 7px}
 .breach-study.dock-study .subsystems{margin-top:8px}
 .breach-study.dock-study .enemy-heading{margin-bottom:3px}
}
.host-health .hp-value{justify-self:end}
.breach-study.dock-study .host-health .repair-tag{font-size:12px;color:#007d75}
.breach-study.dock-study .battle>.result:not([hidden]){position:relative;inset:auto;grid-area:result;margin:12px 0 0;transform:none;animation:none;padding:12px}
@media(min-width:1100px){.breach-study.dock-study .battle{grid-template-areas:'heading' 'arena' 'components' 'plan' 'result' 'details'}}
/* Keep the larger health readout within the existing phone combat budget. */
.breach-study.dock-study .host-health .hp-value{line-height:14px}
@media(max-width:580px){
 .breach-study.dock-study .enemy{width:114px;height:80px}
 .breach-study.dock-study .enemy-barrier{width:102px;height:74px}
 .breach-study.dock-study .enemy-loadout summary{min-height:20px;padding:0}
 .breach-study.dock-study .connection-bus{padding-top:4px;padding-bottom:4px}
}
