:root{--purple:#7953e8;--purple-deep:#5a35c8;--ink:#393352;--muted:#79728f;--green:#12a781;--cream:#fffaf1;--pink:#f39ab5;--line:#eee8f6;--path-color:#e3d9f4;font-family:'Baloo 2','Trebuchet MS','Segoe UI',sans-serif;color:var(--ink);background:#eae6f6;font-synthesis:none;font-size:16px}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,label.file-button{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #bd71ed;outline-offset:4px}button{touch-action:manipulation}a{color:var(--purple-deep)}button:active:not(:disabled){transform:translateY(2px)}svg{display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:800}img{max-width:100%;display:block}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon use[href="#i-star"],.icon use[href="#i-play"],.icon use[href="#i-spark"]{fill:currentColor;stroke-width:1}.app-shell{max-width:480px;min-height:100dvh;margin:auto;background:#fffdf9;position:relative;padding-bottom:106px;box-shadow:0 0 80px #5b3c9220;overflow:clip}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:14px 24px 8px;background:#fffdf9}.wordmark{text-decoration:none;color:var(--ink);display:flex;flex-direction:column;line-height:1}.brand{font-size:29px;font-weight:800;letter-spacing:1px;color:var(--purple);display:flex;align-items:center;gap:3px}.brand-dot{width:7px;height:7px;background:#ffba4b;border-radius:50%;align-self:flex-start;margin-top:7px}.brand-sub{font-size:10px;letter-spacing:3.2px;font-weight:800;margin-top:5px;color:#8c83a1}.top-actions{display:flex;align-items:center;gap:6px}.star-balance{display:flex;align-items:center;gap:4px;background:#fff3d6;color:#9a630c;border:1px solid #ffe3a2;border-radius:16px;padding:5px 10px;font-weight:800;font-size:18px;min-height:38px}.star-balance .icon{color:#efab31;width:22px;height:22px}.icon-button{width:44px;height:44px;border-radius:15px;background:#f3effb;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#807195;transition:background .2s}.sound-toggle{background:transparent;width:42px}.sound-toggle .icon{width:22px}.parent-button{width:38px;height:44px;background:transparent}.parent-button .icon{width:20px}.welcome-card{margin:7px 20px 25px;background:#8057e7;border-radius:28px;min-height:205px;position:relative;display:flex;color:white;padding:23px 20px;overflow:hidden;box-shadow:0 6px 0 #6b42cb}.welcome-card:after{content:'';width:180px;height:180px;border:27px solid #ffffff09;border-radius:50%;position:absolute;right:-39px;top:-78px;pointer-events:none}.welcome-copy{position:relative;z-index:2;max-width:73%}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.2px;color:#9687ac}.welcome-copy .eyebrow{font-size:8px;color:#e5d9ff;letter-spacing:1px;white-space:nowrap}.welcome-copy h1{font-size:27px;line-height:1.14;letter-spacing:-.5px;margin:12px 0 7px}.welcome-copy p{font-size:12px;color:#f0e7ff;font-weight:500}.hero-cta{border-radius:13px;background:#ffdc70;box-shadow:0 4px 0 #e8b548;display:flex;align-items:center;gap:7px;color:#67451b;font-weight:800;font-size:14px;padding:10px 17px;margin-top:16px;min-height:44px}.hero-cta .icon{width:16px;height:16px}.hero-art{position:absolute;width:45%;height:100%;right:-4px;top:0}.hero-mascot{position:absolute;width:145px;height:145px;right:-3px;top:43px;transform:rotate(-8deg);filter:drop-shadow(0 6px 1px #5532ad40)}.mascot-name{position:absolute;bottom:15px;right:14px;font-size:10px;letter-spacing:.3px;color:#f2eaff;transform:rotate(-5deg)}.hero-star{position:absolute;color:#ffd45c}.star-one{right:24px;top:28px;width:24px;height:24px;transform:rotate(12deg)}.star-two{right:133px;top:82px;width:15px;height:15px}.hero-orbit{position:absolute;border-radius:50%;background:#d0b4ff}.orbit-one{width:8px;height:8px;right:17px;top:111px}.orbit-two{width:5px;height:5px;right:106px;top:31px}.world-selector{display:flex;width:calc(100% - 40px);margin:0 20px 20px;align-items:center;text-align:left;background:#fff;border:1.5px solid #eee8f6;border-radius:19px;padding:11px 13px;gap:12px;box-shadow:0 3px 0 #f1ecf7}.world-mini{width:49px;height:49px;display:grid;place-items:center;border-radius:14px;flex-shrink:0}.world-art{width:72px;height:72px}.world-mini .world-art{width:45px;height:45px}.world-selector small{display:block;color:#8d819f;font-size:10px;font-weight:700;letter-spacing:1.2px}.world-selector strong{font-size:19px;line-height:1.4}.selector-chevron{margin-left:auto;background:#f6f2fd;border-radius:10px;padding:7px;color:#9785b5}.selector-chevron .icon{width:18px;height:18px}.journey{margin:0 20px;background:linear-gradient(180deg,var(--world-soft),#fffcf8 190px);border:1px solid #f0eaf5;border-radius:24px;padding:20px 17px 22px;position:relative}.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.journey-heading .eyebrow{color:var(--world);font-size:10px}.journey-heading h2{font-size:20px;line-height:1.25;margin-top:4px;letter-spacing:-.4px}.group-picker{background:#fff9;min-width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:var(--world)}.group-picker .icon{width:21px;height:21px}.journey-meta{display:flex;justify-content:space-between;font-size:11px;color:#88769a;margin-top:13px;gap:8px}.tiny-progress{height:6px;background:#dcd0f0;border-radius:8px;margin-top:7px;overflow:hidden}.tiny-progress span{display:block;height:100%;background:var(--world);border-radius:8px;transition:width .3s}.game-path{height:692px;position:relative;margin:19px -8px 0}.path-line{position:absolute;inset:24px 0 0;width:100%;height:640px}.path-stop{position:absolute;display:flex;align-items:center;flex-direction:column;width:150px;transform:translateX(-50%)}.stop-0{left:50%;top:18px}.stop-1{left:77%;top:134px}.stop-2{left:50%;top:246px}.stop-3{left:24%;top:358px}.stop-4{left:50%;top:470px}.stop-5{left:75%;top:582px}.level-button{width:77px;height:70px;display:grid;place-items:center;background:var(--level);border-radius:45%;border:4px solid #ffffffbf;box-shadow:0 8px 0 color-mix(in srgb,var(--level) 72%,#403556);position:relative;color:white;transition:box-shadow .15s,transform .15s;outline-offset:7px}.level-button>.icon{width:32px;height:32px;stroke-width:2.2}.level-button:active:not(:disabled){transform:translateY(5px);box-shadow:0 3px 0 color-mix(in srgb,var(--level) 72%,#403556)}.locked .level-button{background:color-mix(in srgb,var(--level) 33%,#fff);box-shadow:0 7px 0 color-mix(in srgb,var(--level) 28%,#d0c8dc);color:color-mix(in srgb,var(--level) 70%,#fff)}.locked .level-button>.icon{width:25px;height:25px;opacity:.8}.locked .level-title{color:#9b91a8}.locked .level-description{color:#a79db1}.level-title{margin-top:14px;font-size:14px;font-weight:800;white-space:nowrap;line-height:1.2}.level-description{font-size:10px;color:#92859d;margin-top:3px}.start-bubble{position:absolute;top:-28px;font-size:9px;color:#0e9472;background:white;border:1.5px solid #b2e7d3;padding:5px 11px;line-height:1;border-radius:9px;font-weight:800;white-space:nowrap;box-shadow:0 3px 0 #d5f0e4}.start-bubble:after{content:'';position:absolute;width:7px;height:7px;background:white;border-bottom:1px solid #b2e7d3;border-right:1px solid #b2e7d3;bottom:-5px;left:calc(50% - 4px);transform:rotate(45deg)}.unlocked:not(.finished) .level-button:before{content:'';position:absolute;inset:-11px;border:2px dashed #76cfb1;border-radius:50%;animation:breathe 3s ease-in-out infinite;pointer-events:none}.level-star{position:absolute;right:-8px;bottom:-9px;background:#fff4c8;border:2px solid white;border-radius:50%;padding:3px;color:#e5a32f}.level-star .icon{width:15px;height:15px}.path-decoration{position:absolute;pointer-events:none}.cloud{width:49px;height:17px;background:#e9e3f2;border-radius:30px}.cloud:before,.cloud:after{content:'';position:absolute;background:inherit;border-radius:50%;bottom:4px;width:23px;height:23px;left:9px}.cloud:after{width:17px;height:17px;left:27px}.cloud-one{left:12px;top:150px;opacity:.7}.cloud-two{right:0;top:465px;opacity:.6;transform:scale(.8)}.sprout{width:35px;height:40px;border-bottom:5px solid #c2e1ca;bottom:0}.sprout i{position:absolute;width:18px;height:28px;border-radius:100% 0 100% 0;background:#c8e6ca;left:4px;top:8px;transform:rotate(-50deg)}.sprout i+ i{left:15px;top:4px;transform:rotate(10deg);background:#a9d6b4}.sprout-one{left:30px;top:265px}.sprout-two{right:24px;top:59px;transform:scale(.75)}.path-spark{left:25px;top:570px;color:#e1c7ee;width:23px;height:23px}.gentle-note{font-size:11px;color:#8d7c9e;text-align:center;display:flex;align-items:center;justify-content:center;gap:5px}.gentle-note .icon{width:14px;height:14px;color:#e3a3bb;fill:#e3a3bb;stroke:none}.source-note{text-align:center;font-size:10px;color:#a59bad;margin:16px 0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);height:86px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#ffffffee;backdrop-filter:blur(14px);border-top:1px solid #eee8f5;display:flex;z-index:10;justify-content:space-around;border-radius:22px 22px 0 0;box-shadow:0 -5px 22px #6b4e9510}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;min-width:90px;gap:3px;color:#aaa0b6;position:relative;font-size:11px;font-weight:700;min-height:56px;border-radius:14px}.nav-item.active{background:#f3edff;color:var(--purple)}.nav-item .icon{width:24px;height:24px}.nav-item.active .icon{stroke-width:2.4}.page-intro{padding:22px 24px}.page-intro h1{font-size:28px;line-height:1.2;margin:8px 0}.page-intro p{color:var(--muted);font-size:15px;line-height:1.6}.collection-page,.rewards-page{padding-bottom:20px}.collection-banner{margin:0 20px 23px;background:#e6f6ee;border-radius:23px;display:flex;gap:8px;align-items:center;padding:12px 14px}.collection-banner .mascot{width:80px;height:80px;filter:drop-shadow(0 3px 1px #657b4b12);flex-shrink:0}.collection-banner strong{display:block;font-size:16px;color:#34725d}.collection-banner span{font-size:12px;line-height:1.5;color:#598574;display:block}.select-label{margin:0 22px 16px;display:block;font-size:12px;color:var(--muted);font-weight:700}.select-label select{display:block;width:100%;margin-top:6px;border:1.5px solid #e9e0f4;padding:12px;border-radius:14px;background:#fff;color:var(--ink);font-weight:700;font-size:16px;min-height:48px}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:0 20px}.word-tile{background:#fff;border:1.5px solid #eee6f5;border-radius:21px;padding:16px 10px 18px;position:relative;min-height:200px;text-align:center;box-shadow:0 4px 0 #f0eaf6}.word-tile img{width:100%;height:110px;object-fit:contain;margin-bottom:9px}.word-tile strong{display:block;font-size:21px;line-height:1.2;color:#654c9b}.word-tile>span:not(.tile-sound){font-size:13px;color:var(--muted);display:block;margin-top:5px}.tile-sound{display:grid;place-items:center;position:absolute;right:9px;top:9px;background:#f6f1ff;color:#a38cc8;width:26px;height:26px;border-radius:50%}.tile-sound .icon{width:14px;height:14px}.secret-word{background:#f6f3fa;border-style:dashed;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:none;min-height:200px}.secret-word>.icon{width:43px;height:43px;color:#cbbfdc;margin-bottom:15px;stroke-width:1.7}.secret-word strong{font-size:17px;color:#ada0bf}.secret-word>span:not(.tile-sound){font-size:11px;color:#a99bb9}.treasure-banner{margin:0 20px 25px;padding:22px 19px;display:flex;align-items:center;gap:14px;border-radius:23px;background:#fff1cf;position:relative}.treasure-banner>.icon{width:47px;height:47px;color:#d79628}.treasure-banner strong{display:block;font-size:25px;color:#9f701e;line-height:1.2}.treasure-banner span:not(.treasure-spark){font-size:12px;color:#a07a3c}.treasure-spark{margin-left:auto;color:#edc87b}.badge-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:0 20px}.badge-card{padding:18px 7px;text-align:center;border:1.5px solid #eee8f6;border-radius:22px;background:white}.badge-art{width:91px;height:91px;margin:0 auto 11px;position:relative;display:grid;place-items:center;border-radius:50%;background:#f3f0f7}.badge-art>.world-art{filter:grayscale(.8);opacity:.35}.badge-lock{position:absolute;bottom:-3px;right:0;background:#e8e2f0;color:#a597b6;border:3px solid white;border-radius:50%;padding:4px}.badge-lock .icon{width:15px;height:15px}.badge-card strong{display:block;font-size:15px;color:#9f93ae}.badge-card>span{display:block;color:#a69bb1;font-size:10px;margin-top:4px}.badge-card.earned .badge-art{background:var(--badge);box-shadow:0 0 0 5px #fcf2d9}.badge-card.earned .world-art{filter:none;opacity:1}.badge-card.earned strong{color:var(--ink)}.badge-card.earned>span{color:#32a481}.sheet{position:fixed;bottom:0;top:auto;left:0;right:0;margin:0 auto;max-width:480px;width:100%;max-height:88dvh;border:0;border-radius:29px 29px 0 0;padding:22px 22px max(30px,env(safe-area-inset-bottom));background:#fffdf9;color:var(--ink);overflow:auto;box-shadow:0 -12px 50px #31204b24;z-index:35;animation:sheet-in .22s ease-out}.sheet::backdrop{background:#2d1d4c70;backdrop-filter:blur(4px)}.sheet-backdrop{display:none}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.sheet-heading h2{font-size:25px;line-height:1.2}.sheet-heading .icon-button{background:#f0eaf8}.sheet-subtitle{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:20px}.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.world-card{background:var(--world-soft);border:2px solid transparent;border-radius:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:165px;padding:13px 7px}.world-card.selected{border-color:var(--purple)}.world-card strong{font-size:15px;margin-top:5px}.world-card>span{font-size:11px;margin-top:2px;display:flex;gap:4px;align-items:center;color:var(--muted)}.world-card>span .icon{width:12px;height:12px}.world-card:disabled .world-art{filter:grayscale(.4);opacity:.55}.world-card:disabled strong{color:#9f94ae}.group-list{display:flex;flex-direction:column;gap:11px}.group-card{display:flex;align-items:center;gap:12px;padding:12px;background:#f4effb;border-radius:15px;text-align:left;min-height:75px}.group-number{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#e8dcff;color:var(--purple);font-weight:800;flex-shrink:0}.group-card small{display:block;font-size:12px;color:var(--muted)}.group-card> .icon{margin-left:auto;color:var(--green)}.group-card:disabled{opacity:.5}.parent-source{display:flex;gap:12px;background:#f1ebfc;border-radius:18px;padding:18px 15px;margin:18px 0}.parent-source>.icon{color:var(--purple);width:29px;height:29px}.parent-source strong{font-size:16px}.parent-source p{font-size:13px;line-height:1.6;color:#827394;margin:6px 0}.parent-source a{font-size:13px}.parent-help h3{font-size:19px}.parent-help p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:7px}.parent-actions{display:flex;flex-direction:column;gap:12px;margin-top:23px}.secondary{width:100%;background:#f2ebfc;color:var(--purple-deep);border:1.5px solid #e2d6f6;border-radius:15px;min-height:50px;display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:700}.file-button{position:relative;overflow:hidden;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.text-button{background:transparent;color:#9583ac;font-weight:700;font-size:14px;min-height:46px;padding:9px 15px}.reset-button{color:#ad7895}.toast{position:fixed;left:50%;bottom:110px;transform:translate(-50%,15px);background:#413455f2;color:white;padding:13px 20px;border-radius:18px;z-index:100;opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;font-size:14px;line-height:1.5;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.primary{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;background:var(--purple);color:white;box-shadow:0 5px 0 var(--purple-deep);border:2px solid #ffffff28;border-radius:18px;min-height:58px;padding:12px 18px;font-size:20px;font-weight:800;line-height:1.3}.primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 var(--purple-deep)}.primary:disabled{opacity:.5}.sheet>.primary+.secondary{margin-top:18px}.next-group{font-size:16px;min-height:52px}.game-screen{position:fixed;inset:0;max-width:480px;margin:auto;background:#fffdf9;z-index:30;overflow-y:auto;padding:env(safe-area-inset-top) 22px env(safe-area-inset-bottom);animation:game-in .2s ease-out}.in-game{overflow:hidden}#game-content{min-height:100%;position:relative;padding-bottom:140px}.game-topbar{display:flex;align-items:center;gap:15px;padding:19px 0 14px}.game-topbar>.icon-button{background:transparent;color:#b0a3c0;width:34px}.game-progress{height:13px;border-radius:12px;background:#ede8f4;flex:1;overflow:hidden}.game-progress>span{height:100%;background:#49caa0;display:block;border-radius:12px;min-width:0;transition:width .2s;box-shadow:inset 0 3px 0 #ffffff40}.game-star{display:flex;align-items:center;color:#bd8c27;font-size:15px;font-weight:700;gap:4px}.game-star .icon{width:20px;height:20px;color:#f3bb46}.game-heading{text-align:center;margin:13px 0 20px}.game-heading .eyebrow{color:#a68abe;font-size:10px}.game-heading h1{font-size:28px;line-height:1.25;margin:8px 0 7px;outline:none}.game-heading p{font-size:14px;color:#9787a5;line-height:1.5;min-height:21px}.discovery-card{border:2px solid #e9e0f5;border-radius:30px;padding:20px 20px 19px;background:#fff;box-shadow:0 7px 0 #f0e9f8;text-align:center;max-width:345px;margin:0 auto}.discovery-card img{height:min(29vh,235px);width:100%;object-fit:contain}.discovery-card h2{font-size:38px;color:var(--purple);line-height:1.2;margin-top:13px}.discovery-card>p{font-size:19px;color:#877594;margin-top:3px}.word-speaker{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#f0e9fe;color:var(--purple);border-radius:16px;font-weight:700;font-size:16px;min-height:48px;padding:10px 19px;margin-top:17px}.word-speaker .icon{width:22px;height:22px}.discover-dots{display:flex;justify-content:center;gap:7px;margin:25px}.discover-dots>span{width:8px;height:8px;border-radius:10px;background:#e2d8ef}.discover-dots .active{background:#ae8ae8;width:25px}.game-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);padding:16px 23px max(24px,env(safe-area-inset-bottom));z-index:32;background:linear-gradient(0deg,#fffdf9 75%,#fffdf900)}.listen-orb{width:108px;height:108px;position:relative;background:#e8dcff;box-shadow:0 6px 0 #cbb5ee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:25px auto 31px;border:5px solid #f7f2ff;border-radius:34px;color:var(--purple);z-index:1}.listen-orb>.icon{width:40px;height:40px;stroke-width:2.2}.listen-orb>span{font-size:11px;font-weight:700;white-space:nowrap}.listen-orb i{position:absolute;inset:-14px;border:1.5px solid #e9e0f6;border-radius:43px;pointer-events:none}.listen-orb i+i{inset:-24px;border-color:#f1ebf8;border-radius:49px}.choice-grid{display:flex;gap:13px;flex-wrap:wrap;justify-content:center;max-width:370px;margin:0 auto}.image-choice{width:calc(50% - 7px);aspect-ratio:1.08;background:#fff;border:2px solid #ece4f5;box-shadow:0 5px 0 #eee7f6;border-radius:24px;padding:15px;position:relative;transition:border-color .15s}.image-choice img{width:100%;height:100%;object-fit:contain}.image-choice.wrong-choice{opacity:.42;border-color:#f4baca}.image-choice.right-choice{border-color:#4ccea2;background:#effcf5;box-shadow:0 5px 0 #b9ebd6}.choice-check{position:absolute;right:6px;top:6px;background:#26b88c;border-radius:50%;padding:4px;color:white;width:25px;height:25px}.balloons{gap:35px 15px;padding:4px 4px 26px;align-items:start}.balloons .image-choice{width:calc(45% - 7px);aspect-ratio:.95;border-radius:50% 50% 45% 45%;background:#eaf8fb;border-color:#d0ebf3;box-shadow:inset -4px -5px 0 #87cbd126;animation:float 3.5s ease-in-out infinite}.balloons .image-choice:nth-child(2){background:#fff1d9;border-color:#ffe4b7;margin-top:17px;animation-delay:-1.3s}.balloons .image-choice:nth-child(3){background:#fbe6f0;border-color:#f6cee0;animation-delay:-2.3s}.balloons .image-choice img{border-radius:35%;mix-blend-mode:multiply}.balloon-knot{position:absolute;bottom:-9px;left:calc(50% - 8px);width:16px;height:13px;background:#c1e3ec;clip-path:polygon(50% 0,100% 100%,0 100%)}.balloons .image-choice:nth-child(2) .balloon-knot{background:#f5d89f}.balloons .image-choice:nth-child(3) .balloon-knot{background:#ecc0d3}.balloon-string{position:absolute;bottom:-31px;left:50%;width:1px;height:23px;background:#cfc3d8;transform:rotate(-8deg)}.balloons .right-choice{animation:none;border-color:#4ccea2}.balloons .wrong-choice{animation:none}.answer-feedback{min-height:77px;margin:22px auto 0;display:flex;align-items:center;justify-content:center;gap:10px;max-width:370px;line-height:1.4;padding:10px;border-radius:19px}.answer-feedback strong{display:block;font-size:17px}.answer-feedback small{display:block;font-size:14px;font-weight:500;margin-top:4px}.answer-feedback.correct{background:#e5f8ef;color:#218460}.answer-feedback.try-again{background:#fff1e9;color:#bf825b}.answer-feedback>.icon{width:27px;height:27px}.small-mascot{display:flex;justify-content:center;gap:7px;align-items:center;min-height:54px}.small-mascot .mascot{width:55px;height:55px}.small-mascot>span{font-size:12px;color:#9f8caf;max-width:230px;line-height:1.5}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;max-width:390px;margin:35px auto 0}.memory-card{aspect-ratio:.77;position:relative;perspective:600px;padding:0;background:none}.memory-back,.memory-front{position:absolute;inset:0;display:grid;place-items:center;border-radius:17px;backface-visibility:hidden;transition:transform .25s}.memory-back{background:#a98be8;border:3px solid #c7b3ef;box-shadow:0 5px 0 #8c69d2}.memory-back .icon{width:35px;height:35px;color:#ddd0f7;fill:#c3acf0}.memory-front{background:white;border:2px solid #e6dcf4;box-shadow:0 5px 0 #e4daf2;transform:rotateY(180deg);padding:6px}.memory-front img{width:100%;height:100%;object-fit:contain}.memory-card.flipped .memory-front{transform:rotateY(0)}.memory-card.flipped .memory-back{transform:rotateY(-180deg)}.memory-card.matched .memory-front{border-color:#78d5b2;box-shadow:0 5px 0 #bfe9d7;background:#f4fff9}.memory-tip{text-align:center;margin-top:28px;font-size:14px;color:#9480a5;display:flex;align-items:center;justify-content:center;gap:7px}.memory-tip .icon{color:var(--green)}.puzzle-board{display:grid;grid-template-columns:1fr 1fr;width:min(72vw,270px);aspect-ratio:1;margin:24px auto 22px;gap:3px;background:#e7ddf4;padding:7px;border-radius:22px;box-shadow:0 6px 0 #d3c6e7}.puzzle-slot{aspect-ratio:1;background:#faf7ff;position:relative;border-radius:9px;overflow:hidden;padding:0}.puzzle-slot:before{content:'';position:absolute;inset:0;background-image:var(--picture);background-size:200% 200%;background-position:var(--piece-x) var(--piece-y);opacity:.15;pointer-events:none}.puzzle-slot.placed:before{opacity:1;background-color:white}.puzzle-slot>span{display:grid;place-items:center;position:absolute;inset:0;background:#b9a0db10;color:#c5b0e0;pointer-events:none}.puzzle-slot .icon{width:20px;height:20px;opacity:.6}.puzzle-pieces{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:0 auto;max-width:350px}.puzzle-piece{aspect-ratio:1;border:3px solid #e1d5f3;border-radius:13px;background-color:white;background-image:var(--picture);background-size:200% 200%;background-position:var(--piece-x) var(--piece-y);box-shadow:0 4px 0 #dfd3ef}.puzzle-piece.selected{border-color:#9e6cde;box-shadow:0 4px 0 #9e6cde;outline:3px solid #dbbdf8;outline-offset:3px}.puzzle-piece:disabled{opacity:.15}.puzzle-feedback{min-height:30px;text-align:center;font-size:13px;color:#bd855b;margin-top:18px}.puzzle-word{text-align:center;position:relative;padding-right:38px}.puzzle-word strong{font-size:30px;color:var(--purple);display:block;line-height:1.2}.puzzle-word>span{display:block;color:#9985aa;font-size:16px;margin-top:4px}.puzzle-word .icon-button{position:absolute;right:12px;top:5px;color:var(--purple)}.celebration{min-height:calc(100dvh - 20px);display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 3px 20px;position:relative}.celebration-label{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#b19ac4}.reward-stars{display:flex;align-items:center;gap:13px;margin-top:30px;color:#ffcd56;filter:drop-shadow(0 4px 0 #e5b346)}.reward-stars .icon{width:38px;height:38px}.reward-stars .icon:nth-child(2){width:55px;height:55px;transform:translateY(-12px)}.celebrate-mascot{width:180px;height:170px;margin-top:8px;animation:float 3s ease-in-out infinite}.celebration h1{font-size:34px;line-height:1.2;margin-top:9px;outline:none}.celebration p{font-size:16px;color:#9c86ae;max-width:280px;line-height:1.6;margin:11px 0 16px}.reward-pill{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#fff2d2;border:1px solid #ffe2a0;border-radius:18px;color:#af7e23;font-size:18px;font-weight:700}.reward-pill .icon{color:#efb333}.reward-words{display:flex;justify-content:center;margin:24px 0 10px;gap:8px;max-width:100%}.reward-words>span{width:58px;height:58px;padding:6px;border:1px solid #eee5f7;border-radius:16px;background:white}.reward-words img{width:100%;height:100%;object-fit:contain}.celebration-footnote{font-size:12px;color:#aa96ba;margin:5px 0 27px}.celebration>.primary{margin-top:auto;position:relative;z-index:1}.celebration>.text-button{margin-top:8px}#game-content:has(.celebration){padding-bottom:0}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;left:calc(4% + var(--i)*6%);top:8%;width:8px;height:14px;border-radius:3px;background:var(--c);transform:rotate(calc(var(--i)*37deg));animation:confetti 2.5s ease-out both;animation-delay:calc(var(--i)*.04s)}.missing-art{display:grid;place-items:center;height:100%;font-size:35px;color:var(--purple)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes breathe{0%,100%{opacity:.5;transform:scale(.98)}50%{opacity:1;transform:scale(1.04)}}@keyframes sheet-in{from{transform:translateY(45px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes game-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes confetti{from{opacity:0;translate:0 -35px}15%{opacity:1}to{opacity:0;translate:12px 400px;rotate:180deg}}
@media(min-width:700px){body{background:radial-gradient(circle at 10% 20%,#d6ecf0 0,transparent 30%),radial-gradient(circle at 90% 75%,#f1ddef 0,transparent 35%),#eae6f6}.app-shell{border-left:1px solid #e1d8ee;border-right:1px solid #e1d8ee}.game-screen{box-shadow:0 0 0 999px #eae6f6}.welcome-copy h1{font-size:31px}.hero-mascot{right:5px;width:160px;height:160px;top:34px}.welcome-copy p{font-size:14px}.welcome-copy .eyebrow{font-size:9px}.journey-heading h2{font-size:22px}.welcome-card{min-height:222px}}
@media(max-width:360px){.topbar{padding-left:19px;padding-right:14px}.top-actions{gap:2px}.brand{font-size:26px}.star-balance{font-size:16px;padding:5px 8px}.welcome-card{margin-left:14px;margin-right:14px;padding-left:16px;min-height:202px}.welcome-copy h1{font-size:25px}.welcome-copy .eyebrow{font-size:7px}.welcome-copy p{font-size:11px}.hero-mascot{width:126px;height:126px;right:-7px;top:58px}.mascot-name{font-size:9px;right:7px}.world-selector{width:calc(100% - 28px);margin-left:14px;margin-right:14px}.journey{margin-left:14px;margin-right:14px;padding-left:13px;padding-right:13px}.journey-heading h2{font-size:18px}.level-button{width:69px;height:64px}.level-title{font-size:12px}.path-stop{width:134px}.journey-meta{font-size:10px}.game-screen{padding-left:17px;padding-right:17px}.game-heading h1{font-size:25px}.game-heading p{font-size:12px}.listen-orb{width:92px;height:92px;margin-top:19px;margin-bottom:30px}.image-choice{aspect-ratio:1.12}.memory-grid{gap:8px}.world-card strong{font-size:13px}.word-tile strong{font-size:19px}.collection-grid{gap:10px;padding:0 15px}.collection-banner{margin-left:15px;margin-right:15px}.word-tile{min-height:185px}.word-tile img{height:95px}}
@media(max-height:730px){.game-heading{margin:5px 0 13px}.game-heading h1{font-size:25px}.game-heading p{font-size:12px}.game-topbar{padding-top:10px;padding-bottom:7px}.discovery-card{padding:13px 18px}.discovery-card img{height:25vh}.discovery-card h2{font-size:31px;margin-top:7px}.word-speaker{margin-top:12px}.listen-orb{width:83px;height:83px;margin:20px auto 24px;border-radius:28px}.listen-orb>.icon{width:30px;height:30px}.listen-orb>span{font-size:9px}.choice-grid{max-width:300px;gap:10px}.image-choice{width:calc(50% - 5px);aspect-ratio:1.23;padding:10px}.balloons{gap:28px 15px;max-width:310px}.balloons .image-choice{width:calc(43% - 6px);aspect-ratio:1}.answer-feedback{min-height:59px;margin-top:15px}.answer-feedback strong{font-size:15px}.game-bottom{padding-top:13px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.primary{min-height:52px;font-size:18px}.puzzle-board{width:210px;margin-top:15px;margin-bottom:17px}.puzzle-pieces{max-width:290px}.memory-grid{margin-top:25px}.celebration{padding-top:30px}.reward-stars{margin-top:22px}.celebrate-mascot{width:140px;height:130px}.celebration h1{font-size:29px}.celebration p{font-size:14px;margin:8px 0 13px}.reward-words{margin-top:15px}.celebration-footnote{margin-bottom:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
