/* Poses share the existing scene-relative sprite box and its baseline. */
.combat-visual{display:grid;position:relative;transform-origin:50% 88%}
.combat-visual>.enchantment,.combat-visual>.sprite{grid-area:1/1}
.combat-visual>.motion-sprite{background-repeat:no-repeat;background-size:300% 200%;visibility:hidden;clip-path:none;filter:none}
.combat-visual.has-pose>.enchantment,.combat-visual.has-pose>.sprite:not(.motion-sprite){visibility:hidden}
.combat-visual.has-pose>.motion-sprite{visibility:visible}
.fighter.motion-down{opacity:.8}
.fighter.motion-down .sprite{filter:saturate(.35)}
.fighter.motion-down .combat-visual:not(.has-pose){transform:translateY(10%) rotate(18deg) scale(.9)}
.fighter.motion-victor .combat-visual:not(.has-pose){transform:translateY(-2%) rotate(-3deg)}
.fighter.motion-victor .fighter-name{color:var(--gold)}
.motion-status{color:var(--muted);font-size:12px}
@media(prefers-reduced-motion:reduce){.fighter.motion-down .combat-visual:not(.has-pose){transform:none;opacity:.55}.fighter.motion-victor .combat-visual:not(.has-pose){transform:none}}

/* The result card carries terminal facts on phones; the painting stays clear. */
.terminal-enemy{display:none}
@media(max-width:767px){
 body:is([data-play-state="victory"],[data-play-state="defeat"]) .stage-caption{display:none}
 .stage-result .terminal-enemy{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:5px;font-size:12px;line-height:1.5}
 .terminal-enemy strong{color:var(--ink);font-weight:600}.terminal-enemy>span{white-space:nowrap}
 .action-desk .stage-result p{margin:6px 0}
}
