/* Motion remains on the rig; facing and optical calibration live inside it. */
.fighter .fighter-rig.hero-rig{scale:1;transform:none;mask-image:none;animation:rig-breathe 3.1s ease-in-out infinite;overflow:visible}
.fighter.fighter-victory .fighter-rig.hero-rig{animation:rig-victory 1.3s cubic-bezier(.2,.8,.2,1) both}
.hero-filter-defs{position:absolute;overflow:hidden;pointer-events:none}
.hero-portrait{position:absolute;inset:0;display:block;transform-origin:center bottom;transform:scaleX(var(--hero-mirror,1)) scale(var(--hero-optical-scale,1));pointer-events:none}
.hero-portrait>.fighter-art,.hero-portrait>.hero-contour-aura{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.fighter .hero-rig .hero-portrait>.fighter-art,.combo-shot .hero-portrait>.fighter-art{filter:none;z-index:2}
.hero-contour-aura{z-index:1;opacity:.8;animation:hero-contour-pulse 3.1s ease-in-out infinite}
.arena-frame--cinema .hero-portrait{--hero-optical-scale:var(--hero-cinema-scale,1)}
.arena-frame--cinema .fighter-rig.hero-rig,.experience-game .arena-frame--cinema .fighter-rig.hero-rig{--rig-h:min(69cqh,calc(100cqh - 82px),620px);--rig-w:min(30vw,calc(var(--rig-h) * .667))}
.arena-frame--cinema.arena-frame--trio .fighter-rig.hero-rig,.experience-game .arena-frame--cinema.arena-frame--trio .fighter-rig.hero-rig{--rig-h:min(65cqh,calc(100cqh - 82px),500px);--rig-w:min(24vw,calc(var(--rig-h) * .667))}
.combo-shot>.combo-shot__portrait{position:absolute;left:7%;bottom:-65%;height:160%;width:50%;max-width:58%;animation:combo-portrait var(--fx-duration) cubic-bezier(.17,.8,.25,1) both;pointer-events:none}
.combo-shot__portrait .hero-portrait{--hero-optical-scale:1}
.combo-shot__portrait .hero-portrait>.fighter-art{object-position:center top}
.combo-shot__portrait .hero-contour-aura{object-position:center top}
@keyframes hero-contour-pulse{0%,100%{opacity:.55}50%{opacity:.9}}
@media(orientation:landscape) and (max-height:650px){.combo-shot>.combo-shot__portrait{height:205%;bottom:-118%}}
.fx-low .hero-contour-aura{animation:none;opacity:.5}
body.motion-reduced .fighter .fighter-rig.hero-rig,.motion-reduced .fighter .fighter-rig.hero-rig,.motion-reduced .hero-contour-aura,.motion-reduced .combo-shot>.combo-shot__portrait{animation:none!important}
@media(prefers-reduced-motion:reduce){.hero-rig,.hero-contour-aura,.combo-shot>.combo-shot__portrait{animation:none!important}}
