@keyframes dpulse{50%{transform:scale(1.05)}}.chest-ov{z-index:9999;background:#000a;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.chest-box{text-align:center;color:#fff}.chest-title{margin-bottom:10px;font-size:1.5rem;font-weight:800}button.chest{cursor:pointer;background:0 0;border:0;animation:1.2s ease-in-out infinite dpulse}.chest-msg{margin-top:8px;font-size:1.2rem}.chest-msg.won{color:#ffd166;font-size:2rem;font-weight:800}body button.chest{-webkit-backdrop-filter:none;backdrop-filter:none;width:auto;height:auto;padding:0;box-shadow:none!important;background:0 0!important;border:0!important}button.chest svg{overflow:visible}button.chest.open .lid{transform:rotate(-35deg)translateY(-8px)}button.chest.shake1,button.chest.shake2{animation:.4s cshake}@keyframes cshake{0%,to{transform:none}15%{transform:rotate(-7deg)scale(1.05,.93)}35%{transform:rotate(6deg)scale(.95,1.07)}55%{transform:rotate(-4deg)}75%{transform:rotate(3deg)}}.chest-box.boom.rays:before{content:"";background:repeating-conic-gradient(#ffd16688 0 10deg, #0000 10deg 30deg);z-index:-1;border-radius:50%;width:520px;height:520px;margin:-260px;animation:3s linear forwards crays;position:absolute;top:52%;left:50%;-webkit-mask-image:radial-gradient(circle,#000 20%,#0000 70%);mask-image:radial-gradient(circle,#000 20%,#0000 70%)}button.chest,button.chest:hover,button.chest:focus,button.chest:active{border-radius:0;outline:0;box-shadow:none!important;filter:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important}button.chest:before,button.chest:after{content:none!important;display:none!important}button.chest:not(.open):not(.shake1):not(.shake2){animation:2s ease-in-out infinite cidle}@keyframes cidle{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}button.chest:hover:not(:disabled){transform:none}button.chest.open{animation:.5s ease-out cpop}@keyframes cpop{0%{transform:scale(1)}40%{transform:scale(1.12,.9)}to{transform:scale(1)}}.chest-box{position:relative}button.chest .ck{opacity:0}button.chest.shake1 .ck1,button.chest.shake2 .ck1,button.chest.shake2 .ck2,button.chest.open .ck{opacity:1}.dring{border:12px solid var(--rc);pointer-events:none;border-radius:50%;width:60px;height:60px;margin:-30px;animation:.7s ease-out forwards dring;position:absolute;top:48%;left:50%}@keyframes dring{0%{opacity:1;transform:scale(.3)}to{opacity:0;transform:scale(6)}}body .chest-ov{background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--rc) 55%,#fff) 0%,var(--rc) 65%,color-mix(in srgb,var(--rc) 70%,#000) 100%)}.chest-title{letter-spacing:1px;color:#fff;-webkit-text-stroke:6px #12301a;paint-order:stroke fill;text-shadow:0 4px #12301a;font-size:2.6rem;font-style:italic;font-weight:900}.chest-msg{-webkit-text-stroke:4px #12301a;paint-order:stroke fill;font-style:italic;font-weight:800}.chest-msg.won{-webkit-text-stroke:5px #12301a}button.chest.shake1 .eye,button.chest.shake2 .eye{ry:8px}button.chest.shake2 .mouth{d:path("M50 64Q60 82 70 64")}button.chest .tw{transform-box:fill-box;transform-origin:50%;animation:1.4s ease-in-out infinite twk}button.chest .tw2{animation-delay:.7s}@keyframes twk{0%,to{opacity:.2;transform:scale(.3)rotate(0)}50%{opacity:1;transform:scale(1)rotate(45deg)}}body .chest-ov{background-image:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--rc) 55%,#fff) 0%,var(--rc) 65%,color-mix(in srgb,var(--rc) 70%,#000) 100%),repeating-conic-gradient(from 0deg at 50% 45%,#fff2 0 6deg,#0000 6deg 15deg)}button.chest .lid{transform-origin:70px 58px;transition:transform .6s cubic-bezier(.2,1.5,.4,1)}button.chest .pile{opacity:0;transition:all .5s .15s;transform:translateY(14px)}body button.chest.open .pile{opacity:1;transform:none}body button.chest.open svg{opacity:1;transition:none;transform:none}button.chest.shake1 .lid,button.chest.shake2 .lid{transform:translateY(-3px)}body button.chest:not(.open):not(.shake1):not(.shake2):not(.charge){animation:.8s cubic-bezier(.3,1.4,.5,1) both cdrop,2.2s ease-in-out .9s infinite cidle}@keyframes cdrop{0%{transform:translateY(-420px)scale(.8,1.2)}60%{transform:translateY(0)scale(1.15,.85)}80%{transform:translateY(-16px)scale(.97,1.03)}to{transform:none}}.chest-msg.won{animation:.6s cubic-bezier(.3,1.6,.5,1) both wpop}@keyframes wpop{0%{opacity:0;transform:scale(.2)}to{opacity:1;transform:none}}body button.chest.open .lid{transform:translateY(-36px)scaleY(.45)rotate(-5deg)}.chest-rays{pointer-events:none;opacity:0;background:repeating-conic-gradient(from 0deg,#fff3 0 9deg,#fff0 9deg 24deg);width:1400px;height:1400px;margin:-700px 0 0 -700px;transition:opacity .5s;animation:24s linear infinite rspin;position:absolute;top:50%;left:50%;-webkit-mask:radial-gradient(circle,#000 8%,#0000 60%);mask:radial-gradient(circle,#000 8%,#0000 60%)}.chest-ov.opened .chest-rays{opacity:1}.chest-cv{pointer-events:none;z-index:5;position:absolute;inset:0}.chest-box{z-index:2;position:relative}.chest-stars{justify-content:center;gap:6px;min-height:22px;margin:-4px 0 6px;display:flex}.chest-stars i{clip-path:polygon(50% 0,62% 36%,100% 38%,70% 60%,80% 100%,50% 76%,20% 100%,30% 60%,0 38%,38% 36%);filter:drop-shadow(0 2px #12301a);background:#ffd84a;width:22px;height:22px;animation:.5s both cpop}.chest-pips{justify-content:center;gap:10px;margin:6px 0;display:flex}.chest-pips i{background:#0003;border:3px solid #12301a;border-radius:50%;width:16px;height:16px;transition:transform .3s cubic-bezier(.3,1.8,.5,1),background .2s}.chest-pips i.on{background:#ffd84a;transform:scale(1.25)}.chest-ov.opened .chest-pips{display:none}.chest-ov.bye{opacity:0;transition:opacity .3s}.chest-prize{text-align:center;z-index:6;color:#12301a;background:#fff;border:5px solid #12301a;border-radius:22px;width:190px;margin-left:-95px;padding:14px 10px 12px;animation:.8s cubic-bezier(.2,1.4,.4,1) .15s both cprize;position:absolute;top:27%;left:50%;box-shadow:0 8px #12301a}.chest-prize:before{content:"";background:var(--rc);border-radius:16px 16px 0 0;height:14px;position:absolute;top:0;left:0;right:0}.cp-icon{border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:6px auto 2px;display:flex}.cp-icon.cpc{background:#ffc928;border:4px solid #8a5600;box-shadow:inset -6px -6px #e29a00}.cp-icon.cpr{background:#3b82f6;border:4px solid #12301a}.cp-n{font-size:46px;font-style:italic;font-weight:900;line-height:1}.cp-l{text-transform:uppercase;letter-spacing:1px;opacity:.7;font-size:14px;font-weight:800}@keyframes bshake{0%,to{transform:none}20%{transform:translate(-8px,4px)}40%{transform:translate(8px,-5px)}60%{transform:translate(-5px,3px)}80%{transform:translate(4px,-2px)}}body button.chest.shake1{animation:.45s cshake}body button.chest.shake2{transform-origin:50% 100%;animation:.35s cshake}@keyframes ccharge{0%,to{transform:translate(-3px)rotate(-2deg)}50%{transform:translate(3px)rotate(2deg)scale(1.05)}}button.chest .lid{transition:transform .6s cubic-bezier(.2,1.5,.4,1)}.chest-ov.opened .chest-box .chest{transition:transform .6s .6s}.chest-prize{width:230px;margin-left:-115px;padding:30px 12px 16px;animation-duration:.7s;animation-delay:0s;top:22%}.chest-prize:before{display:none}.cp-rib{background:var(--rc);color:#fff;letter-spacing:2px;-webkit-text-stroke:0;text-shadow:0 2px #12301a;border:4px solid #12301a;border-radius:10px;padding:6px 0;font-size:20px;font-style:italic;font-weight:900;position:absolute;top:-20px;left:-18px;right:-18px}.cp-icon{width:72px;height:72px;animation:1.2s ease-in-out infinite cbob}@keyframes cbob{50%{transform:translateY(-6px)rotate(6deg)}}.cp-icon.cpc i{background:#ffe066;border:4px solid #c98408;border-radius:50%;width:36px;height:36px}.cp-n{font-size:64px}.cp-l{font-size:16px}.chest-go{color:#fff;cursor:pointer;background:#58cc02;border:4px solid #12301a;border-radius:16px;margin-top:12px;padding:12px 38px;font-size:22px;font-style:italic;font-weight:900;animation:.6s both cprize;box-shadow:0 6px #12301a}.chest-go:active{transform:translateY(4px);box-shadow:0 2px #12301a}.chest .c3d{width:300px;height:280px}.chest:not(.is3d) .c3d,.chest.is3d>svg{display:none}body button.chest.is3d.open{animation:none}body .chest-ov.opened .chest-box .chest.is3d{transform:translateY(150px)scale(.8)}.chest-rays.on{opacity:1;background:repeating-conic-gradient(from 0deg, #fff3 0 8deg, #fff0 8deg 20deg);animation:24s linear infinite rayspin}.cimg{width:300px;height:300px;box-shadow:0 0 0 5px #12301a,0 0 60px 10px var(--rc);opacity:0;pointer-events:none;border:5px solid #fff;border-radius:24px;margin:-150px;transition:opacity .5s,transform .6s cubic-bezier(.2,1.5,.4,1);display:none;position:absolute;top:50%;left:50%;transform:scale(.6)rotate(-4deg)}button.chest{position:relative}.cimg.on{opacity:1;display:block;transform:none}.cclosed{object-fit:contain;width:320px;height:300px;transition:opacity .3s,transform .3s;display:block}button.chest svg{display:none!important}.cimg{object-fit:contain;width:340px;height:320px;box-shadow:none;border:0;border-radius:0;margin:-160px -170px}.chest-ov.opened .chest-title,.chest-ov.opened .chest-stars{display:none}.cimg{visibility:hidden;opacity:0;transition:opacity .25s,transform .35s cubic-bezier(.2,1.6,.4,1);display:block;transform:scale(.85)}.cimg.on{visibility:visible;opacity:1;transform:scale(1)}.cclosed{transition:opacity .2s}.cclosed.off{opacity:0;transform:none}.chest-ov.opened button.chest .cclosed:not(.off){animation:none}body button.chest.charge{animation:.12s infinite ccharge}body button.chest.open{animation:.5s ease-out copen}@keyframes copen{0%{transform:scale(1)}35%{transform:scale(1.15,.88)}70%{transform:scale(.97,1.05)}to{transform:scale(1)}}.chest-ov.opened .chest-box .chest{transition:transform .5s ease-out .35s;transform:translateY(90px)scale(.75)}.chest-ov.opened .chest-box{animation:none}.chest-title.up{animation:.4s ease-out cpop}.chest-prize{top:5%}.chest-prize{position:fixed;top:5vh}.chest-ov.opened .chest-box .chest{transform:translateY(150px)scale(.65)}.chest-ov.opened .chest-box .chest-msg{margin-top:140px}.chest-ov.opened .chest-box{position:fixed;inset:0}.chest-ov.opened .chest-box .chest{position:absolute;top:60%;left:50%;transform:scale(.65)}.chest-ov.opened .chest-box :is(.chest-msg,.chest-title,.chest-stars,.chest-pips){visibility:hidden}.chest-ov.opened .chest-prize{top:5%}.chest-ov.opened .chest-go{margin:0;position:absolute;bottom:6%;left:50%;translate:-50%}.uflash{z-index:5;pointer-events:none;background:radial-gradient(circle at 50% 45%,#fff 0,#fff 35%,var(--rc) 75%,transparent 100%);animation:.65s ease-out forwards uflash;position:absolute;inset:0}@keyframes uflash{0%{opacity:0}18%{opacity:1}to{opacity:0}}.chest-box.ubump{animation:.5s cubic-bezier(.2,1.6,.4,1) ubump}@keyframes ubump{0%{filter:brightness(2.2);transform:scale(.9)}60%{filter:brightness(1.4);transform:scale(1.07)}to{filter:none;transform:none}}.uflash{background:radial-gradient(circle at 50% 45%,#fff 0,var(--rc) 28%,var(--rc) 60%,transparent 100%);animation:.9s ease-out forwards uflash2}@keyframes uflash2{0%{opacity:0;transform:scale(.4)}20%{opacity:1;transform:scale(1.6)}to{opacity:0;transform:scale(2.4)}}.uflash:after{content:"";background:var(--rc);filter:blur(40px);opacity:.9;border-radius:50%;width:60vmin;height:60vmin;margin:-30vmin;position:absolute;top:45%;left:50%}.chest-ov{overflow:hidden}.dyn{pointer-events:none;z-index:4;width:110px;margin-left:-55px;animation:.5s cubic-bezier(.3,1.4,.5,1) both cdrop;position:absolute;top:6%;left:50%}.dyn svg{filter:drop-shadow(0 4px #0006);display:block}.dyn .spark{opacity:0}.dyn.lit .spark{opacity:1;animation:.12s infinite alternate dspark}.dyn-t{color:#ff3b30;-webkit-text-stroke:0;letter-spacing:1px;background:#111;border:3px solid #f3e2b3;border-radius:8px;padding:2px 10px;font:900 22px/1.2 ui-monospace,Menlo,monospace;position:absolute;top:44px;left:50%;translate:-50%;box-shadow:0 0 10px #ff3b3088}.dyn.lit .dyn-t{animation:1s infinite dtick}@keyframes dspark{0%{r:5;fill:#ffd84a}to{r:9;fill:#fff}}@keyframes dtick{50%{box-shadow:0 0 22px #ff3b30}}.dboom{pointer-events:none;z-index:8;background:radial-gradient(circle at 50% 55%,#fff 0,#ffd84a 25%,#ff7a1a 55%,#0000 85%);animation:2.6s ease-out forwards dboom;position:absolute;inset:0}@keyframes dboom{0%{opacity:1;transform:scale(.6)}15%{opacity:1;transform:scale(1.4)}to{opacity:0;transform:scale(1.6)}}.cp-icon.cpk{box-shadow:none;background:0 0;border:0}.cp-icon.cpk svg{filter:drop-shadow(0 3px #3b0a63);width:72px;height:72px}button.chest .dyn svg{display:block!important}.chest-ov.danger:after{content:"";pointer-events:none;z-index:7;animation:.5s infinite alternate ddanger;position:absolute;inset:0;box-shadow:inset 0 0 140px 30px #ff1a1aaa}@keyframes ddanger{0%{opacity:.25}to{opacity:1}}.chest-ov.danger .dyn-t{color:#fff;background:#b00000;animation:.25s infinite dtick}.chest-ov.quake{animation:.9s ease-out dquake}@keyframes dquake{0%,to{transform:none}10%{transform:translate(-18px,10px)rotate(-1deg)}20%{transform:translate(16px,-12px)rotate(1deg)}35%{transform:translate(-10px,8px)}50%{transform:translate(8px,-6px)}70%{transform:translate(-4px,3px)}}.dwave{pointer-events:none;z-index:7;border:8px solid #fff;border-radius:50%;width:80px;height:80px;margin:-40px;animation:1.1s ease-out both dwave;position:absolute;top:50%;left:50%}@keyframes dwave{0%{opacity:1;transform:scale(.3)}to{opacity:0;transform:scale(22)}}.dboom-t{z-index:9;pointer-events:none;color:#ffe066;-webkit-text-stroke:10px #7a1a00;paint-order:stroke fill;text-shadow:0 10px #7a1a00;font:italic 900 clamp(60px,14vw,150px)/1 system-ui,sans-serif;animation:1.3s cubic-bezier(.2,1.8,.4,1) both dboomt;position:absolute;top:50%;left:50%;translate:-50% -50%}@keyframes dboomt{0%{opacity:0;transform:scale(.2)rotate(-12deg)}25%{opacity:1;transform:scale(1.2)rotate(4deg)}70%{opacity:1}to{opacity:0;transform:scale(1.5)}}.dboom-t{white-space:nowrap;width:max-content}.dyn{width:124px;filter:drop-shadow(0 0 calc(var(--p,0)*26px) #ff3b30);margin-left:-62px;top:2%}.dyn.lit{animation:cdrop .5s both,dynpulse calc(.5s - var(--p,0)*.3s) infinite alternate}.dyn svg{filter:drop-shadow(0 5px #0006);overflow:visible}.dyn .sp{transform-box:fill-box}.dyn .star{transform-box:fill-box;transform-origin:50%;animation:.2s infinite alternate dtw}.dyn-t{color:#ffd84a;background:linear-gradient(#222,#000);border:4px solid #2a0a08;font-size:24px;top:62px;box-shadow:0 0 12px #ffb30088,inset 0 2px #fff3}.dsp{pointer-events:none;background:#ffd84a;border-radius:50%;width:7px;height:7px;animation:.6s ease-out forwards dsp;position:absolute;box-shadow:0 0 8px #ff8a00}.dyn-skip{z-index:20;color:#4a2400;cursor:pointer;background:linear-gradient(#ffe066,#ffb300);border:3px solid #2a1206;border-radius:14px;padding:10px 20px;font:italic 900 17px/1 system-ui,sans-serif;position:fixed;bottom:22px;right:22px;box-shadow:0 5px #2a1206}.dyn-skip[hidden]{display:none}.dyn-skip:active{transform:translateY(3px);box-shadow:0 2px #2a1206}
