.tactics-intro,.tactics-slots,.tactics-card{background:#39291f;border:1px solid #b58a45;border-radius:12px;padding:18px;color:#f4e4bb}.tactics-intro select{display:block;max-width:100%;padding:12px;background:#f1dfad;color:#34261d;border-radius:8px;margin-top:10px}.tactics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.tactics-card{display:flex;flex-direction:column;gap:12px}.tactics-card h3,.tactics-card p{margin:0}.tactics-card small{color:#ebd29c}.tactics-card button{margin-top:auto}.tactics-card.equipped{border:2px solid #efd07a}.enemy-intent{padding:12px 18px;background:#3b2b20;color:#ffe2a0;border-bottom:1px solid #aa8345;font-size:13px}.actions>button[hidden]{display:none!important}#tactics-view{padding-bottom:30px}

/* A readable, persistent guard cue, independent of animation preferences. */
.battle-shield-status{display:none;position:absolute;left:50%;top:0;transform:translate(-50%,-65%);z-index:8;white-space:nowrap;padding:6px 10px;border:1px solid #b4f3ff;border-radius:14px;background:#153c54eb;color:#e5fbff;font-size:10px;font-weight:900;letter-spacing:.4px;box-shadow:0 0 18px #8de4ff66;pointer-events:none}
.fighter.shielded .battle-shield-status{display:block}
.fighter.shielded:before{z-index:3;border-color:#d0faff;box-shadow:0 0 26px #8de4ffaa,inset 0 0 24px #8de4ff44}
.fighter.command-ready .sprite-rig{filter:drop-shadow(0 0 12px #ffe3a277)}
@media(max-width:600px){.battle-shield-status{font-size:8px;padding:5px 7px}}

.soul-drain-cue{position:absolute;top:34%;z-index:7;transform:translateX(-50%);max-width:48%;padding:7px 12px;border:1px solid #e8b1ef;border-radius:9px;background:#402339e8;color:#ffe0b3;font:900 clamp(13px,2.5vw,20px) 'Nunito',sans-serif;letter-spacing:.08em;white-space:nowrap;text-shadow:0 1px 3px #190d18;animation:soul-drain-pulse .5s ease-in-out 3;pointer-events:none}
@keyframes soul-drain-pulse{0%,100%{opacity:1}50%{opacity:.4}}
@media(prefers-reduced-motion:reduce){.soul-drain-cue{animation:none;opacity:1}}

.fighter.bleeding{filter:drop-shadow(0 0 8px #c63645)}@media(prefers-reduced-motion:no-preference){.fighter.bleeding{animation:bleed-pulse 2s ease-in-out infinite}}@keyframes bleed-pulse{50%{filter:drop-shadow(0 0 16px #d64255)}}
