/* Load after look-materials.css. Ornamental motion never transforms the portrait. */
.cr-avatar.look-crafted .cr-rim{filter:drop-shadow(0 1px 1px #060b1866)!important}
.cr-avatar.look-crafted:is(.frame-graphite-3,.frame-graphite-4,.frame-spectrum-3,.frame-spectrum-4,.frame-impulse-3,.frame-impulse-4,.frame-eclipse-3,.frame-eclipse-4,.frame-scholar-3,.frame-scholar-4,.frame-author-3,.frame-author-4,.frame-patron-3,.frame-patron-4,.frame-circle-3) .cr-rim{animation:look-metal-breathe 9s ease-in-out infinite!important}
.cr-avatar.look-crafted:is(.frame-graphite-4,.frame-spectrum-4,.frame-impulse-4,.frame-eclipse-4,.frame-scholar-4,.frame-author-4,.frame-patron-4,.frame-circle-3) .cr-rim::after{content:'';display:block!important;position:absolute;inset:3%;border-radius:50%;background:conic-gradient(transparent 0deg 250deg,#e5f2ff00 270deg,#effaffaa 306deg,transparent 335deg);mask:radial-gradient(farthest-side,transparent 83%,#000 85%,#000 94%,transparent 96%);animation:look-orbit-turn 16s linear infinite;opacity:.55}
@keyframes look-metal-breathe{0%,100%{filter:drop-shadow(0 1px 1px #060b1866) brightness(1)}50%{filter:drop-shadow(0 0 2px #b8d4ed55) brightness(1.16)}}
@keyframes look-orbit-turn{to{transform:rotate(360deg)}}
/* Explicit reset prevents older aura layers from blending into a different selected aura. */
.cr-avatar[class*="effect-"] .cr-light{inset:-3%;border:0;border-radius:50%;box-shadow:none;background:none;mask:none;clip-path:none;filter:none;transform:none;opacity:1;animation:none;overflow:visible}
.cr-avatar[class*="effect-"] .cr-light::before,.cr-avatar[class*="effect-"] .cr-light::after{content:none;position:absolute;inset:auto;border:0;box-shadow:none;background:none;mask:none;clip-path:none;filter:none;transform:none;opacity:1;animation:none;border-radius:50%}
.cr-avatar.effect-mist .cr-light{inset:-5%;box-shadow:0 0 7px 2px #99cfe04d,inset 0 0 4px #b1dded45;animation:look-fog 9s ease-in-out infinite}
.cr-avatar.effect-duotone .cr-light{inset:-4%;background:conic-gradient(from 15deg,#74eeef 0deg 58deg,transparent 76deg 176deg,#c78cfd 195deg 255deg,transparent 276deg);mask:radial-gradient(farthest-side,transparent 92%,#000 94%);filter:drop-shadow(0 0 2px #a398ef88);animation:look-orbit-turn 19s linear infinite}
.cr-avatar.effect-solar .cr-light{inset:-6%;background:repeating-conic-gradient(#e8b552 0deg 3deg,transparent 3deg 24deg);mask:radial-gradient(farthest-side,transparent 89%,#000 90%);filter:drop-shadow(0 0 2px #ffc16888);animation:look-orbit-turn 36s linear infinite}
.cr-avatar.effect-solar .cr-light::after{content:'';inset:8%;border:1px solid #f7d28599}
.cr-avatar.effect-nocturne .cr-light{inset:-5%;border:calc(var(--cr-size)*.035) solid #251a39;box-shadow:0 0 0 1px #9f8bce99,2px 0 7px #65549799,-2px 0 5px #4b387aaa;animation:look-fog 11s ease-in-out infinite}
.cr-avatar.effect-nocturne .cr-light::after{content:'';inset:-7%;border:1px solid #b2a1da88;border-top-color:transparent;border-bottom-color:transparent;animation:look-orbit-turn 30s linear infinite}
.cr-avatar.effect-glint .cr-light{background:conic-gradient(transparent 0deg 315deg,#fff9 335deg,#fff 341deg,transparent 355deg);mask:radial-gradient(farthest-side,transparent 93%,#000 95%);animation:look-orbit-turn 11s linear infinite}
.cr-avatar.effect-pulse .cr-light{inset:-4%;border:1px solid #a8edce;box-shadow:0 0 5px #8ddebf66;animation:look-pulse-wave 6s ease-in-out infinite}
.cr-avatar.effect-orbit .cr-light{inset:-8%;border:1px solid #9ccce444;animation:look-orbit-turn 17s linear infinite}
.cr-avatar.effect-orbit .cr-light::before{content:'';top:7%;left:19%;width:8%;height:8%;background:#d1f3ff;box-shadow:0 0 4px #7dcaff}
.cr-avatar.effect-orbit .cr-light::after{content:'';bottom:7%;right:19%;width:5%;height:5%;background:#86bfff}
.cr-avatar.effect-aurora .cr-light{inset:-6%;background:conic-gradient(from 35deg,transparent,#73edce99 30%,#aa8fee99 55%,transparent 72%);mask:radial-gradient(farthest-side,transparent 82%,#000 94%,transparent 100%);filter:blur(1px);animation:look-curtain 12s ease-in-out infinite}
.cr-avatar.effect-halo .cr-light{inset:-7%;border:1px solid #ffe2a6aa;box-shadow:0 0 0 calc(var(--cr-size)*.055) #efd29922,0 0 7px #ffe3ac66,inset 0 0 4px #f8e9be33;animation:look-fog 14s ease-in-out infinite}
.cr-avatar.effect-comet .cr-light{inset:-6%;background:conic-gradient(transparent 0deg 230deg,#9dd8fb11 270deg,#aad9fa99 338deg,#fff 351deg,transparent 354deg);mask:radial-gradient(farthest-side,transparent 94%,#000 95%);animation:look-orbit-turn 9s linear infinite;filter:drop-shadow(0 0 2px #93c6f7)}
.cr-avatar.effect-resonance .cr-light{inset:-4%;border:1px solid #c4a6e8bb;animation:look-pulse-wave 8s ease-in-out infinite}
.cr-avatar.effect-resonance .cr-light::after{content:'';inset:-9%;border:1px solid #9285d288;animation:look-pulse-wave 8s ease-in-out -4s infinite}
.cr-avatar.effect-nova .cr-light{inset:-10%;background:repeating-conic-gradient(from 9deg,#fff0 0deg 25deg,#fbc2ffbb 28deg,#fff0 32deg 60deg);mask:radial-gradient(farthest-side,transparent 67%,#000 76%,transparent 100%);filter:drop-shadow(0 0 2px #c796ec77);animation:look-fog 10s ease-in-out infinite}
.cr-avatar.effect-nova .cr-light::after{content:'';inset:14%;border:1px solid #e8c9ff99}
.cr-avatar.effect-script .cr-light{inset:-6%;border:1.5px solid #7fe0c3;border-left-color:transparent;border-right-color:transparent;transform:rotate(-22deg);animation:look-script-sway 14s ease-in-out infinite}
.cr-avatar.effect-script .cr-light::after{content:'';top:1%;left:18%;width:13%;height:6%;border-radius:80% 0;background:#d0ffee;transform:rotate(-20deg)}
.cr-avatar.effect-filigree .cr-light{inset:-6%;border:calc(var(--cr-size)*.024) dotted #d9ae77;box-shadow:0 0 0 1px #d7ad7344;animation:look-orbit-turn 45s linear infinite}
.cr-avatar.effect-filigree .cr-light::after{content:'';inset:-6%;border:1px solid #bb915633}
.cr-avatar.effect-crystal .cr-light{inset:-3%;border:1px solid #b8daed77;box-shadow:0 0 6px #8fc9e844}
.cr-avatar.effect-crystal .cr-light::before,.cr-avatar.effect-crystal .cr-light::after{content:'';width:10%;height:14%;background:linear-gradient(130deg,#fff,#b4e7ff 45%,#7394ce);border-radius:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);animation:look-fog 8s ease-in-out infinite}
.cr-avatar.effect-crystal .cr-light::before{top:-6%;left:45%}.cr-avatar.effect-crystal .cr-light::after{bottom:-6%;left:45%;animation-delay:-4s}
.cr-avatar.effect-insight .cr-light{inset:-7%;background:radial-gradient(ellipse at 50% 6%,#fff4ae99,transparent 26%);animation:look-fog 10s ease-in-out infinite}
.cr-avatar.effect-insight .cr-light::after{content:'';width:22%;height:22%;left:39%;top:-4%;background:#fff4c2;clip-path:polygon(50% 0,60% 39%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 39%);border-radius:0;filter:drop-shadow(0 0 3px #ecc97f)}
/* Three new paths: higher tiers add layers/density, never flashing speed. */
.cr-avatar.effect-lightning{--fx-bolts:.55;--fx-extra:0;--fx-full:0}
.cr-avatar.effect-lightning.fx-tier-2{--fx-bolts:.7;--fx-extra:1}
.cr-avatar.effect-lightning.fx-tier-3{--fx-bolts:.85;--fx-extra:1;--fx-full:1}
.cr-avatar.effect-lightning .cr-light{inset:-7%;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20128%20128%22%3E%3Cg%20transform%3D%22rotate%280%2064%2064%29%22%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%237edaff%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%23e9fdff%22%20stroke-width%3D%220.85%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;clip-path:none;mask:none;filter:drop-shadow(0 0 2px #89dff8);opacity:var(--fx-bolts);animation:look-electric 6s ease-in-out infinite}
.cr-avatar.effect-lightning .cr-light::before{content:"";inset:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20128%20128%22%3E%3Cg%20transform%3D%22rotate%28180%2064%2064%29%22%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%237edaff%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%23e9fdff%22%20stroke-width%3D%220.85%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;opacity:var(--fx-extra)}
.cr-avatar.effect-lightning .cr-light::after{content:"";inset:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20128%20128%22%3E%3Cg%20transform%3D%22rotate%2890%2064%2064%29%22%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%237edaff%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%23e9fdff%22%20stroke-width%3D%220.85%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate%28270%2064%2064%29%22%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%237edaff%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8%2055L14%2043L9%2036L23%2026L20%2020L34%2018L37%2010L49%2013M23%2026L32%2025L31%2019%22%20fill%3D%22none%22%20stroke%3D%22%23e9fdff%22%20stroke-width%3D%220.85%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;opacity:var(--fx-full)}
.cr-avatar.effect-photo-shimmer{--fx-photo-opacity:.20;--fx-photo-band:7%;--fx-photo-ring:0}
.cr-avatar.effect-photo-shimmer.fx-tier-2{--fx-photo-opacity:.28;--fx-photo-band:12%}
.cr-avatar.effect-photo-shimmer.fx-tier-3{--fx-photo-opacity:.38;--fx-photo-band:17%;--fx-photo-ring:1}
.cr-avatar.effect-photo-shimmer .cr-photo::after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:50%;background:linear-gradient(112deg,transparent 30%,#effaff00 40%,#f4ffff 50%,#d1c4ff calc(50% + var(--fx-photo-band)),transparent 65%) -180% 0/260% 100% no-repeat;opacity:var(--fx-photo-opacity);animation:look-photo-sweep 10s ease-in-out infinite}
.cr-avatar.effect-photo-shimmer .cr-light{inset:-3%;border:1px solid #d4efff77;opacity:var(--fx-photo-ring)}
.cr-avatar.effect-stardust{--fx-dust-opacity:.65;--fx-dust-extra:0;--fx-dust-full:0}
.cr-avatar.effect-stardust.fx-tier-2{--fx-dust-opacity:.8;--fx-dust-extra:1}
.cr-avatar.effect-stardust.fx-tier-3{--fx-dust-opacity:1;--fx-dust-extra:1;--fx-dust-full:1}
.cr-avatar.effect-stardust .cr-light{inset:-10%;background:radial-gradient(circle at 22% 15%,#fff3c7 0 1px,transparent 1.8px),radial-gradient(circle at 86% 65%,#ddc1ff 0 1px,transparent 1.8px),radial-gradient(circle at 35% 92%,#beeaff 0 1px,transparent 1.8px);opacity:var(--fx-dust-opacity);animation:look-dust-drift 14s ease-in-out infinite}
.cr-avatar.effect-stardust .cr-light::before{content:'';inset:0;background:radial-gradient(circle at 66% 5%,#fff3c7 0 1px,transparent 1.8px),radial-gradient(circle at 4% 48%,#ddc1ff 0 1px,transparent 1.8px),radial-gradient(circle at 71% 89%,#beeaff 0 1px,transparent 1.8px);opacity:var(--fx-dust-extra)}
.cr-avatar.effect-stardust .cr-light::after{content:'';inset:0;background:radial-gradient(circle at 42% 3%,#fff3c7 0 1px,transparent 1.8px),radial-gradient(circle at 96% 44%,#ddc1ff 0 1px,transparent 1.8px),radial-gradient(circle at 14% 77%,#beeaff 0 1px,transparent 1.8px),radial-gradient(circle at 87% 15%,#fff 0 1px,transparent 1.8px);opacity:var(--fx-dust-full);filter:drop-shadow(0 0 2px #b9cfff)}
@keyframes look-fog{0%,100%{opacity:.55}50%{opacity:.95}}
@keyframes look-pulse-wave{0%,100%{transform:scale(1);opacity:.4}50%{transform:scale(1.09);opacity:.8}}
@keyframes look-curtain{0%,100%{transform:rotate(-16deg);opacity:.6}50%{transform:rotate(22deg);opacity:.95}}
@keyframes look-script-sway{0%,100%{transform:rotate(-22deg)}50%{transform:rotate(12deg)}}
@keyframes look-electric{0%,100%{filter:drop-shadow(0 0 1px #89dff866);opacity:.5}40%,60%{filter:drop-shadow(0 0 3px #89dff8bb);opacity:.85}}
@keyframes look-photo-sweep{0%,15%{background-position:180% 0}65%,100%{background-position:-80% 0}}
@keyframes look-dust-drift{0%,100%{transform:rotate(-7deg);filter:drop-shadow(0 0 1px #cfdbff55)}50%{transform:rotate(7deg);filter:drop-shadow(0 0 2px #cfdbff88)}}
@media(prefers-reduced-motion:reduce){.cr-avatar.look-crafted .cr-rim,.cr-avatar.look-crafted .cr-rim::before,.cr-avatar.look-crafted .cr-rim::after,.cr-avatar[class*="effect-"] .cr-light,.cr-avatar[class*="effect-"] .cr-light::before,.cr-avatar[class*="effect-"] .cr-light::after,.cr-avatar.effect-photo-shimmer .cr-photo::after{animation:none!important;transition:none!important}.cr-avatar.effect-photo-shimmer .cr-photo::after{background-position:45% 0;opacity:.13}}
