:root{--ink:#40384e;--muted:#746d7c;--cream:#fff8e8;--paper:#fffdf8;--coral:#ff6b81;--coral-dark:#e94e68;--mint:#51c6b7;--yellow:#ffd74b;--blue:#6fbde7;--purple:#a78bd4;--shadow:0 16px 42px rgba(72,61,86,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;overflow-x:hidden;color:var(--ink);background:var(--cream);font-family:ui-rounded,"Nunito","Arial Rounded MT Bold",system-ui,sans-serif}button,a{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:4px solid rgba(111,189,231,.6);outline-offset:4px}.hidden{display:none!important}
.sky-decor{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;opacity:.3}.sky-decor span{position:absolute;font-size:clamp(22px,4vw,48px);color:var(--coral)}.sky-decor span:nth-child(1){left:5%;top:18%}.sky-decor span:nth-child(2){right:7%;top:22%;color:var(--mint)}.sky-decor span:nth-child(3){left:12%;bottom:12%;color:var(--yellow)}.sky-decor span:nth-child(4){right:10%;bottom:9%;color:var(--purple)}
.topbar,main{width:min(1160px,calc(100% - 40px));margin:auto}.topbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-weight:900}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:var(--coral);color:white;font-size:24px;transform:rotate(-7deg);box-shadow:0 6px 0 #d84960}.star-counter{background:white;padding:10px 16px;border:2px solid #eee3d3;border-radius:99px;box-shadow:0 7px 20px rgba(72,61,86,.08)}
.screen{display:none;min-height:calc(100vh - 142px);animation:enter .35s ease both}.screen.active{display:flex}@keyframes enter{from{opacity:0;transform:translateY(12px)}}.hero{align-items:center;justify-content:space-between;gap:30px;padding:30px 0 70px}.hero-copy{flex:1 1 54%;max-width:640px}.eyebrow{margin:0 0 12px;color:var(--coral-dark);font-size:14px;font-weight:950;letter-spacing:.14em}h1{font-size:clamp(48px,7vw,84px);line-height:.98;margin:0 0 24px;letter-spacing:-.055em}h1 span{color:var(--coral)}.hero-sub{max-width:560px;font-size:clamp(17px,2vw,21px);line-height:1.7;color:var(--muted)}.primary{min-height:52px;border:0;border-radius:18px;padding:15px 24px;background:var(--coral);color:white;font-weight:900;box-shadow:0 7px 0 var(--coral-dark);transition:transform .15s,box-shadow .15s}.primary:hover{transform:translateY(-2px);box-shadow:0 9px 0 var(--coral-dark)}.primary:active{transform:translateY(5px);box-shadow:0 2px 0 var(--coral-dark)}.primary.big{margin-top:20px;padding:18px 28px;font-size:19px}
.mascot-stage{position:relative;flex:0 1 465px;min-width:360px}.mascot{width:100%;max-height:540px;filter:drop-shadow(0 20px 18px rgba(72,61,86,.14));animation:bob 3s ease-in-out infinite}@keyframes bob{50%{transform:translateY(-9px) rotate(1deg)}}.speech-bubble{position:absolute;right:-5px;top:15px;z-index:2;padding:16px 22px;background:white;border:3px solid var(--ink);border-radius:24px 24px 24px 5px;font-size:18px;transform:rotate(3deg);box-shadow:5px 7px 0 rgba(72,61,86,.12)}
.lesson{flex-direction:column;align-items:center;padding:25px 0 70px}.section-heading{display:flex;gap:20px;align-items:flex-start;width:min(760px,100%);margin:0 auto 26px}.section-heading h2,.finish h2{font-size:clamp(36px,6vw,62px);line-height:1.03;margin:0 0 12px;letter-spacing:-.04em}.section-heading p:last-child{color:var(--muted);margin:0;font-size:17px;line-height:1.5}.back{flex:none;width:52px;height:52px;border-radius:16px;border:2px solid #e9ddcb;background:white;font-size:24px;box-shadow:0 5px 0 #e9ddcb}.paper{width:min(700px,100%);background:var(--paper);border:3px solid #eee3d3;border-radius:32px;box-shadow:var(--shadow);text-align:center;padding:clamp(22px,5vw,42px)}.small-count{display:inline-block;padding:7px 13px;background:#dff6f2;color:#257b70;border-radius:99px;font-size:14px;font-weight:900}.word-stage{display:flex;align-items:center;justify-content:center;gap:32px;min-height:350px}.word-illustration{flex:0 0 42%;font-size:clamp(76px,12vw,120px);filter:drop-shadow(0 10px 4px rgba(72,61,86,.1))}.word-meta{flex:1}.word-meta h3,.activity h3{margin:16px 0 5px;font-size:clamp(35px,6vw,54px)}.word-meta p,.activity p{margin:0 0 22px;color:var(--muted);font-size:19px}.sound{min-height:52px;border:2px solid #c9e8e2;border-radius:17px;background:#e9f7f5;padding:10px 18px;font-weight:900;box-shadow:0 5px 0 #c9e8e2}.sound:active,.back:active{transform:translateY(3px);box-shadow:none}.next{margin:26px auto 0}.activity{min-height:420px;display:flex;flex-direction:column;align-items:center;gap:14px}.action-art{font-size:100px;line-height:1.2;margin:10px 0}.activity h3,.activity p{margin:0}.activity .primary{margin-top:8px}.progress{width:min(700px,100%);height:12px;margin:-4px auto 20px;background:#e9ddcb;border-radius:99px;overflow:hidden}.progress span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--mint),var(--blue));transition:width .35s}.quiz{min-height:400px}.quiz-art{font-size:96px;margin:14px 0}.question-button{display:block;width:100%;border:0;background:none;font-size:clamp(22px,4vw,32px);font-weight:950;margin:8px 0 20px}.answers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.answers button{min-height:66px;border:3px solid #eee3d3;border-radius:18px;background:white;font-weight:950;font-size:21px}.answers button:hover{border-color:var(--blue)}.answers button.correct{border-color:#55bd79;background:#dff7e8}.answers button.wrong{border-color:var(--coral);background:#ffe4e7;animation:shake .3s}@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.feedback{min-height:55px;margin:8px 0;font-size:17px;font-weight:850;line-height:1.5}.feedback.good{color:#26894c}.feedback.try{color:var(--coral-dark)}.quiz>.primary,.quiz>.sound{margin:5px}.word-orb{display:flex;flex-direction:column;align-items:center;justify-content:center;width:180px;height:180px;margin:20px auto 28px;border:8px solid white;border-radius:50%;background:var(--yellow);box-shadow:0 12px 0 #e5b92e,var(--shadow)}.word-orb span{font-size:24px}.word-orb strong{font-size:33px}.word-orb small{font-size:13px}.finish{flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 0 70px}.finish p{font-size:18px;color:var(--muted)}.finish .eyebrow{color:var(--coral-dark);font-size:14px}.finish-poppy{width:min(220px,58vw)}.finish-poppy svg{display:block;width:100%}.final-stars{font-size:clamp(38px,8vw,65px);letter-spacing:4px}.finish .primary{margin-top:20px}footer{min-height:60px;padding:20px;text-align:center;color:#948b99;font-size:13px}
@media(max-width:780px){.topbar,main{width:min(100% - 28px,680px)}.topbar{min-height:70px}.brand span:last-child{display:none}.hero{flex-direction:column;text-align:center;padding-top:36px}.hero-copy{display:flex;flex-direction:column;align-items:center}.mascot-stage{min-width:0;width:min(390px,95%)}.speech-bubble{right:0}.section-heading{gap:12px}.section-heading h2{font-size:clamp(32px,8vw,42px)}.word-stage{gap:10px}.word-illustration{flex-basis:40%}}
@media(max-width:460px){.word-stage{flex-direction:column;padding:22px;min-height:400px}.word-illustration{font-size:88px}.answers{gap:8px}.answers button{font-size:18px;padding:6px}.sounds button{font-size:16px}.question-button{font-size:22px}.speech-bubble{font-size:16px;padding:12px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}}

.top-actions{display:flex;align-items:center;gap:10px}.fullscreen-button{min-height:44px;padding:9px 14px;border:2px solid #e9ddcb;border-radius:15px;background:white;box-shadow:0 5px 0 #e9ddcb;font-weight:900}.fullscreen-button:active{transform:translateY(3px);box-shadow:0 2px 0 #e9ddcb}.fullscreen-button span:first-child{margin-right:5px;font-size:19px}
html.study-fullscreen body{min-height:100dvh}html.study-fullscreen .topbar{min-height:62px}html.study-fullscreen .screen{min-height:calc(100dvh - 62px)}html.study-fullscreen .lesson{padding:8px 0 14px}html.study-fullscreen .section-heading{margin-bottom:10px}html.study-fullscreen .section-heading h2{font-size:clamp(30px,5vw,46px);margin-bottom:5px}html.study-fullscreen .section-heading p:last-child{font-size:15px}html.study-fullscreen .paper{padding:clamp(14px,3vh,25px)}html.study-fullscreen .word-stage{min-height:0;height:min(55dvh,410px)}html.study-fullscreen .activity{min-height:0;height:min(61dvh,460px);gap:8px}html.study-fullscreen .action-art{font-size:clamp(64px,12vh,92px);margin:0}html.study-fullscreen .quiz{min-height:0}html.study-fullscreen .quiz-art{font-size:clamp(62px,11vh,90px);margin:4px 0}html.study-fullscreen .answers{margin:8px 0}html.study-fullscreen .feedback{min-height:42px;margin:3px 0}html.study-fullscreen .word-orb{width:min(22vh,160px);height:min(22vh,160px);margin:8px auto 12px}html.study-fullscreen .finish{min-height:calc(100dvh - 62px);padding:8px 0}html.study-fullscreen .finish-poppy{width:min(180px,25vh)}html.study-fullscreen footer{display:none}
@media(max-width:520px){.fullscreen-label{display:none}.fullscreen-button{width:46px;padding:7px}.fullscreen-button span:first-child{margin:0}.star-counter{padding:9px 12px}.top-actions{gap:7px}html.study-fullscreen .section-heading .eyebrow{margin-bottom:4px}html.study-fullscreen .section-heading p:last-child{display:none}html.study-fullscreen .back{width:44px;height:44px}html.study-fullscreen .word-stage{height:calc(100dvh - 190px);min-height:0}html.study-fullscreen .activity{height:calc(100dvh - 175px)}html.study-fullscreen .word-meta h3,html.study-fullscreen .activity h3{font-size:34px}html.study-fullscreen .word-illustration{font-size:72px}html.study-fullscreen .question-button{margin:3px 0 8px}html.study-fullscreen .answers button{min-height:54px}html.study-fullscreen .quiz-art{font-size:66px}}
html.study-fullscreen .hero{padding:8px 0;gap:10px}html.study-fullscreen .hero h1{font-size:clamp(42px,7vw,66px);margin-bottom:12px}html.study-fullscreen .hero-sub{margin:8px 0;font-size:17px}html.study-fullscreen .hero .primary.big{margin-top:8px}html.study-fullscreen .hero .mascot-stage{width:min(330px,38vh)}
