/* Each preview sits above its own target, outside the attack button. */
.battle-screen .arena{--enemy-intent-space:54px}
.battle-screen .arena .enemy-slot{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;width:100%}
.battle-screen .arena .enemy-intent{position:static;inset:auto;transform:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:none;width:100%;max-width:164px;height:48px;min-height:48px;margin:0;padding:4px 6px;border:1px solid #64796e;border-radius:8px;background:#253731;color:#c6dec3;white-space:nowrap;line-height:1;box-shadow:0 2px 5px #0003;cursor:pointer}
.battle-screen .arena .enemy-intent.intent-attack{background:linear-gradient(145deg,#633239,#40272c);border-color:#ca7b75;color:#ffe1cc;box-shadow:inset 0 1px #f2b99b17,0 2px 5px #0003}
.battle-screen .arena .enemy-intent.intent-infection{background:#463048;border-color:#99749f;color:#edceef}
.battle-screen .arena .enemy-intent.intent-stun,.battle-screen .arena .enemy-intent.intent-interrupted{background:#233c45;border-color:#698994;color:#bfdeea}
.battle-screen .arena .enemy-intent.intent-idle{background:#252e30;border-color:#586760;color:#a9b9a8}
.battle-screen .enemy-intent .intent-heading{display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%;font-size:11px;font-weight:550;line-height:12px}
.battle-screen .enemy-intent .intent-heading>.ui-icon{width:13px;height:13px;flex:none}
.battle-screen .enemy-intent .intent-heading>.enemy-number{width:13px;height:13px;font-size:9px;border-color:currentColor;color:inherit;opacity:.78;margin-left:2px}
.battle-screen .enemy-intent.intent-attack .intent-heading{color:#ffc6b9}
.battle-screen .enemy-intent .intent-power{display:flex;align-items:baseline;justify-content:center;gap:2px;max-width:100%;font-variant-numeric:tabular-nums}
.battle-screen .enemy-intent .intent-power>b{font:750 25px/25px ui-monospace,monospace;letter-spacing:-.7px;color:inherit}
.battle-screen .enemy-intent .intent-hits{font:600 15px/1 ui-monospace,monospace;color:#f3bcb0;letter-spacing:-.5px}
.battle-screen .enemy-intent .intent-prefix{font:550 16px/1 ui-monospace,monospace;opacity:.8}
.battle-screen .enemy-intent .intent-power.intent-word>b{font-family:inherit;font-size:17px;font-weight:650;line-height:25px;letter-spacing:1px}
.battle-screen .enemy-intent .intent-power.long-number>b{font-size:21px;letter-spacing:-.8px}
.battle-screen .enemy-intent .intent-power.very-long-number>b{font-size:16px;letter-spacing:-.7px}
.battle-screen .enemy-intent:focus-visible{outline:2px solid #e6d5a9;outline-offset:2px}
.battle-screen .enemy-intent:disabled{cursor:default;opacity:.8}

/* The fixed strip shows the total threat and actual health forecast. */
.battle-screen .battle-summary{min-height:40px;padding:4px 12px;gap:10px;background:#25252b}
.battle-screen .threat-forecast{gap:6px;min-width:0;flex:0 1 auto;line-height:1.2}
.battle-screen .threat-forecast>.ui-icon{width:16px;height:16px;color:#e8a29a}
.battle-screen .threat-forecast .forecast-label{font-size:12px;color:#d2bdb1}
.battle-screen .threat-forecast .forecast-value{font:750 21px/1 ui-monospace,monospace;color:#ffccaf}
.battle-screen .threat-forecast.safe .forecast-value,.battle-screen .threat-forecast.safe>.ui-icon{color:#bfd796}
.battle-screen .threat-forecast .infection-damage{font-size:10px;margin-left:1px}
.battle-screen .incoming-total{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;color:#b8aea7;font-size:11px;white-space:nowrap}
.battle-screen .incoming-total .ui-icon{width:15px;height:15px;color:#d89288}
.battle-screen .incoming-total>b{font:650 16px/1 ui-monospace,monospace;color:#e9c1b4}

@supports(height:1cqh){
 .battle-screen .arena,.battle-screen.boss-fight .arena{--enemy-art-height:clamp(60px,calc(100cqh - 74px - var(--enemy-detail-space,0px) - var(--enemy-intent-space)),200px)}
 .battle-screen .arena[data-enemies="3"]{--enemy-art-height:clamp(56px,calc(100cqh - var(--survivor-art-height) - 78px - var(--enemy-detail-space,0px) - var(--enemy-intent-space)),170px)}
}
@media(max-width:360px){
 .battle-screen .battle-summary{padding-left:8px;padding-right:8px;gap:6px}
 .battle-screen .threat-forecast{gap:4px}.battle-screen .threat-forecast .forecast-label{font-size:11px}
 .battle-screen .incoming-total{gap:4px;font-size:10px}
 .battle-screen .arena .enemy-intent{padding-left:3px;padding-right:3px}
 .battle-screen .enemy-intent .intent-heading{font-size:10px;gap:3px}
 .battle-screen .enemy-intent .intent-power>b{font-size:23px}
 .battle-screen .enemy-intent .intent-hits{font-size:14px}
 .battle-screen .enemy-intent .intent-power.long-number>b{font-size:20px}
 .battle-screen .enemy-intent .intent-power.very-long-number>b{font-size:15px}
}
