/* Continuous particle scenes. The existing Sakura artwork and motion remain intact. */
html:not(.effects-paused) .shop-item .profile-fx,html:not(.effects-paused) .shop-item .profile-fx *,html:not(.effects-paused) .shop-item .profile-fx:before,html:not(.effects-paused) .shop-item .profile-fx:after{animation-play-state:running!important}
.profile-fx.effect-error:before{opacity:.16;animation:live-static .24s steps(2,end) infinite}
.profile-fx.effect-error .fx-ribbon{opacity:.35;animation:live-scan 5s linear infinite;height:5%}
.profile-fx.effect-error .ribbon-1{animation-delay:-1.7s;animation-duration:6.3s}.profile-fx.effect-error .ribbon-2{animation-delay:-3.8s;animation-duration:7.1s}
.profile-fx.effect-error .fx-particle{width:calc(var(--size)*2);height:3px;top:-10%;background:linear-gradient(90deg,#83bba399,#96a4caaa);box-shadow:5px 3px 0 #a5bccc22;opacity:.5;animation:signal-fall calc(var(--duration)*.85) linear infinite}
@keyframes live-static{0%{transform:translate(-2%,1%)}50%{transform:translate(2%,-1%)}100%{transform:translate(0,2%)}}
@keyframes live-scan{0%{transform:translateY(-700%);opacity:.1}20%,75%{opacity:.45}100%{transform:translateY(1900%);opacity:.1}}
@keyframes signal-fall{0%{top:-10%;transform:translateX(0);opacity:0}10%,85%{opacity:.5}40%{transform:translateX(12px)}41%{transform:translateX(-8px)}60%{transform:translateX(-8px)}61%{transform:translateX(8px)}100%{top:110%;transform:translateX(-6px);opacity:0}}
.profile-fx.effect-aurora .fx-particle{top:110%;width:calc(var(--size)*.6);height:calc(var(--size)*.9);border-radius:65% 35% 60% 40%;background:linear-gradient(145deg,#c6e1bfbb,#8bbfd088);box-shadow:0 0 8px #a1d4c55c;animation:aurora-mote var(--duration) linear infinite}
.profile-fx.effect-aurora .fx-particle:nth-of-type(3n){background:linear-gradient(145deg,#dfd2e7c0,#b9b3d8a0);filter:blur(.5px)}
@keyframes aurora-mote{0%{top:110%;transform:translateX(0) rotate(0);opacity:0}12%,80%{opacity:.7}50%{transform:translateX(var(--drift)) rotate(80deg)}100%{top:-10%;transform:translateX(0) rotate(160deg);opacity:0}}
.profile-fx.effect-constellation .fx-particle{top:-10%;width:calc(var(--size)*.65);height:calc(var(--size)*.65);clip-path:polygon(50% 0,61% 38%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 38%);border-radius:0;background:#9b91b9;box-shadow:none;animation:starlight-fall calc(var(--duration)*1.25) linear infinite}
.profile-fx.effect-constellation .fx-particle:nth-of-type(3n){background:#7e9eb5;filter:drop-shadow(0 0 2px #b9cbe3)}
.profile-fx.effect-constellation .fx-ribbon{animation:meteor-loop 7s linear infinite}.profile-fx.effect-constellation .ribbon-1{animation-delay:-2.4s;animation-duration:8.5s}.profile-fx.effect-constellation .ribbon-2{animation-delay:-5.3s;animation-duration:10s}
@keyframes starlight-fall{0%{top:-10%;transform:translateX(0) rotate(0);opacity:0}12%{opacity:.65}40%{opacity:.35}65%{opacity:.8}90%{opacity:.5}100%{top:110%;transform:translateX(var(--drift)) rotate(150deg);opacity:0}}
@keyframes meteor-loop{0%{opacity:0;transform:translateX(0)}15%{opacity:.5}65%{opacity:.35}100%{opacity:0;transform:translateX(-460px)}}
.profile-fx.effect-rain .fx-particle{animation-duration:calc(var(--duration)*.45)}
.profile-fx.effect-rain .fx-glass-drop{animation-duration:11s}.profile-fx.effect-rain .fx-ripple{animation:water-loop 4s ease-out infinite;animation-delay:var(--delay)}
@keyframes water-loop{0%{transform:translateX(-50%) scale(.2);opacity:0}12%{opacity:.55}100%{transform:translateX(-50%) scale(1.8);opacity:0}}
@media(prefers-reduced-motion:reduce){.profile-fx,.profile-fx *,.profile-fx:before,.profile-fx:after{animation:none!important}.profile-fx.effect-error:before{opacity:.06}.profile-fx.effect-aurora .fx-particle,.profile-fx.effect-constellation .fx-particle{top:var(--y);opacity:.3}.profile-fx.effect-constellation .fx-ribbon{display:none!important}}
