.TangramPuzzle-module__0z7U2G__page{-webkit-user-select:none;user-select:none;touch-action:manipulation;--p:min(.3125cqh, .176056cqw);background:#f2dca8;position:fixed;inset:0;overflow:clip;container-type:size}.TangramPuzzle-module__0z7U2G__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}.TangramPuzzle-module__0z7U2G__flash_right{--flash:#1b9e6fbf}.TangramPuzzle-module__0z7U2G__flash_wrong{--flash:#d23c3cbf}.TangramPuzzle-module__0z7U2G__flash_right:after,.TangramPuzzle-module__0z7U2G__flash_wrong:after{opacity:1}.TangramPuzzle-module__0z7U2G__table{height:calc(var(--p) * 320);background:url(/images/background/games/tangram-puzzle-bg.webp) 0 0 / calc((50vw + var(--p) * 223) * 1.2268) 100% no-repeat, linear-gradient(180deg, #f2dca8 0 34.8%, #0000 34.8%), linear-gradient(90deg, #b8742f 0 50%, #a8723e 50% 100%);background:url(/images/background/games/tangram-puzzle-bg.webp) 0 0 / calc((50cqw + var(--p) * 223) * 1.2268) 100% no-repeat, linear-gradient(180deg, #f2dca8 0 34.8%, #0000 34.8%), linear-gradient(90deg, #b8742f 0 50%, #a8723e 50% 100%);position:absolute;bottom:0;left:0;right:0}.TangramPuzzle-module__0z7U2G__defs{width:0;height:0;position:absolute;overflow:hidden}.TangramPuzzle-module__0z7U2G__scene{width:calc(var(--p) * 568);height:calc(var(--p) * 320);position:absolute;bottom:0;left:50%;translate:-50%}.TangramPuzzle-module__0z7U2G__shelf{z-index:1;left:calc(var(--p) * 76);top:calc(var(--p) * 104);width:calc(var(--p) * 414);height:calc(var(--p) * 7);filter:drop-shadow(0 calc(var(--p) * 2) calc(var(--p) * 2) #46280f59);background:url(/images/props/games/tangram-puzzle-shelf.webp) 50%/100% 100% no-repeat;position:absolute}.TangramPuzzle-module__0z7U2G__lamp{z-index:2;left:calc(var(--p) * 78);top:calc(var(--p) * 60);width:calc(var(--p) * 34);height:calc(var(--p) * 44);pointer-events:none;position:absolute}.TangramPuzzle-module__0z7U2G__lampArt{transform-origin:40% 100%;width:100%;max-width:none;height:100%;filter:drop-shadow(0 calc(var(--p) * 1) calc(var(--p) * 1) #3c230a59) brightness(.8);transition:filter .2s;display:block;position:absolute;inset:0}.TangramPuzzle-module__0z7U2G__lampOn .TangramPuzzle-module__0z7U2G__lampArt{filter:drop-shadow(0 calc(var(--p) * 1) calc(var(--p) * 1) #3c230a59) brightness(1.05);animation:.3s ease-out TangramPuzzle-module__0z7U2G__lampNod}@keyframes TangramPuzzle-module__0z7U2G__lampNod{0%{rotate:-6deg}60%{rotate:4deg}to{rotate:none}}.TangramPuzzle-module__0z7U2G__lamp:after{content:"";left:calc(var(--p) * 14);top:calc(var(--p) * 12);width:calc(var(--p) * 30);height:calc(var(--p) * 30);opacity:0;background:radial-gradient(circle,#ffe08ce6 0%,#ffe08c00 70%);border-radius:50%;transition:opacity .3s;position:absolute}.TangramPuzzle-module__0z7U2G__lampOn:after{opacity:1}.TangramPuzzle-module__0z7U2G__lampOut:after{animation:.8s ease-in both TangramPuzzle-module__0z7U2G__lampFlicker}@keyframes TangramPuzzle-module__0z7U2G__lampFlicker{0%{opacity:1}20%{opacity:.2}35%{opacity:.9}55%{opacity:.1}70%{opacity:.6}to{opacity:0}}.TangramPuzzle-module__0z7U2G__lampSwing{transform-origin:40% 100%;animation:1s ease-in-out 2 TangramPuzzle-module__0z7U2G__lampSwing}.TangramPuzzle-module__0z7U2G__lampSwing:after{opacity:1;scale:1.5}@keyframes TangramPuzzle-module__0z7U2G__lampSwing{25%{rotate:-8deg}75%{rotate:8deg}}.TangramPuzzle-module__0z7U2G__mat{z-index:3;filter:drop-shadow(0 calc(var(--p) * 2) calc(var(--p) * 3) #3c1e0a66);cursor:pointer;-webkit-tap-highlight-color:transparent;background:url(/images/props/games/tangram-puzzle-mat.webp) 50%/100% 100% no-repeat;transition:filter .4s;position:absolute}.TangramPuzzle-module__0z7U2G__matLit{filter:drop-shadow(0 calc(var(--p) * 2) calc(var(--p) * 3) #3c1e0a66) brightness(1.12)}.TangramPuzzle-module__0z7U2G__matArt{width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0;overflow:visible}.TangramPuzzle-module__0z7U2G__shadow{fill:#221c2e;opacity:0;transition:opacity .4s ease-out}.TangramPuzzle-module__0z7U2G__shadowOn{opacity:.88}.TangramPuzzle-module__0z7U2G__shadowBreath{animation:3s ease-in-out infinite TangramPuzzle-module__0z7U2G__breathe}@keyframes TangramPuzzle-module__0z7U2G__breathe{0%,70%,to{opacity:.88}85%{opacity:.66}}.TangramPuzzle-module__0z7U2G__shadowOut{opacity:0;transition:opacity .8s ease-in}.TangramPuzzle-module__0z7U2G__lines{stroke:#f0ecff99;stroke-width:1.5px;stroke-dasharray:5 4;stroke-linecap:round;opacity:0;pointer-events:none;transition:opacity .4s}.TangramPuzzle-module__0z7U2G__linesOn{opacity:1}.TangramPuzzle-module__0z7U2G__figure{z-index:4;pointer-events:none;transform-origin:0 0;position:absolute}.TangramPuzzle-module__0z7U2G__figureRest{translate:calc(var(--p) * var(--tx)) calc(var(--p) * var(--ty));scale:var(--s)}.TangramPuzzle-module__0z7U2G__figureHop{animation:.8s both TangramPuzzle-module__0z7U2G__hop}@keyframes TangramPuzzle-module__0z7U2G__hop{0%{animation-timing-function:cubic-bezier(.3,.6,.6,1);translate:0;scale:1}50%{translate:calc(var(--p) * var(--tx) * .5) calc(var(--p) * var(--ay));animation-timing-function:cubic-bezier(.5,0,.8,.5)}to{translate:calc(var(--p) * var(--tx)) calc(var(--p) * var(--ty));scale:var(--s)}}.TangramPuzzle-module__0z7U2G__figureArt{width:100%;max-width:none;height:100%;filter:drop-shadow(0 calc(var(--p) * 2) calc(var(--p) * 2) #28140559);display:block;position:absolute;inset:0;overflow:visible}.TangramPuzzle-module__0z7U2G__figureBody{transform-box:view-box}.TangramPuzzle-module__0z7U2G__piecePaint{stroke:#321e0a73;stroke-width:1.5px;stroke-linejoin:round;transition:stroke-opacity .4s}.TangramPuzzle-module__0z7U2G__seamless{stroke-opacity:0}.TangramPuzzle-module__0z7U2G__wood{fill:url(#tangram-wood);mix-blend-mode:multiply;opacity:.5;pointer-events:none}.TangramPuzzle-module__0z7U2G__alive_cat{animation:.75s ease-in-out 2 TangramPuzzle-module__0z7U2G__stretch}@keyframes TangramPuzzle-module__0z7U2G__stretch{40%{transform:scale(1.08,.9)}75%{transform:scale(.95,1.08)}}.TangramPuzzle-module__0z7U2G__alive_fish{animation:.5s ease-in-out 3 TangramPuzzle-module__0z7U2G__wiggle}@keyframes TangramPuzzle-module__0z7U2G__wiggle{25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}.TangramPuzzle-module__0z7U2G__alive_boat{animation:1.5s ease-in-out TangramPuzzle-module__0z7U2G__sail}@keyframes TangramPuzzle-module__0z7U2G__sail{20%{transform:translate(7px)rotate(-5deg)}45%{transform:translate(20px)rotate(4deg)}70%{transform:translate(12px)rotate(-3deg)}to{transform:none}}.TangramPuzzle-module__0z7U2G__alive_bird,.TangramPuzzle-module__0z7U2G__alive_swan{animation:.75s ease-in-out 2 TangramPuzzle-module__0z7U2G__glide}@keyframes TangramPuzzle-module__0z7U2G__glide{50%{transform:translateY(-4px)}}.TangramPuzzle-module__0z7U2G__alive_rocket{animation:1.5s ease-in-out TangramPuzzle-module__0z7U2G__lift}@keyframes TangramPuzzle-module__0z7U2G__lift{30%,70%{transform:translateY(-10px)}}.TangramPuzzle-module__0z7U2G__alive_tree{animation:.75s ease-in-out 2 TangramPuzzle-module__0z7U2G__sway}@keyframes TangramPuzzle-module__0z7U2G__sway{25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}.TangramPuzzle-module__0z7U2G__alive_spin,.TangramPuzzle-module__0z7U2G__alive_honey{transform-box:fill-box;animation:1.5s ease-in-out TangramPuzzle-module__0z7U2G__spin;transform-origin:50%!important}.TangramPuzzle-module__0z7U2G__alive_honey{filter:drop-shadow(0 0 6px #ffc93c)}@keyframes TangramPuzzle-module__0z7U2G__spin{to{transform:rotate(360deg)}}.TangramPuzzle-module__0z7U2G__alive_gift,.TangramPuzzle-module__0z7U2G__alive_bounce,.TangramPuzzle-module__0z7U2G__alive_flag,.TangramPuzzle-module__0z7U2G__alive_house{animation:.5s ease-in-out 3 TangramPuzzle-module__0z7U2G__bounce}@keyframes TangramPuzzle-module__0z7U2G__bounce{40%{transform:translateY(-6px)scale(1.03,.97)}}.TangramPuzzle-module__0z7U2G__idle_tree,.TangramPuzzle-module__0z7U2G__idle_boat,.TangramPuzzle-module__0z7U2G__idle_flag,.TangramPuzzle-module__0z7U2G__idle_house,.TangramPuzzle-module__0z7U2G__idle_rocket,.TangramPuzzle-module__0z7U2G__idle_spin,.TangramPuzzle-module__0z7U2G__idle_gift,.TangramPuzzle-module__0z7U2G__idle_honey,.TangramPuzzle-module__0z7U2G__idle_bounce{animation:6s ease-in-out infinite TangramPuzzle-module__0z7U2G__idleSway}@keyframes TangramPuzzle-module__0z7U2G__idleSway{0%,80%,to{transform:none}88%{transform:rotate(-3deg)}94%{transform:rotate(2deg)}}.TangramPuzzle-module__0z7U2G__partMove{transform-box:view-box;animation:.375s ease-in-out 4 TangramPuzzle-module__0z7U2G__flap}@keyframes TangramPuzzle-module__0z7U2G__flap{50%{transform:rotate(-16deg)}}.TangramPuzzle-module__0z7U2G__eye{transform-box:view-box;animation:4.2s ease-in-out infinite TangramPuzzle-module__0z7U2G__blink}@keyframes TangramPuzzle-module__0z7U2G__blink{0%,92%,to{transform:scaleY(1)}96%{transform:scaleY(.1)}}.TangramPuzzle-module__0z7U2G__window{fill:#4a4458;transition:fill .4s}.TangramPuzzle-module__0z7U2G__windowOn{fill:#ffd36b}.TangramPuzzle-module__0z7U2G__smoke{fill:#ebebebd9;animation:1.5s ease-out both TangramPuzzle-module__0z7U2G__smoke}@keyframes TangramPuzzle-module__0z7U2G__smoke{0%{opacity:.9;transform:translateY(0)}to{opacity:0;transform:translateY(-30px)scale(1.6)}}.TangramPuzzle-module__0z7U2G__bubbles circle{fill:#c8ebffd9;animation:1.5s ease-out both TangramPuzzle-module__0z7U2G__bubble}.TangramPuzzle-module__0z7U2G__bubbles circle:nth-child(2){animation-delay:.3s}@keyframes TangramPuzzle-module__0z7U2G__bubble{0%{opacity:0;transform:translateY(0)}20%{opacity:1}to{opacity:0;transform:translateY(-34px)}}.TangramPuzzle-module__0z7U2G__flame{fill:#ffb43c;transform-box:fill-box;transform-origin:50% 0;animation:.15s ease-in-out infinite alternate TangramPuzzle-module__0z7U2G__flicker}@keyframes TangramPuzzle-module__0z7U2G__flicker{to{fill:#ff7a2e;transform:scaleY(.7)}}.TangramPuzzle-module__0z7U2G__waves path{fill:none;stroke:#78bef0e6;stroke-width:3px;stroke-linecap:round}.TangramPuzzle-module__0z7U2G__ribbon path{fill:none;stroke:#e8403b;stroke-width:10px}.TangramPuzzle-module__0z7U2G__ribbon .TangramPuzzle-module__0z7U2G__bow{fill:#e8403b;stroke:none}.TangramPuzzle-module__0z7U2G__ribbonWrap path:not(.TangramPuzzle-module__0z7U2G__bow){stroke-dasharray:1;stroke-dashoffset:1px;animation:.9s ease-out forwards TangramPuzzle-module__0z7U2G__wrap}@keyframes TangramPuzzle-module__0z7U2G__wrap{to{stroke-dashoffset:0}}.TangramPuzzle-module__0z7U2G__trayClip{z-index:5;width:calc(var(--p) * 560);clip-path:polygon(0 0, calc(var(--p) * 507) 0, calc(var(--p) * 507) calc(var(--p) * 111), calc(var(--p) * 541) 100%, 0 100%);pointer-events:none;position:absolute;top:0;bottom:0;left:0;overflow:hidden}.TangramPuzzle-module__0z7U2G__trayLayer{pointer-events:none;position:absolute;inset:0}.TangramPuzzle-module__0z7U2G__trayOff{translate:calc(var(--p) * 230) 0}.TangramPuzzle-module__0z7U2G__trayIn{animation:.6s cubic-bezier(.2,.8,.3,1) both TangramPuzzle-module__0z7U2G__trayIn}.TangramPuzzle-module__0z7U2G__trayOut{animation:.6s ease-in both TangramPuzzle-module__0z7U2G__trayOut}@keyframes TangramPuzzle-module__0z7U2G__trayIn{0%{translate:calc(var(--p) * 230) 0}}@keyframes TangramPuzzle-module__0z7U2G__trayOut{to{translate:calc(var(--p) * 230) 0}}.TangramPuzzle-module__0z7U2G__tray{left:calc(var(--p) * 269);top:calc(var(--p) * 113);width:calc(var(--p) * 232);height:calc(var(--p) * 214);box-sizing:border-box;border-style:solid;border-width:calc(var(--p) * 7);border-image:url(/images/props/games/tangram-puzzle-tray.webp) 29 31 26 33 fill / calc(var(--p) * 7) stretch;filter:drop-shadow(0 calc(var(--p) * 3) calc(var(--p) * 4) #3c1e0a66);position:absolute}.TangramPuzzle-module__0z7U2G__piece{z-index:1;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;background:0 0;border:0;padding:0;position:absolute}.TangramPuzzle-module__0z7U2G__piece:disabled{cursor:default}.TangramPuzzle-module__0z7U2G__pieceUp{z-index:2}.TangramPuzzle-module__0z7U2G__pieceTop{z-index:3}.TangramPuzzle-module__0z7U2G__grow,.TangramPuzzle-module__0z7U2G__lift,.TangramPuzzle-module__0z7U2G__bob,.TangramPuzzle-module__0z7U2G__shake{display:block;position:absolute;inset:0}.TangramPuzzle-module__0z7U2G__grow{transition:scale .15s}@media (hover:hover){.TangramPuzzle-module__0z7U2G__piece:not(:disabled):hover .TangramPuzzle-module__0z7U2G__growHome{scale:1.1}}.TangramPuzzle-module__0z7U2G__piece:not(:disabled):active .TangramPuzzle-module__0z7U2G__growHome{scale:.96}.TangramPuzzle-module__0z7U2G__lift{transition:translate .2s ease-out,opacity .2s}.TangramPuzzle-module__0z7U2G__lifted{translate:0 calc(var(--p) * -5)}.TangramPuzzle-module__0z7U2G__dim{opacity:.4}.TangramPuzzle-module__0z7U2G__art{width:0;height:0;transition:translate var(--fly,.6s) cubic-bezier(.45, 0, .35, 1), rotate var(--fly,.6s) ease-in-out, scale var(--fly,.6s) linear;display:block;position:absolute}.TangramPuzzle-module__0z7U2G__pieceSvg{pointer-events:none;max-width:none;filter:drop-shadow(0 calc(var(--p) * 2) calc(var(--p) * 1.5) #32190566);transition:filter .2s;position:absolute;overflow:visible}.TangramPuzzle-module__0z7U2G__glowGold{filter:drop-shadow(0 calc(var(--p) * 6) calc(var(--p) * 3) #32190559) drop-shadow(0 0 calc(var(--p) * 2) #ffd34d) drop-shadow(0 0 calc(var(--p) * 5) #ffc83ce6)}.TangramPuzzle-module__0z7U2G__glowRight{filter:drop-shadow(0 0 calc(var(--p) * 2) #1b9e6f) drop-shadow(0 0 calc(var(--p) * 5) #1b9e6fe6)}.TangramPuzzle-module__0z7U2G__glowWrong{filter:drop-shadow(0 0 calc(var(--p) * 1) #c62828) drop-shadow(0 0 calc(var(--p) * 4) #d23c3cd9)}.TangramPuzzle-module__0z7U2G__shaking{animation:.45s ease-in-out TangramPuzzle-module__0z7U2G__shake}@keyframes TangramPuzzle-module__0z7U2G__shake{20%{translate:calc(var(--p) * -3) 0}40%{translate:calc(var(--p) * 3) 0}60%{translate:calc(var(--p) * -2) 0}80%{translate:calc(var(--p) * 2) 0}}.TangramPuzzle-module__0z7U2G__idleBob{animation:TangramPuzzle-module__0z7U2G__idleBob calc(var(--n) * 1.4s) ease-in-out calc(var(--i) * 1.4s) infinite}@keyframes TangramPuzzle-module__0z7U2G__idleBob{0%,16%,to{translate:0}8%{translate:0 calc(var(--p) * -4)}}.TangramPuzzle-module__0z7U2G__cueBob{animation:TangramPuzzle-module__0z7U2G__cueBob .5s ease-out calc(var(--i) * .18s) both}.TangramPuzzle-module__0z7U2G__cueBobAgain{animation:TangramPuzzle-module__0z7U2G__cueBobAgain .5s ease-out calc(var(--i) * .18s) both}@keyframes TangramPuzzle-module__0z7U2G__cueBob{45%{translate:0 calc(var(--p) * -9)}}@keyframes TangramPuzzle-module__0z7U2G__cueBobAgain{45%{translate:0 calc(var(--p) * -9)}}.TangramPuzzle-module__0z7U2G__ghost{pointer-events:none;width:0;height:0;position:absolute;top:0;left:0}.TangramPuzzle-module__0z7U2G__ghostA{animation:1.6s ease-out both TangramPuzzle-module__0z7U2G__ghostA}.TangramPuzzle-module__0z7U2G__ghostB{animation:1.6s ease-out both TangramPuzzle-module__0z7U2G__ghostB}@keyframes TangramPuzzle-module__0z7U2G__ghostA{0%{opacity:.7;translate:0}to{translate:calc(var(--p) * var(--gx)) calc(var(--p) * var(--gy));opacity:0}}@keyframes TangramPuzzle-module__0z7U2G__ghostB{0%{opacity:.7;translate:0}to{translate:calc(var(--p) * var(--gx)) calc(var(--p) * var(--gy));opacity:0}}.TangramPuzzle-module__0z7U2G__ghostPath{fill:#ffffff2e;stroke:#ffffffd9;stroke-width:2px;stroke-dasharray:5 4}.TangramPuzzle-module__0z7U2G__proof{z-index:6;pointer-events:none;max-width:none;position:absolute;overflow:visible}.TangramPuzzle-module__0z7U2G__redPart path{fill:#e22626b8;stroke:#e22626b8;stroke-width:.6px}.TangramPuzzle-module__0z7U2G__gapBlink path{fill:#e22626b3;stroke:#e22626b3;stroke-width:.6px;animation:.4s ease-in-out 2 TangramPuzzle-module__0z7U2G__gapBlink}@keyframes TangramPuzzle-module__0z7U2G__gapBlink{50%{opacity:.25}}.TangramPuzzle-module__0z7U2G__dust{z-index:7;pointer-events:none;width:0;height:0;position:absolute}.TangramPuzzle-module__0z7U2G__mote{left:calc(var(--p) * -2.5);top:calc(var(--p) * -2.5);width:calc(var(--p) * 5);height:calc(var(--p) * 5);rotate:var(--a);background:#f0e1c8d9;border-radius:50%;animation:.5s ease-out both TangramPuzzle-module__0z7U2G__mote;position:absolute}@keyframes TangramPuzzle-module__0z7U2G__mote{0%{translate:calc(var(--p) * 10) 0;opacity:1}to{translate:calc(var(--p) * 30) 0;opacity:0}}.TangramPuzzle-module__0z7U2G__childClip{z-index:3;top:0;bottom:0;left:calc(var(--p) * 284 - 50vw);left:calc(var(--p) * 284 - 50cqw);width:calc(50vw - var(--p) * 284 + var(--p) * 130);width:calc(50cqw - var(--p) * 284 + var(--p) * 130);pointer-events:none;position:absolute;overflow:hidden}.TangramPuzzle-module__0z7U2G__child{top:0;left:calc(50vw - var(--p) * 284);left:calc(50cqw - var(--p) * 284);width:calc(var(--p) * 130);pointer-events:none;--character-width:calc(var(--p) * 184);--character-min-width:0px;height:100%;position:absolute}.TangramPuzzle-module__0z7U2G__confetti{z-index:12;pointer-events:none;position:absolute;inset:0;overflow:hidden}.TangramPuzzle-module__0z7U2G__bit{left:var(--x);top:calc(var(--p) * 62);width:calc(var(--p) * 4);height:calc(var(--p) * 9);border-radius:calc(var(--p) * 1.5);background:hsl(calc(var(--c) * 72) 80% 60%);rotate:var(--r);animation:TangramPuzzle-module__0z7U2G__fall 1.8s cubic-bezier(.4, 0, .8, .6) var(--d) both;position:absolute}@keyframes TangramPuzzle-module__0z7U2G__fall{0%{opacity:0}12%{opacity:1}to{translate:0 calc(var(--p) * 250);rotate:calc(var(--r) + 540deg)}}@media (prefers-reduced-motion:reduce){.TangramPuzzle-module__0z7U2G__idleBob,.TangramPuzzle-module__0z7U2G__cueBob,.TangramPuzzle-module__0z7U2G__cueBobAgain,.TangramPuzzle-module__0z7U2G__ghostA,.TangramPuzzle-module__0z7U2G__ghostB,.TangramPuzzle-module__0z7U2G__bit,.TangramPuzzle-module__0z7U2G__eye{animation-duration:1ms}}
