/* ASTERVEIL Warrior Golden Shockwave V13 — no white flash; Preview only.
   The approved V10 sword frames are preserved. The ONLY new attack VFX is
   one golden travelling shockwave followed by a target-positioned impact. */
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .battle-action-effect,
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .hit-effect{
 display:none!important;opacity:0!important;animation:none!important;
}
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .battle-action-effect::before,
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .battle-action-effect::after,
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .combatant.ally::before,
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .combatant.ally::after,
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .combatant.enemy-unit::before,
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .combatant.enemy-unit::after{
 content:none!important;display:none!important;animation:none!important;
}
/* Prevent the legacy enemy flash from appearing during the sword wind-up. */
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .combatant.enemy-unit .monster-sprite{
 animation:none!important;
}
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior
 .combatant.enemy-unit.av-warrior-impact-now .monster-sprite{
 animation:avGoldenTargetReact .28s ease-out both!important;
}
@keyframes avGoldenTargetReact{
 0%{transform:translate3d(0,0,0) scale(1);filter:brightness(1)}
 35%{transform:translate3d(7px,-1px,0) scale(.975);filter:brightness(1.035)}
 70%{transform:translate3d(-3px,1px,0) scale(1.012);filter:brightness(1.02)}
 100%{transform:translate3d(0,0,0) scale(1);filter:brightness(1)}
}
/* Positioned against the actual battle-scene bounds at the sword release
   frame. Percentages are local to the transparent SVG, not the page. */
body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-shockwave{
 position:absolute!important;
 z-index:11!important;
 display:block!important;
 height:auto;
 aspect-ratio:320/170;
 min-width:85px;
 pointer-events:none;
 background:url('/game/asterveil/assets/warrior-golden-shockwave-amber-v13.svg') center / 100% 100% no-repeat;
 mix-blend-mode:normal;
 opacity:0;
 filter:drop-shadow(0 0 8px rgba(217,153,54,.55))
        drop-shadow(0 0 15px rgba(194,119,44,.28));
 transform-origin:30% 50%;
 will-change:transform,opacity;
 animation:avGoldenWaveTravel .46s cubic-bezier(.19,.25,.53,1) both;
}
@keyframes avGoldenWaveTravel{
 0%{opacity:.07;transform:translate(-30%,-50%) rotate(var(--av-wave-angle,0rad)) translateX(0px) scale(.71)}
 12%{opacity:1}
 78%{opacity:1}
 100%{opacity:.92;transform:translate(-30%,-50%) rotate(var(--av-wave-angle,0rad)) translateX(var(--av-wave-distance,200px)) scale(1.07)}
}
/* Impact is created ONLY when travel completes, at the monster's real torso. */
body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-gold-impact{
 position:absolute!important;
 z-index:12!important;
 width:var(--av-impact-size,120px);
 height:var(--av-impact-size,120px);
 border-radius:50%;
 transform:translate(-50%,-50%);
 pointer-events:none;
 opacity:0;
 mix-blend-mode:normal;
 background:
  radial-gradient(circle,rgba(244,178,61,.55) 0 4%,rgba(232,163,60,.55) 5% 12%,rgba(232,154,49,.32) 14% 20%,transparent 53%),
  conic-gradient(from 10deg,transparent 0 13%,rgba(235,173,68,.54) 15%,transparent 19% 34%,rgba(255,189,72,.53) 39%,transparent 43% 61%,rgba(235,173,68,.6) 65%,transparent 70% 88%,rgba(255,188,76,.7) 93%,transparent 97%);
 box-shadow:0 0 20px rgba(255,190,79,.28);
 animation:avGoldenWaveImpact .28s ease-out both!important;
}
body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-gold-impact::before,
body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-gold-impact::after{
 content:"";position:absolute;inset:12%;
 border:3px solid rgba(234,173,67,.7);
 border-radius:50%;
 box-shadow:0 0 9px rgba(217,152,58,.35),inset 0 0 9px rgba(217,152,58,.25);
}
body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-gold-impact::after{
 inset:26%;
 border-width:2px;
 border-color:rgba(233,177,74,.72);
}
@keyframes avGoldenWaveImpact{
 0%{opacity:.1;scale:.3}
 31%{opacity:1;scale:.95}
 100%{opacity:0;scale:1.44}
}
@media(prefers-reduced-motion:reduce){
 body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-shockwave{display:none!important;animation:none!important}
 body.av-ui-ready #battleStage.battle-command-v3 .battle-arena-scene .av-warrior-gold-impact{animation:avGoldenWaveImpact .28s ease-out both!important}
 body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .combatant.enemy-unit.av-warrior-impact-now .monster-sprite{animation:none!important}
}

/* The new impact never flashes the entire sprite white. */
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .enemy-unit.av-warrior-impact-now .monster-sprite{filter:brightness(1.035)!important}
