.BeadBox-module__IP6ioa__page{-webkit-user-select:none;user-select:none;touch-action:manipulation;--u:min(100cqw / 568, 100cqh / 320);--scene-x:calc((100cqw - var(--u) * 568) / 2);--scene-y:calc((100cqh - var(--u) * 320) / 2);background:linear-gradient(#ead29b 50%,#3a2416 50%);position:fixed;inset:0;overflow:clip;container-type:size}.BeadBox-module__IP6ioa__page:after{content:"";z-index:20;pointer-events:none;opacity:0;box-shadow:inset 0 0 0 6px var(--flash,transparent), inset 0 0 48px 16px var(--flash,transparent);transition:opacity .2s;position:absolute;inset:0}.BeadBox-module__IP6ioa__flash_right{--flash:#1b9e6fbf}.BeadBox-module__IP6ioa__flash_wrong{--flash:#d23c3cbf}.BeadBox-module__IP6ioa__flash_right:after,.BeadBox-module__IP6ioa__flash_wrong:after{opacity:1}.BeadBox-module__IP6ioa__wall{left:0;right:0;top:var(--scene-y);height:calc(var(--u) * 348);background:url(/images/background/games/bead-box-bg.webp) top/100% 100% no-repeat;position:absolute}.BeadBox-module__IP6ioa__wall:after{content:"";opacity:0;background-image:url(/images/props/games/bead-box-bead-heart.webp),url(/images/props/games/bead-box-bead-star.webp),url(/images/props/games/bead-box-bead-cube.webp),url(/images/props/games/bead-box-bead-drop.webp),url(/images/props/games/bead-box-bead-round.webp);width:1px;height:1px;position:absolute}.BeadBox-module__IP6ioa__tableTop{z-index:4;left:0;right:0;top:calc(var(--scene-y) + var(--u) * 150);background:url(/images/background/games/bead-box-bg.webp) 0 calc(var(--u) * -150) / 100% calc(var(--u) * 348) no-repeat, #6e3518;position:absolute;bottom:0}.BeadBox-module__IP6ioa__ledge{z-index:4;left:0;right:0;top:calc(var(--scene-y) + var(--u) * 308);height:calc(var(--u) * 14);box-sizing:border-box;border-style:solid;border-width:0 calc(var(--u) * 12);filter:drop-shadow(0 calc(var(--u) * 2) calc(var(--u) * 2) #1e0f0573);border-image:url(/images/props/games/bead-box-ledge.webp) 0 48 fill;position:absolute}.BeadBox-module__IP6ioa__clip{pointer-events:none;position:absolute;inset:0;overflow:hidden}.BeadBox-module__IP6ioa__scene{left:var(--scene-x);top:var(--scene-y);width:calc(var(--u) * 568);height:calc(var(--u) * 320);position:absolute}.BeadBox-module__IP6ioa__shelf{z-index:1;left:calc(var(--u) * 262);top:calc(var(--u) * 133);width:calc(var(--u) * 108);height:calc(var(--u) * 26);filter:drop-shadow(0 calc(var(--u) * 3) calc(var(--u) * 2) #3c230f59);background:url(/images/props/games/bead-box-shelf.webp) top/100% 100% no-repeat;position:absolute}.BeadBox-module__IP6ioa__mirror{z-index:1;left:calc(var(--u) * 506);top:calc(var(--u) * 64);width:calc(var(--u) * 52);height:calc(var(--u) * 149);background:url(/images/props/games/bead-box-mirror.webp) 50%/100% 100% no-repeat;position:absolute}.BeadBox-module__IP6ioa__mirrorShine{animation:1.6s ease-in-out both BeadBox-module__IP6ioa__mirrorShine}@keyframes BeadBox-module__IP6ioa__mirrorShine{0%,to{filter:none}40%{filter:brightness(1.35) drop-shadow(0 0 calc(var(--u) * 8) #ffec96f2)}}.BeadBox-module__IP6ioa__sparkle{left:calc(var(--u) * (4 + var(--i) * 14));top:calc(var(--u) * (6 + var(--i) * 17));width:calc(var(--u) * 14);height:calc(var(--u) * 14);clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:BeadBox-module__IP6ioa__twinkle .7s ease-in-out calc(var(--i) * .16s) 3 both;background:#fffbe0;position:absolute}@keyframes BeadBox-module__IP6ioa__twinkle{0%,to{rotate:none;scale:0}50%{rotate:45deg;scale:1.2}}.BeadBox-module__IP6ioa__stand{z-index:1;left:calc(var(--u) * 380);top:calc(var(--u) * 66);width:calc(var(--u) * 120);height:calc(var(--u) * 134);filter:drop-shadow(0 calc(var(--u) * 2) calc(var(--u) * 3) #3c230f4d);background:url(/images/props/games/bead-box-stand.webp) 50%/100% 100% no-repeat;position:absolute}.BeadBox-module__IP6ioa__hung{z-index:2;pointer-events:none;position:absolute;inset:0}.BeadBox-module__IP6ioa__hungFloat{z-index:7}.BeadBox-module__IP6ioa__hungWorn{opacity:0;transition:opacity .4s ease-in}.BeadBox-module__IP6ioa__hungBead{scale:.625}.BeadBox-module__IP6ioa__hung .BeadBox-module__IP6ioa__bead{transition:scale var(--move) ease-in-out, left var(--move) cubic-bezier(.45, .05, .35, 1), top var(--move) cubic-bezier(.3, -.25, .4, 1)}.BeadBox-module__IP6ioa__jeweller{z-index:3;pointer-events:none;--character-width:calc(var(--u) * 240);--character-min-width:0px;position:absolute;inset:0}.BeadBox-module__IP6ioa__princess{z-index:3;left:calc(var(--u) * 492);top:calc(var(--u) * 92);width:calc(var(--u) * 76);height:calc(var(--u) * 76);max-width:none;image-rendering:pixelated;pointer-events:none;position:absolute;transform:scaleX(-1)}.BeadBox-module__IP6ioa__bead{left:calc(var(--u) * (var(--x) - 16));top:calc(var(--u) * (var(--y) - 16));width:calc(var(--u) * 32);height:calc(var(--u) * 32);pointer-events:none;max-width:none;filter:drop-shadow(0 calc(var(--u) * 2) calc(var(--u) * 1.5) #0a1e0f73);position:absolute}.BeadBox-module__IP6ioa__face{display:block;position:absolute;inset:0}.BeadBox-module__IP6ioa__kind_heart{background:url(/images/props/games/bead-box-bead-heart.webp) 50%/contain no-repeat}.BeadBox-module__IP6ioa__kind_star{background:url(/images/props/games/bead-box-bead-star.webp) 50%/contain no-repeat}.BeadBox-module__IP6ioa__kind_cube{background:url(/images/props/games/bead-box-bead-cube.webp) 50%/contain no-repeat}.BeadBox-module__IP6ioa__kind_drop{background:url(/images/props/games/bead-box-bead-drop.webp) 50%/contain no-repeat}.BeadBox-module__IP6ioa__kind_round{background:url(/images/props/games/bead-box-bead-round.webp) 50%/contain no-repeat}.BeadBox-module__IP6ioa__necklace{z-index:6;pointer-events:none;position:absolute;inset:0}.BeadBox-module__IP6ioa__necklaceAway{translate:calc(var(--u) * var(--enter) * -1) 0}.BeadBox-module__IP6ioa__pullIn{animation:1.2s cubic-bezier(.2,.6,.35,1) both BeadBox-module__IP6ioa__pullIn}@keyframes BeadBox-module__IP6ioa__pullIn{0%{translate:calc(var(--u) * var(--enter) * -1) 0}to{translate:0}}.BeadBox-module__IP6ioa__necklaceBehind{z-index:2}.BeadBox-module__IP6ioa__necklace .BeadBox-module__IP6ioa__bead{transition:scale var(--move) ease-in-out, left var(--move) ease-in-out, top var(--move) ease-in-out}.BeadBox-module__IP6ioa__string{left:calc(var(--u) * var(--x));top:calc(var(--u) * 191);width:calc(var(--u) * var(--w));height:calc(var(--u) * 2);border-radius:calc(var(--u) * 1);box-shadow:0 calc(var(--u) * 1) 0 #14281959;transition:left var(--move) ease-in-out, width var(--move) ease-in-out, opacity .2s ease;background:#f4e6c8;position:absolute}.BeadBox-module__IP6ioa__stringGlow{box-shadow:0 0 calc(var(--u) * 4) #6ef078e6;background:#e6ffd8}.BeadBox-module__IP6ioa__stringGone{opacity:0}.BeadBox-module__IP6ioa__number{left:calc(var(--u) * (var(--x) - 21));top:calc(var(--u) * 212);width:calc(var(--u) * 42);height:calc(var(--u) * 18);font-size:calc(var(--u) * 16);font-weight:800;line-height:calc(var(--u) * 18);text-align:center;color:#fff3d2;text-shadow:0 calc(var(--u) * 1) calc(var(--u) * 1.5) #0a190cb3;font-variant-numeric:tabular-nums;transition:left var(--move) ease-in-out, opacity .2s ease;position:absolute}.BeadBox-module__IP6ioa__numberIn{animation:.26s cubic-bezier(.3,1.5,.5,1) .18s both BeadBox-module__IP6ioa__numberIn}@keyframes BeadBox-module__IP6ioa__numberIn{0%{scale:0}to{scale:1}}.BeadBox-module__IP6ioa__numberGone{opacity:0}.BeadBox-module__IP6ioa__beadGlow{filter:drop-shadow(0 0 calc(var(--u) * 3) #e2ffd6) drop-shadow(0 0 calc(var(--u) * 7) #28d25af2);animation:.6s ease-out BeadBox-module__IP6ioa__twinkleBead}@keyframes BeadBox-module__IP6ioa__twinkleBead{0%{scale:1}35%{scale:1.22}to{scale:1}}.BeadBox-module__IP6ioa__toDrawer{animation:BeadBox-module__IP6ioa__drawerX var(--th) linear both}.BeadBox-module__IP6ioa__toDrawer .BeadBox-module__IP6ioa__drawerPath{animation:BeadBox-module__IP6ioa__drawerY var(--drop) ease-in var(--th) both}.BeadBox-module__IP6ioa__drawerPath{display:block;position:absolute;inset:0}@keyframes BeadBox-module__IP6ioa__drawerX{0%{translate:0}to{translate:calc(var(--u) * var(--dx)) 0}}@keyframes BeadBox-module__IP6ioa__drawerY{0%{translate:0}to{translate:0 calc(var(--u) * var(--dy))}}.BeadBox-module__IP6ioa__box{z-index:7;left:calc(var(--u) * 268);top:calc(var(--u) * var(--y));width:calc(var(--u) * 96);height:calc(var(--u) * 58);pointer-events:none;transition:top var(--move) cubic-bezier(.35, 0, .3, 1);position:absolute}.BeadBox-module__IP6ioa__boxHome{z-index:1}.BeadBox-module__IP6ioa__boxBody{left:0;right:0;top:calc(var(--u) * 30);filter:drop-shadow(0 calc(var(--u) * 3) calc(var(--u) * 3) #141e0f73);background:url(/images/props/games/bead-box-body.webp) 50%/100% 100% no-repeat;position:absolute;bottom:0}.BeadBox-module__IP6ioa__lid{height:calc(var(--u) * 31);transform-origin:85% 100%;background:url(/images/props/games/bead-box-lid.webp) 50%/100% 100% no-repeat;transition:translate .4s cubic-bezier(.3,1.3,.5,1),rotate .4s cubic-bezier(.3,1.3,.5,1);position:absolute;top:0;left:0;right:0}.BeadBox-module__IP6ioa__lidOpen{translate:0 calc(var(--u) * -16);rotate:-14deg}.BeadBox-module__IP6ioa__padGroup{z-index:5;pointer-events:none;translate:calc(var(--u) * var(--pad-dx)) 0;transition:translate .4s cubic-bezier(.3,0,.3,1);position:absolute;inset:0}.BeadBox-module__IP6ioa__pad{left:calc(var(--u) * 372);top:calc(var(--u) * 177);width:calc(var(--u) * 56);height:calc(var(--u) * 30);filter:drop-shadow(0 calc(var(--u) * 3) calc(var(--u) * 2) #0a1e0f73);background:url(/images/props/games/bead-box-pad.webp) 50%/100% 100% no-repeat;position:absolute}.BeadBox-module__IP6ioa__ask{font-size:calc(var(--u) * 24);font-weight:900;line-height:calc(var(--u) * 28);text-align:center;color:#ffe9a8;text-shadow:0 0 calc(var(--u) * 4) #ffdc7899;position:absolute;inset:0}.BeadBox-module__IP6ioa__askPulse{animation:1.6s ease-in-out infinite BeadBox-module__IP6ioa__askPulse}@keyframes BeadBox-module__IP6ioa__askPulse{0%,to{scale:1}50%{scale:1.12}}.BeadBox-module__IP6ioa__askCue{animation:.9s ease-in-out 2 BeadBox-module__IP6ioa__askCue}.BeadBox-module__IP6ioa__askCueAgain{animation:.9s ease-in-out 2 BeadBox-module__IP6ioa__askCueAgain}@keyframes BeadBox-module__IP6ioa__askCue{0%,to{filter:none;scale:1}50%{filter:brightness(1.4) drop-shadow(0 0 calc(var(--u) * 6) #fff2b0);scale:1.35}}@keyframes BeadBox-module__IP6ioa__askCueAgain{0%,to{filter:none;scale:1}50%{filter:brightness(1.4) drop-shadow(0 0 calc(var(--u) * 6) #fff2b0);scale:1.35}}.BeadBox-module__IP6ioa__padNumber{left:calc(var(--u) * 372);top:calc(var(--u) * 214);width:calc(var(--u) * 56);height:calc(var(--u) * 20);font-size:calc(var(--u) * 19);font-weight:900;line-height:calc(var(--u) * 20);text-align:center;color:#fff3d2;text-shadow:0 calc(var(--u) * 1) calc(var(--u) * 1.5) #0a190cb3;font-variant-numeric:tabular-nums;position:absolute}.BeadBox-module__IP6ioa__padBead{z-index:6}.BeadBox-module__IP6ioa__flying{z-index:10;animation:.5s linear both BeadBox-module__IP6ioa__arc}@keyframes BeadBox-module__IP6ioa__arc{0%{translate:calc(var(--u) * var(--fx)) calc(var(--u) * var(--fy));scale:.6}25%{translate:calc(var(--u) * var(--fx) * .75) calc(var(--u) * (var(--fy) * .75 - 45))}50%{translate:calc(var(--u) * var(--fx) * .5) calc(var(--u) * (var(--fy) * .5 - 60));scale:1}75%{translate:calc(var(--u) * var(--fx) * .25) calc(var(--u) * (var(--fy) * .25 - 45))}to{translate:0;scale:1}}.BeadBox-module__IP6ioa__padBead:not(.BeadBox-module__IP6ioa__flying) .BeadBox-module__IP6ioa__face{animation:.2s ease-out both BeadBox-module__IP6ioa__squash}@keyframes BeadBox-module__IP6ioa__squash{0%{scale:1}40%{scale:1.2 .8}to{scale:1}}.BeadBox-module__IP6ioa__dishFront{z-index:8;left:calc(var(--u) * 376);top:calc(var(--u) * 287);width:calc(var(--u) * 52);height:calc(var(--u) * 25);filter:drop-shadow(0 calc(var(--u) * 2) calc(var(--u) * 2) #1e0f0566);background:url(/images/props/games/bead-box-dish.webp) 50%/100% 100% no-repeat;position:absolute}.BeadBox-module__IP6ioa__inDish{z-index:6;rotate:var(--rot);scale:.75}.BeadBox-module__IP6ioa__knocked{z-index:6;animation:.9s linear both BeadBox-module__IP6ioa__knocked}.BeadBox-module__IP6ioa__roll{animation:.9s linear both BeadBox-module__IP6ioa__roll;display:block;position:absolute;inset:0}@keyframes BeadBox-module__IP6ioa__knocked{0%{translate:0}50%{translate:calc(var(--u) * var(--tx) * .35) calc(var(--u) * 42);animation-timing-function:ease-in}62%{translate:calc(var(--u) * var(--tx) * .45) calc(var(--u) * 40);animation-timing-function:ease-in}to{translate:calc(var(--u) * var(--tx)) calc(var(--u) * var(--ty))}}@keyframes BeadBox-module__IP6ioa__roll{0%{rotate:none}50%{rotate:260deg}to{rotate:calc(360deg + var(--rot))}}.BeadBox-module__IP6ioa__drawerMouth{z-index:4;left:calc(var(--u) * 12);top:calc(var(--u) * 264);width:calc(var(--u) * 94);height:calc(var(--u) * 10);opacity:0;background:#24130a;transition:opacity .2s;position:absolute}.BeadBox-module__IP6ioa__drawerMouthOpen{opacity:1}.BeadBox-module__IP6ioa__drawer{z-index:8;left:calc(var(--u) * 8);top:calc(var(--u) * 268);width:calc(var(--u) * 102);height:calc(var(--u) * 42);filter:drop-shadow(0 calc(var(--u) * 1) calc(var(--u) * 2) #140a0559);background:url(/images/props/games/bead-box-drawer.webp) 50%/100% 100% no-repeat;transition:translate .25s,scale .25s;position:absolute}.BeadBox-module__IP6ioa__drawerOpen{translate:0 calc(var(--u) * 8);scale:1.05}.BeadBox-module__IP6ioa__jars{z-index:9;pointer-events:none;position:absolute;inset:0}.BeadBox-module__IP6ioa__jar{left:calc(var(--u) * var(--x));top:calc(var(--u) * 252);width:calc(var(--u) * 64);height:calc(var(--u) * 60);cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;transform-origin:50% 100%;background:0 0;border:0;padding:0;transition:scale .15s;position:absolute}@media (hover:hover){.BeadBox-module__IP6ioa__jar:not(:disabled):hover{scale:1.1}}.BeadBox-module__IP6ioa__jar:active{scale:.96}.BeadBox-module__IP6ioa__jar:disabled{cursor:default}.BeadBox-module__IP6ioa__jarArt{filter:drop-shadow(0 calc(var(--u) * 2) calc(var(--u) * 2) #1e0f0573);transition:filter .2s;display:block;position:absolute;inset:0}.BeadBox-module__IP6ioa__jarBack{background:url(/images/props/games/bead-box-jar.webp) bottom/100% 100% no-repeat;position:absolute;inset:0}.BeadBox-module__IP6ioa__jarGlass{opacity:.35;background:url(/images/props/games/bead-box-jar.webp) bottom/100% 100% no-repeat;position:absolute;inset:0}.BeadBox-module__IP6ioa__jarBead{left:calc(var(--u) * var(--bx));top:calc(var(--u) * var(--by));width:calc(var(--u) * 18);height:calc(var(--u) * 18);position:absolute}.BeadBox-module__IP6ioa__jarShine{left:calc(var(--u) * 11);top:calc(var(--u) * 16);width:calc(var(--u) * 6);bottom:calc(var(--u) * 10);border-radius:calc(var(--u) * 4);background:linear-gradient(#fff9,#ffffff1a);position:absolute}.BeadBox-module__IP6ioa__jar_right .BeadBox-module__IP6ioa__jarArt{filter:drop-shadow(0 0 calc(var(--u) * 3) #d7ffc8) drop-shadow(0 0 calc(var(--u) * 7) #28c85af2)}.BeadBox-module__IP6ioa__jar_wrong .BeadBox-module__IP6ioa__jarArt{filter:drop-shadow(0 0 calc(var(--u) * 3) #ffd0d0) drop-shadow(0 0 calc(var(--u) * 7) #dc3232f2)}.BeadBox-module__IP6ioa__jar_wrong{animation:.45s ease-in-out BeadBox-module__IP6ioa__shake}@keyframes BeadBox-module__IP6ioa__shake{0%,to{translate:0}20%{translate:calc(var(--u) * -5) 0}40%{translate:calc(var(--u) * 5) 0}60%{translate:calc(var(--u) * -3) 0}80%{translate:calc(var(--u) * 3) 0}}.BeadBox-module__IP6ioa__idleBob{animation:BeadBox-module__IP6ioa__bobOne 2.7s ease-in-out calc(var(--i) * .9s) infinite}@keyframes BeadBox-module__IP6ioa__bobOne{0%,22%,to{translate:0}11%{translate:0 calc(var(--u) * -4)}}.BeadBox-module__IP6ioa__cueBob{animation:BeadBox-module__IP6ioa__cueBob .5s ease-out calc(var(--i) * .16s) both}.BeadBox-module__IP6ioa__cueBobAgain{animation:BeadBox-module__IP6ioa__cueBobAgain .5s ease-out calc(var(--i) * .16s) both}@keyframes BeadBox-module__IP6ioa__cueBob{0%,to{translate:0}40%{translate:0 calc(var(--u) * -9)}}@keyframes BeadBox-module__IP6ioa__cueBobAgain{0%,to{translate:0}40%{translate:0 calc(var(--u) * -9)}}
