/* Equipment: golden talismans. Companions: claws, spirits and constellations. */
.source-effect{position:absolute;z-index:0;pointer-events:none;width:160px;height:160px;margin:-80px 0 0 -80px;color:var(--fx-color);filter:drop-shadow(0 0 5px var(--fx-accent));animation:source-bloom .68s ease-out both;contain:layout style}
.source-effect svg,.fighter .source-effect>svg{width:100%;height:100%;overflow:visible}.source-effect.cast{width:135px;height:135px;margin:-67.5px 0 0 -67.5px;animation:source-gather .65s ease-out both}
.source-effect.effect-special-area,.source-effect.effect-pet-magic-area,.source-effect.effect-pet-physical-area{width:190px;height:190px;margin:-95px 0 0 -95px}
.source-effect .fx-orbit{transform-origin:80px 80px;animation:source-orbit .8s ease-out both}.source-effect .fx-orbit.reverse{animation-direction:reverse;stroke:var(--fx-accent)}
.source-effect .fx-shock{transform-origin:80px 80px;animation:source-shock .65s ease-out both;stroke-width:3}.source-effect .fx-shock.delayed{animation-delay:.1s;stroke:var(--fx-accent)}
.source-effect .fx-sigil{stroke-width:3;animation:source-seal .6s ease-out both;transform-origin:80px 80px}
.source-effect .fx-cut{stroke:var(--fx-accent);stroke-width:8;stroke-dasharray:150;stroke-dashoffset:150;animation:source-cut .4s ease-out forwards}
.source-effect .fx-claws{stroke-width:6;stroke:var(--fx-color);stroke-dasharray:150;stroke-dashoffset:150;animation:source-cut .35s ease-out forwards;filter:drop-shadow(3px 0 1px var(--fx-accent))}
.source-effect .fx-bead{fill:var(--fx-color);stroke:var(--fx-accent);stroke-width:2}.source-effect .fx-heart{fill:var(--fx-accent);fill-opacity:.3;animation:source-heart .6s ease-out both;transform-origin:80px 80px}
.source-effect .fx-rise{animation:source-rise .7s ease-out both;transform-origin:80px 80px;fill:var(--fx-accent);fill-opacity:.18;stroke-width:3}
.source-effect.effect-special-area.cast{transform:scaleY(.65)}.source-effect.effect-pet-magic-area svg>path{stroke:var(--fx-accent);stroke-width:1;opacity:.6}
.magic-projectile.projectile-special{width:62px;height:9px;border-radius:70% 10% 10% 70%;background:linear-gradient(90deg,transparent,#f6c977,#fff2bb);box-shadow:0 0 12px #edb446,0 0 25px #f9d9a166}
.magic-projectile.projectile-pet-single{width:22px;height:30px;border-radius:70% 20% 65% 40%;background:radial-gradient(ellipse at 65% 35%,#efffff,#8aeadb 35%,#ac7df2 65%,transparent 75%);box-shadow:0 0 15px #b393f2;filter:drop-shadow(-9px 4px 4px #72d7d888)}
.magic-projectile.projectile-pet-area{width:27px;height:27px;border-radius:0;clip-path:polygon(50% 0,61% 34%,98% 37%,69% 60%,80% 98%,50% 76%,20% 98%,31% 60%,2% 37%,39% 34%);background:linear-gradient(45deg,#b18af4,#d9fff8,#8bd6e6);box-shadow:none;filter:drop-shadow(0 0 7px #c394ff)}
@keyframes source-bloom{0%{opacity:0;transform:scale(.45)}20%{opacity:1;transform:scale(1.04)}60%{opacity:.9}100%{opacity:0;transform:scale(1.25)}}
@keyframes source-gather{0%{opacity:0;transform:scale(1.2) rotate(-15deg)}25%{opacity:1}70%{opacity:.9;transform:scale(.9) rotate(8deg)}100%{opacity:0;transform:scale(1.1)}}
@keyframes source-orbit{from{transform:rotate(-65deg)}to{transform:rotate(100deg)}}
@keyframes source-shock{0%{opacity:0;transform:scale(.35)}20%{opacity:1}100%{opacity:0;transform:scale(1.35)}}
@keyframes source-cut{0%{stroke-dashoffset:150;opacity:0}15%{opacity:1}85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.25}}
@keyframes source-seal{from{transform:translateY(-35px) scale(1.4);opacity:0}30%{opacity:1}to{transform:translateY(0) scale(1);opacity:.7}}
@keyframes source-rise{from{transform:translateY(25px) scale(.75);opacity:0}30%{opacity:1}to{transform:translateY(-20px) scale(1.1);opacity:0}}
@keyframes source-heart{from{transform:scale(.4);opacity:1}to{transform:scale(2.2);opacity:0}}
@media(max-width:740px){.source-effect{width:115px;height:115px;margin:-57.5px 0 0 -57.5px}.source-effect.cast{width:95px;height:95px;margin:-47.5px 0 0 -47.5px}.source-effect.effect-special-area,.source-effect.effect-pet-magic-area,.source-effect.effect-pet-physical-area{width:130px;height:130px;margin:-65px 0 0 -65px}.magic-projectile.projectile-special{width:40px;height:7px}}
@media(prefers-reduced-motion:reduce){.source-effect,.source-effect.cast{animation:source-still .12s linear both}.source-effect *{animation:none!important}.source-effect .fx-cut,.source-effect .fx-claws{stroke-dashoffset:0}.source-effect .fx-shock.delayed{opacity:.5}}
.source-effect[data-effect-source^="boss"],.source-effect[data-effect-source="foe-control"]{z-index:2}
.source-effect[data-effect-source="boss-special"]{scale:1.2;filter:drop-shadow(0 0 9px var(--fx-accent))}
.battle-stage[data-effect-source="boss-special"] .stage-caption{color:#fff0ae}
@keyframes source-still{0%,65%{opacity:.8;transform:none}100%{opacity:0;transform:none}}

.battle-stage .fighter .source-effect>svg{display:block;width:100%;height:100%;margin:0;animation:none;transform:none;opacity:1;filter:none}

/* 九派技能的手部法印、飞行形状和独立落点。 */
.battle-cast.battle-cast-school{width:clamp(86px,12vw,150px);color:var(--fx-color);filter:drop-shadow(0 0 8px var(--fx-accent)) drop-shadow(0 1px 2px #101f37)}
.battle-cast-school .cast-sigil>circle{stroke:var(--fx-accent);opacity:.85}
.battle-cast-school .school-emblem,.school-effect .school-emblem{fill:var(--fx-accent);fill-opacity:.26}
.source-effect.school-effect{z-index:2;width:clamp(110px,14vw,200px);height:auto;aspect-ratio:1;margin:0;translate:-50% -50%;filter:drop-shadow(0 0 5px var(--fx-accent)) drop-shadow(0 0 14px var(--fx-accent))}
.source-effect.school-effect.swing{z-index:5;width:clamp(126px,16vw,242px);animation:school-swing .28s ease-out both}
.school-effect.swing svg{scale:var(--fx-direction,1) 1}
.school-cut{stroke-dasharray:190;animation:school-cut .32s ease-out both}
.cut-glow{stroke:var(--fx-accent);stroke-width:12;stroke-opacity:.48}
.cut-edge{stroke:var(--fx-color);stroke-width:3.3}
.school-effect .school-sparks{fill:var(--fx-accent);fill-opacity:.3;animation:source-rise .65s ease-out both}
.school-effect .school-ripple{stroke:var(--fx-accent);stroke-width:2.7;transform-origin:80px 80px;animation:source-shock .62s ease-out both}
.school-effect .school-ripple.delayed{stroke-dasharray:4 5;animation-delay:.09s}
.school-effect .school-emblem{transform-origin:80px 80px}
.effect-school-longgong .school-emblem{animation:school-tide .5s ease-out both}
.effect-school-mowang .school-emblem{transform-origin:80px 130px;animation:school-fire .5s ease-out both}
.effect-school-shenmu .school-emblem{animation:source-rise .65s ease-out both}
.effect-school-fangcun .school-emblem{animation:source-seal .52s ease-out both}
.effect-school-huasheng .school-emblem{animation:source-orbit .66s ease-out both}
.effect-school-putuo .school-emblem{transform-origin:80px 116px;animation:school-lotus .62s ease-out both}
.magic-projectile.projectile-school{width:clamp(32px,4.6vw,61px);height:auto;aspect-ratio:1;margin:0;translate:-50% -50%;background:none;box-shadow:none;color:var(--fx-color);filter:drop-shadow(0 0 6px var(--fx-accent)) drop-shadow(0 0 13px var(--fx-accent))}
.projectile-school svg{width:100%;height:100%;overflow:visible;rotate:var(--flight-angle);fill:var(--fx-accent);fill-opacity:.54}
@keyframes school-swing{from{opacity:0;transform:scale(.72)}25%{opacity:1}76%{opacity:.94}to{opacity:0;transform:scale(1.17)}}
@keyframes school-cut{from{stroke-dashoffset:190}to{stroke-dashoffset:0}}
@keyframes school-tide{from{transform:rotate(-58deg) scale(.55)}to{transform:rotate(12deg) scale(1.06)}}
@keyframes school-fire{0%{transform:scale(.78,.42)}45%{transform:scale(.92,1.26)}100%{transform:scale(1.12,.96)}}
@keyframes school-lotus{from{transform:scale(.25,.8)}70%{transform:scale(1.09,1)}to{transform:scale(1.04,1.04)}}
@media(prefers-reduced-motion:reduce){
  .source-effect.school-effect,.source-effect.school-effect.swing{animation:source-still .12s linear both}
  .school-effect .school-cut{stroke-dashoffset:0}
}
.source-effect[data-effect-skill]{z-index:2}
.source-effect .fx-crests{stroke-width:4;stroke-linecap:round;animation:source-rise .65s ease-out both}
.magic-projectile[data-effect-skill]{clip-path:none;border-radius:40% 65% 42% 55%;background:radial-gradient(ellipse at 66% 34%,#fff,var(--fx-color) 23%,var(--fx-accent) 57%,transparent 73%);box-shadow:0 0 9px var(--fx-accent);filter:drop-shadow(-7px 2px 4px var(--fx-accent))}
.source-effect.elemental-impact[data-element]{z-index:9;width:clamp(90px,15vw,204px);height:auto;aspect-ratio:1;margin:0;translate:-50% -82.5%;filter:none;animation:element-fade .63s ease-out both}
.source-effect.elemental-impact[data-element="thunder"]{width:clamp(60px,10vw,132px);aspect-ratio:auto;translate:-50% 0;mix-blend-mode:screen}
.element-bolt{filter:drop-shadow(0 0 4px #a082ff) drop-shadow(0 0 14px #6248ff);animation:element-bolt .37s ease-out both}
.element-bolt-glow{stroke:#7755ff;stroke-width:13;opacity:.62}
.element-bolt-core{stroke:#fff5ff;stroke-width:4.4}
.element-fork,.element-spray{stroke:#c4b6ff;stroke-width:2.4;opacity:.85}
.element-flash{fill:#efddff;opacity:.57}
.element-halo{fill:var(--fx-accent);opacity:.4;filter:blur(10px)}
.element-ring{stroke:var(--fx-color);stroke-width:2.8;opacity:.75;transform-box:fill-box;transform-origin:center;animation:element-ring .61s ease-out both}
.element-rise{transform-origin:80px 132px;animation:element-rise .52s cubic-bezier(.17,.8,.28,1) both}
.element-flame{fill:#ff482a;fill-opacity:.8;stroke:#ff9152;stroke-width:2.2;filter:drop-shadow(0 0 8px #fc5019)}
.element-flame-inner{fill:#ff9a37;stroke:#ffd379;stroke-width:1.9}
.element-flame-core{fill:#fff0ab}
.element-water{fill:#159ddc;fill-opacity:.77;stroke:#68e4ff;stroke-width:2.5;filter:drop-shadow(0 0 7px #36cbf9)}
.element-foam{stroke:#e5ffff;stroke-width:3.8}
.element-particles{fill:var(--fx-color);filter:drop-shadow(0 0 3px var(--fx-accent));animation:element-particles .61s ease-out both}
.beast-sigil{stroke:#ffdf95;stroke-width:2.3;filter:drop-shadow(0 0 5px #ffc866)}
.beast-hoof{fill:#fff3b3;stroke:#ffd269;stroke-width:1.7;filter:drop-shadow(0 0 4px #ffc76d)}
.beast-cloud{fill:#5cdfbc;fill-opacity:.58;stroke:#cdfce1;stroke-width:2.6;filter:drop-shadow(0 0 6px #48e9af)}
.beast-cloud-line{stroke:#fff7d6;stroke-width:2.5}
.elemental-impact[data-element="cloud"] .element-particles{fill:#ffdb8c}
.beast-phoenix{transform-origin:80px 132px;animation:beast-phoenix-swoop .50s cubic-bezier(.16,.77,.36,1) both;filter:drop-shadow(0 0 7px #ff451d) drop-shadow(0 0 12px #ff7f31)}
.beast-pinion{fill:#ff4e30;fill-opacity:.82;stroke:#ffaf56;stroke-width:2}
.beast-phoenix-body{fill:#ffab41;stroke:#fff5bc;stroke-width:2.5}
.beast-phoenix-line{stroke:#ffe78d;stroke-width:2.2}
.beast-feather-trails{stroke:#ffa442;stroke-width:3;opacity:.8;animation:element-particles .61s ease-out both}
@keyframes beast-phoenix-swoop{0%{transform:translateY(-34px) scale(.84);opacity:.64}32%{transform:translateY(0) scale(1.04);opacity:1}100%{transform:translateY(-5px) scale(.97);opacity:.54}}
@keyframes element-fade{0%,39%{opacity:1}100%{opacity:0}}
@keyframes element-bolt{0%{opacity:1}43%{opacity:.84}100%{opacity:0}}
@keyframes element-ring{0%{transform:scale(.62);opacity:1}100%{transform:scale(1.22);opacity:0}}
@keyframes element-rise{0%{transform:scale(.62,.48)}27%{transform:scale(1,1.09)}100%{transform:scale(1.08,.94)}}
@keyframes element-particles{0%{opacity:0;transform:translateY(12px)}28%{opacity:1}100%{opacity:0;transform:translateY(-22px)}}
@media(prefers-reduced-motion:reduce){.source-effect.elemental-impact[data-element]{animation:source-still .12s linear both}}
.magic-projectile[data-effect-skill="mirrorWave"]{border-radius:50%;outline:1px solid var(--fx-accent)}
.magic-projectile[data-effect-skill="sheep"]{width:32px;height:18px;border-radius:50%;filter:drop-shadow(-8px 4px 3px var(--fx-accent))}
.magic-projectile[data-effect-skill="phoenix"]{height:33px;border-radius:60% 16% 48% 49%}
