.relic-copy{inset-inline:11%;z-index:2}
#ranks .relic h3{font-size:min(var(--title,22cqw),64px);letter-spacing:-.075em;line-height:1.05;text-shadow:0 1px #fff4ca,0 3px #fff6,1px 4px #54280e28}
.relic-premium,.relic-creative,.relic-mythical{--title:18.5cqw}
#ranks .relic-open{--cut:polygon(0 8px,4px 8px,4px 4px,10px 4px,10px 0,calc(100% - 10px) 0,calc(100% - 10px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 8px + 4px),calc(100% - 10px) calc(100% - 4px),calc(100% - 10px) 100%,10px 100%,10px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px));position:relative;isolation:isolate;clip-path:var(--cut);border:0;border-radius:0;box-shadow:none;background:linear-gradient(#fff4a7,#d39a35 45%,#9c601f 76%,#603614 76%);width:max-content;max-width:100%;padding:12px 15px 14px;font:700 clamp(12px,6.8cqw,19px)/1 Silkscreen,monospace;text-transform:uppercase;color:#fff9de;text-shadow:1px 2px #291b18;letter-spacing:-.06em}
#ranks .relic-open:before{content:"";position:absolute;inset:3px 4px 6px;clip-path:var(--cut);background:linear-gradient(#fff8 0 9%,transparent 9% 48%,#0002 48% 84%,#0006 84%),var(--enamel);z-index:-1}
#ranks .relic-open:hover,#ranks .relic-open:focus-visible{filter:brightness(1.22)}
.relic:has(.relic-open:focus-visible) h3{text-decoration:underline}
.relic-fly{--enamel:#287aa1}.relic-vip{--enamel:#965319}.relic-premium{--enamel:#42830c}.relic-creative{--enamel:#8951a2}.relic-lord{--enamel:#a63814}.relic-king{--enamel:#984023}.relic-elite{--enamel:#15776d}.relic-legend{--enamel:#356a23}.relic-mythical{--enamel:#674197}
.fx{position:absolute;inset:0;pointer-events:none;overflow:hidden}.fx i{position:absolute;left:var(--x);top:var(--y);width:5px;height:5px;animation-delay:var(--delay)!important}
.leaves i{background:#9ab52b;box-shadow:3px -2px #547a1d,-2px 2px #748f24;animation:leaf 4.6s linear infinite}
@keyframes leaf{0%{opacity:0;transform:translateY(0)}12%{opacity:1}48%{transform:translate(12px,48cqw) rotate(70deg)}82%{opacity:.8}100%{transform:translate(-3px,105cqw) rotate(170deg);opacity:0}}
.relic{container-type:inline-size}
.gems i,.crystals i,.coins i,.portal i{width:11px;height:11px;clip-path:polygon(40% 0,60% 0,60% 35%,100% 43%,100% 58%,60% 62%,58% 100%,40% 100%,36% 62%,0 58%,0 42%,36% 37%);background:#fff4aa;animation:glint 3.2s infinite}
@keyframes glint{0%,42%,100%{opacity:0;transform:scale(.3)}56%{opacity:1;transform:scale(1.5)}72%{opacity:0;transform:scale(.5)}}
.crystals i{background:#f5c3ff;animation-duration:2.5s}.portal i{background:#e2a9ff;animation:rift 3s infinite}
@keyframes rift{0%,100%{opacity:0;transform:translateY(5px) scale(.4)}55%{opacity:1;transform:translate(2px,-6px) scale(1.3)}68%{transform:translate(-4px,-8px)}}
.embers i{background:#ffb023;box-shadow:0 2px #f34413;animation:erupt 1.9s ease-out infinite}
@keyframes erupt{0%,100%{opacity:0}12%{opacity:1}65%{transform:translate(var(--drift),-26px);opacity:1}99%{transform:translate(calc(var(--drift)*1.5),-19px);opacity:0}}
.bubbles i{width:7px;height:7px;border:2px solid #affff0;border-right-color:#33b5b6;animation:bubble 3.6s ease-out infinite}
@keyframes bubble{0%,100%{opacity:0}30%{opacity:.9}95%{transform:translate(4px,-36px);opacity:0}}
.relic-fly>img{animation:soar 4s ease-in-out infinite}
@keyframes soar{50%{transform:translateY(-5px) rotate(.65deg)}}
@media(prefers-reduced-motion:reduce){.relic-fly>img,.fx i{animation:none!important}.fx{display:none}}
.relic>img.part{pointer-events:none}
.relic-fly>img{animation:none}
.part.wing-l{transform-origin:44% 29%;animation:flutter-l 2.8s ease-in-out infinite}
.part.wing-r{transform-origin:56% 29%;animation:flutter-r 2.8s ease-in-out infinite}
@keyframes flutter-l{50%{transform:rotate(4deg) scaleY(.93)}}
@keyframes flutter-r{50%{transform:rotate(-4deg) scaleY(.93)}}
.part.scroll{transform-origin:12% 27%;animation:unroll 5s ease-in-out infinite}
@keyframes unroll{45%,58%{transform:rotate(-3deg) scaleX(1.12)}}
.part.cloud{transform-origin:50% 16%;animation:cloud 6s ease-in-out infinite alternate}
@keyframes cloud{to{transform:translateX(1.1%) scaleX(1.025)}}
.part.drape-l,.part.drape-r{transform-origin:14% 33%;animation:drape 3.4s ease-in-out infinite alternate}
.part.drape-r{transform-origin:87% 33%;animation-direction:alternate-reverse}
@keyframes drape{to{transform:skewX(2deg) scaleY(.98)}}
.part.lion-l,.part.lion-r,.part.head,.part.wyrm{transform-origin:23% 23%;animation:nod 5.4s ease-in-out infinite}
.part.lion-r{transform-origin:81% 22%;animation-delay:-2s}
.part.head{transform-origin:43% 12%}.part.wyrm{transform-origin:87% 12%;animation:exhale 4.8s ease-in-out infinite}
@keyframes nod{0%,63%,85%,100%{transform:rotate(0)}72%{transform:rotate(3deg)}}
@keyframes exhale{0%,65%,100%{transform:none}28%,48%{transform:rotate(3deg) translateY(.6%)}}
.part.crown{transform-origin:50% 20%;animation:sway 5s ease-in-out infinite alternate}
@keyframes sway{from{transform:rotate(-1deg)}to{transform:rotate(1.2deg)}}
.part.isle-l,.part.isle-r{animation:levitate 3.2s ease-in-out infinite alternate}.part.isle-r{animation-delay:-2s}
@keyframes levitate{to{transform:translateY(-1.6%)}}
.relic-elite .wing-l{transform-origin:30% 12%}.relic-elite .wing-r{transform-origin:83% 9%}
.falling-coin i{width:12px;height:14px;border:2px solid #914914;background:#ffd354;box-shadow:inset 2px 0 #fff3a2,inset -2px -2px #d98b1c;clip-path:polygon(25% 0,75% 0,75% 12%,100% 12%,100% 84%,75% 84%,75% 100%,25% 100%,25% 84%,0 84%,0 12%,25% 12%);animation:coinfall 3.2s ease-in infinite}
@keyframes coinfall{0%,34%{opacity:0;transform:translateY(0)}40%{opacity:1}68%{transform:translate(4px,18cqw) scaleX(.3)}91%,100%{opacity:0;transform:translate(9px,54cqw) scaleX(1)}}
.petals i{width:4px;height:4px;background:#ffe28b;box-shadow:0 -3px #ff83aa,3px 0 #ef77a8,0 3px #ee679b,-3px 0 #ffa1be;animation:leaf 5s linear infinite}
.lava i{width:4px;height:7px;background:#ff9b21;box-shadow:inset 1px 0 #ffe364,0 2px #e14410;animation:drip 2.8s ease-in infinite}
@keyframes drip{0%,30%{opacity:0;transform:scaleY(.45)}42%{opacity:1}57%{transform:scaleY(1.2)}90%,100%{opacity:0;transform:translateY(10cqw)}}
.smoke i{width:8px;height:6px;background:#d087ff;box-shadow:-3px 2px #a75ce9,3px -2px #e2adff;animation:puff 4.8s ease-out infinite}
@keyframes puff{0%,25%{opacity:0;transform:scale(.45)}33%{opacity:.85}56%{opacity:.53;transform:translate(-7cqw,-4cqw) scale(1.6)}74%,100%{opacity:0;transform:translate(-14cqw,-8cqw) scale(2.2)}}
.relic-legend{--title:15.5cqw}.relic-mythical{--title:13.6cqw}
@media(prefers-reduced-motion:reduce){.relic>img.part{animation:none}}
.relic-copy{inset:33% 17% 17%}
#ranks .relic h3{font-size:min(var(--title,23cqw),62px)}
.relic-creative,.relic-mythical{--title:17cqw}.relic-premium{--title:18.5cqw}.relic-legend{--title:20cqw}
#ranks .relic{aspect-ratio:160/273}
#ranks .relic-copy{inset-block:29% 27%}
