/* Intercept v3 / 07: slots hang off the enemy body and off your core on wires, mirrored. */
.attached .arena{height:270px}
.attached .enemy-slots{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:3}
.attached .enemy-slots .slot{width:250px;pointer-events:auto;position:relative}
/* Wires run from each slot toward the body in the middle. */
.attached .slot:after{content:'';position:absolute;top:50%;height:3px;width:44px;background:#b89d73}
.attached .enemy-slots .slot:first-child:after,.attached .player-slots .slot:first-child:after{right:-46px}
.attached .enemy-slots .slot:last-child:after,.attached .player-slots .slot:last-child:after{left:-46px}
.attached .player-slots .slot:after{background:#af8d56}
/* Your rig mirrors the enemy: slot A | core | slot B. */
.attached .rig{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:'a core b';align-items:center;gap:0 48px;padding:16px 18px}
.attached .player-slots{display:contents}
.attached .player-slots .slot:first-child{grid-area:a}
.attached .player-slots .slot:last-child{grid-area:b}
.attached .player-slots .slot{position:relative;min-width:0}
.attached .player-core{grid-area:core;display:grid;gap:12px;justify-items:center;padding:12px 16px;border:2px solid #8a986f;border-radius:10px;background:#142e29;box-shadow:0 0 0 4px #20392f}
.attached .player-core .player-health{min-width:190px;max-width:none;width:100%}
.attached.enemy-firing:not(.no-leak) .player-core{animation:chip-hit .3s .65s ease-out}
@media(max-width:900px){.attached .enemy-slots .slot{width:205px}.attached .slot:after{width:20px}.attached .enemy-slots .slot:first-child:after,.attached .player-slots .slot:first-child:after{right:-22px}.attached .enemy-slots .slot:last-child:after,.attached .player-slots .slot:last-child:after{left:-22px}.attached .rig{gap:0 24px}.attached .player-core .player-health{min-width:150px}}
/* Narrow: slots hang below the body on vertical wires, still left/right of centre. */
@media(max-width:700px){
 .attached .arena{height:auto;padding-top:232px}
 .attached .enemy-slots{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
 .attached .enemy-slots .slot{width:auto}
 .attached .slot:after,.attached .enemy-slots .slot:first-child:after,.attached .enemy-slots .slot:last-child:after,.attached .player-slots .slot:first-child:after,.attached .player-slots .slot:last-child:after{width:3px;height:14px;top:-16px;left:50%;right:auto}
 .attached .rig{grid-template-columns:1fr 1fr;grid-template-areas:'core core' 'a b';gap:16px 10px;padding:12px 10px}
 .attached .player-core{width:100%;box-sizing:border-box;padding:10px}
 .attached .player-core .player-health{min-width:0}
}
@media(max-width:580px){.attached .arena{padding-top:205px}.attached .intent-bubble{top:172px}}
@media(min-width:901px){.attached .enemy-slots .slot:after{width:120px}.attached .enemy-slots .slot:first-child:after{right:-122px}.attached .enemy-slots .slot:last-child:after{left:-122px}}

/* Mirror the enemy's forecast → full-width HP → current/max row below the slots. */
.attached .rig{grid-template-areas:'a core b' 'health health health';row-gap:18px}
.attached .player-core{min-width:84px;padding:10px;gap:3px}
.attached .player-core svg{width:56px;height:56px;fill:none;stroke:#c7d8a6;stroke-width:3}
.attached .player-health{grid-area:health;display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;max-width:none;min-width:0;margin:0}
.attached .player-health .attack-lane{width:auto;max-width:none;margin:0;flex:none}
.attached .player-health .hp-track{flex:1;height:9px;min-width:40px;border-radius:2px;overflow:hidden}
.attached .player-hp-value{font:600 12px ui-monospace,monospace;color:#d9ed91;white-space:nowrap}
.attached .player-hp-value .chip-value{font:inherit;color:inherit;min-width:0}
@media(max-width:700px){.attached .rig{grid-template-areas:'core core' 'a b' 'health health'}.attached .player-core{width:auto;justify-self:center;min-width:84px}}
@media(max-width:580px){.attached .player-health .attack-lane{width:100%;justify-content:center}.attached .player-health{justify-content:center}}
