:root{--sky-top:#7ec8f0;--sky-bottom:#cdeffd;--grass:#5cbf4a;--grass-light:#78d564;--dirt:#a0703f;--dirt-dark:#855a31;--ink:#2f4858;--who:#ffe08a;--do:#8fd3ff;--thing:#a8e6a1;--gold:#ffd23f;--block-w:clamp(120px, 14.5vw, 178px);--block-h:clamp(92px, 13vh, 120px);color:var(--ink);font-family:ui-rounded,SF Pro Rounded,Arial Rounded MT Bold,system-ui,sans-serif}html,body,#root{overscroll-behavior:none;background:var(--sky-top);height:100%;margin:0;overflow:hidden}body{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;position:fixed;inset:0}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:none;padding:0}.app{position:fixed;inset:0;overflow:hidden}.bevel,.block,.big-button,.craft-button{border:3px solid #00000047;border-radius:8px;box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 6px #0003}.big-button{color:#fff;background:#5cc95a;place-items:center;width:168px;height:168px;display:grid}.big-button svg{filter:drop-shadow(0 3px #0003);width:62%;height:62%}.big-button:active{transform:translateY(4px);box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 2px #0003}.start{place-items:center;display:grid;position:absolute;inset:0}.start__play{z-index:2;width:220px;height:220px;animation:1.8s ease-in-out infinite breathe;position:relative}.start__friends{height:40%;position:absolute;bottom:22%;left:0;right:0}.start__toki{height:100%;position:absolute;bottom:0;left:14%}.start__pip{height:45%;animation:1.2s ease-in-out infinite hop;position:absolute;bottom:0;right:16%}.scene__sky{background:linear-gradient(var(--sky-top), var(--sky-bottom));position:absolute;inset:0}.scene__ground{background:linear-gradient(var(--grass-light) 0 10px, var(--grass) 10px 26px, transparent 26px), repeating-linear-gradient(90deg, var(--dirt) 0 40px, var(--dirt-dark) 40px 80px);height:22%;position:absolute;bottom:0;left:0;right:0}.stage{flex-direction:column;display:flex;position:absolute;inset:0}.stage__scene{flex:1;min-height:0;position:relative;overflow:hidden}.scene{position:absolute;inset:0}.scene__actors{position:absolute;inset:0 0 22%}.actor{position:absolute;bottom:-4px}.actor__svg{height:100%;display:block}.actor--toki{height:62%;left:24%}.actor--pip{height:26%;left:39%}.actor--cheer{animation:.5s ease-out .2s 3 jump}.actor--hop{animation:.45s ease-out .35s 3 jump}.voice{opacity:0;background:#fff;border:3px solid #0003;border-radius:10px;align-items:center;gap:6px;padding:10px 14px;transition:opacity .15s;display:flex;position:absolute;bottom:100%;left:50%;transform:translate(-50%,-8px)}.voice:after{content:"";border:8px solid #0000;border-top-color:#fff;margin-left:-8px;position:absolute;top:100%;left:50%}.voice span{background:var(--ink);border-radius:3px;width:8px;height:24px}.voice--on{opacity:1}.voice--on span{animation:.6s ease-in-out infinite wave}.voice--on span:nth-child(2){animation-delay:.15s}.voice--on span:nth-child(3){animation-delay:.3s}.thought{background:#fff;border:3px solid #0003;border-radius:10px;place-items:center;width:64px;height:64px;font-size:44px;font-weight:800;animation:1.6s ease-in-out infinite bob;display:grid;position:absolute;top:-6%;right:-40%}.held-item{transform-origin:20% 80%;font-size:clamp(48px,7vh,72px);animation:.35s ease-in-out 3 swing;position:absolute;top:30%;right:-34%}.prop{position:absolute;bottom:-4px}.prop--tree{aspect-ratio:6/10;height:92%;left:52%}.tree,.tree svg{width:100%;height:100%;display:block}.tree{transform-origin:50% 100%}.tree--fallen{animation:.12s linear 3 shake,.6s cubic-bezier(.5,0,.9,.6) .36s forwards fall}.logs{justify-content:center;gap:4px;font-size:clamp(56px,9vh,84px);display:flex;position:absolute;inset:auto 0 0}.logs span{opacity:0;animation:.4s ease-out forwards pop}.logs span:first-child{animation-delay:.95s}.logs span:nth-child(2){animation-delay:1.05s}.logs span:nth-child(3){animation-delay:1.15s}.fireworks{pointer-events:none;position:absolute;inset:0}.burst{position:absolute}.spark{border-radius:2px;width:22px;height:22px;margin:-11px 0 0 -11px;animation:1.1s ease-out both spark;position:absolute}.next-button{margin-top:-84px;animation:1.8s ease-in-out infinite breathe;position:absolute;top:50%;right:4%}.stage__craft{padding:14px 28px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(#0000001f 0 6px,#0000 6px),repeating-linear-gradient(90deg,#c8955f 0 64px,#b9874f 64px 128px);flex:none;align-items:center;gap:24px;transition:transform .45s ease-out,opacity .45s ease-out;display:flex;position:relative}.stage--intro .stage__craft{opacity:0;transform:translateY(40%)}.board{flex-direction:column;flex:1;align-items:center;gap:16px;display:flex}.sentence{background:#00000024;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;display:flex}.slot{width:var(--block-w);height:var(--block-h);border-radius:10px;place-items:center;display:grid}.slot--empty{outline-offset:-6px;background:#ffffff47;outline:4px dashed #ffffffbf}.punct{color:#fff;text-align:center;text-shadow:0 3px #00000040;width:40px;font-size:96px;font-weight:900;line-height:1}.sentence--glow{animation:.9s ease-in-out infinite alternate glow}.tray{min-height:var(--block-h);gap:18px;display:flex}.tray__spot{width:var(--block-w);height:var(--block-h);background:#0000001a;border-radius:10px}.block{box-sizing:border-box;width:var(--block-w);height:var(--block-h);touch-action:none;cursor:grab;will-change:transform;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}.block--who{background:var(--who)}.block--do{background:var(--do)}.block--thing{background:var(--thing)}.block__emoji{font-size:clamp(34px,5vh,46px);line-height:1}.block__text{white-space:nowrap;font-size:clamp(26px,3.6vh,34px);font-weight:800;line-height:1.1}.block--lifted{opacity:0}.block--dragging{z-index:50;pointer-events:none;position:fixed;transform:scale(1.08)rotate(-2deg);box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 16px 20px #00000040}.board--locked .block{cursor:default}.craft-button{background:#d9dee2;flex:none;place-items:center;width:150px;height:150px;font-size:72px;transition:background .2s,filter .2s;display:grid}.craft-button:disabled{cursor:default;filter:grayscale(.8)opacity(.6)}.craft-button--ready{background:var(--gold);animation:1s ease-in-out infinite ready}.craft-button--ready:active{transform:translateY(4px)}.rotate{display:none}@media (orientation:portrait){.rotate{z-index:1000;background:var(--ink);place-items:center;display:grid;position:fixed;inset:0}.rotate__device{grid-area:1/1;width:30vw;animation:2.4s ease-in-out infinite turn}.rotate__arrow{grid-area:1/1;width:20vw;transform:translate(26vw,-24vw)}}@keyframes breathe{50%{transform:scale(1.06)}}@keyframes hop{50%{transform:translateY(-14%)}}@keyframes jump{40%{transform:translateY(-16%)}}@keyframes bob{50%{transform:translateY(-8px)}}@keyframes wave{50%{transform:scaleY(.35)}}@keyframes swing{50%{transform:rotate(-50deg)}}@keyframes shake{25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes fall{to{opacity:0;transform:rotate(88deg)}}@keyframes pop{0%{opacity:0;transform:translateY(20px)scale(.4)}to{opacity:1;transform:none}}@keyframes spark{0%{opacity:0;transform:translate(0)scale(1)}10%{opacity:1}to{opacity:0;transform:translate(var(--dx), var(--dy)) scale(.4)}}@keyframes glow{0%{background:#ffd23f40;box-shadow:0 0 #ffd23fe6}to{background:#ffd23f73;box-shadow:0 0 0 12px #ffd23f00}}@keyframes ready{0%,to{transform:scale(1);box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 6px #0003,0 0 #ffd23fcc}50%{transform:scale(1.06);box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 6px #0003,0 0 0 18px #ffd23f00}}@keyframes turn{0%,20%{transform:rotate(0)}60%,to{transform:rotate(90deg)}}.slot--empty.slot--hint-who{background:color-mix(in srgb, var(--who) 80%, transparent);outline-color:var(--who)}.slot--empty.slot--hint-do{background:color-mix(in srgb, var(--do) 80%, transparent);outline-color:var(--do)}.slot--empty.slot--hint-thing{background:color-mix(in srgb, var(--thing) 80%, transparent);outline-color:var(--thing)}.block--speaking{z-index:5;animation:.5s ease-in-out infinite alternate speaking;position:relative}@keyframes speaking{0%{transform:scale(1.06);box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 0 0 4px #fff,0 0 0 10px #ffd23fe6}to{transform:scale(1.12);box-shadow:inset 0 6px #ffffff73,inset 0 -8px #00000024,0 0 0 4px #fff,0 0 0 16px #ffd23f80}}.mouth-open{opacity:0}.actor--talking .mouth-open{animation:.3s step-end infinite mouth}.actor--talking .actor__svg{transform-origin:50% 100%;animation:.3s ease-in-out infinite alternate talk-bob}.voice{border-width:5px;border-radius:14px;gap:8px;padding:14px 18px;transition:opacity .15s,transform .15s;transform:translate(-50%,-14px)scale(.6)}.voice span{width:11px;height:34px}.voice--on{transform:translate(-50%,-14px)scale(1)}.voice--toki{border-color:#3d8ad6}.voice--toki span{background:#3d8ad6}.voice--pip{border-color:#6bb03a}.voice--pip span{background:#6bb03a}.voice:before{content:"";border:13px solid #0000;margin-left:-13px;position:absolute;top:100%;left:50%}.voice--toki:before{border-top-color:#3d8ad6}.voice--pip:before{border-top-color:#6bb03a}.voice:after{border-width:7px;margin-left:-7px}@keyframes mouth{0%{opacity:1}50%{opacity:0}}@keyframes talk-bob{0%{transform:translateY(0)scaleY(1)}to{transform:translateY(-3%)scaleY(1.02)}}.spot{position:absolute;bottom:-4px}.spot--toki{aspect-ratio:40/66;height:62%;left:20%}.spot--pip{aspect-ratio:40/42;height:26%;left:36%}.spot--friend{aspect-ratio:40/42;height:26%;left:50%}.spot .actor{transition:transform .5s cubic-bezier(.3,1.4,.5,1);position:absolute;inset:0}.spot .actor__svg{z-index:1;clip-path:inset(-50% -50% 0);width:100%;height:100%;transition:clip-path .5s ease-out;position:relative}.actor--in-hole{transform:translateY(46%)}.actor--in-hole .actor__svg{clip-path:inset(-50% -50% 46%)}.hole{background:#2e2016;border-radius:6px;height:34%;position:absolute;bottom:-30%;left:-16%;right:-16%;box-shadow:inset 0 10px #00000059}.actor--trapped .actor__svg{animation:.5s ease-in-out infinite wiggle}.stone{z-index:2;background:repeating-linear-gradient(0deg,#8d949b 0 12px,#7b828a 12px 24px);border:3px solid #0000004d;width:70%;height:120%;transition:transform .5s ease-out;position:absolute;bottom:0}.stone--l{right:82%}.stone--r{left:82%}.stone--l.stone--open{transform:translate(-60%)}.stone--r.stone--open{transform:translate(60%)}.scene--together .spot--friend .actor{animation:.5s ease-out both arrive}.scene--together.scene--success .spot--toki .actor,.scene--together.scene--success .spot--pip .actor,.scene--together.scene--success .actor__svg{transition-delay:.4s}.toki-decor{font-size:clamp(30px,4.5vh,44px);animation:1s ease-in infinite drip;position:absolute;top:-2%;right:-10%}.thought{right:-48%}.scene--bg-hot .scene__sky{background:linear-gradient(#8fd0f2,#fff0c4)}.scene--bg-night .scene__sky{background:linear-gradient(#1b2550,#3b4a80)}.scene--bg-night .scene__ground,.scene--bg-cave .scene__ground{filter:brightness(.55)}.scene--bg-cave .scene__sky{background:repeating-linear-gradient(90deg,#0000001f 0 48px,#0000 48px 96px),repeating-linear-gradient(0deg,#6b7178 0 48px,#5e646b 48px 96px)}.scene--bg-snow .scene__ground{background:linear-gradient(#fff 0 14px, #e4eef5 14px 26px, transparent 26px), repeating-linear-gradient(90deg, var(--dirt) 0 40px, var(--dirt-dark) 40px 80px)}.sun{font-size:clamp(80px,14vh,130px);animation:12s linear infinite spin;position:absolute;top:6%;right:8%}.heat{gap:40px;display:flex;position:absolute;bottom:4%;left:55%}.heat span{background:#ffaa3c8c;border-radius:3px;width:6px;height:70px;animation:1.2s ease-in-out infinite heat}.heat span:nth-child(2){animation-delay:.3s}.heat span:nth-child(3){animation-delay:.6s}.apples{position:absolute;inset:8% 6% 50%}.apples span{font-size:clamp(30px,5vh,46px);position:absolute}.apples span:first-child{top:30%;left:8%}.apples span:nth-child(2){top:0;left:42%}.apples span:nth-child(3){top:40%;right:4%}.apples--picked span:first-child{animation:.3s ease-out forwards fade-out}.moon{font-size:clamp(70px,12vh,110px);position:absolute;top:6%;right:10%}.stars span{background:#fff6c2;width:8px;height:8px;animation:1.6s ease-in-out infinite twinkle;position:absolute}.stars span:first-child{top:12%;left:12%}.stars span:nth-child(2){animation-delay:.4s;top:6%;left:34%}.stars span:nth-child(3){animation-delay:.8s;top:18%;left:52%}.stars span:nth-child(4){animation-delay:1.2s;top:8%;left:66%}.stars span:nth-child(5){animation-delay:.6s;top:30%;left:80%}.pop-item{line-height:1;animation:.45s cubic-bezier(.3,1.6,.5,1) .15s both pop;position:absolute;bottom:0}.pop-item--bed{font-size:clamp(110px,20vh,180px);left:58%}.pop-item--fire{font-size:clamp(70px,12vh,110px);left:70%}.stalactites span{border-top:70px solid #4d5258;border-left:22px solid #0000;border-right:22px solid #0000;width:0;height:0;position:absolute;top:0}.stalactites span:first-child{left:10%}.stalactites span:nth-child(2){border-top-width:50px;left:38%}.stalactites span:nth-child(3){border-top-width:90px;left:62%}.stalactites span:nth-child(4){left:84%}.gem{font-size:clamp(56px,9vh,84px);position:absolute;bottom:2%;left:66%}.darkness{z-index:3;pointer-events:none;background:radial-gradient(circle at 27% 62%,#0000 0 70px,#080816e0 170px);transition:opacity .6s ease-out .1s;position:absolute;inset:-30% 0 -60%}.darkness--lit{opacity:0}.scene--cave .spot{z-index:4}.snowfall span{font-size:30px;animation:3.2s linear infinite snow;position:absolute;top:-10%}.snowfall span:first-child{left:14%}.snowfall span:nth-child(2){animation-delay:.8s;left:46%}.snowfall span:nth-child(3){animation-delay:1.6s;left:70%}.snowfall span:nth-child(4){animation-delay:2.4s;left:88%}.egg{font-size:clamp(64px,11vh,100px);line-height:1;position:absolute;bottom:0;left:58%}.egg__egg{animation:.25s linear infinite shiver;display:inline-block}.egg--hatch .egg__egg{animation:.25s ease-out .6s forwards fade-out}.egg__chick{animation:.4s cubic-bezier(.3,1.6,.5,1) .75s both pop;position:absolute;bottom:0;left:0}.prop--house{aspect-ratio:1;height:80%;left:58%}.prop--house svg{width:100%;height:100%;display:block}.house__door{place-items:end center;width:22.5%;height:35%;font-size:clamp(56px,10vh,92px);line-height:1;animation:.4s cubic-bezier(.3,1.6,.5,1) .15s both pop;display:grid;position:absolute;bottom:0;left:50%}@keyframes wiggle{25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes arrive{0%{opacity:0;transform:translate(260%)}to{opacity:1;transform:none}}@keyframes drip{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(30px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes heat{50%{opacity:.3;transform:translateY(-14px)scaleY(1.2)}}@keyframes twinkle{50%{opacity:.2}}@keyframes fade-out{to{opacity:0;transform:scale(.5)}}@keyframes snow{to{transform:translateY(70vh)rotate(180deg)}}@keyframes shiver{25%{transform:translate(-3px)rotate(-4deg)}75%{transform:translate(3px)rotate(4deg)}}.scene--pip-stuck .spot--pip{left:48%}.scene--pip-hole .spot--pip{left:42%}.scene--bg-snow .scene__sky{background:linear-gradient(#93bddb,#dcebf5)}.snowfall span{font-size:40px}.next-button{margin-top:0;top:5%}.house__door{font-size:clamp(64px,12vh,112px)}:root{--feel:#ffb3d1}.block--feel{background:var(--feel)}.slot--empty.slot--hint-feel{background:color-mix(in srgb, var(--feel) 80%, transparent);outline-color:var(--feel)}.actor--shiver .actor__svg{animation:.22s linear infinite shiver}.snowman{font-size:clamp(90px,16vh,140px);line-height:1;position:absolute;bottom:0;left:64%}.present{font-size:clamp(80px,14vh,124px);line-height:1;position:absolute;bottom:0;left:60%}.present__box{animation:1.6s ease-in .4s forwards present-open;display:inline-block}.present__cake{animation:.45s cubic-bezier(.3,1.6,.5,1) 1.9s both pop;position:absolute;bottom:0;left:0}@keyframes present-open{0%,60%{transform:none}10%,30%,50%{transform:rotate(-8deg)}20%,40%{transform:rotate(8deg)}to{opacity:0;transform:translateY(-60%)scale(.4)}}.dropped{font-size:clamp(56px,9vh,84px);line-height:1;transition:opacity .3s;position:absolute;bottom:0;left:58%;transform:rotate(160deg)}.dropped--gone{opacity:0}.progress{z-index:20;pointer-events:none;gap:10px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%)}.progress__box{background:#0000001f;border:4px solid #fffffff2;border-radius:6px;width:34px;height:34px;box-shadow:0 3px #0000002e}.progress__box--done{background:var(--gold);animation:.4s cubic-bezier(.3,1.6,.5,1) both pop}.home{position:absolute;inset:0}.home__friends{pointer-events:none;height:42%;position:absolute;bottom:18%;left:0;right:0}.home__toki{height:100%;position:absolute;bottom:0;left:6%}.home__pip{aspect-ratio:40/42;height:42%;position:absolute;bottom:0;left:22%}.home__pip-svg{width:100%;height:100%;animation:1.2s ease-in-out infinite hop}.home--resting .home__pip-svg{animation:none}.home__zzz{font-size:56px;animation:1.6s ease-in-out infinite bob;position:absolute;top:-50%;right:-40%}.home__worlds{z-index:2;gap:48px;display:flex;position:absolute;top:50%;left:58%;transform:translate(-50%,-60%)}.world-button{width:210px;height:210px;animation:1.8s ease-in-out infinite breathe}.world-button:nth-child(2){animation-delay:.9s}.world-button__icon{filter:drop-shadow(0 4px #0000002e);font-size:120px;line-height:1}.home--resting .world-button{filter:grayscale(.7)brightness(.9);animation:none}.chest-button{z-index:2;background:#c98a4b;width:128px;height:128px;font-size:72px;position:absolute;bottom:5%;right:4%}.home-button{background:#5cc95a;width:120px;height:120px}.reward-show{gap:28px;font-size:clamp(80px,14vh,124px);line-height:1;display:flex;position:absolute;bottom:4%;left:52%}.reward-show span{background:#ffffff8c;border:3px solid #0000002e;border-radius:10px;padding:10px 14px 6px;animation:1.6s ease-in-out infinite bob;display:inline-block}.reward-show span:nth-child(2){animation-delay:.8s}.reward-show .reward-show--other{opacity:0;transition:opacity .3s}.bye{position:absolute;inset:0}.bye__row{justify-content:center;align-items:flex-end;gap:4%;height:50%;display:flex;position:absolute;bottom:18%;left:0;right:0}.bye__actor{animation:.6s ease-out infinite alternate jump;position:relative}.bye__toki{aspect-ratio:40/66;height:100%}.bye__pip,.bye__friend{aspect-ratio:40/42;height:40%;animation-delay:.3s}.bye__friend{animation:.6s ease-out both arrive,.6s ease-out .6s infinite alternate jump}.bye__actor .actor__svg{width:100%;height:100%}.bye__item{font-size:clamp(64px,11vh,100px);animation:.45s cubic-bezier(.3,1.6,.5,1) .3s both pop;position:absolute;top:28%;right:-40%}.bye__home{animation:.4s cubic-bezier(.3,1.6,.5,1) both pop,1.8s ease-in-out .4s infinite breathe;position:absolute;top:6%;right:4%}.collection{background:repeating-linear-gradient(90deg,#a87545 0 80px,#9a6a3d 80px 160px);flex-direction:column;justify-content:center;gap:40px;padding:0 180px 0 40px;display:flex;position:absolute;inset:0}.collection__shelf{background:#0000002e;border-bottom:14px solid #6b4423;border-radius:8px;flex-wrap:wrap;justify-content:center;gap:18px;padding:18px;display:flex}.shelf-item{background:#f4e3c3;place-items:center;width:120px;height:120px;display:grid;position:relative}.shelf-item__emoji{font-size:76px;line-height:1}.shelf-item__pip{width:78%;height:78%}.shelf-item--locked .shelf-item__emoji,.shelf-item--locked .shelf-item__pip{filter:brightness(0);opacity:.22}.shelf-item__count{font-size:24px;font-weight:800;position:absolute;bottom:4px;right:6px}.collection__home{position:absolute;top:6%;right:4%}
