/* Garden collection: transparent foreground layers keep profile text readable. */
.profile-fx:is(.effect-firefly,.effect-snow,.effect-ginkgo){container-type:size;isolation:isolate}
.profile-fx:is(.effect-firefly,.effect-snow,.effect-ginkgo) :is(.fx-ribbon,.fx-ripple){display:none}
.effect-firefly .fx-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 0 90%,#81ae7130,transparent 60%),radial-gradient(ellipse at 100% 30%,#d2bb5920,transparent 60%)}
.effect-firefly .fx-particle{top:0;width:4px;height:4px;border-radius:50%;background:#a99b43;box-shadow:0 0 4px #dbc87c,0 0 13px 4px #b6c97b55;animation:garden-firefly calc(var(--duration)*1.7) ease-in-out infinite}
.effect-firefly .fx-particle:nth-of-type(3n){width:2px;height:2px;background:#6e946a;box-shadow:0 0 9px 3px #c2de9d55}
@keyframes garden-firefly{0%{transform:translate(0,100cqh);opacity:0}15%{opacity:.8}35%{transform:translate(var(--drift),65cqh);opacity:.25}60%{transform:translate(calc(var(--drift)*-.5),35cqh);opacity:.9}85%{opacity:.4}100%{transform:translate(var(--drift),-12px);opacity:0}}
.effect-snow .fx-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0,#b1d0e52a,transparent 70%)}
.effect-snow .fx-particle{top:0;width:calc(var(--size)*1.8);height:calc(var(--size)*1.8);background:url('/sua/oj/cosmetics/snow-crystal.svg') center/contain no-repeat;animation:garden-fall calc(var(--duration)*1.5) linear infinite}
.effect-snow .fx-particle:nth-of-type(3n){width:3px;height:3px;border-radius:50%;background:#91aabd;filter:blur(.4px)}
.effect-ginkgo .fx-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 100% 0,#eed49130,transparent 65%)}
.effect-ginkgo .fx-particle{top:0;width:calc(var(--size)*2);height:calc(var(--size)*2);background:url('/sua/oj/cosmetics/ginkgo-leaf.svg') center/contain no-repeat;animation:garden-fall calc(var(--duration)*1.3) linear infinite;filter:drop-shadow(0 1px 1px #ac854b18)}
.effect-ginkgo .fx-particle:nth-of-type(3n){filter:hue-rotate(12deg);animation-direction:normal}
@keyframes garden-fall{0%{transform:translate(0,-24px) rotate(-25deg);opacity:0}10%{opacity:.75}35%{transform:translate(var(--drift),35cqh) rotate(70deg)}65%{transform:translate(calc(var(--drift)*-.4),65cqh) rotate(130deg)}90%{opacity:.6}100%{transform:translate(var(--drift),calc(100cqh + 24px)) rotate(210deg);opacity:0}}
.profile-card.background-botanical,.item-art.background-botanical{background:#f3f3e9 url('/sua/oj/cosmetics/botanical-pattern.svg') 0 0/140px 140px}
.background-botanical .profile-body{background:transparent}.background-botanical .mini-profile-body{background:#e6ecdf}
.profile-card.background-frost,.item-art.background-frost{background-color:#edf3f8;background-image:linear-gradient(#a9c1d518 1px,transparent 1px),linear-gradient(90deg,#a9c1d518 1px,transparent 1px);background-size:24px 24px}
.background-frost .profile-body{background:transparent}.background-frost .mini-profile-body{background:#dfeaf4}
.nameplate.nametag-firefly{background:#e8efdf;border-color:#cad8bb}.nametag-firefly:before{background:radial-gradient(circle at 25% 35%,#a8ac62b0 0 2px,transparent 4px),radial-gradient(circle at 70% 65%,#aec87c90 0 2px,transparent 5px);background-size:89px 57px;animation:garden-name-drift 14s linear infinite}
.nameplate.nametag-snow{background:#e9f0f7;border-color:#cbd9e7}.nametag-snow:before{background:radial-gradient(circle,#769bb588 1px,transparent 2px) 0 0/23px 21px,radial-gradient(circle,#b1c7daaa 2px,transparent 3px) 11px 7px/43px 37px;animation:garden-name-drift 18s linear infinite}
.nameplate.nametag-paper{background:#f6efdf;border-color:#e3d5b8}.nametag-paper:before{background:repeating-linear-gradient(0deg,transparent 0 17px,#aa946b16 18px 19px),linear-gradient(110deg,transparent 25%,#fff9 47%,transparent 70%);background-size:auto,200% 100%;animation:garden-paper 12s ease-in-out infinite}
@keyframes garden-name-drift{from{background-position:0 0,11px 7px}to{background-position:89px -57px,54px 44px}}
@keyframes garden-paper{0%,100%{background-position:0 0,100% 0}50%{background-position:0 0,0 0}}
.effects-paused :is(.nametag-firefly,.nametag-snow,.nametag-paper):before{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.profile-fx:is(.effect-firefly,.effect-snow,.effect-ginkgo) .fx-particle{animation:none!important;top:var(--y);opacity:.35}:is(.nametag-firefly,.nametag-snow,.nametag-paper):before{animation:none!important}}
