/* Preserve SVG proportions. Detailed icons must scale their own fine strokes. */
.furiel-premium [data-furiel-motif] :is(path,ellipse,circle) { vector-effect:none; }
.furiel-field-ground { position:absolute;left:50%;bottom:8px;width:min(94%,1200px);aspect-ratio:1000 / 145;transform:translateX(-50%);pointer-events:none; }
.furiel-colony-field.has-bi4-marquee .furiel-field-ground { bottom:27px; }
.furiel-colony-field.is-subtle .furiel-field-ground > .furiel-field-scenery { inset:0;width:100%;height:100%;min-height:0;max-height:none;opacity:.3;filter:none; }
.furiel-colony-field.is-subtle[data-furiel-tier="1"] .furiel-field-ground > .furiel-field-scenery { opacity:.23; }
.furiel-colony-field.is-subtle[data-furiel-tier="3"] .furiel-field-ground > .furiel-field-scenery { opacity:.38; }
.furiel-field-ornament { position:absolute;bottom:38px;width:52px;height:52px;opacity:.48; }
.furiel-field-ornament.is-left { left:8%; }
.furiel-field-ornament.is-right { right:8%; }
.furiel-field-ornament > svg { display:block;width:100%;height:100%;overflow:visible; }
.furiel-colony-field[data-furiel-theme="bi4Upgrade"] .furiel-field-ornament { width:68px;height:68px;bottom:24px; }
.furiel-colony-field.is-subtle .furiel-subtle-floor { height:85px;max-height:110px;opacity:.22;box-shadow:none; }
.furiel-colony-field.is-subtle .furiel-subtle-spores { height:85px;opacity:.55; }
.furiel-colony-field.is-subtle .furiel-subtle-mushrooms { left:5%;right:5%;height:65px;opacity:.65; }
.furiel-field-response.furiel-premium { left:50%;right:auto;width:min(94%,1200px);height:auto;min-height:0;max-height:none;aspect-ratio:1000 / 145;transform:translateX(-50%); }
.furiel-field-response > svg { width:100%;height:100%; }

/* 1: living pressure travels around the membrane after a local indentation. */
.furiel-premium > .furiel-shield-response-art { inset:-5%;width:110%;height:110%;animation:furielResponseFade 1400ms ease-out both;filter:drop-shadow(0 0 4px var(--furiel-glow)); }
.furiel-organic-pressure { stroke-dasharray:1;stroke-dashoffset:1;animation:furielOrganicPressure 950ms ease-out calc(var(--fs-i) * 55ms) both; }
@keyframes furielOrganicPressure { 0% {opacity:0;stroke-dashoffset:1} 20% {opacity:1} 75% {stroke-dashoffset:0;opacity:.6} 100% {stroke-dashoffset:0;opacity:0} }
@keyframes furielResponseFade { 0% {opacity:0} 12%,75% {opacity:1} 100% {opacity:0} }

/* 2: real silhouette reconstruction, followed by absorption into the portrait. */
.furiel-premium > .furiel-spore-reassembly { inset:0;width:100%;height:100%;filter:drop-shadow(0 0 3px var(--furiel-glow)); }
.furiel-reassembly-spore { animation:furielSporeReassembly 1500ms ease-out calc(var(--fs-i) * 9ms) both; }
.furiel-reassembly-silhouette { animation:furielSilhouetteMerge 1700ms ease-out 650ms both; }
.furiel-reassembly-veins { stroke-dasharray:360;stroke-dashoffset:360;animation:furielVeinAbsorption 1350ms ease-out 850ms both; }
@keyframes furielSporeReassembly { 0% {opacity:0;transform:translate(var(--fs-x),var(--fs-y)) scale(.2)} 20% {opacity:.9} 65% {opacity:1;transform:translate(0,0) scale(1.2)} 100% {opacity:0;transform:translate(0,0) scale(.1)} }
@keyframes furielSilhouetteMerge { 0% {opacity:0;scale:1.07} 40% {opacity:.85;scale:1} 100% {opacity:0;scale:.97} }
@keyframes furielVeinAbsorption { 0% {opacity:0;stroke-dashoffset:360} 35% {opacity:1} 75% {stroke-dashoffset:0;opacity:.8} 100% {stroke-dashoffset:0;opacity:0} }

/* 3: paper curls inward; the rune outlives the material and then dissipates. */
.furiel-premium > .furiel-burning-seal { inset:0;width:100%;height:100%;filter:drop-shadow(0 0 6px var(--furiel-glow)); }
.furiel-burning-paper { animation:furielPaperConsumption 1300ms ease-in both;transform-origin:0 0; }
.furiel-burn-curl { animation:furielBurnCurl 1100ms ease-in-out both; }
.furiel-burn-imprint { animation:furielBurnImprint 1400ms ease-out 500ms both; }
.furiel-seal-ash { animation:furielSealAsh 1200ms ease-out calc(450ms + var(--fs-i) * 24ms) both; }
@keyframes furielPaperConsumption { 0% {opacity:1;transform:scale(1) skewY(0)} 45% {opacity:1;transform:scale(.85,1.1) skewY(-9deg)} 75% {opacity:.6;transform:scale(.22,.85) skewY(20deg)} 100% {opacity:0;transform:scale(.02,.4) skewY(30deg)} }
@keyframes furielBurnCurl { 0% {opacity:0;transform:scale(1)} 25% {opacity:1} 100% {opacity:0;transform:scale(.15,1.2)} }
@keyframes furielBurnImprint { 0% {opacity:0} 35%,65% {opacity:1} 100% {opacity:0} }
@keyframes furielSealAsh { 0% {opacity:0;transform:translate(0,0) rotate(0deg)} 20% {opacity:.9} 100% {opacity:0;transform:translate(var(--fs-x),-115px) rotate(140deg)} }

/* 5: absorbed hits are repaired; depleted shields scatter instead of healing. */
.furiel-crystal-stress { stroke-dasharray:1;stroke-dashoffset:1;animation:furielStressRepair 1250ms ease-out calc(var(--fs-i) * 40ms) both; }
.furiel-crystal-stress.is-breaking { animation-name:furielStressBreak; }
.furiel-stress-fragment { animation:furielStressFragment 1300ms ease-in 100ms both; }
@keyframes furielStressRepair { 0% {opacity:0;stroke-dashoffset:1} 25% {opacity:1;stroke-dashoffset:0} 52% {opacity:1;stroke-dashoffset:0;stroke:#fff} 100% {opacity:0;stroke-dashoffset:-1} }
@keyframes furielStressBreak { 0% {opacity:0;stroke-dashoffset:1} 25% {opacity:1;stroke-dashoffset:0} 100% {opacity:0;stroke-dashoffset:0} }
@keyframes furielStressFragment { 0% {opacity:0;transform:translate(0,0) rotate(0)} 20% {opacity:1} 100% {opacity:0;transform:translate(var(--fs-x),var(--fs-y)) rotate(80deg)} }

/* 7: metal plates hinge open first, then cup into the final protective shape. */
.furiel-premium > .furiel-royal-fan { inset:-7% -16%;width:132%;height:114%;filter:drop-shadow(0 0 4px var(--furiel-glow)); }
.furiel-fan-plate { transform-origin:0 0;animation:furielRoyalFan 1450ms cubic-bezier(.2,.75,.25,1) calc(var(--fp-delay,0ms) + var(--fs-i) * 35ms) both; }
@keyframes furielRoyalFan { 0% {opacity:0;transform:rotate(-5deg) scale(.06,.4)} 20% {opacity:1} 65% {opacity:1;transform:rotate(var(--fs-angle)) scale(1.03)} 100% {opacity:1;transform:rotate(var(--fs-angle)) scale(.83,1)} }

/* 8: only the effect is mirrored; the reflection never duplicates the hero card. */
.furiel-premium > .furiel-royal-reflection { inset:0;width:100%;height:100%;filter:none;animation:furielReflectionFade 2200ms ease-out calc(var(--fp-delay,0ms) + 230ms) both; }
.furiel-reflection-strip { animation:furielReflectionDrift 1900ms ease-in-out calc(var(--fp-delay,0ms) + 230ms + var(--fs-i) * 35ms) both; }
.furiel-reflection-ripple { animation:furielReflectionFade 2100ms ease-out calc(var(--fp-delay,0ms) + 390ms) both; }
@keyframes furielReflectionFade { 0% {opacity:0} 25%,65% {opacity:.4} 100% {opacity:0} }
@keyframes furielReflectionDrift { 0% {translate:0 2px} 35% {translate:calc(var(--fs-side) * 3px) 0} 75% {translate:calc(var(--fs-side) * -4px) 1px} 100% {translate:calc(var(--fs-side) * 6px) 3px} }

@media(max-width:700px) {
    .furiel-field-ornament { width:36px;height:36px;bottom:22px; }
    .furiel-colony-field[data-furiel-theme="bi4Upgrade"] .furiel-field-ornament { width:44px;height:44px;bottom:16px; }
}
@media(prefers-reduced-motion:reduce) {
    .furiel-field-ground *, .furiel-premium * { animation:none!important;transition:none!important; }
    .furiel-spore-reassembly,.furiel-royal-reflection,.furiel-seal-ash { display:none; }
    .furiel-fan-plate { transform:rotate(var(--fs-angle)) scale(.83,1); }
    .furiel-crystal-stress { stroke-dashoffset:0; }
}
