@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600;700&display=swap');
:root{--ink:#354d46;--paper:#faf5e9;--peach:#e9a27f;--sage:#8fae98;--line:#d9d4bf;--gold:#d6a34e}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0}body{font-family:'DM Sans',system-ui,sans-serif;background:#e9e8db;color:var(--ink);overscroll-behavior:none}button,input{font:inherit}button{cursor:pointer;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #986a41;outline-offset:4px}button:disabled{cursor:default;opacity:.45}button{color:inherit}svg{display:block;width:100%;height:auto}h1,h2,h3{font-family:Fredoka,Georgia,serif;font-weight:500;margin:0}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;text-transform:uppercase;color:#7d806a}.primary,.secondary{border:0;border-radius:14px;padding:14px 22px;background:var(--ink);color:#fff9eb;font-weight:600;min-height:48px}.primary:hover{background:#48665b}.secondary{background:#ecebdc;color:var(--ink)}.textbtn{border:0;background:none;font-size:12px;padding:8px 12px}.iconbtn{width:44px;height:44px;border:1px solid #d9d6c3;background:#fffcf0;border-radius:50%;font-size:20px;display:grid;place-items:center;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.intro{height:100%;overflow:auto;position:relative;background:radial-gradient(ellipse at 50% 52%,#fff5df 0,#ede7d7 62%,#d5dece 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 20px 45px}.intro:before{content:'';position:absolute;inset:18px;border:1px solid #fff7de;border-radius:24px;pointer-events:none}.introbar{position:absolute;top:30px;left:4%;right:4%;display:flex;justify-content:space-between;align-items:center;font:17px Fredoka,Georgia,serif}.introbar .textbtn{font:11px 'DM Sans',sans-serif}.intro h1{font-size:clamp(43px,7vw,80px);line-height:.99;letter-spacing:-2px;margin:14px 0}.intro h1 em{color:#a46b53;font-weight:500}.intro .story{font-size:14px;line-height:1.7;max-width:400px;margin:12px 0 16px;color:#777d6b}.parcelstage{width:min(310px,58vw);position:relative;margin:10px auto 4px}.parcelbutton{padding:0;background:none;border:0;width:100%;filter:drop-shadow(0 15px 15px #7d755920);animation:wiggle 4s ease-in-out infinite}.parcelbutton svg{width:100%}.parcelbutton.squeezed{animation:squash .6s ease}.parcelnote{position:absolute;right:-50px;top:20%;transform:rotate(9deg);background:#fffaeb;padding:13px 16px;border-radius:8px;font:14px Fredoka;box-shadow:0 3px 6px #81704c15;pointer-events:none}.tapnote{font-size:11px;letter-spacing:1px;color:#8b8067}.intro .dots{display:flex;gap:8px;margin-top:18px}.intro .dots span{height:7px;width:7px;background:#d7ceba;border-radius:50%}.intro .dots .done{background:#8b9f80}.revealcreature{width:min(265px,52vw);margin:15px auto;animation:appear .7s cubic-bezier(.2,.8,.3,1.3)}.nameinput{display:block;width:230px;background:#fffaf0;border:1px solid #c7d1bd;border-radius:12px;padding:12px;text-align:center;margin:12px auto;color:var(--ink)}.small{font-size:11px;line-height:1.6;color:#7d826f}.intro .primary{min-width:230px;margin-top:10px}.introfoot{position:absolute;bottom:25px;font-size:9px;letter-spacing:1.6px;color:#8d927f}.floating{position:absolute;width:100px;opacity:.35;pointer-events:none;animation:float 6s ease-in-out infinite}.f1{left:8%;top:25%;transform:rotate(-15deg)}.f2{right:7%;bottom:20%;animation-delay:-3s}.game{height:100%;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#b5c5a3;position:relative}.hud{z-index:5;display:flex;align-items:center;gap:12px;padding:15px 24px;background:#f7f3e6ed;border-bottom:1px solid #ddd9c5;flex-shrink:0}.wordmark{font:26px Fredoka,Georgia,serif;letter-spacing:-.8px;margin-right:auto}.wordmark small{font:8px 'DM Sans',sans-serif;display:block;letter-spacing:2px;margin-top:4px;color:#838775}.pill{display:flex;align-items:center;gap:8px;border-radius:28px;background:#fef9e9;border:1px solid #ddd7ba;padding:10px 16px;font-size:12px}.pill b{font-size:17px}.collectionbtn{border:0;background:#36574a;color:#fff7e9;border-radius:30px;padding:12px 20px;font-size:12px}.world{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse,#c8d3aa,#9fb38d)}.map{position:absolute;inset:0;max-width:1400px;max-height:900px;margin:auto;aspect-ratio:1.65;top:50%;bottom:auto;transform:translateY(-50%);width:100%;height:auto}.map>svg{width:100%;height:100%}.map-label{position:absolute;border:1px solid #e1d7b9;background:#fff9e8ee;color:#435949;border-radius:12px;padding:8px 18px;font:15px Fredoka;box-shadow:0 4px 0 #31423012;transform:translate(-50%,-50%);white-space:nowrap}.map-label small{display:block;font:8px 'DM Sans';letter-spacing:1.1px;margin:5px 0 0;color:#8a8b70}.map-label.active{border:2px solid #50745c;background:#fffdf1;box-shadow:0 0 0 6px #fff8dc66}.shop-a{left:25%;top:44%}.shop-b{left:76%;top:44%}.shop-c{left:26%;top:78%}.shop-d{left:76%;top:78%}.orderbubble{position:absolute;z-index:3;top:20px;left:24px;width:min(330px,calc(100% - 48px));background:#fffaf0f0;border:1px solid #e1dbc9;border-radius:16px;padding:15px 18px;box-shadow:0 8px 20px #45583d12;display:flex;align-items:center;gap:13px}.orderbubble .portrait{width:49px;flex-shrink:0}.orderbubble strong{display:block;font:18px Fredoka;margin:5px 0}.orderbubble p{font-size:11px;color:#7b816d;margin:4px 0;line-height:1.6}.orderbubble button{border:0;background:none;padding:0;text-align:left;width:100%}.worldhint{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);font-size:11px;border-radius:25px;padding:10px 18px;background:#f9f7e6de;color:#617558;text-align:center;white-space:nowrap}.companion{position:absolute;bottom:18px;left:20px;z-index:2;background:#fff7e4de;border:1px solid #e9e0c5;border-radius:20px;display:flex;align-items:center;gap:7px;padding:6px 12px 6px 3px;max-width:175px}.companion .toy{width:60px;height:60px}.companion span{font:14px Fredoka}.companion small{display:block;font:8px 'DM Sans';letter-spacing:.7px;margin-top:4px;color:#7d866f}.squashing{animation:squash .6s ease!important}.dusk{position:absolute;inset:0;background:#34473d90;z-index:10;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.sheet{background:#fffbef;border:1px solid #dfdcc7;border-radius:24px;width:min(660px,100%);padding:26px;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 20px 80px #1c332933;position:relative;animation:appear .25s ease}.sheethead{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:15px}.sheet h2{font-size:32px;margin:6px 0}.sheet p{color:#7a806e;font-size:13px;line-height:1.7;margin:6px 0 15px}.orderstrip{background:#edf0df;border-radius:12px;padding:12px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;line-height:1.7}.orderstrip b{font-size:16px}.offers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.offer{background:#f6f0df;border:1px solid #e0d8be;border-radius:15px;padding:14px;text-align:left;position:relative;min-height:123px}.offer.selected{background:#edf1df;border:2px solid #799372;padding:13px}.offer .toy{width:64px;height:60px;float:right;margin-top:3px}.offer strong{display:block;font:22px Fredoka;margin:10px 0 4px}.offer .vendor{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#7a816b}.offer small{display:block;font-size:11px;line-height:1.7;color:#79826c}.saletag{display:inline-block;background:#eab493;color:#76533e;padding:3px 7px;border-radius:5px;font-size:10px;margin-top:5px}.stepperrow{display:flex;align-items:center;gap:15px;justify-content:space-between;margin:18px 0 13px}.stepperrow>div:first-child{font-size:13px}.stepperrow small{display:block;font-size:11px;color:#869075;margin-top:5px}.stepper{display:flex;align-items:center;gap:17px;background:#f1eddd;border-radius:30px;padding:3px}.stepper button{border:0;background:#fffaf0;border-radius:50%;width:44px;font-size:23px}.stepper b{min-width:14px;text-align:center}.inventory{display:flex;gap:4px;align-items:center;flex-wrap:wrap;min-height:44px;margin-bottom:10px;background:#f5f1e3;border-radius:10px;padding:7px 12px}.inventory .mini{width:25px;height:28px}.inventory span{font-size:11px;color:#7f866f}.receipt{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;border-top:1px dashed #c8cfb8;padding:16px 0;margin-top:10px}.receipt small{display:block;font-size:9px;letter-spacing:.7px;color:#7c836e}.receipt strong{font:24px Fredoka;display:block;margin-top:5px}.receipt>div:last-child{text-align:right}.receipt .profit{color:#6c8a50}.sheet .primary{width:100%;margin-top:6px}.helpbtn{display:block;margin:10px auto 0;border:0;background:none;font-size:12px;color:#7a856e}.mathhelp{background:#edf1e4;border-radius:12px;padding:15px;font-size:12px;line-height:1.8;margin:10px 0}.mathhelp table{width:100%;border-collapse:collapse;margin:8px 0;text-align:center}.mathhelp th,.mathhelp td{border:1px solid #ced9c1;padding:6px}.percentage{display:flex;height:22px;border-radius:5px;overflow:hidden;background:#e8c9b0;margin:10px 0}.percentage>span{background:#8fac86}.notice{padding:12px;background:#f8ead5;border-radius:10px;color:#84633d;font-size:12px;line-height:1.7;margin:10px 0}.reward{text-align:center}.reward .toy{width:140px;margin:10px auto}.reward .earn{font:48px Fredoka;color:#b5853b;margin:15px 0}.reward .buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.reward .buttons button{margin:0}.collectionsheet{width:min(850px,100%)}.room{background:#dce6d8;border-radius:17px;padding:12px 14px 0;margin:15px 0;box-shadow:inset 0 0 30px #7c94791a;position:relative;min-height:140px}.room.peach{background:#ecd5c5}.room.lavender{background:#ded9e8}.room .residents{display:flex;justify-content:center;align-items:end;min-height:130px;padding-bottom:10px;border-bottom:10px solid #b99d76;gap:6px}.resident{background:none;border:0;padding:0;width:15%;max-width:100px;align-self:flex-end;position:relative}.resident small{font-size:9px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:95px}.roomtitle{position:absolute;top:12px;left:14px;font-size:8px;letter-spacing:1.4px;color:#7f8871}.themes{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:8px}.themes button{width:44px;height:44px;border:2px solid #fffbef;border-radius:50%;background:#dce6d8}.themes button:nth-of-type(2){background:#ecd5c5}.themes button:nth-of-type(3){background:#ded9e8}.themes button.selected{outline:2px solid #91a685}.catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.creaturecard{border:1px solid #dedcc8;border-radius:14px;padding:12px;background:#faf6e9;text-align:center}.creaturecard .toy{width:100%;max-width:120px;margin:auto}.creaturecard h3{font-size:18px}.creaturecard p{font-size:10px;line-height:1.6;margin:5px 0}.creaturecard button{width:100%;border-radius:20px;min-height:44px;border:0;background:#e7ead8;font-size:11px;margin-top:5px}.creaturecard.owned{border-color:#9eb48d;background:#f0f3e5}.collectionstats{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#7b856c}.renameform{display:flex;gap:8px;margin-top:15px}.renameform input{min-width:0;flex:1;border:1px solid #cad4bd;background:white;border-radius:12px;padding:12px}.renameform .primary{width:auto;margin:0}.sparkles{position:absolute;inset:0;pointer-events:none;overflow:hidden}.sparkles i{position:absolute;left:var(--x);top:-20px;width:8px;height:12px;background:var(--c);animation:confetti 2s ease-in forwards;animation-delay:var(--d)}.badge{display:inline-block;padding:5px 9px;background:#e9eddb;border-radius:20px;font-size:9px;color:#6f8060}.progressrow{display:flex;justify-content:space-between;border-bottom:1px solid #dddccc;padding:13px 0;font-size:12px;gap:10px}.welcome-note{font-size:10px!important}.returnbtn{position:absolute;top:22px;right:22px}.mood{height:20px;color:#7b886b;font-size:11px;text-align:center}.volume{font-size:17px}.endnote{font-size:11px;color:#849173;text-align:center;line-height:1.7;margin-top:10px}.sheet input{font-size:16px}.journal{max-width:480px}.bestbadge{font-size:10px;letter-spacing:1px;color:#648155;margin-top:12px}.skipmotion{animation:none!important}@keyframes wiggle{0%,80%,100%{transform:rotate(0)}84%{transform:rotate(-4deg)}88%{transform:rotate(5deg)}92%{transform:rotate(-3deg)}}@keyframes float{0%,100%{translate:0 0}50%{translate:0 -14px}}@keyframes squash{0%,100%{transform:scale(1)}30%{transform:scale(1.22,.73)}60%{transform:scale(.91,1.12)}80%{transform:scale(1.04,.96)}}@keyframes appear{from{opacity:0;transform:translateY(20px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes confetti{to{top:105%;transform:rotate(500deg)}}@media(max-width:700px){.hud{padding:12px;gap:7px}.wordmark{font-size:20px}.wordmark small{font-size:6px;letter-spacing:1.2px}.pill{padding:8px 11px;gap:5px}.pill b{font-size:15px}.collectionbtn{padding:11px 13px;font-size:11px}.hud .iconbtn{width:40px;min-height:40px;height:40px;font-size:17px}.orderbubble{top:14px;left:14px;padding:12px 14px;width:calc(100% - 28px);max-width:355px}.orderbubble strong{font-size:16px}.orderbubble p{font-size:10px}.map{width:155%;max-width:none;left:-27.5%;aspect-ratio:1.45}.map-label{padding:7px 10px;font-size:12px;min-width:100px;white-space:normal;max-width:130px}.map-label small{font-size:7px}.shop-a{left:28%;top:43%}.shop-b{left:72%;top:43%}.shop-c{left:28%;top:75%}.shop-d{left:72%;top:75%}.companion{bottom:15px;left:13px;padding-right:10px;max-width:145px}.companion .toy{width:48px;height:48px}.companion span{font-size:12px}.companion small{font-size:7px}.worldhint{bottom:27px;left:auto;right:13px;transform:none;font-size:9px;padding:8px 11px;white-space:normal;max-width:140px}.dusk{padding:10px;align-items:center}.sheet{border-radius:22px;padding:20px;max-height:calc(100dvh - 20px)}.sheet h2{font-size:27px}.sheethead{margin-bottom:10px}.sheet p{font-size:12px}.offers{gap:8px;margin:12px 0}.offer{padding:10px;min-height:132px}.offer.selected{padding:9px}.offer .toy{width:48px;float:none;height:45px;margin:0 auto}.offer strong{font-size:19px;margin:5px 0}.offer .vendor{font-size:8px}.offer small{font-size:10px}.stepperrow{margin:12px 0}.receipt{padding:12px 0}.receipt strong{font-size:22px}.receipt small{font-size:8px}.catalog{gap:8px;grid-template-columns:repeat(2,1fr)}.creaturecard{padding:10px}.collectionsheet{max-width:560px}.room{padding:24px 8px 0}.room .residents{min-height:100px;gap:3px}.resident{width:16%}.resident small{font-size:7px}.introbar{top:27px}.parcelnote{right:-15px;top:7%;font-size:11px;padding:10px}.intro .story{font-size:13px;max-width:310px}.introfoot{font-size:7px;bottom:28px}.revealcreature{max-width:215px}.intro h1{font-size:48px}.intro .primary{margin-top:6px}.returnbtn{top:12px;right:12px}}@media(max-height:650px) and (min-width:701px){.intro h1{font-size:43px}.parcelstage{width:200px;margin:0}.intro .story{font-size:12px;margin:6px}.introbar{top:20px}.revealcreature{width:145px;margin:0}.introfoot{bottom:12px}.intro .primary{padding:10px;min-height:44px}.nameinput{margin:5px auto}.map{max-width:1050px}.orderbubble{top:12px;width:290px}.companion{bottom:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:700px){.world{background:#b9c89e}.map{width:130%;left:-15%}.hud .volume{display:none}.wordmark{font-size:20px;white-space:nowrap}.wordmark small{letter-spacing:.8px}.collectionbtn{white-space:nowrap}.hud{gap:7px}.orderbubble{max-width:none}.orderbubble .portrait{width:43px}}@media(max-width:360px){.wordmark{font-size:17px}.wordmark small{font-size:5px}.collectionbtn{padding:10px;font-size:10px}.pill{padding:8px}.hud{padding:10px;gap:5px}}
/* A mission unfolds one action at a time. */
.missionwelcome{text-align:center;max-width:380px;margin:auto;padding:8px 0}.missionfriend{width:150px;margin:8px auto}.missionwelcome h2{font-size:34px}.missionwelcome p{font-size:15px;margin:17px 0 22px}.missionprice{display:inline-block;background:#efdfaa;color:#8b692d;border-radius:22px;padding:7px 16px;margin-top:13px;font-weight:700}.missionsteps{display:flex;gap:8px;margin:4px 0 23px}.missionsteps>span{display:flex;align-items:center;gap:7px;flex:1;color:#9a9d89;font-size:11px}.missionsteps b{display:grid;place-items:center;width:25px;height:25px;border:1px solid #d9ddcb;border-radius:50%;font-size:10px}.missionsteps .current{color:#36574a;font-weight:700}.missionsteps .current b{background:#36574a;color:#fff7e6;border-color:#36574a}.missionsteps .complete b{background:#e7edda;color:#65805b}.sheet .missioninstruction{font:22px Fredoka,Georgia,serif;color:#435b47;margin:12px 0 18px}.missionoffers .offer{text-align:center;padding:19px 15px;background:#f8f1df}.missionoffers .offer .toy{float:none;width:95px;height:90px;margin:0 auto}.missionoffers .offer strong{font-size:26px;margin:8px 0 5px}.packprice{font-size:17px;display:block}.missionoffers .offer small{margin-top:18px;font-size:12px;font-weight:600;color:#667d5b}.missionoffers .offer:hover{background:#eef0dc;border-color:#91a481}.chosenpack{display:flex;align-items:center;gap:12px;background:#f3efdf;border-radius:14px;padding:10px 13px}.chosenpack .packportrait{width:53px;flex-shrink:0}.chosenpack>span{font-size:14px;flex:1}.chosenpack small{font-size:11px;color:#7d856c;display:block;margin-top:5px}.chosenpack .textbtn{font-size:11px;text-decoration:underline}.basketprogress{display:flex;justify-content:space-between;align-items:center;margin:23px 0 13px;gap:10px}.basketprogress strong{font:25px Fredoka}.basketprogress>span{font-size:12px;color:#7b8d6a}.basketslots{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;background:#f0eddd;padding:15px;border-radius:15px}.basketslot{aspect-ratio:1;border:1px dashed #c4cbb1;border-radius:12px;display:grid;place-items:center;min-width:0}.basketslot>span{font-size:25px;color:#c3c9b1}.basketslot.filled{background:#fff9e8;border:1px solid #e1d9bc}.basketslot .toy{width:100%}.basketactions{margin-top:18px;display:flex;align-items:center;gap:10px}.basketactions .primary{flex:1;margin:0}.basketactions .textbtn{font-size:11px;max-width:85px}.basketcost{display:flex;justify-content:space-between;font-size:12px;color:#7b836f;padding:14px 2px}.basketcost b{color:#405e48}.newtoy{animation:toy-arrive .4s backwards}.guidedshop .helpbtn{margin-top:8px}.rewardportrait{width:115px;margin:6px auto}.rewardcoins{display:flex;flex-direction:column;align-items:center;position:relative;padding:12px 0 18px}.bigcoin{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;font:64px Georgia;color:#ad7a28;background:radial-gradient(circle at 30% 25%,#fff0ad,#e8b84f 70%,#b98431);border:4px solid #edc66c;box-shadow:0 5px 0 #b98b3a,0 9px 20px #d2a24530;animation:coin-pop .65s cubic-bezier(.2,.8,.3,1.3)}.rewardcoins strong{font:57px Fredoka;color:#aa7c31;line-height:1.1;margin:15px 0 4px}.rewardcoins>span:last-child{font-size:12px;color:#8a825f}.guidedreward h2{font-size:38px}.guidedreward p{font-size:14px}.rewardreceipt{font-size:11px;color:#818775;margin-top:18px}.rewardreceipt summary{min-height:44px;padding:13px;cursor:pointer}.rewardreceipt p{font-size:11px;line-height:1.7}.coinflight{position:fixed;inset:0;pointer-events:none;z-index:1000;overflow:hidden}.flyingcoin{position:absolute;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff0a3,#e6b346);border:2px solid #f4d78b;box-shadow:0 3px 0 #b9832e;color:#a77923;font:25px Georgia;transform:translate(-50%,-50%) scale(0);animation:coin-to-wallet 850ms cubic-bezier(.35,.05,.55,1) forwards}.walletpop{animation:wallet-pop .32s ease}.guidedreward .primary{margin-top:13px}.settled .bigcoin{box-shadow:0 5px 0 #b98b3a,0 0 27px #e6bd6355}.guidedshop .sheethead{margin-bottom:18px}@keyframes toy-arrive{from{opacity:0;transform:translateY(-12px) scale(.75)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes coin-pop{0%{transform:scale(0) rotate(-80deg)}65%{transform:scale(1.16) rotate(8deg)}100%{transform:scale(1) rotate(0)}}@keyframes coin-to-wallet{0%{transform:translate(-50%,-50%) scale(0);opacity:0}18%{transform:translate(calc(-50% + var(--burst)),calc(-50% - 45px)) scale(1.12);opacity:1}80%{opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.45);opacity:0}}@keyframes wallet-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.15)}}@media(max-width:700px){.missionwelcome h2{font-size:28px}.missionwelcome p{font-size:14px}.missionfriend{width:130px}.guidedshop .sheethead h2{font-size:25px}.sheet .missioninstruction{font-size:20px}.missionoffers .offer .toy{width:75px;height:72px}.missionoffers .offer strong{font-size:23px}.missionoffers .offer{padding:14px 9px}.basketslots{gap:5px;padding:10px}.basketslot{border-radius:8px}.basketprogress strong{font-size:23px}.basketprogress>span{font-size:11px}.chosenpack{padding:8px;gap:7px}.chosenpack>span{font-size:12px}.chosenpack .packportrait{width:44px}.chosenpack .textbtn{font-size:10px;padding:6px}.missionsteps{margin-bottom:16px}.guidedreward h2{font-size:32px}.rewardcoins strong{font-size:48px}.rewardportrait{width:95px}.bigcoin{width:68px;height:68px;font-size:52px}.rewardcoins{padding:5px 0 8px}.basketactions .textbtn{padding:5px;max-width:72px}}@media(prefers-reduced-motion:reduce){.coinflight{display:none}.flyingcoin,.bigcoin,.walletpop,.newtoy{animation:none!important}}
.hud.celebrating{z-index:11;pointer-events:none}.hud.celebrating #wallet{background:#fff0ba;border-color:#dbb868;box-shadow:0 0 20px #e9c36766}
/* Visual reasoning: quantity and price always transform together. */
.mathhelp.visualmath{padding:18px;background:#eff1e3;scroll-margin-top:12px;outline-offset:-4px}.visualhead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.visualhead h3{font-size:23px;line-height:1.15;margin-top:6px}.visualhead .eyebrow{font-size:8px;letter-spacing:1px}.visualhead .iconbtn{width:36px;height:36px;min-height:44px;border:0;background:none;font-size:21px}.ratiocards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ratiocard{background:#fffbef;border:1px solid #d9dfc9;border-radius:15px;overflow:hidden;min-width:0;text-align:center}.ratiocard h4{margin:0;padding:11px;font:17px Fredoka,Georgia,serif;border-bottom:1px solid #e1e4d0;background:#e7ecd9}.visualmath .ratio-steps{width:100%;margin:0;border:0;table-layout:fixed}.visualmath .ratio-steps th{border:0;padding:9px 4px 4px;color:#818a72;font-size:9px;letter-spacing:1px;font-weight:500;text-transform:uppercase}.visualmath .ratio-steps td{border:0;vertical-align:middle;padding:7px 3px}.ratio-pack strong,.ratio-one strong{font:23px Fredoka,Georgia,serif;color:#3b5945;white-space:nowrap;display:block}.ratio-pack b,.ratio-one b{font-size:10px;display:block;font-weight:500}.ratio-toys{display:flex;flex-wrap:wrap;justify-content:center;max-width:93px;margin:auto;gap:0}.ratio-mini{width:29px;height:26px;display:block}.one-toy{width:46px;margin:auto}.ratio-operation td>span{display:inline-block;border-radius:16px;padding:3px 10px;background:#ead8af;color:#82662c;font-weight:700;font-size:13px;white-space:nowrap}.ratio-one{background:#edf2e4}.ratio-expression{font-size:10px;color:#7d886b;white-space:nowrap;display:block;line-height:1.7}.order-scaling{border-top:1px dashed #d6ddc7;margin-top:8px;padding:12px 8px 10px}.order-scaling .eyebrow{font-size:7px;letter-spacing:.6px;line-height:1.6;display:block}.visual-packs{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px;margin:10px auto;max-width:200px}.drawnpack{display:flex;align-items:center;border:1px solid #d8c6a0;border-radius:5px;background:#f5e9cb;padding:3px;min-width:35px;gap:1px}.drawnpack>span{width:25px;height:24px;display:block}.drawnpack b{font-size:9px;color:#887449}.pack-multiply{font-size:11px;line-height:1.9;color:#7c856d;white-space:nowrap}.pack-multiply strong{font:22px Fredoka,Georgia,serif;display:block;color:#365848;line-height:1.5}.pack-multiply>span{margin:0 3px}.valuebadge{font-size:9px;color:#5e7d4d;display:inline-block;background:#e8efdc;border-radius:20px;padding:4px 8px;margin-top:7px}.othercost{font-size:9px;color:#8c927c;display:inline-block;padding:4px 8px;margin-top:7px}.visualactions{display:flex;gap:9px;margin-top:16px;align-items:stretch}.visualactions .primary,.visualactions .secondary{flex:1;font-size:11px;padding:11px 9px;margin:0}.sale-whole{display:flex;justify-content:space-between;gap:4px;align-items:center;padding:14px 12px 9px;font-size:12px;color:#7c846e}.sale-whole strong{font:23px Fredoka;color:#405e47}.salegrid{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin:0 12px}.salegrid i{aspect-ratio:1.4;border-radius:3px;background:#8faa7a}.salegrid .saved{background:repeating-linear-gradient(135deg,#e7c9aa,#e7c9aa 4px,#f3dfc5 4px,#f3dfc5 7px);border:1px solid #ddbd98}.sale-key{display:flex;flex-wrap:wrap;justify-content:space-between;font-size:8px;color:#778765;padding:7px 12px 0;gap:3px}.sale-key span:last-child{color:#a48765}.sale-equation{padding:9px 5px 0}.sale-equation>div:not(.sale-arrow){background:#edf2e4;border-radius:6px;padding:5px 3px}.sale-equation span{font-size:9px;color:#7f8d70}.sale-equation b{display:block;font-size:10px;font-weight:500;color:#7f8d70}.sale-equation strong{font:23px Fredoka;display:block;color:#405e47;line-height:1.5}.sale-arrow{color:#82662c;font-size:12px;font-weight:700;padding:5px}.playing .ratio-pack .ratio-toys{animation:pack-wiggle .6s ease}.playing .ratio-operation td>span{animation:math-highlight .65s .4s ease both}.playing .ratio-one{animation:math-result .65s .9s ease both}.playing .order-scaling{animation:math-result .65s 1.45s ease both}.playing .salegrid .saved{animation:savings-fade .6s .2s ease both}.playing .sale-arrow{animation:math-highlight .65s .7s ease both}.playing .sale-equation>div:last-child{animation:math-result .6s 1.1s ease both}@keyframes pack-wiggle{0%,100%{transform:translateY(0)}40%{transform:translateY(-5px)}70%{transform:translateY(2px)}}@keyframes math-highlight{0%{transform:scale(.94);opacity:.5}60%{transform:scale(1.12);opacity:1}100%{transform:scale(1);opacity:1}}@keyframes math-result{from{opacity:.2;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes savings-fade{from{opacity:1;transform:scale(1.05)}to{opacity:.65;transform:scale(.95)}}@media(max-width:700px){.mathhelp.visualmath{padding:11px}.visualhead h3{font-size:19px}.ratiocards{gap:7px}.ratiocard h4{font-size:16px;padding:9px}.ratio-pack strong,.ratio-one strong{font-size:18px}.ratio-operation td>span{font-size:11px;padding:3px 7px}.ratio-toys{max-width:65px}.ratio-mini{width:21px;height:20px}.one-toy{width:37px}.ratio-pack b,.ratio-one b{font-size:9px}.ratio-expression{font-size:8px}.order-scaling{padding:9px 4px}.order-scaling .eyebrow{font-size:6px}.drawnpack{min-width:29px;padding:2px;gap:0}.drawnpack>span{width:20px;height:20px}.drawnpack b{font-size:8px}.visual-packs{gap:3px}.pack-multiply{font-size:10px}.pack-multiply strong{font-size:19px}.valuebadge,.othercost{font-size:7px;padding:4px 5px}.visualactions{flex-direction:column;gap:7px}.visualactions .primary,.visualactions .secondary{font-size:11px;min-height:44px}.sale-whole{padding:10px 8px 7px;font-size:10px}.sale-whole strong{font-size:18px}.salegrid{margin:0 8px;gap:2px}.sale-key{padding:6px 8px 0;font-size:7px}.sale-equation b{font-size:8px}.sale-equation strong{font-size:19px}}@media(prefers-reduced-motion:reduce){.playing .ratio-pack .ratio-toys,.playing .ratio-operation td>span,.playing .ratio-one,.playing .order-scaling,.playing .salegrid .saved,.playing .sale-arrow,.playing .sale-equation>div:last-child{animation:none!important;opacity:1;transform:none}}
/* Squishy toy-shop art direction. World art stays separate from live game UI. */
:root{--ink:#48233f;--paper:#fff9ec;--peach:#ffaaa0;--sage:#a9d9c2;--line:#ead2dc;--gold:#e9ad37}body{color:var(--ink);background:#f5bbcd}.toy.creature-sprite{display:block;aspect-ratio:1;width:100%;height:auto;background-image:url('assets/creatures-atlas.webp');background-size:300% 200%;background-repeat:no-repeat;flex-shrink:0;filter:drop-shadow(0 4px 3px #54334413)}.sprite-0{background-position:0 0}.sprite-1{background-position:50% 0}.sprite-2{background-position:100% 0}.sprite-3{background-position:0 100%}.sprite-4{background-position:50% 100%}.sprite-5{background-position:100% 100%}.game{background:#f7caaf}.game .hud{position:absolute;top:0;left:0;right:0;z-index:5;padding:18px 24px;align-items:flex-start;gap:10px;border:0;background:none;pointer-events:none}.hud>*{pointer-events:auto}.wordmark{font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:43px;line-height:.83;letter-spacing:-1px;transform:rotate(-4deg);margin-right:auto;text-align:center;color:#41162e;text-shadow:-3px -3px #fff4ce,3px -3px #fff4ce,-3px 3px #fff4ce,3px 3px #fff4ce,0 6px #e1a55d,0 8px 3px #752a5722;background:#fff1bd;border:3px solid #fff9e3;border-radius:37% 37% 30% 30%;padding:12px 16px 14px;box-shadow:0 5px 0 #d5966499,0 9px 12px #7b39682b;min-width:175px}.wordmark>span{display:block}.wordmark small{display:none}.hud .pill{background:linear-gradient(#fff7c4,#ffd463);border:3px solid #fff0bb;box-shadow:0 4px 0 #cf8c40,0 7px 9px #6c385c33;padding:8px 16px;min-height:51px;gap:10px;color:#54233b}.hud .pill>span{color:#d59b23;font-size:26px;text-shadow:0 2px #fff5b8}.hud .pill b{font-family:Fredoka;font-weight:600;font-size:26px}.hud .collectionbtn{background:linear-gradient(#e8c9ff,#c5a0ed);border:3px solid #f5e1ff;box-shadow:0 4px 0 #9473b7,0 7px 9px #6c385c33;color:#53274d;font-family:Fredoka;font-size:18px;font-weight:600;padding:10px 19px;min-height:51px;border-radius:25px}.hud .iconbtn{background:linear-gradient(#fff8e9,#ffe2cf);border:2px solid #fff5e5;box-shadow:0 4px 0 #d99893,0 6px 10px #6c385c22;color:#6b3c59;margin-top:3px}.game .world{height:100%;width:100%;flex:1;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;cursor:grab;scrollbar-width:none;background:#f4cba8}.world::-webkit-scrollbar{display:none}.world.dragging{cursor:grabbing}.world .map{position:relative;left:0;top:0;bottom:auto;transform:none;aspect-ratio:auto;width:max(100%,calc(100dvh * 1.776833));height:100%;max-width:none;max-height:none;margin:0}.marketart{width:100%;height:100%;display:block;object-fit:fill;user-select:none;-webkit-user-drag:none}.map .map-label{position:absolute;min-width:0;max-width:none;width:13.5%;height:8%;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;padding:4px 8px;border:0;border-radius:45%;background:transparent;box-shadow:none;color:#56243c;font-family:Fredoka;font-weight:600;font-size:clamp(20px,2.6dvh,34px);line-height:1;white-space:normal;text-shadow:0 2px #fff0bc}.map-label small{display:none}.map .shop-a{left:34.1%;top:18.1%;transform:translate(-50%,-50%) rotate(-8deg)}.map .shop-b{left:72.1%;top:14.1%;transform:translate(-50%,-50%) rotate(4deg)}.map .shop-c{left:18.3%;top:57.2%;transform:translate(-50%,-50%) rotate(-14deg)}.map .shop-d{left:82%;top:51.3%;transform:translate(-50%,-50%) rotate(1deg)}.map .map-label:hover{filter:brightness(1.08);background:#fff4ca55}.map .map-label.active{border:0;background:#fff6c422;box-shadow:0 0 23px #fff3a277}.map-label.active:after{content:'✦';position:absolute;right:-11px;top:-21px;font-size:37px;color:#ffe57a;text-shadow:0 0 8px #fff8cc,0 3px #d78b26;animation:float 3s ease-in-out infinite}.pan-button{position:absolute;top:50%;z-index:4;width:44px;height:56px;border:3px solid #fff5e6;border-radius:21px;background:#fff8e5e8;color:#7a4d6c;font-size:35px;line-height:1;box-shadow:0 4px 0 #c58bb2,0 7px 12px #623d6028}.pan-left{left:12px}.pan-right{right:12px}.orderbubble{position:absolute;z-index:4;top:135px;left:24px;width:280px;padding:12px 15px;gap:11px;background:#fffbedf5;border:3px solid #fff6da;border-radius:24px;box-shadow:0 5px 0 #d89caa,0 9px 13px #753d642b}.orderbubble .portrait{width:57px}.orderbubble .eyebrow{font-size:8px;letter-spacing:1px;color:#977090}.orderbubble strong{font-family:Fredoka;font-size:21px;color:#51273f;line-height:1.05}.orderbubble p{font-size:11px;color:#a26c73;background:#ffda85;padding:7px 11px;border-radius:16px;font-weight:700;text-align:center;margin-top:8px}.game .companion{position:absolute;left:24px;bottom:23px;background:#fff6eaf0;border:3px solid #ffe8cc;box-shadow:0 4px 0 #d992a5,0 7px 12px #6a33582b;border-radius:33px;padding:3px 14px 3px 2px;max-width:180px;gap:6px}.companion .toy.creature-sprite{width:65px;height:65px}.companion>span:not(.toy){font-family:Fredoka;font-size:21px;color:#642948}.companion small{font-size:7px;color:#9d6c82}.game .worldhint{position:absolute;bottom:30px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;max-width:none;background:#fff8e6e8;border:2px solid #ffedcb;color:#885c70;font-size:11px;font-weight:500;padding:10px 16px;box-shadow:0 3px 0 #d8a1a4}.dusk{background:#38244482;backdrop-filter:blur(6px)}.sheet{background:#fff9ed;border:3px solid #fff1db;box-shadow:0 7px 0 #ba8aab,0 22px 65px #49214055;border-radius:28px;color:#4c2d45}.sheet h2,.sheet h3{color:#56304a}.eyebrow,.sheet .eyebrow{color:#99758c}.primary{background:linear-gradient(#ffe8a0,#ffd05b);border:2px solid #fff1bd;box-shadow:0 4px 0 #dca140;color:#5b2c3a;border-radius:18px;font-family:Fredoka;font-size:16px;font-weight:600;padding:12px 19px}.primary:hover{background:linear-gradient(#ffedb8,#ffd775)}.primary:active,.collectionbtn:active{transform:translateY(2px);box-shadow:0 2px 0 #dca140}.secondary{background:#efdef5;color:#785a83;border:2px solid #f7eaff;border-radius:18px;font-family:Fredoka}.iconbtn{border-color:#ecd3df;background:#fff6e9;color:#8b6885}.textbtn,.helpbtn{color:#92728d}.missionsteps .current{color:#875e96}.missionsteps .current b{background:#b091d4;border-color:#cfb4ea;color:#fff9ef}.missionsteps .complete b{background:#cce9d9;color:#698f7a}.sheet .missioninstruction{color:#785569}.missionoffers .offer{background:#fbf0e2;border:2px solid #eed9c3;border-radius:23px;box-shadow:0 3px 0 #dbc1b9}.missionoffers .offer:hover{border-color:#d9b8e0;background:#faeffb}.missionoffers .offer .toy.creature-sprite{width:108px;height:108px;float:none;margin:auto}.missionoffers .offer strong{color:#78526c}.missionoffers .offer small{color:#ae7893}.packprice{color:#8e6b7b}.chosenpack{background:#f5e9ef;border:1px solid #ebdce6;border-radius:18px}.chosenpack b{color:#7d5872}.chosenpack small{color:#ac8d9f}.basketprogress strong{color:#74546e}.basketprogress>span{color:#aa8c9f}.basketslots{background:#f2eaf2;border:1px solid #e8dae8;border-radius:18px}.basketslot{border-color:#d9c8da;background:#faf3f8}.basketslot.filled{background:#fff8e8;border-color:#efdbbe}.basketslot>span:not(.toy){color:#d3bfd4}.basketcost{color:#aa8fa2}.basketcost b{color:#80566b}.badge,.missionprice{background:#ffe59c;color:#9a6e3e}.rewardcoins strong{color:#b67a40}.room{border:2px solid #fff6e1;background:linear-gradient(#d6efec,#b5dfd5)}.room.peach{background:linear-gradient(#ffe0d3,#f6bfc1)}.room.lavender{background:linear-gradient(#eee0ff,#d2b4ee)}.room .residents{border-bottom-color:#c99fc1}.creaturecard{background:#fff5e8;border:2px solid #efdacb;border-radius:20px}.creaturecard.owned{background:#f2edf9;border-color:#d4b3e1}.creaturecard .toy.creature-sprite{width:100%;max-width:134px}.creaturecard button{background:#e8d7f0;color:#78578a;font-family:Fredoka}.creaturecard h3{color:#8b5c80}.collectionstats,.small,.mood,.sheet p{color:#9a7c8f}.intro{background:radial-gradient(ellipse at 50% 48%,#fff7e2 0,#f8d9da 51%,#d7c6ef 100%)}.intro:before{border:3px solid #fff4e3;border-radius:35px}.intro h1{font-weight:500;color:#7e456c}.intro h1 em{color:#d58489}.intro .story{color:#ae7b8c}.introbar{color:#925978;font-weight:600}.intro .nameinput,.nameinput,.renameform input{border:2px solid #e6cada;background:#fff9ed;border-radius:18px;color:#956780}.floating{opacity:.45;width:125px}.intro .revealcreature{filter:drop-shadow(0 17px 12px #ad73963b)}.introfoot{color:#b183a3}.parcelnote{background:#fff7dd;color:#a27480;border:2px solid #fff1bb;border-radius:15px;font-family:Fredoka}.tapnote{color:#ac7d96}.hud.celebrating{background:none}.hud.celebrating #wallet{background:linear-gradient(#fff9c9,#ffd65f);box-shadow:0 4px 0 #d69b37,0 0 28px #ffe9a0}.visualmath{color:#76546c}.mathhelp.visualmath{background:#f2edf7;border:1px solid #e1d0e8;border-radius:21px}.ratiocard{background:#fffaf0;border:1px solid #e7d5e7}.ratiocard h4{background:#eaddf3;border-bottom-color:#dfcce8;color:#8c6293}.visualmath .ratio-steps th{color:#a38ca1}.visualmath .ratio-pack strong,.visualmath .ratio-one strong{color:#8c6480}.ratio-one{background:#f1e8f4}.ratio-operation td>span{background:#ffe6ac;color:#a27e48}.ratio-expression,.ratio-pack b,.ratio-one b{color:#aa90a1}.order-scaling{border-top-color:#e8d9e7}.pack-multiply strong{color:#966881}.pack-multiply{color:#b198a8}.valuebadge{background:#e0efdd;color:#7c9571}.salegrid .pay{background:#b4a1d6}.salegrid .saved{background:repeating-linear-gradient(135deg,#ffdbb7,#ffdbb7 4px,#fff0da 4px,#fff0da 7px);border-color:#e9bd99}.sale-equation>div:not(.sale-arrow){background:#f2e8f5}.sale-equation strong{color:#956b87}.sale-arrow{color:#b28b56}.visualactions .primary{font-size:13px}.pan-button:focus-visible,.map-label:focus-visible{outline:4px solid #fff3b6;outline-offset:5px}
@media(max-width:700px){.game .hud{padding:12px;gap:7px;align-items:flex-start}.wordmark{min-width:108px;width:108px;padding:9px 10px 12px;font-size:28px;letter-spacing:-.6px;border-width:2px;white-space:normal}.hud .pill{min-height:44px;padding:6px 11px;border-width:2px;gap:5px}.hud .pill b{font-size:22px}.hud .pill>span{font-size:22px}.hud .collectionbtn{font-size:13px;min-height:44px;padding:9px 12px;border-width:2px;white-space:nowrap}.hud .iconbtn{width:38px;height:38px;min-height:38px;margin-top:3px}.game .world .map{width:calc(100dvh * 1.776833);height:100%;left:0;top:0;transform:none}.map .map-label{min-width:0;max-width:none;font-size:clamp(20px,2.6dvh,30px);width:13.5%;height:8%;min-height:44px;padding:5px}.game .orderbubble{top:auto;bottom:100px;left:13px;max-width:280px;width:calc(100% - 26px);padding:10px 12px;border-radius:22px}.orderbubble .portrait{width:46px}.orderbubble strong{font-size:19px}.orderbubble .eyebrow{font-size:7px}.orderbubble p{font-size:10px;padding:6px 10px;margin-bottom:0}.game .companion{left:13px;bottom:19px;max-width:160px;padding:1px 12px 1px 2px}.companion .toy.creature-sprite{width:53px;height:53px}.companion>span:not(.toy){font-size:17px}.companion small{font-size:6px}.game .worldhint{left:auto;right:13px;bottom:26px;transform:none;white-space:normal;max-width:155px;font-size:9px;padding:8px 10px}.pan-button{top:48%;height:48px;width:37px;border-width:2px;font-size:30px;border-radius:17px}.pan-left{left:8px}.pan-right{right:8px}.missionoffers .offer .toy.creature-sprite{width:86px;height:86px}.sheet{border-radius:25px;padding:18px}.visualactions .primary{font-size:12px}.intro h1{font-size:45px}.floating{width:85px}.intro .revealcreature{max-width:225px}.f1{left:3%;top:24%}.f2{right:3%;bottom:17%}.introbar{font-size:16px}}@media(max-width:360px){.wordmark{width:94px;min-width:94px;font-size:25px}.game .hud{padding:10px;gap:5px}.hud .pill{padding:6px 8px}.hud .collectionbtn{padding:9px;font-size:11px}.hud .iconbtn{width:34px;height:36px;min-height:36px}.game .worldhint{max-width:123px;font-size:8px}.game .orderbubble{bottom:98px}}@media(prefers-reduced-motion:reduce){.map-label.active:after{animation:none}.primary:active,.collectionbtn:active{transform:none}}

/* Keep the mission clear of the illustrated shop signs. */
@media(min-width:701px){.game .orderbubble{top:auto;bottom:24px;left:50%;transform:translateX(-50%);width:320px}.game .worldhint{bottom:125px;font-size:10px}.pan-button{opacity:.92}}
.sheet p,.collectionstats,.small,.mood{color:#795b70}.visualmath .ratio-steps th,.ratio-expression,.ratio-pack b,.ratio-one b,.pack-multiply{color:#795b70}

/* A collected friend can accompany the player; navigation needs no extra panel. */
.creaturecard .sidekick-choice{background:#ffe6a0;color:#65422f;border:1px solid #e7be68;font-weight:700}.creaturecard .sidekick-choice[aria-pressed="true"]{background:#e3d4f3;border-color:#b18dcf;color:#694584;opacity:1}.pan-hint{position:absolute;right:0;top:calc(100% + 9px);width:78px;font:600 11px/1.4 'DM Sans',sans-serif;color:#51273f;text-shadow:0 1px 2px #fff8e5,1px 0 2px #fff8e5,-1px 0 2px #fff8e5;pointer-events:none;text-align:right}

/* Live companion shares the world's coordinates, so it travels with the scene. */
.map .worldsidekick{position:absolute;left:54.7%;bottom:17.6%;width:10.8%;aspect-ratio:1;min-height:44px;padding:0;border:0;background:none;transform:translateX(-50%);z-index:2;cursor:pointer;overflow:visible;touch-action:manipulation;-webkit-user-select:none;user-select:none}.worldsidekick:before{content:'';position:absolute;left:15%;bottom:12%;width:70%;height:9%;background:#79493645;border-radius:50%;filter:blur(4px);pointer-events:none}.worldsidekick .toy.creature-sprite{width:100%;height:100%;transform-origin:50% 86%;animation:sidekick-idle 4s ease-in-out infinite;pointer-events:none;will-change:transform}.worldsidekick:after{content:'♥';position:absolute;right:12%;top:8%;font:clamp(20px,3dvh,40px) Fredoka;color:#f16e9f;text-shadow:0 2px #fff7d5;opacity:0;pointer-events:none}.worldsidekick.petting:after{animation:sidekick-heart .8s ease-out both}.worldsidekick:focus-visible{outline:3px solid #fff4b5;outline-offset:1px;border-radius:40%}.worldsidekick:hover .toy{filter:drop-shadow(0 5px 5px #763a7130) brightness(1.04)}@keyframes sidekick-idle{0%,100%{transform:scale(1,1) rotate(-1deg)}50%{transform:scale(1.025,.975) rotate(1deg)}}@keyframes sidekick-heart{0%{opacity:0;transform:translateY(0) scale(.5)}20%{opacity:1;transform:translateY(-10px) scale(1.1)}100%{opacity:0;transform:translateY(-55px) scale(.8)}}@media(prefers-reduced-motion:reduce){.worldsidekick .toy.creature-sprite{animation:none}.worldsidekick.petting:after{animation:none;opacity:0}}

@media(max-width:700px){.game .orderbubble{bottom:18px}.game .companion{bottom:145px}}
/* The Snug: a soft, full-window space for hands-on play. */
.dusk:has(.snugplayroom){padding:0;background:#fff5e8;backdrop-filter:none}.sheet.snugplayroom{display:flex;flex-direction:column;width:100%;max-width:none;height:100%;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;animation:none;background:#fff6e9}.snugplayroom [hidden]{display:none!important}.snugbar{display:flex;align-items:center;gap:20px;padding:18px 30px;flex-shrink:0;background:#fff7eaf5;z-index:3;border-bottom:2px solid #f0dbe0}.snugbar .eyebrow{font-size:9px;letter-spacing:1.5px}.snugbar h2{font-size:38px;line-height:1;margin:5px 0 0}.snugbar .snugcount{font-size:12px;color:#97778c;margin-right:auto}.snugbar .secondary{font-size:16px;padding:11px 18px}.catalog-nav{display:flex;gap:10px;align-items:center}.catalog-nav .secondary{font-size:13px;padding:10px 14px;white-space:nowrap}.playstage{flex:1;min-height:160px;position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(#d6efec 0%,#c7e7e1 62%,#f4e8d7 62%,#eee1d2 100%);transition:background .3s}.playstage.peach{background:linear-gradient(#ffe3df 0%,#f5ced6 62%,#f5e3d7 62%,#f1d7cd 100%)}.playstage.lavender{background:linear-gradient(#ece1fc 0%,#d9c7f1 62%,#ede1ef 62%,#e2d2e7 100%)}.playstage:before{content:'';position:absolute;left:0;right:0;top:61.5%;height:11px;background:#ffffff75;box-shadow:0 4px 0 #b592a31a}.snugwindow{position:absolute;left:50%;top:9%;transform:translateX(-50%) rotate(-2deg);width:170px;height:150px;border:12px solid #fff9e8;border-radius:70px 70px 27px 27px;background:linear-gradient(#c8e8ff,#fbf4d7);box-shadow:0 7px 0 #9673831a,inset 0 0 0 2px #d1bfaa55;overflow:hidden;pointer-events:none}.snugwindow:before,.snugwindow:after{content:'';position:absolute;background:#fff9e8;z-index:2}.snugwindow:before{top:0;bottom:0;width:9px;left:47%}.snugwindow:after{left:0;right:0;height:9px;top:51%}.snugwindow i{position:absolute;background:#fffff0;border-radius:50%;width:55px;height:22px;left:15px;top:30px;opacity:.8}.snugwindow i:nth-child(2){left:78px;top:70px;width:47px}.snugwindow i:nth-child(3){left:95px;top:10px;width:28px;height:28px;background:#ffeeb3}.snugrug{position:absolute;bottom:0;left:10%;width:80%;height:32%;border-radius:50%;background:repeating-radial-gradient(ellipse at center,#efd6df 0,#efd6df 12px,#f5e4df 14px,#f5e4df 26px);border:9px solid #fff2e4;box-shadow:0 7px 0 #c59da62b;transform:rotate(-2deg);pointer-events:none}.playstage.lavender .snugrug{filter:hue-rotate(20deg)}.playstage.peach .snugrug{filter:hue-rotate(-25deg)}.room-spark{position:absolute;color:#fff9da;font:42px Fredoka;pointer-events:none;opacity:.85}.spark-a{left:16%;top:19%;transform:rotate(-15deg)}.spark-b{right:17%;top:32%;font-size:65px}.playfriend{position:absolute;left:0;top:0;width:var(--friend-size,180px);height:var(--friend-size,180px);padding:0;border:0;border-radius:45%;background:transparent;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;z-index:2;will-change:transform}.playfriend .toy.creature-sprite{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;transform-origin:50% 85%;animation:snug-breathe 5s ease-in-out infinite;filter:drop-shadow(0 5px 4px #74566817)}.playfriend:nth-of-type(2n) .toy{animation-delay:-2s}.playfriend:nth-of-type(3n) .toy{animation-delay:-3.5s}.playfriend .friend-shadow{position:absolute;left:17%;bottom:10%;width:66%;height:9%;background:#795a6d26;border-radius:50%;filter:blur(4px);pointer-events:none}.playfriendname{position:absolute;top:89%;left:0;right:0;font:500 16px Fredoka;text-align:center;color:#77566d;pointer-events:none;text-shadow:0 1px #fff4e9}.playfriend.chosen:before{content:'';position:absolute;left:13%;right:13%;bottom:6%;height:13%;border:2px dashed #a474aa80;border-radius:50%;pointer-events:none}.playfriend.held{cursor:grabbing;z-index:5}.playfriend.held .toy{animation:none}.playfriend:focus-visible{outline:3px solid #a975ad;outline-offset:-10px}.friendheart{position:absolute;top:0;right:12%;color:#e876a7;font:32px Fredoka;opacity:0;pointer-events:none;text-shadow:0 2px #fff5da}.playfriend.reacting .friendheart{animation:snug-heart .8s ease-out}.snugfooter{padding:12px 30px 14px;background:#fff7e9;flex-shrink:0;z-index:6;border-top:2px solid #fffdf5}.playtoolbar{display:flex;align-items:center;gap:15px;min-height:44px}.playtoolbar #playhint{font:500 14px Fredoka;color:#95738a;margin-right:auto}.playtoolbar #playhint i{font-style:normal;color:#d5b1c6;margin:0 7px}.snugcolors{display:flex;gap:7px}.snugcolors button{height:30px;width:30px;min-height:30px;border-radius:50%;border:3px solid #fff9ef;outline-offset:1px}.snugcolors .sage{background:#beded1}.snugcolors .peach{background:#f3c7bf}.snugcolors .lavender{background:#d8c1ed}.snugcolors [aria-pressed=true]{outline:2px solid #a97f9b}.playtoolbar .iconbtn{height:38px;width:38px;min-height:38px}.playtoolbar .textbtn{font-size:11px;padding:7px 9px}.friendtools{display:flex;align-items:center;gap:10px;min-height:52px;max-width:700px;margin:2px auto 0}.friendtools #playselected{font:500 21px Fredoka;color:#805371;margin-right:auto}.friendtools .secondary{font-size:13px;padding:8px 15px;min-height:42px}.friendtools .textbtn{font-size:12px}.friendtools input{flex:1;min-width:0;border:2px solid #ddc6df;border-radius:15px;background:#fffcf4;padding:10px 13px;color:#6f4369}.friendtools #playbuddy:disabled{opacity:1;background:#ebdff2;color:#8b689e}.friendtools #playselected:only-child{font-size:15px}@keyframes snug-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.025,.975)}}@keyframes snug-heart{0%{opacity:0;transform:translateY(0) scale(.5)}20%{opacity:1;transform:translateY(-12px) scale(1.1)}100%{opacity:0;transform:translateY(-65px) scale(.8)}}
@media(max-width:700px){.snugbar{padding:13px 14px;gap:10px;flex-wrap:wrap}.snugbar h2{font-size:30px}.snugbar .eyebrow{font-size:7px;letter-spacing:.8px}.snugbar .snugcount{display:none}.snugbar>div:first-child{margin-right:auto}.snugbar .secondary{font-size:12px;padding:10px 12px}.snugbar .iconbtn{height:40px;width:40px;min-height:40px}.snugfooter{padding:9px 12px 12px}.playtoolbar{flex-wrap:wrap;gap:8px}.playtoolbar #playhint{flex-basis:100%;text-align:center;margin:0;font-size:13px}.snugcolors{margin-right:auto}.friendtools{gap:5px;min-height:53px;margin-top:5px}.friendtools #playselected{font-size:17px;max-width:40%;overflow-wrap:anywhere}.friendtools .secondary{font-size:11px;padding:8px 10px}.friendtools .textbtn{padding:7px}.snugwindow{width:130px;height:125px;border-width:9px;top:8%}.snugrug{width:100%;left:0;height:33%;border-width:6px}.playfriendname{font-size:13px}.room-spark{font-size:30px}.spark-a{left:8%;top:25%}.spark-b{right:6%;top:36%;font-size:40px}.catalog-nav{gap:5px}.catalog-nav .secondary{font-size:11px;padding:9px}}
@media(max-height:550px){.snugbar{padding:8px 18px}.snugbar h2{font-size:28px}.snugbar .eyebrow{display:none}.snugfooter{padding:3px 15px}.friendtools{min-height:43px}.snugwindow{height:95px;width:110px;top:5%}.playtoolbar #playhint{flex-basis:auto;margin-right:auto}.playtoolbar{flex-wrap:nowrap}.playstage{min-height:100px}}
@media(prefers-reduced-motion:reduce){.playfriend .toy.creature-sprite{animation:none}.playfriend.reacting .friendheart{animation:none}.playstage{transition:none}}

/* Completion hands directly into the next mission; the playroom is an optional break. */
.missionreward .rewardresult{display:flex;justify-content:center;align-items:center;gap:20px;margin:10px 0 0}.missionreward .rewardportrait{width:95px;margin:0}.missionreward .rewardcoins{flex-direction:row;gap:15px;padding:10px 0;text-align:left}.missionreward .bigcoin{width:62px;height:62px;font-size:48px}.missionreward .rewardcoins strong{font-size:48px;margin:0;display:block}.missionreward .rewardcoins>div>span{font-size:11px;color:#9b7b75}.missionreward .deliverythanks{font-size:13px;margin:7px 0 20px}.nextmission{display:flex;align-items:center;gap:15px;text-align:left;background:#f0e7f9;border:2px solid #d9bfeb;border-radius:22px;padding:15px 18px;margin:0 0 12px;box-shadow:0 3px 0 #d4b8de55}.nextportrait{width:66px;flex-shrink:0}.nextmission>div:nth-child(2){flex:1}.nextmission .eyebrow{font-size:9px;color:#9368a0;letter-spacing:1px}.nextmission h3{font-size:25px;margin:7px 0 4px;line-height:1.15;color:#633c68}.nextlocation{font-size:11px;color:#987c99}.nextarrow{font:30px Fredoka;color:#a27ab0}.missionreward #nextorder{font-size:19px;margin-top:0;min-height:57px}.missionreward .rewardbreak{min-height:44px;margin-top:12px;font-size:12px}.missionreward .rewardreceipt{margin-top:8px}.missionreward h2{margin:9px 0 3px}@media(max-width:700px){.missionreward .rewardresult{gap:12px}.missionreward .rewardportrait{width:75px}.missionreward .rewardcoins{gap:10px}.missionreward .bigcoin{width:50px;height:50px;font-size:37px}.missionreward .rewardcoins strong{font-size:41px}.missionreward .deliverythanks{margin-bottom:15px}.nextmission{gap:10px;padding:13px 12px;border-radius:19px}.nextportrait{width:51px}.nextmission h3{font-size:21px}.nextmission .eyebrow{font-size:8px}.nextlocation{font-size:10px}.nextarrow{font-size:25px}.missionreward #nextorder{font-size:18px;min-height:53px}}
/* A new sidekick gets a moment in the spotlight, above the current screen. */
.sidekickparty{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:22px;background:#4d2e638c;backdrop-filter:blur(6px);overflow:hidden}.partycard{position:relative;z-index:1;text-align:center;width:min(470px,100%);max-height:calc(100dvh - 44px);overflow:auto;padding:34px 32px 28px;background:radial-gradient(ellipse at 50% 35%,#fff1c9,#fff9ed 68%);border:3px solid #fff4db;border-radius:34px;box-shadow:0 7px 0 #b78cb4,0 25px 90px #37194166;animation:party-entrance .4s cubic-bezier(.2,.8,.3,1.2);outline:none}.partycard .eyebrow{display:block;font-size:9px;letter-spacing:1.6px;margin:2px 30px 0;color:#a47798}.partyclose{position:absolute;top:12px;right:12px;height:38px;width:38px;min-height:38px}.partyfriend{position:relative;display:block;width:210px;max-width:65%;padding:0;border:0;background:none;margin:14px auto 0;transform-origin:50% 85%;animation:party-buddy .65s .15s both;filter:drop-shadow(0 15px 14px #b48a9e30)}.partyfriend .toy{width:100%}.partycard h2{font:600 34px/1.1 Fredoka;color:#673b63;margin:10px 0 12px;overflow-wrap:anywhere}.partycard p{font-size:13px;color:#a27a94;line-height:1.5;margin:0 0 20px}.partycard .primary{width:100%;font-size:19px;min-height:54px}.partystar{position:absolute;top:25%;right:13%;font:46px Fredoka;color:#eeb94e;text-shadow:0 2px #fff8d7;transform:rotate(12deg);pointer-events:none}.partyfireworks{position:absolute;inset:0;pointer-events:none;overflow:hidden}.partyburst{position:absolute;width:0;height:0}.partyburst i{position:absolute;width:6px;height:15px;border-radius:6px;background:var(--spark);box-shadow:0 0 8px var(--spark);opacity:0;animation:party-spark 1.4s ease-out both;animation-delay:var(--delay)}@keyframes party-spark{0%{opacity:0;transform:translate(0,0) rotate(var(--rotation)) scale(.2)}15%{opacity:1}80%{opacity:.7}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rotation)) scale(.35)}}@keyframes party-entrance{from{opacity:0;transform:scale(.94) translateY(12px)}to{opacity:1;transform:none}}@keyframes party-buddy{0%{transform:scale(.7,.85)}50%{transform:scale(1.08,.92)}75%{transform:scale(.96,1.04)}100%{transform:scale(1)}}@media(max-width:700px){.sidekickparty{padding:16px}.partycard{padding:30px 22px 24px;border-radius:29px;max-height:calc(100dvh - 32px)}.partyfriend{width:185px}.partycard h2{font-size:29px}.partycard .eyebrow{font-size:8px}.partystar{font-size:37px}}@media(prefers-reduced-motion:reduce){.partyfireworks{display:none}.partycard,.partyfriend{animation:none}}
/* Measurement Workshop: exact visual tools, with learning checkpoints separate from orders. */
.measurementsheet{width:min(860px,100%)}.measurementsheet .sheethead h2{font-size:31px}.workshopsteps{display:flex;gap:7px;margin:0 0 16px}.workshopsteps>span{display:flex;align-items:center;gap:7px;flex:1;font-size:11px;color:#b09aa9}.workshopsteps b{border:1px solid #ddc9df;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:11px}.workshopsteps .current{color:#85538d;font-weight:700}.workshopsteps .current b{background:#b78cd2;color:#fff9ee;border-color:#b78cd2}.measureorder{display:flex;justify-content:space-between;gap:14px;padding:18px 20px;background:#eee0f5;border:2px solid #d9bde7;border-left:6px solid #af7bc3;border-radius:17px;color:#63415d;align-items:center}.measuregoalcopy{flex:1;min-width:0}.goallabel{display:block;font:700 10px/1.3 "DM Sans",sans-serif;letter-spacing:1.7px;color:#895b96;margin-bottom:6px}.measureorder h3{font:600 28px/1.2 Fredoka,system-ui,sans-serif;color:#60395f;margin:0;overflow-wrap:anywhere}.measureorder>span:last-child{font:10px 'DM Sans',sans-serif;color:#a0829e;white-space:nowrap}.unittray{display:flex;justify-content:center;gap:12px;margin:15px 0 8px}.unittray button{display:grid;grid-template-columns:25px 1fr;column-gap:7px;align-items:center;text-align:left;width:135px;border:2px solid #eddbcd;border-radius:17px;background:#fff4e2;padding:10px 14px;box-shadow:0 3px 0 #dfc7ba55}.unittray button>span{font-size:23px;grid-row:span 2;color:#c098ab}.unittray strong{font:500 21px Fredoka;color:#845875}.unittray small{font-size:9px;color:#ab8297}.unittray .selected{background:#e7f0e5;border-color:#a3c9b2}.measurebench{background:linear-gradient(#fff9ee,#faf0df);border:1px solid #eddec9;border-radius:21px;margin:12px 0 0;overflow:hidden}.measurediagram{display:block;width:100%;max-height:290px}.measurelabel{font:500 18px Fredoka,system-ui,sans-serif;fill:#825f7b;text-anchor:middle}.rulertext{font:12px 'DM Sans',system-ui,sans-serif;fill:#987993}.weighttext{font:500 14px Fredoka,system-ui,sans-serif;fill:#886342;text-anchor:middle}.measurefeedback{min-height:58px;display:flex;align-items:center;text-align:left;font:500 21px/1.35 Fredoka,system-ui,sans-serif;color:#63415d;padding:13px 17px;line-height:1.35;margin:14px 0 0;background:#fff0c9;border-left:4px solid #e4b55b;border-radius:13px}.measurebench+.measureinputs{margin-top:14px}.measureinputs{border:0;padding:0;margin:0;min-width:0}.measureinputs:disabled{opacity:.4}.measurecontrol{padding:12px 15px;background:#f2eaf5;border:1px solid #e4d5e9;border-radius:17px;min-width:0}.measurecontrol label{display:block;text-align:center;font-size:10px;color:#a1839b;margin-bottom:8px}.measurecontrol label b{font-size:12px;color:#8a6384;margin-left:5px}.measuredial{display:flex;align-items:center;justify-content:center;gap:10px}.measuredial .iconbtn{width:40px;height:40px;min-height:44px;flex-shrink:0;font-size:21px}.measuredial input{width:100px;max-width:38%;min-width:0;text-align:center;background:#fffcf2;color:#75506f;border:2px solid #ddc5e4;border-radius:13px;padding:9px 4px;font-family:Fredoka;font-size:22px}.measuredial>span{font-size:12px;color:#9e7e96;min-width:24px}.measureslider{display:block;width:100%;height:32px;accent-color:#b088ca;margin:8px 0 0;cursor:ew-resize;touch-action:pan-y}.measurepaircontrols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.measureinputs .primary{margin-top:13px;min-height:52px;font-size:18px}.workshop-path{display:block;margin:7px auto 0;font-size:10px}.unitbridge{padding:16px 20px;background:#eaf1e8;border:1px solid #d4e1d1;border-radius:18px;margin-top:12px;text-align:center}.unitbridge .eyebrow{font-size:8px}.unitbridge strong{display:block;font:500 26px Fredoka;color:#789474;margin:10px 0}.bridgepicture{display:flex;gap:15px;align-items:center;justify-content:center}.bridgepicture>span{width:140px;height:26px;border:1px solid #8fb69c;border-radius:5px;display:flex;overflow:hidden;background:#aad5b8}.bridgepicture i{flex:1;border-right:1px solid #fff5db}.bridgepicture .bridgewhole{background:#bba4d5;border-color:#b19bc8}.bridgepicture b{color:#ac8eb9;font-size:22px}.solvedmeasure{padding:12px 16px;background:#edf3e4;border:1px solid #d5dfc8;border-radius:17px;font:500 26px Fredoka;color:#7c9971;margin:17px 0}.workshopreward{max-width:660px}.workshoptools{display:flex;gap:22px;justify-content:center;margin:15px 0}.workshoptools>span{font:28px Fredoka;color:#ac83b1}.workshoptools small{display:block;font:10px 'DM Sans',sans-serif;color:#a08299;margin-top:4px}.learningpath{max-width:760px}.learningchapter{display:flex;align-items:center;gap:17px;padding:20px;background:#f1e7f8;border:2px solid #dcc5ea;border-radius:22px}.chaptericon{font:48px Fredoka;color:#b38bc9}.learningchapter>div{flex:1}.learningchapter h3{font-size:25px;margin:7px 0 0}.learningchapter .eyebrow{font-size:8px}.learningchapter p{font-size:11px;margin:7px 0}.learningchapter .primary{width:auto;min-width:100px;font-size:15px}.chapterdots{display:flex;gap:5px}.chapterdots i{height:8px;width:14px;border-radius:5px;background:#d8c8e3}.chapterdots .done{background:#9dc0a8}.futurechapters{margin:14px 0}.futurechapter{display:flex;gap:15px;align-items:center;padding:12px 16px;border-bottom:1px solid #eee1df;color:#b39aaa}.futurechapter>span{height:31px;width:31px;border-radius:50%;background:#f0e9ed;display:grid;place-items:center;font:16px Fredoka}.futurechapter b{display:block;font:18px Fredoka;color:#a08099}.futurechapter small{display:block;font-size:10px;line-height:1.6;margin-top:4px}.learningextras{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 0}.learningextras .secondary{font-size:13px}.learningextras .textbtn{font-size:11px}.checkpointlist{display:flex;flex-direction:column;gap:8px}.checkpointlist button{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid #e3d3e9;border-radius:15px;background:#f5edf7;text-align:left}.checkpointlist button>span:first-child{display:grid;place-items:center;width:29px;height:29px;background:#e3ebd9;border-radius:50%;color:#839e72}.checkpointlist button>div{flex:1}.checkpointlist small{display:block;font-size:9px;color:#a3879f}.checkpointlist b{display:block;font:18px Fredoka;color:#8d6587;margin-top:3px}.checkpointlist button>span:last-child{color:#b69bc1}.measurementreview{max-width:700px}
@media(max-width:700px){.measurementsheet{padding:15px}.measurementsheet .sheethead h2{font-size:24px}.measurementsheet .eyebrow{font-size:8px;letter-spacing:1px}.workshopsteps{gap:4px;margin-bottom:12px}.workshopsteps>span{font-size:9px;gap:4px}.workshopsteps b{height:22px;width:22px;font-size:9px;flex-shrink:0}.measureorder{padding:15px 14px;gap:8px;flex-wrap:wrap}.measureorder h3{font-size:25px}.measureorder .goallabel{font-size:10px;letter-spacing:1.4px}.measureorder>span:last-child{font-size:10px;white-space:normal;flex-basis:100%;margin-top:3px}.unittray{gap:8px;margin:12px 0 6px}.unittray button{width:auto;flex:1;padding:8px 9px;grid-template-columns:19px 1fr;column-gap:4px;border-radius:14px}.unittray button>span{font-size:20px}.unittray strong{font-size:20px}.unittray small{font-size:8px}.measurebench{margin-top:10px;border-radius:16px}.measurediagram{max-height:230px}.measurefeedback{font-size:18px;min-height:54px;padding:11px 13px;margin-top:12px}.measurebench+.measureinputs{margin-top:12px}.measurecontrol{padding:9px 10px}.measuredial{gap:6px}.measuredial .iconbtn{width:35px;height:38px;min-height:40px;font-size:19px}.measuredial input{font-size:20px;max-width:42%;width:85px}.measuredial>span{font-size:10px;min-width:17px}.measurepaircontrols{gap:8px}.measurepaircontrols .measuredial{flex-wrap:wrap;gap:4px}.measurepaircontrols .measuredial>span{flex-basis:100%;text-align:center;order:4}.measurepaircontrols .measuredial input{width:57px;max-width:40%;font-size:18px}.measurepaircontrols .iconbtn{width:29px;min-height:38px;height:38px}.measurecontrol label b{display:block;font-size:11px;margin:4px 0 0}.measureinputs .primary{font-size:16px;min-height:49px}.solvedmeasure{font-size:22px}.learningchapter{gap:11px;padding:14px;flex-wrap:wrap}.chaptericon{font-size:35px}.learningchapter h3{font-size:22px}.learningchapter .primary{width:100%;margin-top:5px}.futurechapter{padding:10px 5px;gap:11px}.futurechapter small{font-size:9px}.learningextras{gap:6px}.checkpointlist b{font-size:16px}.checkpointlist button{gap:9px}.unitbridge strong{font-size:23px}}

.bridgeside{flex:1;max-width:180px;min-width:0}.bridgeside>span{display:flex;height:26px;border:1px solid #8fb69c;border-radius:5px;overflow:hidden;background:#aad5b8}.bridgeside small{display:block;font-size:10px;color:#8b9f83;margin-top:6px}.bridgeside .bridgewhole{background:#bba4d5;border-color:#b19bc8}

.measurebench.directmeasure{cursor:crosshair;touch-action:none;user-select:none;-webkit-user-select:none}.measurebench.directmeasure:active{cursor:grabbing}

@media(max-width:700px){.measurediagram .rulertext{font-size:18px}.measurediagram .measurelabel{font-size:23px}.measurediagram .weighttext{font-size:20px}}
/* Delivery Dash: one shared clock and meter scale make rates visible. */
.deliverysheet{width:min(900px,100%)}.deliverysheet .sheethead h2{font-size:31px}.deliverysteps{display:flex;gap:12px;font:500 13px Fredoka;color:#a991a5}.deliverysteps span{flex:1;padding:8px 12px;border-radius:12px;background:#f3eaf4}.deliverysteps .current{background:#dceee4;color:#577e6c}.deliverysheet .measurefeedback{margin-bottom:16px}.deliverygiven{display:flex;align-items:center;justify-content:center;gap:24px;border:1px solid #e6d3e5;background:#f5ecf7;border-radius:19px;padding:14px;margin-bottom:14px}.deliverygiven>span{text-align:center}.deliverygiven small{display:block;font-size:9px;letter-spacing:1px;color:#9a7994;margin-bottom:5px}.deliverygiven b{font:500 24px Fredoka;color:#694365}.givenlink{font:26px Fredoka;color:#b193bd}.dispatchcards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.dispatchcard{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f1e8f6;border:1px solid #decbe6;border-radius:18px;padding:10px 16px}.dispatchcard:nth-child(2){background:#e8f2e8;border-color:#caddcb}.dispatchcard>div{display:flex;align-items:center;gap:7px}.dispatchcard .toy{width:58px;flex-shrink:0}.dispatchcard span{font:500 17px Fredoka}.dispatchcard strong{font:500 23px Fredoka;text-align:right;white-space:nowrap;color:#75536e}.dispatchcard small{display:block;font:12px 'DM Sans',sans-serif;margin-top:5px}.deliveryscene{padding:15px 28px 9px;border:1px solid #d8e4cd;border-radius:24px;background:linear-gradient(#ecf4df,#fff4df 85%);margin-bottom:14px;overflow:hidden}.deliveryclock{display:flex;align-items:center;gap:12px;margin-bottom:9px}.deliveryclock>span{font-size:8px;letter-spacing:1px;color:#769079}.deliveryclock strong{font:500 25px Fredoka;color:#5c7966;min-width:75px}.deliveryclock small{font-size:10px;color:#8f947e;margin-left:auto;text-align:right}.deliverylane{padding:3px 0 8px}.lanename{font:500 15px Fredoka;color:#7e6579;display:flex;justify-content:space-between}.lanename b{font-weight:500;color:#648271}.deliverytrack{position:relative;height:64px;margin:8px 32px 0;border-bottom:11px solid #d9bb98;border-radius:8px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#e1cfaa75 calc(10% - 1px),#e1cfaa75 10%)}.trackfill{position:absolute;bottom:-11px;height:11px;width:0;background:#aeceb0;border-radius:8px}.courier{position:absolute;width:62px;height:62px;left:0;bottom:-7px;transform:translateX(-50%);z-index:2;pointer-events:none}.courier .toy{width:100%;filter:drop-shadow(0 4px 3px #967e6130)}.deliverygoal{position:absolute;bottom:3px;transform:translateX(-50%);text-align:center;z-index:1;pointer-events:none}.deliverygoal i{font:36px Fredoka;color:#a78cbd;font-style:normal}.deliverygoal small{display:block;white-space:nowrap;font:500 13px Fredoka;color:#8b6d94;background:#fff9e9;border-radius:6px;padding:2px 5px}.trackscale{display:flex;justify-content:space-between;font-size:10px;color:#9a8a72;margin:7px 32px 0}.delivery-stop{position:absolute;bottom:-17px;transform:translateX(-50%);font:26px Fredoka;color:#da9874;z-index:3;pointer-events:none}.delivery-stop small{display:block;position:absolute;top:27px;left:50%;transform:translateX(-50%);white-space:nowrap;font:10px 'DM Sans',sans-serif;color:#a17564;background:#fff4df;padding:1px 4px}.clockrail{display:flex;flex-wrap:wrap;justify-content:space-between;margin:22px 0 2px;gap:2px;font-size:10px;color:#8e8d79}.clockrail input{flex-basis:100%;width:100%;accent-color:#8bb39c;height:30px;margin:0;cursor:ew-resize}.deliveryplay{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:6px}.deliveryplay .secondary{font:500 16px Fredoka;padding:9px 20px;min-height:44px}.deliveryplay .textbtn{font-size:11px;min-height:44px}.deliveryobservation{min-height:34px;text-align:center;font-size:12px;line-height:1.5;color:#6f826c;padding:8px 0 0}.deliverycontrols{display:grid;gap:12px;margin-bottom:14px}.deliverycontrols.twopaces{grid-template-columns:1fr 1fr}.deliverydial{background:#f1e9f5;border:1px solid #e1cfe8;border-radius:18px;padding:13px 16px}.deliverydial label{display:block;text-align:center;font:500 16px Fredoka;margin:0 0 9px;color:#865e80}.deliverydial .measuredial input{font-size:25px}.deliverydial .measuredial>span{min-width:46px}.courierchoices{display:flex;gap:10px;border:0;padding:0;margin:15px 0 19px;min-width:0}.courierchoices legend{font:500 18px Fredoka;padding:0 0 9px;color:#76506d}.courierchoices button{flex:1;border:2px solid #e0cfe6;background:#f7eff8;border-radius:15px;padding:12px 8px;min-height:48px;font:500 16px Fredoka;color:#87658a}.courierchoices .selected{border-color:#89b79c;background:#dfefdf;color:#4d765e}.deliverysheet>#deliverycheck{font-size:19px;min-height:54px}.deliverysheet .helpbtn{display:block;margin:13px auto 0}.deliverybridge{margin-top:14px;background:#fff3d9;border:1px solid #ecd4a9;border-radius:19px;padding:18px;text-align:center}.deliverybridge>.eyebrow{font-size:9px}.deliverytables{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:13px}.deliverytables>div>b{font:500 18px Fredoka;color:#805d7b}.deliveryratio{width:100%;max-width:390px;margin:12px auto 0;border-collapse:separate;border-spacing:0;table-layout:fixed}.deliveryratio th{font-size:11px;font-weight:500;background:#eddbe9;padding:8px;color:#84657e}.deliveryratio td{background:#fffcf2;font:500 22px Fredoka;padding:9px;color:#77516e;border-bottom:1px solid #e9d7d6}.deliveryratio .ratio-operation td{font-size:15px;color:#9a78a7;background:#f2e8f7;padding:5px}.convertbridge{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;padding:11px;background:#e7efdf;border-radius:12px;font-size:13px}.convertbridge b{font-size:10px;color:#6e8b71}.convertbridge strong{font:500 19px Fredoka;color:#637b60}.deliveryresult{font-size:22px;line-height:1.4}.deliverychapter{margin-top:12px;background:#e9f1df;border-color:#cbdcb9}.deliverychapter .chaptericon{color:#96b18b}.deliverychapter.locked{background:#f2efeb;border-color:#e2dcd5}.deliverychapter.locked .chaptericon{color:#baaeb5}.learningchapter .secondary{font-size:14px;min-width:100px}.deliverychapter .primary:disabled{background:#e7dedf;color:#a88f9f;border-color:#e5d7de;box-shadow:none}
@media(max-width:700px){.deliverysheet{padding:17px 15px}.deliverysheet .sheethead h2{font-size:25px}.deliverysheet .eyebrow{font-size:8px;letter-spacing:1px}.deliverysteps{font-size:11px;gap:7px}.deliverysteps span{padding:7px 9px}.deliverygiven{gap:13px;padding:12px 8px}.deliverygiven b{font-size:21px}.deliverygiven small{font-size:8px}.dispatchcards{gap:8px}.dispatchcard{padding:8px 10px;display:block;text-align:center}.dispatchcard>div{justify-content:center;gap:2px}.dispatchcard .toy{width:44px}.dispatchcard span{font-size:14px}.dispatchcard strong{display:block;font-size:21px;text-align:center}.dispatchcard small{font-size:11px;margin:3px 0 0}.deliveryscene{padding:12px 13px 8px;border-radius:19px}.deliveryclock{gap:7px;flex-wrap:wrap}.deliveryclock>span{font-size:8px}.deliveryclock strong{font-size:23px}.deliveryclock small{font-size:9px;max-width:45%}.deliverytrack{margin-left:25px;margin-right:25px;height:61px}.trackscale{margin-left:25px;margin-right:25px}.courier{width:55px;height:55px}.deliverygoal i{font-size:28px}.deliverygoal small{font-size:12px}.deliveryplay{gap:5px}.deliveryplay .secondary{font-size:14px;padding:8px 13px}.deliveryplay .textbtn{font-size:10px}.deliveryobservation{font-size:12px;min-height:42px}.deliverycontrols{gap:8px}.deliverydial{padding:10px 8px}.deliverydial label{font-size:15px}.deliverydial .measuredial{gap:4px;flex-wrap:wrap}.deliverydial .measuredial input{width:76px;font-size:22px;max-width:42%}.deliverydial .iconbtn{width:35px;min-height:44px;height:44px}.deliverycontrols.twopaces .measuredial input{max-width:100%;width:70px;order:0}.deliverycontrols.twopaces .measuredial>span{flex-basis:100%;order:3;text-align:center;font-size:12px}.deliverycontrols.twopaces .iconbtn{width:29px;font-size:19px}.courierchoices{gap:6px}.courierchoices legend{font-size:17px}.courierchoices button{font-size:14px;padding:10px 5px}.deliverytables{gap:9px}.deliverytables>div>b{font-size:15px}.deliverybridge{padding:13px 9px}.deliveryratio td{font-size:21px;padding:8px 4px}.deliveryratio th{font-size:10px}.deliveryratio .ratio-operation td{font-size:14px}.convertbridge{font-size:11px;gap:5px;padding:8px 5px}.convertbridge b{font-size:9px}.convertbridge strong{font-size:16px}.deliveryresult{font-size:20px}.learningchapter .secondary{width:100%}}
@media(prefers-reduced-motion:reduce){.deliverysheet *{scroll-behavior:auto}}
/* The player and sidekick share the same scene coordinates and remain separate hit targets. */
.map .worldplayer{position:absolute;left:45.4%;bottom:13.7%;width:17.3%;aspect-ratio:2/3;min-height:44px;background:none;border:0;padding:0;transform:translateX(-50%);z-index:2;overflow:visible;touch-action:manipulation;user-select:none;-webkit-user-select:none;cursor:pointer}.worldplayer:before{content:'';position:absolute;left:17%;bottom:6%;width:66%;height:6%;border-radius:50%;background:#7a506f32;filter:blur(5px);transform:rotate(-8deg);pointer-events:none}.playerfigure{position:absolute;inset:0;display:block;transform-origin:50% 94%;animation:player-breathe 5.5s ease-in-out infinite;pointer-events:none}.playerpose{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;transition:opacity .17s ease;filter:drop-shadow(0 3px 2px #80506013)}.player-waving{opacity:0}.worldplayer:hover .playerpose{filter:drop-shadow(0 3px 4px #815b8b25) brightness(1.025)}.worldplayer:focus-visible{outline:3px solid #fff0a4;outline-offset:-8px;border-radius:38%}.playerhello{position:absolute;left:50%;bottom:99%;transform:translate(-50%,9px) scale(.94);width:max-content;max-width:220px;background:#fff9df;color:#694261;border:2px solid #ead4ad;border-radius:19px 19px 19px 5px;box-shadow:0 4px 0 #b78bab40;padding:11px 16px;font:500 clamp(13px,1.6dvh,19px)/1.3 Fredoka,system-ui,sans-serif;text-align:center;opacity:1;display:none;pointer-events:none;z-index:3}.playerhello:after{content:'';position:absolute;left:48%;top:100%;border:7px solid transparent;border-top-color:#ead4ad}.worldplayer.greeting .playerhello{display:block;opacity:1;transform:translate(-50%,0) scale(1)}.playerglimmer{position:absolute;right:5%;top:12%;font:clamp(22px,4dvh,42px) Fredoka;color:#fff0a3;text-shadow:0 2px #ddaf57;opacity:0;pointer-events:none}.worldplayer.greeting .playerglimmer{animation:player-sparkle .9s ease-out both}.worldplayer.player-wave .player-standing{opacity:0}.worldplayer.player-wave .player-waving{opacity:1}.worldplayer.player-wave .playerfigure{animation:player-greet .8s ease-in-out 2}.worldplayer.player-hop .playerfigure{animation:player-hop .85s cubic-bezier(.2,.65,.3,1) 2}.worldplayer.player-nod .playerfigure{animation:player-nod .85s ease-in-out 2}@keyframes player-breathe{0%,100%{transform:rotate(-.35deg) scale(1,1)}50%{transform:rotate(.35deg) scale(1.004,1.009)}}@keyframes player-greet{0%,100%{transform:rotate(0)}30%{transform:rotate(-1.5deg) translateY(-2px)}65%{transform:rotate(1deg)}}@keyframes player-hop{0%,100%{transform:translateY(0) scale(1)}15%{transform:scale(1.02,.97)}42%{transform:translateY(-12px) rotate(-1deg) scale(.99,1.015)}75%{transform:translateY(0) scale(1.02,.98)}}@keyframes player-nod{0%,100%{transform:rotate(0) scale(1)}35%{transform:rotate(1deg) scale(1.01,.98)}70%{transform:rotate(-.6deg) scale(1)}}@keyframes player-sparkle{0%{opacity:0;transform:translateY(8px) scale(.5)}35%{opacity:1;transform:translateY(-5px) scale(1.15)}100%{opacity:0;transform:translateY(-35px) scale(.7)}}@media(max-width:700px){.playerhello{font-size:15px;max-width:195px;padding:10px 13px;bottom:97%}}@media(prefers-reduced-motion:reduce){.worldplayer .playerfigure,.worldplayer.greeting .playerglimmer{animation:none}.worldplayer .playerpose,.worldplayer .playerhello{transition:none}.worldplayer.greeting .playerglimmer{opacity:1}.worldplayer.greeting .playerhello{transform:translate(-50%,0)}}
