/* V3 basics: three authored projectiles, attached wakes and distinct hit poses. */
.ffba-vector { display:block; width:100%; height:100%; overflow:visible; }
.ffba-bow { z-index:3; filter:drop-shadow(0 0 7px var(--ff2)); }
.ffba-cast { z-index:2; filter:drop-shadow(0 0 5px var(--ff3)); }
.ffba-arrow { z-index:4; filter:drop-shadow(0 0 3px var(--ff3)); }
.ffba-arrow>svg { position:relative; z-index:1; }
.ffba-arrow.is-leader { z-index:5; filter:drop-shadow(0 0 5px var(--ff2)) drop-shadow(0 0 9px var(--ff5)); }
.ffba-projectile-tail { position:absolute; left:-150%; width:210%; top:-35%; height:170%; opacity:var(--ffba-tail-opacity,.5); transform-origin:100% 50%; }
.ffba-projectile-tail.is-charge-braid { left:calc(-150% - var(--ffba-charges) * 15%); width:calc(210% + var(--ffba-charges) * 15%); }
.ffba-impact { z-index:6; filter:drop-shadow(0 0 6px var(--ff3)); }
.ffba-impact.is-critical { filter:drop-shadow(0 0 8px var(--ff2)) drop-shadow(0 0 14px var(--ff5)); }
.ffba-impact.is-enchanted { filter:drop-shadow(0 0 7px var(--ff2)) drop-shadow(0 0 12px var(--ff5)); }
.ffba-mote { z-index:5; filter:drop-shadow(0 0 3px var(--ff3)); }
.ffba-mote.is-enchanted { filter:drop-shadow(0 0 5px var(--ff2)); }
.ffba-ember-braid { transform-box:fill-box; transform-origin:100% 50%; animation:ffbaEmberBraid .34s ease-in-out infinite alternate; }
.ffba-cast-flames { transform-box:fill-box; transform-origin:center; animation:ffbaFlameRelease .5s ease-out both; }
.ffba-hit-flames { transform-box:fill-box; transform-origin:center; animation:ffbaFlameRelease .6s ease-out both; }
.ffba-hit-leaves { transform-box:fill-box; transform-origin:center; animation:ffbaLeafSweep .9s ease-out both; }
.ffba-frost-rails { animation:ffbaColdRails .48s steps(2,end) infinite; }
.ffba-cast-hexagon { transform-box:fill-box; transform-origin:center; animation:ffbaHexReveal .55s steps(3,end) both; }
.ffba-hit-prisms { transform-box:fill-box; transform-origin:center; animation:ffbaPrismBreak .65s cubic-bezier(.1,.65,.2,1) both; }
.ffba-ash-wake { animation:ffbaAshPulse .32s ease-in-out infinite alternate; }
.ffba-cast-jaw, .ffba-hit-jaw-upper, .ffba-hit-jaw-lower { transform-box:fill-box; transform-origin:center; }
.ffba-hit-fractures path { stroke-dasharray:330; animation:ffbaFractureDraw .3s ease-out both; }
.ffba-fire-core, .ffba-ice-glint { z-index:5; border-radius:50%; }
.ffba-fire-core { background:radial-gradient(circle,#fff4da 0%,color-mix(in srgb,var(--ff5) 55%,transparent) 28%,transparent 70%); }
.ffba-ice-glint { background:radial-gradient(ellipse,#efffff 0%,color-mix(in srgb,var(--ff3) 45%,transparent) 25%,transparent 65%); }
.ffba-bone-dust { z-index:3; border-radius:50%; border:2px solid color-mix(in srgb,var(--ff2) 45%,transparent); background:radial-gradient(ellipse,transparent 30%,color-mix(in srgb,var(--ff5) 40%,transparent) 55%,transparent 72%); filter:blur(2px); }
@keyframes ffbaEmberBraid { from { transform:scaleY(.87) skewY(-1deg); } to { transform:scaleY(1.07) skewY(1deg); } }
@keyframes ffbaFlameRelease { from { transform:scale(.15) rotate(-45deg); opacity:.2; } to { transform:scale(1) rotate(8deg); opacity:1; } }
@keyframes ffbaLeafSweep { from { transform:scale(.2) rotate(75deg); } to { transform:scale(1.2) rotate(-20deg); } }
@keyframes ffbaColdRails { 0%,100% { opacity:.9; } 50% { opacity:.55; } }
@keyframes ffbaHexReveal { from { transform:scale(.3) rotate(-60deg); } to { transform:scale(1) rotate(0); } }
@keyframes ffbaPrismBreak { from { transform:scale(.1); opacity:0; } 35% { opacity:1; } to { transform:scale(1.12); opacity:.9; } }
@keyframes ffbaAshPulse { to { opacity:.55; } }
@keyframes ffbaFractureDraw { from { stroke-dashoffset:330; } to { stroke-dashoffset:0; } }
@media(prefers-reduced-motion:reduce) {
    .ffba-vector *, .ffba-mote * { animation:none!important; }
    .ffba-projectile-tail { opacity:.3; }
    .ffba-arrow, .ffba-cast, .ffba-impact, .ffba-mote, .ffba-bone-dust { filter:none; }
}
