/* Persistent status cues belong to the figure and never intercept targeting. */
/* WCO3: the aura spans the sprite's own bounds, behind the artwork. The stage
   isolates it so z-index -1 stays under the figure and above the scene. */
.pose-stage { isolation:isolate; }
.combat-pose-aura { position:absolute; inset:0; z-index:-1; pointer-events:none; color:var(--pose-color); opacity:0; filter:drop-shadow(0 0 2px currentColor); }
.combat-pose-aura svg { width:100%; height:100%; overflow:visible; fill:none; stroke:currentColor; stroke-width:.85; opacity:.28; animation:pose-aura-breathe 4200ms ease-in-out var(--pulse-delay,0ms) infinite; }
@keyframes pose-aura-breathe { 0%,100% { opacity:.18; } 50% { opacity:.38; } }
.painted-stage .pose-frame { transition:filter 300ms ease-out; }
.combat-pose-aura g, .combat-pose-aura .pose-floor { display:none; }
.combat-pose-aura[data-motif="diamond"] .pose-diamond,
.combat-pose-aura[data-motif="constellation"] .pose-constellation,
.combat-pose-aura[data-motif="halo"] .pose-halo,
.combat-pose-aura:not([data-motif=""]) .pose-floor { display:initial; }
.pose-halo-gold { stroke:#e2bd73; }
.pose-constellation circle { fill:#dce7ff; }
.pose-stage[data-pose="defeated"] .combat-pose-aura { display:none; }
.pose-stage[data-pose-reaction="hp"] .combat-pose-aura { color:#ed7885; filter:drop-shadow(0 0 3px #f23c5288); }
.pose-stage[data-pose-reaction="heal"] .combat-pose-aura { color:#e7c888; filter:drop-shadow(0 0 3px #ffd47588); }
.reduced-motion .combat-pose-aura svg, .reduce-flashes .combat-pose-aura svg { animation:none; opacity:.28; }
.reduced-motion .pose-frame { transition:none; }
@media(prefers-reduced-motion:reduce) { .combat-pose-aura svg { animation:none; opacity:.28; } .pose-frame { transition:none; } }
/* The new extended arms/blades need more width than the old narrow idle.
   Keep one scale for every frame of these outfits on the compact solo board. */
.combat:not(.coop) .player-zone .readiness-outfit { transform:translateX(3%); }
@media(max-width:640px) {
  .combat:not(.coop) .player-zone .readiness-outfit { transform:translateX(18%) scale(.6); transform-origin:50% 100%; }
  :root[data-layout='narrow'] .combat.coop .player-zone { gap:.5rem; padding-top:2rem; flex-shrink:0; }
  :root[data-layout='narrow'] .combat.coop .coop-seat { flex:1 1 0; min-width:0; }
  :root[data-layout='narrow'] .combat.coop .coop-seat .sprite { width:100%; height:110px; }
  :root[data-layout='narrow'] .combat.coop .coop-seat .painted-outfit { width:85px!important; height:100px!important; }
  :root[data-layout='narrow'] .combat.coop .coop-seat .meters { width:100%; }
}
