.px{image-rendering:crisp-edges;image-rendering:pixelated}.scene-paused,.scene-paused *{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.scene,.scene *{animation:none!important}}.alf-sky{background:linear-gradient(180deg,#120f26,#2a2252 42%,#6d5fa8 78%,#a99ad8)}.alf-ground{background:url(/world-art/alfheim-v2/terrain_4jThPzvR8d.webp) 0 0 / 48px 48px repeat}.tw{animation:twinkle 3.2s ease-in-out infinite}.tw:nth-child(3n){animation-delay:-1.1s}.tw:nth-child(3n+1){animation-delay:-2.3s}@keyframes twinkle{0%,to{opacity:.15}50%{opacity:.9}}.petal{position:absolute;top:-6px;width:4px;height:4px;background:#ead9ff;animation:petal 9s linear infinite}.petal:nth-child(2n){background:#c9b6f2;animation-duration:11s}.petal:nth-child(1){left:8%;animation-delay:-1s}.petal:nth-child(2){left:21%;animation-delay:-6s}.petal:nth-child(3){left:34%;animation-delay:-3s}.petal:nth-child(4){left:47%;animation-delay:-8s}.petal:nth-child(5){left:59%;animation-delay:-2s}.petal:nth-child(6){left:71%;animation-delay:-5s}.petal:nth-child(7){left:83%;animation-delay:-7s}.petal:nth-child(8){left:94%;animation-delay:-4s}@keyframes petal{0%{transform:translate(0) rotate(0);opacity:0}10%{opacity:1}90%{opacity:1}to{transform:translate(-70px,420px) rotate(320deg);opacity:0}}.drift{animation:drift 60s linear infinite}@keyframes drift{0%{transform:translate(0)}to{transform:translate(-50%)}}.draw{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.3s ease-out forwards}@keyframes draw{to{stroke-dashoffset:0}}.pop{transform-box:fill-box;transform-origin:50% 100%;animation:pop .55s cubic-bezier(.2,1.6,.4,1) both}@keyframes pop{0%{transform:translateY(-18px) scale(.4);opacity:0}to{transform:none;opacity:1}}.hop{animation:hop 1.4s ease-in-out infinite}@keyframes hop{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.fill-in{transform-origin:0 50%;animation:fill-in 1s ease-out both}@keyframes fill-in{0%{transform:scaleX(0)}}.box-idle{animation:box-idle 2.4s ease-in-out infinite;transform-origin:50% 100%}@keyframes box-idle{0%,to{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-6px) rotate(1.5deg)}}.box-chest{translate:-50% 0;transform-origin:50% 100%;animation:box-chest 3.4s ease-out both}.box-closed{animation:box-shake 3.4s ease-in-out both;transform-origin:50% 90%}.box-open{opacity:0;animation:box-open 3.4s ease-out both;transform-origin:50% 90%}.box-num{translate:-50% 0;animation:box-num 3.4s ease-in-out both}.box-land{opacity:0;transform-origin:50% 100%;animation:box-land 3.4s cubic-bezier(.2,1.1,.4,1) both}.box-float{animation:box-float 2s ease-in-out 3.4s infinite}.box-wave{translate:-50% 50%;opacity:0;animation:box-wave 3.4s ease-out both}@keyframes box-chest{0%{transform:translateY(-190px) scale(.9);opacity:0}3%{opacity:1}12%{transform:translateY(0) scale(1.15,.82)}16%{transform:translateY(-16px) scale(.95,1.06)}20%{transform:translateY(0) scale(1.05,.95)}24%,to{transform:none;opacity:1}}@keyframes box-shake{0%,26%{transform:none;opacity:1}30%,38%{transform:rotate(-3deg)}34%,42%{transform:rotate(3deg)}46%,52%{transform:translateY(-6px) rotate(-6deg)}49%,55%{transform:translateY(-8px) rotate(6deg)}58%{transform:scale(1.14,.86);opacity:1}60%,to{transform:scale(1);opacity:0}}@keyframes box-open{0%,59%{transform:scale(.85);opacity:0}63%{transform:scale(1.22,.9);opacity:1}68%{transform:scale(.94,1.06)}73%,to{transform:scale(1);opacity:1}}@keyframes box-num{0%,59%{transform:none}66%{transform:translateY(-30px) rotate(-12deg) scale(1.3)}72%{transform:translateY(-4px) rotate(8deg) scale(1.1)}78%,to{transform:translateY(-6px) scale(1)}}@keyframes box-land{0%,60%{transform:translateY(90px) scale(.1) rotate(-25deg);opacity:0}64%{opacity:1}78%{transform:translateY(-14px) scale(1.08) rotate(4deg);opacity:1}86%{transform:translateY(0) scale(.97) rotate(-2deg)}92%,to{transform:none;opacity:1}}@keyframes box-float{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-6px) rotate(1deg)}}@keyframes box-wave{0%,59%{transform:scale(.2);opacity:0}60%{opacity:1}80%,to{transform:scale(3.4);opacity:0}}.box-spark{left:0;top:0;opacity:0;animation:box-spark 3.4s cubic-bezier(.2,.8,.4,1) both}.box-spark:nth-child(1){--x: -120px;--y: -70px}.box-spark:nth-child(2){--x: -80px;--y: -140px}.box-spark:nth-child(3){--x: -30px;--y: -170px}.box-spark:nth-child(4){--x: 30px;--y: -165px}.box-spark:nth-child(5){--x: 80px;--y: -135px}.box-spark:nth-child(6){--x: 125px;--y: -65px}.box-spark:nth-child(7){--x: -145px;--y: -15px}.box-spark:nth-child(8){--x: 145px;--y: -20px}@keyframes box-spark{0%,59%{transform:translate(0) scale(.3) rotate(0);opacity:0}61%{opacity:1}74%{transform:translate(var(--x),var(--y)) scale(1) rotate(220deg);opacity:1}90%,to{transform:translate(calc(var(--x) * 1.15),calc(var(--y) * .55 + 40px)) scale(.8) rotate(400deg);opacity:0}}@media(prefers-reduced-motion:reduce){.box-idle,.box-chest,.box-closed,.box-open,.box-num,.box-land,.box-float,.box-wave,.box-spark{animation:none!important}.box-land,.box-open{opacity:1}.box-closed,.box-wave,.box-spark{opacity:0}}.page-in{animation:page-in .9s cubic-bezier(.2,.9,.3,1) 1.9s both}@keyframes page-in{0%{transform:scale(.94);opacity:0}}.tab-thumb{transition:transform .38s cubic-bezier(.3,1.4,.5,1)}.tab-in-r{animation:tab-in-r .36s cubic-bezier(.2,.9,.3,1) both}.tab-in-l{animation:tab-in-l .36s cubic-bezier(.2,.9,.3,1) both}@keyframes tab-in-r{0%{transform:translate(28px);opacity:0}}@keyframes tab-in-l{0%{transform:translate(-28px);opacity:0}}.rise>*{animation:rise .5s cubic-bezier(.2,.9,.3,1) both}.rise>:nth-child(2){animation-delay:.06s}.rise>:nth-child(3){animation-delay:.12s}.rise>:nth-child(4){animation-delay:.18s}.rise>:nth-child(5){animation-delay:.24s}.rise>:nth-child(6){animation-delay:.3s}.rise>:nth-child(n+7){animation-delay:.34s}@keyframes rise{0%{transform:translateY(14px);opacity:0}}.press{transition:transform .16s cubic-bezier(.3,1.6,.5,1)}.press:active{transform:scale(.95)}@media(hover:hover){.press:hover{transform:translateY(-2px)}.press:active{transform:scale(.95)}}.check-pop{animation:check-pop .45s cubic-bezier(.2,1.8,.4,1) both}@keyframes check-pop{0%{transform:scale(0) rotate(-40deg)}}.counting{filter:blur(6px);animation:counting 1.2s ease-in-out infinite}@keyframes counting{50%{opacity:.45}}.float{animation:float 2.6s ease-in-out infinite}.float-2{animation:float 3.1s ease-in-out -1.2s infinite}@keyframes float{50%{transform:translateY(-5px) rotate(-3deg)}}@media(prefers-reduced-motion:reduce){.page-in,.tab-in-r,.tab-in-l,.rise>*,.check-pop,.float,.float-2{animation:none!important}.counting{animation:none}.press,.tab-thumb{transition:none}}.rules-in{transform-origin:100% 0;animation:rules-in .26s cubic-bezier(.2,1.2,.4,1) both}.rules-out{transform-origin:100% 0;animation:rules-out .18s ease-in both}@keyframes rules-in{0%{transform:scale(.6);opacity:0}}@keyframes rules-out{to{transform:scale(.6);opacity:0}}.rainbow-frame{background:linear-gradient(90deg,#ff5f6d,#ffc371,#f5e663,#5be37d,#4fd6e0,#7b8cff,#d36bff,#ff5f6d);background-size:300% 100%;animation:rainbow-frame 6s linear infinite}@keyframes rainbow-frame{to{background-position:300% 0}}@media(prefers-reduced-motion:reduce){.rainbow-frame{animation:none}}.portal-intro{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;overflow:hidden;pointer-events:none;background:radial-gradient(circle at 50% 50%,#1d1840,#0d0b1c 72%);animation:pi-veil 2.8s ease-in-out forwards}@keyframes pi-veil{0%,68%{opacity:1}to{opacity:0}}.pi-gate{position:relative;width:96px;height:181px;opacity:0;animation:pi-gate 2.8s cubic-bezier(.5,0,.3,1) forwards}.pi-gate>img{width:100%;height:100%}@keyframes pi-gate{0%{transform:scale(.7);opacity:0}30%{transform:scale(1);opacity:1}55%{transform:scale(1.05);opacity:1}to{transform:scale(14);opacity:.2}}.pi-swirl{position:absolute;inset:8% 10%;border-radius:50%;overflow:hidden}.pi-swirl>svg{width:100%;height:100%;animation:pi-spin 2.4s linear infinite}@keyframes pi-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.portal-intro{display:none}}
