/* V1.40 — dimensional plates, independent background motion and mobile gestures. */
.collect34-card:is(.tier37-3,.tier37-4,.tier37-5,.tier37-6,.tier37-7){touch-action:none;transform:perspective(430px) rotateX(var(--rx39,0deg)) rotateY(var(--ry39,0deg));transition:transform .48s cubic-bezier(.19,.88,.24,1);overflow:visible;--depth40:1;--back40:.5;-webkit-tap-highlight-color:transparent;}
.collect34-card.tier37-4{--depth40:1.18;--back40:.65}.collect34-card.tier37-5{--depth40:1.35;--back40:.78}.collect34-card.tier37-6{--depth40:1.55;--back40:.9}.collect34-card.tier37-7{--depth40:1.8;--back40:1}
.collect34-card.tilting40{transition:transform .045s linear;z-index:8;will-change:transform}
.collect34-card .depth40,.collect34-card .world40,.collect34-card .tag-depth39,.collect34-card .elite-bg38,.collect34-card .god-bg39,.collect34-card .celestial-beam40,.collect34-card .halo-orbit40{transition:translate .48s cubic-bezier(.19,.88,.24,1);translate:0 0}
.collect34-card.tilting40 :is(.depth40,.world40,.tag-depth39,.elite-bg38,.god-bg39){transition:translate .045s linear}
.collect34-card.tilting40 .sil40{translate:calc(var(--px39)*.72*var(--depth40)) calc(var(--py39)*.72*var(--depth40))}
.collect34-card.tilting40 :is(.shield40,.name40,.arch40){translate:calc(var(--px39)*.85*var(--depth40)) calc(var(--py39)*.85*var(--depth40))}
.collect34-card.tilting40 :is(.stat40,.badge40,.edition40,.tag-depth39){translate:calc(var(--px39)*1.05*var(--depth40)) calc(var(--py39)*1.05*var(--depth40))}
.collect34-card.tilting40 :is(.world40,.elite-bg38,.god-bg39){translate:calc(var(--px39)*-.72*var(--back40)) calc(var(--py39)*-.72*var(--back40))}
/* Distinct art styles: controlled animation, not shared recolored effects. */
.crystal40,.diamond40,.mote40,.prism40,.nebula40,.vortex40,.cosmicbolt40,.smoke40,.eclipse40,.ember40,.celestial-beam40,.halo-orbit40{transform-box:fill-box;transform-origin:center}
.crystal40{animation:float40 6s ease-in-out infinite}.diamond40{animation:facet40 5.5s ease-in-out infinite}.mote40{animation:mote40 4s ease-in-out infinite}.prism40{animation:prism40 6s ease-in-out infinite}.nebula40{animation:nebula40 10s ease-in-out infinite}.vortex40{animation:orbit40 20s linear infinite}.cosmicbolt40{animation:bolt40 5.6s ease-in-out infinite}.eclipse40{animation:eclipse40 5.5s ease-in-out infinite}.smoke40{animation:smoke40 7s ease-in-out infinite}.ember40{animation:ember40 4.8s ease-in-out infinite}.celestial-beam40{animation:beam40 6s ease-in-out infinite}.halo-orbit40{animation:orbit40 24s linear infinite reverse}
.demi38 .bolt38{transform-box:fill-box;transform-origin:center;animation:bolt40 4.8s ease-in-out infinite}.demi38 .spark38{transform-box:fill-box;transform-origin:center;animation:mote40 3.7s ease-in-out infinite}.god38 .god-star39{animation:celestial40 4.4s ease-in-out infinite}.god38 .god-cloud39{animation:cloud40 8s ease-in-out infinite}.god38 .god-rays39{animation:beam40 5.5s ease-in-out infinite}
@keyframes float40{0%,100%{transform:translateY(-3px) rotate(-5deg)}50%{transform:translateY(6px) rotate(5deg)}}
@keyframes facet40{0%,100%{transform:translateY(-4px) rotate(-9deg);filter:brightness(.92)}50%{transform:translateY(5px) rotate(8deg);filter:brightness(1.25)}}
@keyframes mote40{0%,100%{transform:translate(-2px,4px);opacity:.35}50%{transform:translate(3px,-6px);opacity:1}}
@keyframes prism40{0%,100%{transform:translateX(-9px) rotate(-3deg);opacity:.25}50%{transform:translateX(9px) rotate(3deg);opacity:.72}}
@keyframes nebula40{0%,100%{transform:rotate(-7deg) scale(.92);opacity:.65}50%{transform:rotate(7deg) scale(1.08);opacity:1}}
@keyframes orbit40{to{transform:rotate(360deg)}}
@keyframes bolt40{0%,100%{transform:translate(-2px,0) scale(.98);opacity:.44}45%,60%{transform:translate(2px,3px) scale(1.025);opacity:1}}
@keyframes eclipse40{0%,100%{transform:scale(.96) rotate(-3deg);opacity:.65}50%{transform:scale(1.06) rotate(4deg);opacity:1}}
@keyframes smoke40{0%,100%{transform:translate(-13px,5px) scale(.93);opacity:.47}50%{transform:translate(13px,-9px) scale(1.15);opacity:.88}}
@keyframes ember40{0%,100%{transform:translate(-4px,7px) rotate(-18deg);opacity:.22}50%{transform:translate(7px,-12px) rotate(35deg);opacity:1}}
@keyframes beam40{0%,100%{transform:rotate(-5deg) scale(.97);opacity:.43}50%{transform:rotate(5deg) scale(1.08);opacity:.95}}
@keyframes celestial40{0%,100%{transform:translate(-3px,5px) scale(.7);opacity:.25}50%{transform:translate(5px,-8px) scale(1.25);opacity:1}}
@keyframes cloud40{0%,100%{transform:translate(-12px,5px) scale(.96);opacity:.65}50%{transform:translate(12px,-5px) scale(1.06);opacity:1}}
@media(prefers-reduced-motion:reduce){.collect34-card:is(.tier37-3,.tier37-4,.tier37-5,.tier37-6,.tier37-7){touch-action:pan-y pinch-zoom;transform:none!important}.collect34-card *{animation:none!important;transition:none!important;translate:0 0!important}}
.gesture-hint40{display:block!important;font-size:11px!important;line-height:1.45!important;color:#aebdca!important;margin:6px 0 4px!important}
