body.ww-open{overflow:hidden}#lily-word-world{border:0;padding:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#d4f1ec;color:#543766;font-family:Manrope,Arial,sans-serif}#lily-word-world::backdrop{background:#153d4a99}.ww-world{position:relative;min-height:100%;overflow:hidden;isolation:isolate}.ww-world>header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;height:66px;padding:0 20px;gap:12px;font-weight:800}.ww-world button{font:800 18px Manrope,Arial,sans-serif;cursor:pointer;border:0;touch-action:manipulation;color:#594169}.ww-world button:focus-visible{outline:4px solid #d3317b;outline-offset:4px}.ww-world header button,.ww-tools button{width:46px;height:46px;background:#fff9;border:2px solid #fff;border-radius:16px}.ww-world button[hidden]{display:none}.ww-world main{position:relative;z-index:2;width:min(100%,1000px);margin:auto;min-height:calc(100dvh - 100px)}.ww-room{position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#b9e7dd,#d5f1e9 60%,#b5ded9)}.ww-floor{position:absolute;bottom:0;left:0;right:0;height:28%;background:repeating-linear-gradient(0deg,transparent 0 43px,#c78c6633 44px 46px),linear-gradient(#e6b18c,#f3d0ae);border-top:12px solid #c89b79}.ww-window{position:absolute;right:9%;top:13%;width:20%;height:34%;border:13px solid #ffc85d;border-radius:90px 90px 15px 15px;background:linear-gradient(#73cce7 55%,#b5d783 56%);box-shadow:0 8px 0 #fff6}.ww-window:before{content:'';position:absolute;left:46%;height:100%;width:8%;background:#ffdc86}.ww-window:after{content:'';position:absolute;top:48%;width:100%;height:9px;background:#ffdc86}.ww-shelf{position:absolute;left:0;top:15%;width:12%;height:55%;border:12px solid #ed9a82;border-left:0;border-radius:0 28px 20px 0;background:repeating-linear-gradient(0deg,#bd7766 0 25%,#ed9a82 26% 29%);display:flex;align-content:flex-start;flex-wrap:wrap;gap:3px;overflow:hidden;padding:12px 3px}.ww-shelf i{width:18%;height:20%;border-radius:4px;background:var(--book);box-shadow:inset 3px 0 #fff5;margin-top:7px}.ww-shelf.right{left:auto;right:-8%;top:56%;width:17%;height:25%;background:#b6a1d8;border-color:#b6a1d8}.ww-primary{background:#8854c9!important;color:white!important;border-radius:22px;padding:17px 26px;box-shadow:0 5px 0 #6438a2;min-height:58px}.ww-primary span{float:right;margin-left:20px}.ww-secondary{background:#fff9;border-radius:16px;padding:12px 18px;min-height:46px}.ww-cover{position:relative;margin:8px 18px 22px;height:calc(100dvh - 96px);border-radius:32px;overflow:hidden;box-shadow:0 10px 0 #aa9ac02b,0 8px 28px #327a7b25}.ww-cover>img{width:100%;height:100%;object-fit:cover;object-position:center 56%}.ww-title{position:absolute;top:5%;left:5%;right:5%;text-align:center;text-shadow:0 2px 0 #ffffff99}.ww-title small{font-size:14px;letter-spacing:4px;color:#255c64;font-weight:900}.ww-title h1{font-size:clamp(36px,6vw,65px);margin:0;color:#503378;letter-spacing:-2px}.ww-cover-actions{position:absolute;bottom:3%;left:7%;right:7%;display:grid;gap:10px;max-width:440px;margin:auto}.ww-cover-actions .ww-secondary{font-size:13px;background:#fff8}.ww-lesson{min-height:calc(100dvh - 148px);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;padding:10px 18px 52px;box-sizing:border-box}.ww-object{position:relative;width:clamp(140px,37vw,280px);height:clamp(140px,37vw,280px);display:grid;place-items:center;filter:drop-shadow(0 14px 6px #72533520)}.ww-object>img,.ww-object>svg{width:100%;height:100%;object-fit:contain}.ww-object.ww-small{width:clamp(100px,23vw,165px);height:clamp(100px,23vw,165px)}.ww-enter{animation:ww-enter 1.3s ease-out both}.ww-word{display:flex;gap:8px;font-size:clamp(70px,18vw,112px);font-weight:900;line-height:1}.ww-word span{display:inline-block;color:#8451bc;text-shadow:0 4px #fff7;transition:transform .35s,color .35s}.ww-word span:nth-child(2){color:#e06880}.ww-word span:nth-child(3){color:#2e9ca8}.ww-word.ww-blend{gap:36px;transition:gap .7s}.ww-word.ww-joined{gap:4px}.ww-lit{transform:translateY(-10px) scale(1.12);color:#d52c73!important}.ww-sound-dots{font-size:23px;color:#bc87cf;letter-spacing:30px;margin-left:30px}.ww-guide{position:absolute;bottom:28px;left:14px;width:clamp(70px,17vw,140px);height:clamp(85px,22vw,170px);object-fit:contain;z-index:3;pointer-events:none}.ww-tools{position:absolute;right:14px;bottom:30px;display:flex;gap:8px;z-index:4}.ww-steps{position:absolute;bottom:12px;left:40%;display:flex;gap:7px}.ww-steps i{width:9px;height:9px;border-radius:100%;background:#b89d8b}.ww-steps .current{background:#9453cd;transform:scale(1.3)}.ww-model,.ww-answer-model{font-size:54px;font-weight:900;letter-spacing:9px;color:#8055a0}.ww-slots,.ww-tray{display:flex;justify-content:center;gap:15px}.ww-slots button,.ww-tray button{width:clamp(65px,20vw,95px);height:clamp(70px,20vw,95px);border-radius:20px;font-size:52px;line-height:1;touch-action:none}.ww-slots button{background:#fff6;border:3px dashed #9e80bb;color:#ad92c0}.ww-slots .ww-filled{border:3px solid white;background:#ffdd72;color:#704ba1;box-shadow:0 5px 0 #caa554}.ww-tray{margin-top:14px;min-height:86px}.ww-tray button{background:#fff2c3;color:#8256b1;box-shadow:0 6px 0 #c9b38a;transition:transform .2s}.ww-tray button:nth-child(2){background:#bde8e5;color:#287e8b}.ww-tray button:nth-child(3){background:#ffd0dd;color:#b4406b}.ww-tray .selected{transform:translateY(-8px);outline:4px solid white}.ww-hand{position:absolute;pointer-events:none;font-size:55px;color:#e92c83;opacity:0;z-index:5;filter:drop-shadow(0 2px 2px white)}.ww-ghost{position:fixed;transform:translate(-50%,-50%);width:78px;height:78px;background:#ffdb76;border:4px solid white;border-radius:20px;font:900 54px Arial;text-align:center;color:#7947a5;pointer-events:none;z-index:100}.ww-hint{animation:ww-hint 1s ease-in-out 3}.ww-wrong{animation:ww-wrong .4s}.ww-choices{display:flex;gap:18px}.ww-choices button{font-size:clamp(35px,10vw,58px);padding:18px 25px;border-radius:22px;background:#fff6c7;box-shadow:0 6px 0 #cbb693;min-width:126px}.ww-choices button:nth-child(2){background:#d2e8ff}.ww-answer-model[hidden]{display:none}.ww-sentence{font-size:clamp(26px,6vw,44px);font-weight:900;text-align:center;color:#674681;background:#fffb;padding:15px 20px;border-radius:23px}.ww-sentence span{display:inline-block;transition:.2s}.ww-story .ww-object{margin:25px 0}.ww-naps .ww-object>img{transform:rotate(-8deg);animation:ww-breathe 3s ease-in-out infinite}.ww-zzz{position:absolute;top:0;right:0;color:#8056aa;font-size:25px;animation:ww-float 2s infinite}.ww-runs .ww-object{animation:ww-run 2.8s ease-in-out infinite}.ww-shines .ww-object{animation:ww-shine 2.5s ease-in-out infinite}.ww-jumps .ww-object{animation:ww-jump 1.5s ease-in-out infinite}.ww-water{transform-origin:bottom;transform:scaleY(.05)}.ww-fills .ww-water{animation:ww-fill 4s ease-in-out infinite}.ww-wears .ww-object>.ww-story-lily{width:110%;height:110%;position:absolute;bottom:-20%}.ww-wears .ww-object>svg{width:55%;height:55%;position:absolute;top:-17%;left:25%;transform:rotate(-10deg)}.ww-finish{min-height:calc(100dvh - 150px);display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;padding:0 20px 60px}.ww-finish .ww-object{width:160px;height:160px}.ww-finish h1{font-size:65px;margin:0}.ww-finish-stars{color:#eaa829;font-size:36px}.ww-library{padding:15px 24px 35px;text-align:center}.ww-library h1{font-size:27px}.ww-books{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 15px;margin:25px auto;max-width:650px}.ww-book{position:relative;background:var(--book);border-radius:8px 20px 20px 8px!important;box-shadow:inset 8px 0 #ffffff50,0 7px 0 #9e806838;padding:15px 8px;display:grid;justify-items:center;gap:8px}.ww-book img,.ww-book svg{width:100%;height:100px;object-fit:contain}.ww-book b{font-size:26px}.ww-book>span{position:absolute;right:9px;top:5px;color:#248956}.ww-status{position:absolute;bottom:2px;width:100%;text-align:center;font-size:12px;pointer-events:none}.ww-confetti{position:absolute;inset:0;pointer-events:none;z-index:9;overflow:hidden}.ww-confetti i{position:absolute;top:-15px;left:var(--x);width:9px;height:14px;background:var(--c);animation:ww-confetti 2.7s var(--d) linear both}.ww-resume{position:fixed;inset:0;margin:auto;width:100px;height:100px;border-radius:50%;background:#8b53cc!important;color:white!important;z-index:20;box-shadow:0 0 0 100vmax #35264188}.ww-paused *{animation-play-state:paused!important}
.ww-shelf.right{right:0;width:7%;box-sizing:border-box}.ww-cover>img{object-fit:contain;background:linear-gradient(#72cad0 60%,#f2b78f)}.ww-hand svg{width:58px;height:70px}.ww-shelf{box-shadow:inset -5px 0 0 #d68a71,4px 6px 12px #658b8b22}.ww-tray button{background-image:linear-gradient(#ffffff35,transparent 80%)}
@keyframes ww-enter{from{transform:translateX(-70px);opacity:0}to{transform:none;opacity:1}}@keyframes ww-hint{50%{transform:translateY(-7px);box-shadow:0 0 0 6px #ffed91}}@keyframes ww-wrong{25%,75%{transform:translateX(-6px)}50%{transform:translateX(6px)}}@keyframes ww-breathe{50%{transform:rotate(-8deg) scale(1.04)}}@keyframes ww-float{to{transform:translateY(-25px);opacity:0}}@keyframes ww-run{25%{transform:translate(40px,-10px) rotate(4deg)}75%{transform:translate(-40px,-7px) rotate(-4deg)}}@keyframes ww-jump{40%{transform:translateY(-50px) rotate(-5deg)}70%{transform:scale(1.1,.92)}}@keyframes ww-shine{50%{filter:drop-shadow(0 0 30px #fff887);transform:scale(1.12) rotate(5deg)}}@keyframes ww-fill{60%,85%{transform:scaleY(1)}}@keyframes ww-confetti{to{transform:translate(35px,110vh) rotate(560deg)}}
@media(min-width:700px){.ww-cover>img{object-fit:contain;object-position:75%;background:#76cbd0}.ww-title{right:50%;top:30%}.ww-cover-actions{right:55%;left:4%;bottom:22%}.ww-cover{max-width:1100px;margin-left:auto;margin-right:auto}.ww-cover .ww-title h1{font-size:52px}}@media(max-width:380px){.ww-lesson{gap:13px}.ww-world header{font-size:13px}.ww-books{gap:13px 9px}.ww-book img,.ww-book svg{height:75px}.ww-guide{width:65px}.ww-model{font-size:40px}.ww-tray{min-height:72px}}@media(max-height:550px) and (orientation:landscape){.ww-world>header{height:52px}.ww-lesson{min-height:calc(100dvh - 90px);padding-bottom:25px;gap:10px;flex-direction:row;flex-wrap:wrap;max-width:650px;margin:auto}.ww-object{width:150px;height:150px}.ww-object.ww-small{width:90px;height:90px}.ww-model{font-size:38px}.ww-slots button,.ww-tray button{width:60px;height:62px;font-size:39px}.ww-tray{min-height:65px;margin:0}.ww-cover{height:calc(100dvh - 75px)}.ww-cover-actions{bottom:12%}.ww-title h1{font-size:38px!important}.ww-guide{height:80px;width:70px}.ww-finish{flex-direction:row;flex-wrap:wrap;min-height:250px;max-width:700px;margin:auto}.ww-books{grid-template-columns:repeat(6,1fr);margin:12px auto}.ww-book img,.ww-book svg{height:65px}.ww-sentence{font-size:30px}}@media(prefers-reduced-motion:reduce){.ww-world *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}

/* Use the same inset, full-scene welcome composition as Maya's studio. */
#lily-word-world[data-phase=welcome]{overflow:hidden}
#lily-word-world[data-phase=welcome] .ww-world{height:100dvh;background:#edfbff}
#lily-word-world[data-phase=welcome] .ww-room{display:none}
#lily-word-world[data-phase=welcome] header>span{visibility:hidden}
#lily-word-world[data-phase=welcome] main{position:absolute;inset:78px 24px 24px;width:auto;min-height:0;max-width:1100px;margin:auto;border-radius:36px;overflow:hidden;box-shadow:0 10px 30px #539bbc18}
#lily-word-world[data-phase=welcome] .ww-cover{position:absolute;inset:0;height:auto;margin:0;max-width:none;border-radius:0;box-shadow:none}
#lily-word-world[data-phase=welcome] .ww-cover>img{position:absolute;inset:0;object-fit:cover;object-position:center 58%;background:#72cad0}
#lily-word-world[data-phase=welcome] .ww-title{top:8%;left:8%;right:8%}
#lily-word-world[data-phase=welcome] .ww-cover-actions{bottom:max(18px,env(safe-area-inset-bottom));left:8%;right:8%}
.ww-guide{width:clamp(125px,29vw,205px);height:clamp(155px,35vw,245px);left:12px;bottom:24px}
@media(max-width:650px){#lily-word-world[data-phase=welcome] main{inset:74px 14px 20px;border-radius:32px}}
@media(min-aspect-ratio:1/1){#lily-word-world[data-phase=welcome] .ww-cover>img{object-fit:contain;object-position:72% center}#lily-word-world[data-phase=welcome] .ww-title{left:4%;right:55%;top:28%}#lily-word-world[data-phase=welcome] .ww-cover-actions{left:5%;right:56%;bottom:12%}}
@media(max-height:600px) and (orientation:landscape){#lily-word-world[data-phase=welcome] main{inset:64px 14px 14px;border-radius:26px}#lily-word-world[data-phase=welcome] .ww-title{top:17%}.ww-guide{width:120px;height:140px;bottom:18px}}
