@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--ink:#233c35;--green:#247568;--cream:#fbfaf5;--muted:#6e7972;--line:#e3e8df;--yellow:#f8ce58}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px 'DM Sans',sans-serif}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e69729;outline-offset:4px}header{height:100px;max-width:1320px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 52px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;gap:10px;align-items:center;color:var(--ink);font:700 30px 'Outfit',sans-serif;line-height:1}.brand-icon{color:var(--green);font-size:51px}.brand-sub{display:block;font:600 9px 'DM Sans',sans-serif;letter-spacing:2.5px;margin-top:7px}nav{display:flex;gap:28px}.nav{border:0;background:none;padding:13px 0;color:var(--muted);font-size:14px}.nav.active{color:var(--green);border-bottom:2px solid var(--green);font-weight:700}.header-tag{font-size:9px;letter-spacing:1.6px;color:var(--muted)}main{max-width:1216px;margin:auto;padding:34px 0 60px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--green)}.hero{background:#eaf1e6;border-radius:24px;padding:48px 48px 42px;display:grid;grid-template-columns:1.1fr 1fr;position:relative;overflow:hidden;min-height:340px}.hero h1{font:600 clamp(36px,4.3vw,58px)/1.08 'Outfit',sans-serif;letter-spacing:-1.8px;max-width:490px;margin:18px 0}.hero h1 em{font-style:normal;color:var(--green)}.hero p{color:#586b5f;line-height:1.7;max-width:390px;font-size:15px}.primary{display:inline-flex;align-items:center;gap:26px;background:var(--green);color:white;border:0;border-radius:10px;padding:15px 22px;font-weight:600;font-size:14px}.hero .primary{margin-top:13px}.art{width:100%;height:290px;align-self:center}.welcome{display:flex;justify-content:space-between;align-items:center;margin:35px 0 27px}.welcome h2{font:600 25px 'Outfit',sans-serif;margin:0 0 7px}.welcome p{font-size:14px;margin:0;color:var(--muted)}.grade-wrap{background:white;border:1px solid var(--line);padding:9px 13px;border-radius:10px;display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}select{font:600 14px 'DM Sans',sans-serif;color:var(--ink);background:white;border:0;padding:7px}.tabs{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.tab{background:transparent;border:1px solid var(--line);border-radius:24px;padding:10px 19px;font-size:13px}.tab.active{background:var(--ink);color:white;border-color:var(--ink)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.card-visual{height:146px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.reading{background:#efe9fb}.math{background:#fff0ce}.writing{background:#fde8de}.card-visual:before,.card-visual:after{content:'';position:absolute;width:130px;height:130px;border:1px solid #ffffff99;border-radius:50%;left:-20px;top:-50px}.card-visual:after{left:auto;top:auto;right:-30px;bottom:-65px;width:180px;height:180px}.visual-letter{font:600 65px 'Outfit';transform:rotate(-9deg);color:#76609b;text-shadow:4px 5px 0 #ffffff}.math .visual-letter{color:#bb7a23;transform:rotate(5deg)}.writing .visual-letter{color:#c5765d}.mini-star{position:absolute;right:24%;top:24%;color:#fff;font-size:30px}.subject-chip{position:absolute;left:17px;top:15px;background:#ffffffb5;padding:5px 9px;font-size:9px;letter-spacing:1.2px;border-radius:5px;font-weight:700}.card-body{padding:23px;display:flex;flex-direction:column;flex:1}.card h3{font:600 23px 'Outfit';margin:9px 0}.card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 22px}.lesson-meta{font-size:10px;letter-spacing:1px;color:var(--muted)}.card-button{margin-top:auto;background:none;border:0;border-top:1px solid var(--line);padding:17px 0 0;display:flex;justify-content:space-between;color:var(--green);font-size:13px;font-weight:700}.bottom-banner{border:1px solid #e7e3cc;background:#f5f2e5;border-radius:14px;margin-top:28px;padding:20px 26px;display:flex;align-items:center;gap:18px}.bottom-banner h3{font-size:14px;margin:0 0 4px}.bottom-banner p{font-size:12px;margin:0;color:var(--muted)}.banner-icon{font-size:33px;color:#a18b40}.bottom-banner button{margin-left:auto;white-space:nowrap;border:0;background:none;font-size:12px;text-decoration:underline}footer{max-width:1216px;margin:auto;padding:25px 0;display:flex;justify-content:space-between;border-top:1px solid var(--line);color:var(--muted);font-size:11px}footer button{border:0;background:none;font-size:11px}dialog{border:0;border-radius:22px;width:min(620px,92vw);padding:25px;box-shadow:0 20px 100px #18352b33;max-height:90vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#182f2c99;backdrop-filter:blur(5px)}.lesson-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.lesson-top button{border:0;background:#f0f3ed;border-radius:50%;width:34px;height:34px}#activity{padding:20px 10px;text-align:center}#activity h2{font:600 29px/1.3 'Outfit'}#activity p{line-height:1.7}.meter{height:7px;background:#e9eee7;border-radius:10px;margin:15px 0 28px;overflow:hidden}.meter span{display:block;background:var(--green);height:100%}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.option{border:2px solid var(--line);background:white;padding:17px;border-radius:12px;font-size:20px}.option:hover{border-color:var(--green)}.option.correct{background:#e4f3e4;border-color:#51946b}.option.wrong{background:#fff0e8;border-color:#df956d}.read-button{border:0;background:#edf1e9;border-radius:20px;padding:8px 15px;font-size:13px}.feedback{min-height:35px;font-size:14px;margin:16px 0}.passage{background:#f4f1e7;padding:18px;border-radius:12px;text-align:left;font-size:18px}textarea{width:100%;min-height:130px;font:18px/1.6 'DM Sans',sans-serif;border:2px solid var(--line);padding:14px;border-radius:12px;margin-top:18px;resize:vertical}.checklist{text-align:left;background:#f1f6ed;padding:18px 24px;border-radius:12px;font-size:14px;line-height:2}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.stat{background:white;padding:26px;border:1px solid var(--line);border-radius:15px}.stat b{font:600 36px 'Outfit';display:block;color:var(--green)}.stat span{font-size:13px;color:var(--muted)}.garden{background:#eaf1e6;border-radius:20px;padding:35px;text-align:center;margin:25px 0}.flowers{font-size:45px;letter-spacing:10px;line-height:1.8}.info{max-width:780px;background:white;border:1px solid var(--line);border-radius:18px;padding:30px;margin-top:24px}.info h3{font:600 22px 'Outfit'}.info p{color:#5c6c62;line-height:1.8}.saved-note{font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 24px;border-radius:10px;background:var(--ink);color:white;display:none;z-index:10}h1.page-title{font:600 40px 'Outfit';margin:15px 0}button:disabled{cursor:default;opacity:.7}@media(min-width:1450px){main{padding-top:42px}}@media(max-width:1280px){main,footer{margin-left:38px;margin-right:38px}}@media(max-width:760px){header{padding:16px 22px;height:auto;flex-wrap:wrap;gap:18px}.brand{font-size:25px}.brand-icon{font-size:42px}.header-tag{display:none}nav{gap:22px}main{margin:0;padding:22px 20px 40px}.hero{padding:30px;grid-template-columns:1fr}.hero h1{font-size:42px}.art{height:210px;margin-top:15px}.cards{grid-template-columns:1fr}.card-visual{height:135px}.welcome{align-items:flex-start;gap:18px;flex-direction:column}.welcome h2{font-size:24px}.bottom-banner{padding:18px;flex-wrap:wrap}.bottom-banner button{margin-left:50px}.stats{gap:8px}.stat{padding:17px 10px}.stat b{font-size:28px}.stat span{font-size:11px}footer{margin:0 20px;gap:20px;flex-wrap:wrap}.options{grid-template-columns:1fr 1fr}.option{font-size:17px;padding:14px}#activity{padding:14px 0}.hero p{font-size:14px}.header-tag{display:none}}

[hidden]{display:none!important}
/* Guided learning and creative studio */
.hero-pills{display:flex;gap:16px;margin-top:23px;font-size:10px;color:#526b56;flex-wrap:wrap}.mission-route{display:flex;justify-content:space-between;font-size:10px;color:#6c7c6f;background:#f4f6ef;border-radius:6px;padding:10px;margin-bottom:18px}.mission-route span{color:#a2b49d}.mission-status{font-size:10px;color:var(--green);margin:-4px 0 16px}.guide-message{display:flex;align-items:center;gap:12px;background:#f4f7ef;text-align:left;padding:10px 15px;border-radius:12px;font-size:12px;color:#506950;margin:15px 0}.goal{background:#f9f1db;padding:12px;border-radius:9px;font-size:14px}.example{background:#f2eee0;padding:18px;border-radius:12px;text-align:left;margin:20px 0}.example b{font-size:13px;color:#79693d}.example p{margin:8px 0 0;font-size:15px}.lesson-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:25px;flex-wrap:wrap}.visual-board{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:#f4f6ef;border-radius:16px;min-height:100px;padding:22px 14px;margin:20px 0;color:var(--green)}.visual-token{background:white;box-shadow:0 3px 0 #dfe7d9;border-radius:10px;font:600 28px 'Outfit';padding:12px 18px}.sequence-board .visual-token{font-size:17px;padding:12px}.sentence-model{font:600 30px 'Outfit';color:#785290}.count-group{display:flex;gap:5px;flex-wrap:wrap;max-width:230px;font-size:27px}.added{border:2px dashed #9cb98e;border-radius:9px;padding:7px}.ten-frame{display:grid;grid-template-columns:repeat(5,41px);gap:4px;background:#b6c6aa;padding:4px;border-radius:5px}.ten-cell{width:41px;height:41px;display:grid;place-items:center;background:#fff}.ten-cell i{background:var(--green);width:27px;height:27px;border-radius:50%}.base-board{gap:30px;align-items:flex-end}.blocks{display:flex;align-items:flex-end;gap:5px;flex-wrap:wrap;justify-content:center;max-width:180px;min-height:65px}.ten-rod{display:block;width:12px;height:80px;background:repeating-linear-gradient(to top,#67a79b 0,#67a79b 7px,#fff 7px,#fff 8px);border:1px solid #4f877d;border-radius:2px}.one-block{height:12px;width:12px;background:#dfae4c;display:block;border:1px solid #bd8a28}.base-board small{font-size:12px;display:block;margin-top:10px}.seed-array{display:grid;gap:6px;color:var(--green);font-size:26px;line-height:26px}.question-count{font-size:12px;margin:10px;color:var(--muted)}.check-note{font-size:12px;color:#876a2c;background:#fcf3dc;border-radius:10px;padding:9px}.hint-zone{margin-top:18px}.hint-button{border:0;background:none;color:#926a25;font-size:13px;text-decoration:underline;text-underline-offset:3px}#hint-text{background:#fff4d6;border:1px solid #eadcae;padding:14px;border-radius:10px;color:#7a602e;font-size:14px;text-align:left}.feedback{padding:10px 0;line-height:1.6;font-size:15px}.word-slots{display:flex;gap:10px;justify-content:center;margin:24px 0}.word-slots span{display:grid;place-items:center;background:#f0ebf7;border:2px dashed #c8b8dd;border-radius:12px;width:64px;height:70px;font:600 34px 'Outfit';color:#766087}.letter-tray{display:flex;gap:12px;justify-content:center;margin:24px 0}.letter-tile{background:#fff4cd;border:1px solid #e2ca82;box-shadow:0 4px 0 #dfc780;border-radius:12px;height:62px;width:62px;font:600 29px 'Outfit';color:#806322}.letter-tile:disabled{opacity:.35}.build-actions{display:flex;gap:16px;justify-content:center;align-items:center}.checklist label{display:block;margin:8px 0;line-height:1.6}.checklist input{width:19px;height:19px;vertical-align:middle;accent-color:var(--green)}.studio-tabs{display:flex;justify-content:space-between;font-size:12px;color:#7a6c56;margin:25px 0 10px}.studio-tabs span:last-child{color:var(--muted)}#drawing{width:100%;height:auto;background:#fffdf7;border:2px solid #e6e1cf;border-radius:12px;touch-action:none;display:block;cursor:crosshair;background-image:radial-gradient(#d8ddce 1px,transparent 1px);background-size:20px 20px}.drawing-tools{display:flex;align-items:center;gap:10px;margin:12px 0 22px;font-size:11px;color:var(--muted);flex-wrap:wrap}.drawing-tools .read-button{margin-left:auto}.ink{border:3px solid white;border-radius:50%;width:27px;height:27px;background:var(--ink-color);box-shadow:0 0 0 1px #ddd}.ink.selected{box-shadow:0 0 0 2px var(--green)}.writing-label{display:block;text-align:left;font-weight:700;font-size:14px}textarea{margin-top:8px}.writing-preview{white-space:pre-wrap;background:#fffae9;border:1px solid #e9dfbb;padding:20px;text-align:left;line-height:1.8;border-radius:12px;margin-bottom:20px}.celebration{font-size:65px;margin-top:20px}.result-card{background:#edf3e8;border-radius:15px;padding:23px;margin:23px 0;display:flex;flex-direction:column;gap:8px}.result-card b{font:600 35px 'Outfit';color:var(--green)}.result-card span{font-size:13px}.result-card small{font-size:12px;line-height:1.7;color:#5f715b}.offline-card{background:#fff4dc;border-radius:12px;text-align:left;padding:20px}.offline-card p{margin-bottom:0;font-size:14px}.full-info{max-width:none}.record{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px 0}.record h4{font:600 21px 'Outfit';margin:8px 0}.record p{font-size:13px;margin:7px 0;line-height:1.6}.record .record-next{color:var(--green)}.record small{font-size:11px;color:var(--muted)}.record .read-button{flex-shrink:0}.record .eyebrow{font-size:9px}.draft-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:170px;overflow:auto}.grownup-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.passage{margin:20px 0;line-height:1.8;font-size:16px}#activity h2{margin-top:20px}.option{font-size:17px;line-height:1.5}details{background:#f4f1e9;border-radius:10px;padding:15px;text-align:left;font-size:14px}summary{cursor:pointer;color:#716444;font-weight:600}dialog{scrollbar-gutter:stable}.primary:hover{background:#1b6358}.read-button:hover{background:#e0e9d9}.card-button:hover{color:#164f45}@media(max-width:760px){.record{align-items:flex-start;flex-direction:column;gap:10px}.sequence-board{gap:7px}.sequence-board .visual-token{font-size:14px;padding:10px}.lesson-actions .primary{font-size:13px;padding:14px 17px}.visual-token{font-size:23px;padding:10px 15px}.ten-frame{grid-template-columns:repeat(5,35px)}.ten-cell{width:35px;height:35px}.ten-cell i{width:24px;height:24px}.hero-pills{font-size:9px;gap:12px}.visual-board{padding:18px 10px}.option{font-size:15px;padding:13px 9px}.card-body{padding:21px}.studio-tabs{font-size:11px}.lesson-actions{gap:14px}.count-group{max-width:165px;font-size:23px}.bottom-banner svg{flex-shrink:0}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat b{font-size:26px}.stat span{line-height:1.6;display:block}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* A brighter garden, with celebrations tied to learning moments. */
:root{--cream:#fffcf5;--green:#197b6b;--yellow:#ffd15e}.hero{background:linear-gradient(120deg,#e3f5d9 5%,#e9f3dd 60%,#fff0b9);border:2px solid #d5e9c8;box-shadow:0 6px 0 #e4edd9}.hero:after{content:'✦';position:absolute;right:25px;top:24px;color:#d7ac42;font-size:33px;transform:rotate(12deg)}.hero h1{font-weight:700}.hero .primary{box-shadow:0 4px 0 #10584b}.hero-pills span{background:#ffffffa3;padding:6px 9px;border-radius:15px}.card{border-width:2px;box-shadow:0 5px 0 #ebeade;transition:transform .18s,box-shadow .18s}.card:hover{transform:translateY(-4px);box-shadow:0 9px 0 #ebeade}.reading{background:#ded0fa}.math{background:#ffe28e}.writing{background:#ffcbb7}.card-visual{height:160px}.card-visual .visual-letter{font-size:78px}.card-visual:before{border:2px dashed #ffffffa3;width:145px;height:145px}.card-visual:after{border:2px dashed #ffffffa3}.mini-star{font-size:40px;right:19%;color:white;text-shadow:0 3px 0 #0000000d}.card-button{background:#eaf5e7;border:0;padding:13px 15px;border-radius:10px}.bottom-banner{background:#fff1cc;border:2px solid #f1dfaa}.option{box-shadow:0 4px 0 #e5e9de;transition:background .15s,transform .15s}.option:not(:disabled):hover{transform:translateY(-2px);background:#f4f9ed}.option.correct{box-shadow:0 4px 0 #abd2a6;animation:answer-pop .45s ease-out}.option.wrong{box-shadow:none}.primary{border-bottom:3px solid #145a4c}.primary:active{transform:translateY(2px)}dialog{background:#fffcf5;border:3px solid #e9dca9}.lesson-top{gap:10px;align-items:center}.lesson-audio{display:flex;align-items:center;gap:5px;flex-shrink:0}.lesson-audio label{font-size:10px}.lesson-audio select{font-size:11px;padding:7px 3px;background:#f4f1e5;border-radius:6px;max-width:100px}.lesson-top .lesson-audio button{width:30px;height:30px;font-size:12px}.lesson-top #stop-voice{background:#e3f0df;color:var(--green)}.audio-settings{display:flex;align-items:center;gap:8px}.audio-settings label{font-size:10px}.audio-settings select{font-size:11px;background:#f0f3e8;border-radius:7px;padding:6px}.answer-celebration{position:relative;display:flex;align-items:center;gap:14px;padding:20px 16px!important;margin:20px 0!important;min-height:120px;border:2px solid #b7dba3;background:linear-gradient(120deg,#e6f7d8,#f8ffd9);border-radius:18px;overflow:hidden;text-align:left;isolation:isolate}.happy-guide{position:relative;flex-shrink:0;animation:happy-hop 1.1s ease-out}.happy-guide svg{width:76px;height:76px;filter:drop-shadow(0 4px 0 #c1d6b4)}.guide-spark{position:absolute;top:0;right:-5px;color:#d7a526;font-size:23px;animation:star-twirl 1.3s ease-out}.success-copy{position:relative;z-index:1}.success-copy strong{display:block;font:700 23px 'Outfit',sans-serif;color:#2e743f;margin-bottom:5px}.success-copy span{font-size:14px;line-height:1.65;display:block;color:#3d5b3c}.star-shower{position:absolute;inset:0;pointer-events:none;z-index:0}.star-shower i{position:absolute;left:var(--x);top:10%;font-style:normal;font-size:17px;color:#ddb12d;opacity:0;animation:learning-stars 1.8s var(--delay) ease-out forwards}.star-shower i:nth-child(3n){color:#b28bd1}.star-shower i:nth-child(2n){color:#71ae8b}.bloom-finale{display:flex;justify-content:center;align-items:center;gap:25px;margin:15px auto;min-height:120px}.bloom-finale .celebration{font-size:88px;margin:0;animation:flower-bloom 1s cubic-bezier(.34,1.56,.64,1)}.finale-spark{font-size:33px;color:#e5b42f;animation:star-twirl 1.4s ease-out}.finale-spark.right{color:#b293cf;animation-delay:.1s}.garden{background:linear-gradient(135deg,#e4f3d6,#e5f4e9);border:2px solid #d3e7c4}.flowers{animation:flower-bloom .8s ease-out}.is-speaking .guide-message svg{animation:talk-bob .65s ease-in-out infinite}.guide-message svg{flex-shrink:0}.visual-board{border:2px solid #e4ead7;background:#f1f7e7}.word-slots span{box-shadow:0 4px 0 #dfd4ed}.hint-button{background:#fff1c3;padding:10px 15px;border-radius:20px;text-decoration:none}.question-count{background:#f0e6fa;border-radius:15px;display:inline-block;padding:6px 13px;color:#75518a}.offline-card{border:2px solid #f0dda6}.result-card{border:2px solid #c6dfba}@keyframes happy-hop{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-14px) rotate(-9deg)}55%{transform:translateY(0) rotate(7deg)}75%{transform:translateY(-7px) rotate(-4deg)}}@keyframes answer-pop{0%{transform:scale(.97)}55%{transform:scale(1.06)}100%{transform:scale(1)}}@keyframes learning-stars{0%{opacity:0;transform:translateY(25px) scale(.3) rotate(0)}20%{opacity:.85}70%{opacity:.7}100%{opacity:0;transform:translateY(-35px) scale(1.2) rotate(var(--turn))}}@keyframes star-twirl{0%{transform:scale(.2) rotate(-50deg);opacity:0}50%{transform:scale(1.25) rotate(15deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}@keyframes flower-bloom{0%{transform:scale(.3) translateY(30px);opacity:0}70%{transform:scale(1.1);opacity:1}100%{transform:scale(1);opacity:1}}@keyframes talk-bob{50%{transform:translateY(-3px) rotate(3deg)}}@media(max-width:760px){.lesson-top{font-size:10px}.lesson-audio{gap:4px}.lesson-audio label{display:none}.lesson-audio select{max-width:83px;font-size:10px}.happy-guide svg{width:60px;height:60px}.success-copy strong{font-size:21px}.success-copy span{font-size:13px}.answer-celebration{gap:11px;padding:15px 12px!important}.hero:after{font-size:25px;right:15px;top:12px}.hero-pills{gap:7px}.hero-pills span{font-size:9px}.audio-settings{margin-left:auto}.card-visual{height:150px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.star-shower{display:none}.card:hover,.primary:active{transform:none}}
/* Storybook friends and a welcoming learning team. */
.hero{grid-template-columns:.9fr 1.2fr;padding-right:25px;gap:15px}.hero h1{font-size:clamp(35px,4vw,53px)}.cast-hero{position:relative;display:flex;align-items:center;justify-content:center;align-self:center}.cast-hero>img{width:100%;height:auto;display:block;filter:drop-shadow(0 10px 10px #52774416)}.cast-bubble{position:absolute;top:-4px;right:5%;background:#fff9e7;color:#83672b;border:1px solid #e4d2a4;border-radius:15px 15px 15px 0;padding:10px 14px;font-size:11px;font-weight:700;box-shadow:0 3px 0 #e0dab768}.buddy-section{margin:40px 0 20px}.buddy-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:20px}.buddy-section-title h2{font:600 25px 'Outfit';margin:8px 0 0}.buddy-section-title p{font-size:12px;color:var(--muted);margin:0 0 3px}.buddy-list{display:flex;gap:12px;overflow-x:auto;padding:5px 3px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b6cba7 transparent}.buddy-choice{display:flex;flex-direction:column;align-items:center;flex:1 0 99px;min-width:0;background:#fff;border:2px solid #e8e6d9;border-radius:16px;padding:11px 6px 10px;scroll-snap-align:center;box-shadow:0 3px 0 #ece9dc;transition:transform .18s,border-color .18s}.buddy-choice:hover{transform:translateY(-3px)}.buddy-choice .buddy-portrait{width:76px;height:76px;border-radius:50%;background:#f5ebd9;overflow:hidden;border:2px solid #f3e4bf}.buddy-choice strong{font:600 16px 'Outfit';margin:9px 0 5px}.buddy-choice>span{font-size:9px;color:var(--muted)}.buddy-choice.chosen{background:#ecf6e5;border-color:#6b9b64;box-shadow:0 3px 0 #accb9d}.buddy-choice.chosen>span{color:#3c7438;font-weight:700}.buddy-greeting{font-size:13px;color:#55704b;margin-top:9px;background:#f0f4e7;padding:13px 17px;border-radius:10px}.guide-message .buddy-portrait{width:66px;height:66px;flex-shrink:0;border-radius:50%;background:#f8eac7;overflow:hidden}.guide-message{font-size:13px;line-height:1.7}.guide-message b{color:#3e6948}.happy-guide .buddy-portrait{width:82px;height:82px;border-radius:50%;overflow:hidden;background:#fff3cb;border:3px solid #d6e4aa;filter:drop-shadow(0 4px 0 #c1d6b4)}@media(max-width:760px){.hero{grid-template-columns:1fr;padding:28px 25px 18px;gap:18px}.hero h1{font-size:41px}.cast-hero{margin-top:10px}.cast-bubble{top:-8px;font-size:9px;padding:8px 10px;right:0}.buddy-section{margin-top:30px}.buddy-section-title{align-items:flex-start;flex-direction:column;gap:10px}.buddy-section-title h2{font-size:23px}.buddy-choice{flex-basis:94px}.buddy-choice .buddy-portrait{width:67px;height:67px}.buddy-greeting{font-size:12px}.happy-guide .buddy-portrait{width:65px;height:65px}.guide-message .buddy-portrait{width:58px;height:58px}}@media(prefers-reduced-motion:reduce){.buddy-choice{transition:none}.buddy-choice:hover{transform:none}}
/* Animal animation rigs: independently moving wings, paws, tails, and eyes. */
.animal{display:block;width:100%;height:auto;overflow:visible}.animal-body,.animal-head,.animal-eyes,.animal-tail,.animal-wing,.animal-paw,.butterfly-wing{transform-box:fill-box;transform-origin:center}.animal-eyes{transform-origin:center 60%}.paw-right{transform-origin:50% 85%}.animal-tail{transform-origin:90% 75%}.animal-wing.wing-left{transform-origin:90% 85%}.animal-wing.wing-right{transform-origin:10% 85%}.butterfly-left{transform-origin:100% 50%}.butterfly-right{transform-origin:0 50%}.motion-control{border:1px solid #bcd8ad;background:#edf6e7;border-radius:18px;padding:9px 13px;font-size:11px;color:#366044;white-space:nowrap}#lesson .lesson-audio .motion-control{width:auto;height:auto;max-width:90px;white-space:normal;font-size:9px;padding:6px;line-height:1.3}.buddy-list{justify-content:space-between;overflow:visible;gap:16px}.buddy-choice{flex:1 1 0;padding:12px 15px;background:#fffdf7}.buddy-choice>.animal{width:100%;max-width:160px;height:150px}.buddy-choice.chosen{background:#f1f8df}.buddy-choice strong{font-size:20px}.buddy-choice>span{font-size:11px}.guide-message>.animal{width:110px;height:118px;flex-shrink:0}.bottom-banner>.animal{width:65px;height:70px;flex-shrink:0}.hero{grid-template-columns:.85fr 1.3fr;padding:35px 24px 30px 40px;gap:20px;background:linear-gradient(130deg,#faf0cc,#e0f2dd);align-items:center}.hero h1{font-size:clamp(37px,3.8vw,51px)}.story-world{min-width:0;width:100%}.world-tabs{display:flex;gap:7px;justify-content:center;margin:0 0 12px}.world-tabs button{background:#ffffffbd;border:2px solid transparent;border-radius:18px;padding:9px 12px;font-size:11px;font-weight:700;color:#667178}.world-tabs button.selected{background:#7761a0;border-color:#665084;color:white;box-shadow:0 3px 0 #b9a3d0}.world-tabs button[data-world="cats"].selected{background:#ae774e;border-color:#956343;box-shadow:0 3px 0 #d8ba98}.storybook-scene{position:relative;width:100%;aspect-ratio:640/350;isolation:isolate;border-radius:20px;overflow:hidden;border:3px solid #ffffff;box-shadow:0 6px 0 #b7c9ac5e;background:#d3e6f1}.scene-art{width:100%;height:100%;display:block}.scene-animals{position:absolute;inset:0;pointer-events:none}.scene-friend{position:absolute;bottom:17%;width:28%;background:none;border:0;padding:0;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 4px 2px #3f48551a)}.scene-friend-0{left:5%}.scene-friend-1{right:6%;width:25%}.scene-lumi{width:23%;bottom:35%;right:30%}.world-cats .scene-friend-0{left:16%;bottom:17%;width:26%}.world-cats .scene-friend-1{right:13%;bottom:18%;width:26%}.world-caption{position:absolute;bottom:5%;left:8%;right:8%;background:#fffaf0e8;border-radius:15px;padding:7px 10px;color:#72624a;font-size:10px;text-align:center;z-index:3;line-height:1.5;box-shadow:0 2px 0 #bfb28c55}.world-intro{text-align:center;margin:16px 0 0}.world-intro strong{display:block;font:600 20px 'Outfit';color:#68547a}.world-intro span{display:block;font-size:11px;margin:6px 0 0;color:#687061}.mission-scene{max-width:400px;margin:17px auto 18px}.mission-scene .storybook-scene{border-width:2px;border-radius:14px}.mission-scene .scene-friend{pointer-events:none}.mission-scene .animal-body{animation:none!important}.mission-scene .butterfly-wing{animation:none!important}.mission-world-note{font-size:12px;color:#857042;background:#fff1ca;border-radius:10px;padding:11px;line-height:1.7}.big-celebration{display:flex;flex-direction:column!important;padding:16px 15px 20px!important;background:linear-gradient(#fff2cc,#f2f6dd)!important;text-align:center!important;gap:0!important;min-height:350px}.big-celebration .success-copy{text-align:center;width:100%;padding:5px 8px 14px}.big-celebration .success-copy strong{font-size:22px}.reward-stage{position:relative;width:100%;min-height:250px;display:flex;justify-content:center;align-items:center;isolation:isolate;overflow:hidden;border-radius:16px;background:radial-gradient(ellipse at center,#fffdf0 0,#fff4d400 65%)}.reward-animal{position:relative;z-index:2;width:190px;height:205px;margin-bottom:34px}.reward-ribbon{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:18px;background:#9873bb;color:white;font:700 24px 'Outfit';padding:9px 24px;box-shadow:0 4px 0 #755591;z-index:3}.reward-orbit{position:absolute;inset:0;pointer-events:none}.reward-orbit i{position:absolute;left:50%;top:43%;font-size:25px;color:var(--color);font-style:normal;opacity:0;transform-origin:0 0}.story-reward{width:100%;max-width:390px;padding:3px 10px 15px}.story-reward .storybook-scene{border-radius:12px}.story-reward .scene-friend{pointer-events:none}.final-story-scene{max-width:430px;margin:15px auto}.final-story-scene .scene-friend{pointer-events:none}.scene-magic-ring{position:absolute;inset:8% 20%;border:3px solid #ffeaa1;border-radius:50%;pointer-events:none;opacity:0;box-shadow:0 0 25px #ffe499;z-index:0}.color-lantern{transform-box:fill-box;transform-origin:center}.box-lid{transform-box:fill-box;transform-origin:100% 100%}.plank-lit,.scene-discovery{transform-box:fill-box;transform-origin:center}.scene-cloud{transform-box:fill-box}.scene-discovery.discovered{filter:drop-shadow(0 0 5px #fff6a3)}.count-group span{position:relative}.count-group span:after{content:attr(data-number);font-size:10px;display:block;color:#577144;line-height:1.4;font-weight:700}.visual-board .visual-token{transform-origin:center}.motion-on .storybook-scene:not(.mission-scene .storybook-scene) .animal-body{animation:animal-breathe 3s ease-in-out infinite!important}.motion-on .animal-eyes{animation:animal-blink 4.8s infinite!important}.motion-on .storybook-scene .animal-tail{animation:tail-swish 2.8s ease-in-out infinite!important}.motion-on .storybook-scene .paw-right{animation:paw-wave 3.6s ease-in-out infinite!important}.motion-on .storybook-scene .animal-wing{animation:dragon-wing 2.3s ease-in-out infinite alternate!important}.motion-on .butterfly-wing{animation:butterfly-flap .65s ease-in-out infinite alternate!important}.motion-on .scene-lumi{animation:lumi-flight 5s ease-in-out infinite!important}.motion-on .river-flow{animation:river-run 2s linear infinite!important}.motion-on .yarn-trail{animation:yarn-sparkle 3s linear infinite!important}.motion-on .scene-cloud{animation:cloud-sail 11s ease-in-out infinite alternate!important}.motion-on .scene-cloud.cloud-late{animation-delay:-6s!important}.motion-on .box-lid{animation:box-peek 5s ease-in-out infinite!important}.motion-on .lid-two{animation-delay:1.7s!important}.motion-on .lid-three{animation-delay:3.4s!important}.motion-on .magic-sparks{animation:magic-twinkle 2s ease-in-out infinite alternate!important}.motion-on .lantern-lit{animation:lantern-glow 1.6s ease-in-out infinite alternate!important}.motion-on .world-reward .scene-magic-ring{animation:magic-ring 1.2s ease-out 2!important}.motion-on .world-reward .plank-lit,.motion-on .world-reward .discovered{animation:discovery-pop .6s var(--delay,0s) backwards!important}.motion-on .reward-animal .animal-body{animation:animal-dance .65s ease-in-out 4!important}.motion-on .reward-animal .paw-right{animation:celebrate-paw .35s ease-in-out 8 alternate!important}.motion-on .reward-animal .animal-wing{animation:dragon-wing .3s ease-in-out 8 alternate!important}.motion-on .reward-orbit i{animation:star-burst 2s var(--delay) ease-out forwards!important}.motion-on .reward-stage.replay .reward-orbit i{animation:star-burst-again 2s var(--delay) ease-out forwards!important}.motion-on .reward-stage.replay .animal-body{animation:animal-dance-again .65s ease-in-out 4!important}.motion-on .hello-dance .animal-body{animation:animal-dance .65s ease-in-out 3!important}.motion-on .hello-dance .paw-right{animation:celebrate-paw .35s ease-in-out 6 alternate!important}.motion-on .guide-message .paw-right{animation:paw-wave 2s ease-in-out 2!important}.motion-on .buddy-choice.chosen .paw-right{animation:paw-wave 2s ease-in-out 2!important}.motion-on .buddy-choice.chosen .animal-body{animation:discovery-pop .6s ease-out!important}.motion-on .count-group span,.motion-on .ten-cell i,.motion-on .ten-rod,.motion-on .one-block,.motion-on .seed-array span,.motion-on .visual-token{animation:model-arrive .55s var(--beat,0s) backwards!important}.motion-on .added{animation:added-glow 1.3s .5s ease-out 2!important}body.motion-off *,body.motion-off *::before,body.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-off .reward-orbit i{opacity:.7;transform:rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle)))}.motion-off .scene-magic-ring{display:none}@keyframes animal-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes animal-blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.08)}}@keyframes tail-swish{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(12deg)}}@keyframes paw-wave{0%,15%,65%,100%{transform:rotate(0)}25%,45%{transform:rotate(-32deg) translateY(-10px)}35%,55%{transform:rotate(5deg) translateY(-10px)}}@keyframes dragon-wing{from{transform:rotate(-9deg) scaleX(.9)}to{transform:rotate(10deg) scaleX(1.05)}}@keyframes butterfly-flap{from{transform:scaleX(.45)}to{transform:scaleX(1)}}@keyframes lumi-flight{0%,100%{transform:translate(0,0) rotate(-4deg)}35%{transform:translate(18px,-13px) rotate(5deg)}70%{transform:translate(-10px,-5px) rotate(-2deg)}}@keyframes river-run{to{stroke-dashoffset:-54}}@keyframes yarn-sparkle{to{stroke-dashoffset:-57}}@keyframes cloud-sail{from{transform:translateX(-6px)}to{transform:translateX(20px)}}@keyframes box-peek{0%,25%,70%,100%{transform:rotate(0)}40%,55%{transform:rotate(13deg) translateY(-5px)}}@keyframes magic-twinkle{from{opacity:.3;filter:drop-shadow(0 0 1px #fff)}to{opacity:1;filter:drop-shadow(0 0 8px #ffe89c)}}@keyframes lantern-glow{from{filter:drop-shadow(0 0 2px #ffe090)}to{filter:drop-shadow(0 0 15px #ffe090)}}@keyframes magic-ring{0%{opacity:0;transform:scale(.4)}35%{opacity:.9}100%{opacity:0;transform:scale(1.5)}}@keyframes discovery-pop{0%{transform:translateY(17px) scale(.1);opacity:0}60%{transform:translateY(-6px) scale(1.13);opacity:1}100%{transform:translateY(0) scale(1)}}@keyframes animal-dance{0%,100%{transform:translateY(0) rotate(-5deg)}25%{transform:translateY(-20px) rotate(7deg)}50%{transform:translateY(0) rotate(5deg)}75%{transform:translateY(-14px) rotate(-7deg)}}@keyframes animal-dance-again{0%,100%{transform:translateY(0) rotate(-5deg)}25%{transform:translateY(-20px) rotate(7deg)}50%{transform:translateY(0) rotate(5deg)}75%{transform:translateY(-14px) rotate(-7deg)}}@keyframes celebrate-paw{from{transform:rotate(-10deg)}to{transform:rotate(-65deg) translateY(-12px)}}@keyframes star-burst{0%{opacity:0;transform:rotate(var(--angle)) translateX(10px) scale(.2)}30%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(145px) scale(1.2)}}@keyframes star-burst-again{0%{opacity:0;transform:rotate(var(--angle)) translateX(10px) scale(.2)}30%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(145px) scale(1.2)}}@keyframes model-arrive{0%{opacity:0;transform:translateY(-20px) scale(.6)}65%{opacity:1;transform:translateY(3px) scale(1.08)}100%{opacity:1;transform:translateY(0) scale(1)}}@keyframes added-glow{50%{background:#ffe498;box-shadow:0 0 10px #e9c954}}@media(max-width:760px){header{gap:13px}.motion-control{font-size:10px;padding:8px 10px}header>.motion-control{position:absolute;right:20px;top:24px}nav{width:100%;justify-content:space-between;gap:12px}.hero{grid-template-columns:1fr;padding:27px 22px;gap:22px}.hero h1{font-size:40px}.hero .primary{padding:13px 18px}.world-intro strong{font-size:18px}.world-intro span{font-size:10px}.world-caption{font-size:8px;bottom:4%;padding:5px}.world-tabs button{padding:8px 10px;font-size:10px}.buddy-list{gap:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.buddy-choice{padding:10px 8px}.buddy-choice>.animal{height:125px;width:118px}.buddy-choice strong{font-size:18px;margin-top:3px}.buddy-choice>span{font-size:10px}.guide-message>.animal{width:85px;height:92px}.reward-stage{min-height:225px}.reward-animal{width:165px;height:180px}.reward-ribbon{font-size:20px;padding:8px 15px}.mission-scene{max-width:310px}.mission-scene .storybook-scene{aspect-ratio:640/290}.mission-scene .scene-art{object-fit:cover}.big-celebration .success-copy strong{font-size:19px}.big-celebration{padding:9px 9px 16px!important}.lesson-audio label{display:none}.lesson-audio select{max-width:68px;font-size:9px}.lesson-top{align-items:flex-start}.lesson-top #lesson-label{font-size:9px;line-height:1.5;max-width:90px}.lesson-audio{gap:3px}.lesson-top .lesson-audio button{width:25px;height:28px}.lesson-top #lesson-motion{max-width:65px;font-size:8px;line-height:1.3;padding:5px}.mission-world-note{font-size:11px}.story-reward{padding:4px 0 12px}}
.painted-world{transition:filter .8s ease}.scene-art text{paint-order:stroke;stroke:#fff9e7;stroke-width:4px;stroke-linejoin:round;fill:#566646;font-weight:600}.ambient-fireflies circle{transform-box:fill-box;transform-origin:center}.motion-on .ambient-fireflies circle{animation:firefly-drift 3s var(--firefly-delay) ease-in-out infinite alternate!important}.world-reward .storybook-scene{box-shadow:0 0 15px #e6d2735e}.world-tabs button{backdrop-filter:blur(3px)}@keyframes firefly-drift{0%{opacity:.25;transform:translateY(4px) scale(.8)}100%{opacity:1;transform:translateY(-7px) scale(1.4)}}
/* Crown Bloom identity, orchid rewards, and visible learning paths. */
.crown-mark{display:block;width:58px;height:48px;overflow:hidden;flex-shrink:0}.brand{gap:11px}.footer-brand{display:flex;gap:8px;align-items:center}.footer-brand .crown-mark{width:38px;height:32px}.grade-picker{margin:32px 0 30px;background:#fff;border:2px solid #e5dfce;border-radius:20px;padding:27px}.grade-heading-row{display:flex;justify-content:space-between;align-items:center;gap:24px}.grade-heading-row h2{font:600 27px 'Outfit';margin:9px 0}.grade-heading-row p{font-size:13px;margin:0;color:var(--muted)}.age-picker{display:flex;flex-wrap:wrap;gap:5px;max-width:220px;align-items:center;font-size:12px;font-weight:600;color:#6c6958}.age-picker>span{font-size:10px;font-weight:400}.age-picker select{display:block;width:100%;border:1px solid #e4dfcf;border-radius:8px;margin-top:4px;font-size:12px;padding:9px;background:#fffcf5}.grade-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.grade-choice{display:flex;flex-direction:column;align-items:center;background:#f5f0fd;border:2px solid #e5dcef;border-radius:14px;padding:20px 10px;box-shadow:0 4px 0 #e6dfeb;transition:transform .15s}.grade-choice:nth-child(2){background:#fff3d2;border-color:#eadfbf;box-shadow:0 4px 0 #e9e0c5}.grade-choice:nth-child(3){background:#e7f3ed;border-color:#d2e3d7;box-shadow:0 4px 0 #d7e4d8}.grade-choice:nth-child(4){background:#fde9df;border-color:#efd9cc;box-shadow:0 4px 0 #ebdbd1}.grade-choice.selected{outline:3px solid var(--green);outline-offset:2px}.grade-choice:hover{transform:translateY(-3px)}.grade-number{font:700 38px 'Outfit';color:#76608b;margin-bottom:7px}.grade-choice:nth-child(2) .grade-number{color:#b38b38}.grade-choice:nth-child(3) .grade-number{color:#48856b}.grade-choice:nth-child(4) .grade-number{color:#b97b60}.grade-choice strong{font:600 17px 'Outfit'}.grade-choice small{font-size:10px;color:var(--muted);margin-top:7px}.challenge-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;border-top:1px solid var(--line)}.challenge-row strong{font-size:14px}.challenge-row p{font-size:11px;line-height:1.7;color:var(--muted);margin:5px 0 0}.challenge-buttons{display:flex;gap:7px;flex-shrink:0}.challenge-buttons button{background:#f7f5ed;border:1px solid #dedfce;border-radius:22px;padding:11px 14px;font-size:12px}.challenge-buttons button.selected{background:var(--green);color:white;border-color:var(--green)}.age-suggestion{display:flex;align-items:center;gap:15px;font-size:12px;line-height:1.7;background:#f5f0df;border-radius:10px;padding:12px 15px;margin:0 0 20px}.age-suggestion button{border:0;background:white;border-radius:7px;font-size:11px;padding:9px;white-space:nowrap;color:var(--green)}.current-level{display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-size:12px;color:var(--green)}.current-level button{font-size:11px}.flowers{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,110px));justify-content:center;gap:4px;letter-spacing:normal;margin:0 auto 15px;max-width:930px}.orchid-plant{width:100%;height:auto;display:block;overflow:visible}.new-orchid{width:115px;margin:0 auto}.orchid-bloom{transform-box:fill-box;transform-origin:center bottom}.motion-on .new-orchid .orchid-plant{animation:orchid-reveal 1.1s ease-out!important}.motion-on .flowers .orchid-plant{animation:orchid-reveal .9s ease-out!important}@keyframes orchid-reveal{0%{opacity:0;transform:translateY(20px) scale(.55)}65%{opacity:1;transform:translateY(-4px) scale(1.06)}100%{opacity:1;transform:translateY(0) scale(1)}}#voice-dialog{padding:28px;background:#fffcf5;max-width:510px}#voice-dialog::backdrop{background:#283a3588}.voice-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.voice-dialog-heading h2{font:600 27px 'Outfit';margin:0}.voice-dialog-heading button{width:32px;height:32px;border:0;border-radius:50%;background:#eeeede;flex-shrink:0}#voice-dialog>p{font-size:13px;line-height:1.8;color:var(--muted)}#voice-dialog>label{display:block;font-size:12px;font-weight:700;color:#6d6254;margin:22px 0 9px}#voice-dialog>select{display:block;width:100%;border:1px solid #dfdac9;border-radius:9px;background:white;padding:13px;font-size:13px}.audio-settings{flex-wrap:wrap}.audio-settings .read-button{font-size:10px;white-space:nowrap}.lesson-top #lesson-choose-voice{background:#eee1f5;color:#70518b}.guide-message{margin-top:10px}.grade-picker .eyebrow{font-size:10px}@media(max-width:760px){.crown-mark{width:47px;height:40px}.brand{font-size:24px;gap:7px}.brand-sub{font-size:8px;letter-spacing:2px}.grade-picker{padding:20px 17px}.grade-heading-row{flex-direction:column;align-items:flex-start;gap:18px}.grade-heading-row h2{font-size:25px}.age-picker{max-width:none;width:100%;font-size:11px}.age-picker select{width:auto;flex:1;margin-left:auto;margin-top:0;max-width:150px}.grade-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.grade-choice{padding:15px 7px}.grade-number{font-size:34px}.grade-choice strong{font-size:15px}.grade-choice small{font-size:9px}.challenge-row{flex-direction:column;align-items:flex-start;gap:12px}.challenge-buttons{width:100%}.challenge-buttons button{flex:1;padding:11px 8px;font-size:11px}.age-suggestion{align-items:flex-start;flex-direction:column;gap:9px;font-size:11px}.current-level{align-items:flex-start;font-size:11px}.flowers{grid-template-columns:repeat(auto-fit,minmax(65px,85px))}.audio-settings{margin-left:0;gap:9px}.audio-settings #choose-voice{font-size:10px}#voice-dialog{padding:23px}.voice-dialog-heading h2{font-size:24px}.lesson-top .lesson-audio select{max-width:61px;font-size:8px}.lesson-top .lesson-audio button{width:22px;height:26px;font-size:10px}.lesson-top #lesson-motion{max-width:57px;font-size:7px}.lesson-top #lesson-label{max-width:74px;font-size:8px}.word-slots{gap:8px}.word-slots span{width:clamp(38px,12vw,58px);height:60px;font-size:28px}.letter-tray{gap:8px}.letter-tile{width:49px;height:53px;font-size:25px}}
.narrator-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:23px 0 15px}.narrator-groups button{display:flex;align-items:center;justify-content:space-between;border:2px solid #d8e5dc;background:#f1f7ee;border-radius:11px;padding:13px 12px;font-size:13px;color:#3d6556}.narrator-groups button:nth-child(2){background:#eaf2fa;border-color:#d0e0ee;color:#406780}.narrator-groups button:nth-child(3){background:#fff2dc;border-color:#eee0bd;color:#8a6d32}.narrator-groups button:nth-child(4){background:#f1edf8;border-color:#dfd7ec;color:#755b8f}.narrator-groups button.selected{outline:2px solid var(--green);outline-offset:1px}.narrator-groups small{display:grid;place-items:center;background:#ffffffad;border-radius:50%;min-width:23px;height:23px;font-size:10px}.mixed-narrators{width:100%;font-size:12px;padding:12px;background:#edf3e5}.voice-label-settings{margin-top:18px;font-size:12px}.voice-label-settings p{line-height:1.7;font-size:12px;color:var(--muted)}.voice-label-settings label{display:block;font-size:11px;font-weight:700;margin-bottom:8px}.voice-label-settings select{width:100%;font-size:12px;border:1px solid #ddd9c8;border-radius:8px;padding:10px}.voice-label-settings summary{font-size:12px;color:#5e6657}@media(max-width:760px){.narrator-groups{gap:9px}.narrator-groups button{font-size:11px;padding:12px 9px}.mixed-narrators{font-size:10px}.voice-label-settings summary{font-size:11px}}

/* Choose a celebration: adventure, space, racing, or orchids. */
.celebration-picker{margin:34px 0;padding:26px;background:#eef4f5;border:1px solid #d4e1e3;border-radius:20px}.celebration-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.celebration-choice{min-width:0;border:2px solid #d7e0dc;background:#fffdf5;border-radius:16px;padding:12px 12px 15px;color:#36545a;text-align:center;cursor:pointer}.celebration-choice.selected{border-color:#3c827e;box-shadow:0 0 0 3px #3c827e20}.celebration-choice strong{display:block;font:600 19px 'Outfit';margin:5px 0 7px}.celebration-choice small{display:block;font-size:11px;line-height:1.6;min-height:36px}.theme-selected{display:block;font-size:10px;font-weight:700;margin-top:13px;color:#3c827e}.theme-preview{display:grid;place-items:center;height:145px;border-radius:11px;background:#edf5f5;overflow:hidden}.celebration-choice:nth-child(2) .theme-preview{background:#203e5b}.celebration-choice:nth-child(3) .theme-preview{background:#e3f0f5}.celebration-choice:nth-child(4) .theme-preview{background:#f2eafa}.fx-art{width:100%;height:auto;display:block;overflow:visible}.theme-preview .fx-art{width:100%;max-width:220px}.fx-orchid{width:100px;margin:auto}.theme-preview .fx-orchid{width:80px}.theme-stage{display:flex;align-items:center;justify-content:center;min-height:250px;padding:12px 15px 48px;gap:0;background:radial-gradient(ellipse at center,#fff1be,#e7f3ed 75%);overflow:hidden}.theme-stage.theme-space{background:radial-gradient(ellipse at center,#d3e9f4,#a8c8dc)}.theme-stage .reward-animal{width:32%;max-width:140px;margin:0;flex-shrink:0}.theme-stage .celebration-focus{width:62%;max-width:300px;position:relative;z-index:2}.theme-stage .reward-ribbon{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);white-space:nowrap;margin:0;z-index:4}.theme-stage .reward-orbit{position:absolute;inset:0;pointer-events:none}.theme-stage .fx-orchid{width:120px}.flowers{grid-template-columns:repeat(auto-fit,minmax(125px,145px));gap:18px}.collection-item{display:flex;flex-direction:column;align-items:center;font-size:11px;font-weight:600;color:#536c64;gap:7px}.collectible-medallion{width:120px;height:100px;border-radius:18px;background:#eaf2ec;display:grid;place-items:center;padding:3px}.collection-space .collectible-medallion{background:#daeaf5}.collection-racing .collectible-medallion{background:#f9edcd}.collection-item>.orchid-plant{width:90px;height:100px;object-fit:contain}.new-collectible{width:150px;margin:15px auto}.car-wheel,.rocket-fire,.prize-coin,.fx-orchid{transform-box:fill-box;transform-origin:center}.treasure-lid{transform-origin:72px 108px}.finish-flag{transform-origin:262px 65px}
.motion-on .theme-preview .fx-rocket{animation:rocket-launch 4s ease-in-out infinite!important}.motion-on .theme-stage .fx-rocket{animation:rocket-launch 3.2s ease-in-out both!important}.motion-on .theme-preview .rocket-fire,.motion-on .theme-stage .rocket-fire{animation:flame-flicker .25s ease-in-out infinite alternate!important}.motion-on .theme-preview .race-car{animation:victory-lap 4s ease-in-out infinite!important}.motion-on .theme-stage .race-car{animation:victory-lap 3.2s ease-out both!important}.motion-on .theme-preview .car-wheel,.motion-on .theme-stage .car-wheel{animation:wheel-roll .5s linear 6!important}.motion-on .theme-preview .finish-flag,.motion-on .theme-stage .finish-flag{animation:flag-wave .7s ease-in-out 6 alternate!important}.motion-on .theme-preview .treasure-lid{animation:chest-open 4s ease-in-out infinite!important}.motion-on .theme-stage .treasure-lid{animation:chest-open 3.2s ease-in-out both!important}.motion-on .theme-preview .prize-coin{animation:coin-pop 4s var(--coin-delay) ease-in-out infinite!important}.motion-on .theme-stage .prize-coin{animation:coin-pop 3.2s var(--coin-delay) ease-in-out both!important}.motion-on .theme-preview .fx-orchid{animation:orchid-reveal 3s ease-in-out infinite alternate!important}.motion-on .theme-stage .fx-orchid{animation:orchid-reveal 1.4s ease-out both!important}.motion-on .theme-stage.replay .fx-rocket{animation-name:rocket-relaunch!important}.motion-on .theme-stage.replay .race-car{animation-name:victory-replay!important}.motion-on .theme-stage.replay .treasure-lid{animation-name:chest-reopen!important}.motion-on .theme-stage.replay .prize-coin{animation-name:coin-repop!important}.motion-on .theme-stage.replay .fx-orchid{animation-name:orchid-again!important}
@keyframes rocket-launch{0%,12%{transform:translateY(20px) rotate(-3deg)}22%{transform:translateY(10px) rotate(3deg)}55%,70%{transform:translateY(-230px)}71%{opacity:0;transform:translateY(65px)}85%,100%{opacity:1;transform:translateY(0)}}
@keyframes rocket-relaunch{0%,12%{transform:translateY(20px) rotate(-3deg)}22%{transform:translateY(10px) rotate(3deg)}55%,70%{transform:translateY(-230px)}71%{opacity:0;transform:translateY(65px)}85%,100%{opacity:1;transform:translateY(0)}}
@keyframes flame-flicker{from{transform:scale(.8, .7)}to{transform:scale(1.1,1.2)}}
@keyframes victory-lap{0%{transform:translateX(-290px)}45%{transform:translateX(8px)}60%{transform:translateX(-6px)}75%,100%{transform:translateX(0)}}
@keyframes victory-replay{0%{transform:translateX(-290px)}45%{transform:translateX(8px)}60%{transform:translateX(-6px)}75%,100%{transform:translateX(0)}}
@keyframes wheel-roll{to{transform:rotate(360deg)}}@keyframes flag-wave{to{transform:skewY(10deg) scaleX(.83)}}
@keyframes chest-open{0%,15%{transform:rotate(0)}45%,100%{transform:rotate(-28deg)}}@keyframes chest-reopen{0%,15%{transform:rotate(0)}45%,100%{transform:rotate(-28deg)}}
@keyframes coin-pop{0%,20%{opacity:0;transform:translateY(24px) scale(.5)}50%{opacity:1;transform:translateY(-40px) scale(1.15)}75%,100%{opacity:1;transform:translateY(-12px) scale(1)}}@keyframes coin-repop{0%,20%{opacity:0;transform:translateY(24px) scale(.5)}50%{opacity:1;transform:translateY(-40px) scale(1.15)}75%,100%{opacity:1;transform:translateY(-12px) scale(1)}}
@keyframes orchid-again{0%{opacity:0;transform:translateY(20px) scale(.55)}65%{opacity:1;transform:translateY(-4px) scale(1.06)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.celebration-picker{padding:20px 14px}.celebration-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-preview{height:110px}.celebration-choice strong{font-size:16px}.celebration-choice small{font-size:10px;min-height:33px}.theme-preview .fx-orchid{width:62px}.theme-stage{min-height:210px;padding:10px 8px 45px}.theme-stage .reward-animal{width:33%}.theme-stage .celebration-focus{width:65%}.theme-stage .fx-orchid{width:90px}.theme-stage .reward-ribbon{font-size:13px}.flowers{grid-template-columns:repeat(auto-fit,minmax(115px,130px))}}
.extra-practice{margin:30px 0;padding:26px;border-radius:20px;background:#e9f1f8;border:1px solid #cbdde8}.extra-practice h2{font:600 29px 'Outfit';margin:10px 0 20px}.practice-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.practice-cards article{background:#fffdf5;border-radius:15px;padding:24px}.practice-cards h3{font:600 24px 'Outfit';margin:8px 0}.practice-cards p{font-size:14px;line-height:1.7}.practice-icon{font-size:50px;color:#337f96;line-height:1}.cursive-icon{color:#806096}.learning-clock{display:block;width:min(100%,280px);height:auto;margin:15px auto}.digital-time{display:block;font:600 38px 'Outfit';text-align:center;color:#294953}.clock-key{font-size:13px!important;color:#2876a4!important}.clock-key span{color:#b86c29}.clock-controls,.trace-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0}.clock-controls button{border:1px solid #bdd1df;background:#edf5fa;color:#31566a;padding:12px;border-radius:10px;min-width:85px}.trace-board{position:relative;width:100%;height:220px;background:#fffdf5;border:2px solid #cedce2;border-radius:12px;margin-top:22px;overflow:hidden}#trace-guide,#trace-canvas{position:absolute;inset:0;width:100%;height:100%}#trace-canvas{touch-action:none;cursor:crosshair}.cursive-guide{width:100%;height:100%}#cursive-item{font-size:18px;padding:10px 20px;border:1px solid #abc6ce;border-radius:8px;background:#fff;margin:10px}.motion-on .show-strokes .cursive-stroke{animation:trace-reveal 5s linear both!important}.motion-on .show-strokes .cursive-stroke:nth-of-type(3){animation-delay:1s!important}.motion-on .show-strokes .cursive-stroke:nth-of-type(4){animation-delay:2s!important}.motion-on .show-strokes .cursive-stroke:nth-of-type(5){animation-delay:3s!important}@keyframes trace-reveal{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}@media(max-width:760px){.extra-practice{padding:20px 14px}.practice-cards{grid-template-columns:1fr;gap:14px}.practice-cards article{padding:20px}.extra-practice h2{font-size:25px}.trace-board{height:180px}.trace-actions{gap:13px}.trace-actions button{font-size:12px}.learning-clock{max-width:240px}}

.practice-history{color:#356a72;font-size:12px!important;background:#eaf4f4;border-radius:8px;padding:9px}.motion-on .show-strokes .cursive-stroke{animation:trace-reveal 1.6s var(--trace-delay,0s) linear both!important}.motion-on .show-strokes .cursive-stroke:nth-of-type(n){animation-delay:var(--trace-delay,0s)!important}
.practice-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-cards article{display:flex;flex-direction:column;align-items:flex-start}.practice-cards article>.primary{margin-top:auto;font-size:13px}.money-icon{display:grid;place-items:center;background:#e7eed5;border-radius:50%;width:52px;height:52px;font:600 38px 'Outfit';color:#657c35}.money-coins{display:flex;gap:10px;justify-content:center;margin:22px 0}.money-coins svg{width:22%;max-width:105px;height:auto}.money-jars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.money-jar{background:#e9f1f8;border:2px solid #b5d0df;border-radius:28px 28px 16px 16px;padding:15px}.money-jar>span{font-size:30px;color:#3c728d}.money-jar h3{font:600 18px 'Outfit';margin:6px 0}.money-jar output{display:block;font:600 32px 'Outfit';color:#345968;margin:7px 0}.money-jar button{border:1px solid #a9c2ca;border-radius:50%;background:white;width:42px;height:42px;font-size:24px;color:#365d70;margin:3px 6px}.money-jar button:disabled{opacity:.35;cursor:default}.jar-wants{background:#fff1cf;border-color:#e3ce93}.jar-save{background:#e5f0df;border-color:#b2cca2}.jar-share{background:#eee8f8;border-color:#c7badf}.money-remaining{font:600 25px 'Outfit'!important;color:#356e79!important;background:#edf5f5;border-radius:12px;padding:13px}#money-plan-note{min-height:45px;font-size:14px;color:#426b52}@media(max-width:900px){.practice-cards{grid-template-columns:1fr}.practice-cards article>.primary{margin-top:8px}}@media(max-width:430px){.money-jars{gap:10px}.money-jar{padding:12px 7px}.money-jar h3{font-size:16px}.money-jar button{margin:3px;width:40px;height:40px}}
#install-dialog{max-width:520px;padding:28px;background:#fffcf3;border:1px solid #ddd7c6;border-radius:18px}#install-dialog::backdrop{background:#283a3588}#install-dialog p{font-size:14px;line-height:1.8;color:#52665d}#install-dialog h3{font:600 19px 'Outfit';margin-top:24px}body{padding-bottom:env(safe-area-inset-bottom)}@media(display-mode:standalone){header{padding-top:max(14px,env(safe-area-inset-top))}}@media(max-width:760px){#install-dialog{padding:22px}.audio-settings{justify-content:center}}
.hear-welcome{display:inline-flex;align-items:center;gap:8px;margin:15px 0 0 13px;color:#3c756c;font-size:13px}.hero #welcome-status{font-size:11px;margin:8px 0 0;min-height:15px}.welcome-voices{background:#edf4ee;border:1px solid #d3e2d8;border-radius:14px;padding:18px;margin:22px 0}.welcome-voices h3,.device-voice-heading{font:600 21px 'Outfit';margin:0 0 10px}.welcome-voices>p{font-size:12px;line-height:1.7;color:#52685f}.welcome-voice-cards{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:16px 0}.welcome-voice-cards>div{background:#fffcf3;border-radius:12px;padding:14px 11px}.welcome-voice-cards label{display:flex;align-items:center;gap:7px;font:600 18px 'Outfit'}.welcome-voice-cards input{width:19px;height:19px;accent-color:#247568}.welcome-voice-cards small{display:block;line-height:1.6;font-size:10px;margin:8px 0}.welcome-voice-cards button{font-size:11px;padding:6px 0}.welcome-voices details{font-size:11px;margin:14px 0;line-height:1.8}.device-voice-heading{font-size:19px}.welcome-voices .saved-note{font-size:11px}@media(max-width:760px){.hear-welcome{margin-left:0;display:flex}.welcome-voices{padding:14px}.welcome-voice-cards{gap:8px}.welcome-voice-cards>div{padding:12px 8px}.welcome-voice-cards small{font-size:9px}}
/* Kingdom of Colors: saturated scenery, quiet reading surfaces. */
@font-face{font-family:BloomSchoolCursive;src:url('assets/fonts/PlaywriteUSTrad.ttf') format('truetype');font-style:normal;font-weight:100 400;font-display:block}
body{background:#f6fcff;color:#25394e}body[data-adventure=enchanted]{--quest:#9252d3;--quest-soft:#f6eaff;--quest-sky:#b7eeff}body[data-adventure=racing]{--quest:#d24e35;--quest-soft:#fff0d9;--quest-sky:#abe9ff}body[data-adventure=safari]{--quest:#087e65;--quest-soft:#e9f8db;--quest-sky:#b5f0e7}body[data-adventure=cosmic]{--quest:#7545c7;--quest-soft:#ece8ff;--quest-sky:#c8c6ff}.hero{background:linear-gradient(120deg,#fff3c6 0%,#e7f7ff 47%,#eddbff 100%);border:2px solid #cce7ff;box-shadow:0 10px 35px #678cca16}.hero h1 em{color:#8150cb}.primary{background:var(--quest,#7952b3);box-shadow:0 3px 0 #23394724}.primary:hover{filter:brightness(1.08)}.reading{background:linear-gradient(135deg,#f7b4e4,#dbbaff)}.math{background:linear-gradient(135deg,#ffcd67,#ffeeb5)}.writing{background:linear-gradient(135deg,#95e9d2,#c9f6c8)}.storybook-scene{border-color:#b8d6f2}.theme-picker,.kingdom-journey{margin:32px 0}.quest-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.quest-heading h2{font:600 clamp(25px,3vw,34px)/1.2 'Outfit',sans-serif;margin:8px 0 14px}.quest-heading p{max-width:290px;font-size:14px;line-height:1.6}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:17px}.theme-choice{padding:8px 8px 17px;border-radius:20px;border:2px solid #dce8f0;background:white;text-align:left;box-shadow:0 4px 0 #e7eef6;overflow:hidden}.theme-choice svg{display:block;width:100%;height:auto;border-radius:13px}.theme-choice strong,.theme-choice>span{display:block;margin:12px 7px 0}.theme-choice strong{font:600 20px 'Outfit',sans-serif}.theme-choice>span{font-size:12px;line-height:1.5;min-height:36px}.theme-choice.selected{border:3px solid var(--quest);background:var(--quest-soft);padding:7px 7px 16px}.theme-choice.selected:after{content:'✓ My adventure';display:block;margin:10px 7px 0;color:var(--quest);font-weight:700;font-size:12px}.kingdom-journey{border:2px solid #d6d9fa;background:linear-gradient(#f6f0ff,#e9faff);border-radius:25px;padding:28px}.kingdom-journey>p{max-width:800px;line-height:1.75;font-size:14px}.gem-counter{background:#fff;border:1px solid #c6d8f0;border-radius:30px;padding:12px 18px;white-space:nowrap;font-size:14px;font-weight:bold}.journey-panorama{display:flex;align-items:center;gap:25px;border-radius:20px;background:var(--quest-sky);padding:20px;margin:24px 0;overflow:hidden}.journey-panorama>svg{width:240px;max-width:45%;height:auto;border-radius:14px}.journey-panorama h3{font:600 29px 'Outfit';margin:8px 0}.journey-panorama p{line-height:1.6;max-width:420px}.journey-icon{font-size:36px}.kingdom-stops{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:0;margin:28px 0;counter-reset:stops}.kingdom-stops li{border-radius:19px;border:2px solid var(--stop-color);background:#fff;position:relative}.kingdom-stops li:after{content:'';height:8px;background:var(--stop-color);position:absolute;top:0;left:20px;right:20px;border-radius:0 0 10px 10px}.kingdom-stops button{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;width:100%;height:100%;min-height:180px;background:transparent;border:0;padding:22px 10px 18px;gap:8px}.kingdom-stops .stop-icon{font-size:39px}.kingdom-stops small{font-size:10px;letter-spacing:.7px;color:#5a6581}.kingdom-stops strong{font:600 21px 'Outfit'}.kingdom-stops button>span:last-child{font-size:12px;line-height:1.6}.kingdom-stops .gem-earned{background:#f3fff2;border-style:solid;box-shadow:0 3px 0 #9ccdac}.stop-locked{background:#eff2fa!important;border-style:dashed!important}.castle-challenges{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:white;border-radius:18px;padding:20px}.castle-challenges>div{flex:1;min-width:200px}.castle-challenges p{font-size:12px;line-height:1.6}.teacher-coach{display:flex;text-align:left;align-items:flex-start;gap:14px;background:#fff7d9;border:1px solid #edd591;border-radius:16px;padding:17px;margin:20px 0}.teacher-coach>span{font-size:32px}.teacher-coach b{font-size:12px;color:#795819;text-transform:uppercase;letter-spacing:.6px}.teacher-coach p{font-size:15px;line-height:1.7;margin:7px 0 0}.lesson-quest-strip{background:var(--quest-soft);color:var(--quest);padding:13px;border-radius:12px;display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:bold}.unlock-message{background:#fff3c8;border:2px solid #edc459;border-radius:17px;padding:22px;margin:22px 0}.unlock-message b{font:600 24px 'Outfit'}.unlock-message p{font-size:14px}.trace-board{height:auto!important;aspect-ratio:840/300;background:#fffdf8;border:2px solid #bfd7e4}.cursive-guide{display:block;width:100%;height:100%}.cursive-teacher{text-align:left;border:1px solid #d1dff0;background:#f0f7ff;border-radius:15px;padding:18px;margin:15px 0}.cursive-teacher ol{padding-left:22px;font-size:14px;line-height:1.75}.cursive-teacher p{font-size:13px;margin-bottom:0}.school-cursive text{font-synthesis:none;font-kerning:normal}.prewriting-stroke{stroke-dasharray:none!important;animation:none!important}.read-button{min-height:38px}.card-button:disabled{font-size:12px;color:#606c7c}.theme-choice:focus-visible,.kingdom-stops button:focus-visible{outline:4px solid #287fc0;outline-offset:4px}
.motion-on .quest-car{animation:quest-bob 3s ease-in-out infinite}.motion-on .quest-creature{animation:quest-bob 4s ease-in-out infinite}.motion-on .quest-fairy{transform-origin:230px 80px;animation:quest-flutter 2.7s ease-in-out infinite}.motion-on .quest-rocket{animation:quest-bob 3.7s ease-in-out infinite}@keyframes quest-bob{50%{translate:0 -5px}}@keyframes quest-flutter{50%{translate:0 -7px;rotate:5deg}}.motion-off .quest-car,.motion-off .quest-creature,.motion-off .quest-fairy,.motion-off .quest-rocket{animation:none!important}
@media(max-width:900px){.theme-grid{grid-template-columns:repeat(2,1fr)}.kingdom-stops{gap:13px}.kingdom-stops strong{font-size:18px}.quest-heading{align-items:flex-start;flex-wrap:wrap}}@media(max-width:560px){.kingdom-journey{padding:19px 13px;border-radius:20px}.kingdom-stops{grid-template-columns:repeat(2,1fr);gap:12px}.kingdom-stops button{min-height:175px;padding:20px 9px 15px}.quest-heading h2{font-size:27px}.gem-counter{font-size:12px;padding:9px 12px}.theme-choice strong{font-size:18px}.theme-grid{gap:11px}.journey-panorama{gap:12px;padding:12px}.journey-panorama h3{font-size:21px}.journey-panorama p{font-size:12px}.journey-icon{font-size:26px}.teacher-coach{padding:13px;gap:10px}.teacher-coach p{font-size:14px}.lesson-quest-strip{font-size:11px}.cursive-teacher{padding:14px}.welcome-voice-cards{grid-template-columns:1fr}}
/* Keep the book character separate from the castle, without a pasted picture panel. */
.world-kingdom .scene-friend-0{left:auto;right:23%;bottom:17%;width:29%}.kingdom-stops small{line-height:1.5;min-height:30px}.kingdom-stops button>span:last-child{min-height:38px}.world-kingdom .scene-animals{pointer-events:none}.world-kingdom .scene-friend{pointer-events:auto}
.world-kingdom .scene-lumi{right:6%;top:5%;bottom:auto;width:19%}.world-kingdom .scene-friend-0{right:28%;bottom:17%;width:27%}
.book-character .book-character-float{transform-box:fill-box;transform-origin:center bottom}.motion-on .animal-dragon.book-character .book-character-float{animation:storybook-breathe 4s ease-in-out infinite}.motion-on .animal-butterfly.book-character .book-character-float{animation:storybook-hover 3s ease-in-out infinite}.motion-on .hello-dance .book-character-float{animation:storybook-hello .65s ease-in-out 2!important}.motion-off .book-character-float{animation:none!important}@keyframes storybook-breathe{50%{transform:translateY(-3px) scale(1.015)}}@keyframes storybook-hover{50%{transform:translateY(-7px) rotate(3deg)}}@keyframes storybook-hello{50%{transform:translateY(-9px) rotate(-4deg)}}
.castle-stop-icon{display:block;width:66px;height:55px;object-fit:contain}.book-castle{pointer-events:none}

/* Bright painted storybook collection, with clear reading surfaces. */
.theme-choice{background:#fffaf1;border:2px solid #e4c87d;box-shadow:0 8px 24px #6b3d9220;overflow:hidden}
.theme-choice.selected{border-color:#8150b7;box-shadow:0 0 0 3px #ead6ff,0 10px 28px #6b3d9229}
.theme-choice>svg{width:100%;border-radius:15px;display:block}
.kingdom-journey{background:linear-gradient(135deg,#fffdf3,#f3eaff);border:1px solid #e4c87d}
.journey-panorama{background:linear-gradient(120deg,#fff4d2,#eee3ff);border:1px solid #e4c87d;border-radius:20px;overflow:hidden}
.storybook-scene{border:2px solid #e8cd86;box-shadow:0 10px 30px #543c7126}
.buddy-choice{background:linear-gradient(150deg,#fffdf7,#f2e8ff)}
.motion-on .animal-cat.book-character .book-character-float{transform-origin:50% 90%;animation:storybook-cat-breathe 4s ease-in-out infinite}
.motion-off .book-character-float{animation:none!important}

@keyframes storybook-cat-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.01)}}

audio[controls]{display:block;width:100%;max-width:560px;margin:12px 0}audio[hidden]{display:none}

.bloom-recording{position:fixed;width:1px;height:1px;opacity:.01;pointer-events:none;left:0;bottom:0}
/* Bloom kingdom home: painted places, clear paths, and generous touch targets. */
.adventure-home{margin-bottom:28px}.adventure-welcome{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:12px 8px 24px}.adventure-welcome h1{font:600 clamp(35px,4.3vw,56px)/1.05 'Outfit',sans-serif;letter-spacing:-1.4px;margin:12px 0}.adventure-welcome h1 em{color:#7850aa;font-style:normal}.adventure-welcome p{color:#60746b;line-height:1.6;margin-bottom:0}.adventure-passport{background:#fff9e9;border:1px solid #e6cf91;border-radius:22px;padding:18px 25px;display:grid;gap:8px;text-align:center;min-width:195px;box-shadow:0 8px 24px #b7933b12}.passport-crown{font-size:32px}.adventure-passport strong{font:600 20px 'Outfit'}.adventure-passport>span:not(.passport-crown){font-size:14px}.continue-adventure{display:flex;align-items:center;gap:20px;background:linear-gradient(110deg,#f1e6ff,#fff4d8);border:1px solid #d6b5eb;border-radius:22px;margin:0 0 24px;padding:15px 24px;box-shadow:0 7px 20px #7252a114}.continue-pal{width:76px;flex-shrink:0;height:90px}.continue-pal .animal{width:100%;height:100%}.continue-copy{flex:1}.continue-copy h2{font:600 27px 'Outfit';margin:5px 0}.continue-copy p{margin:0;font-size:14px;color:#625774}.continue-adventure .primary{background:#7450ab;min-height:54px;justify-content:center;white-space:nowrap}.kingdom-explorer{position:relative;isolation:isolate;border:3px solid #ebd292;border-radius:30px;overflow:hidden;background:#c4e0da var(--kingdom-scene) center/cover;box-shadow:0 16px 38px #5c4e7826;padding:30px}.kingdom-explorer:before{content:'';position:absolute;inset:0;background:linear-gradient(#f8f0ff10,#fdf5de32 40%,#244f4840);z-index:-1}.map-skyline{height:150px;position:relative}.map-castle{position:absolute;width:245px;height:210px;object-fit:contain;left:50%;top:-25px;transform:translateX(-50%);filter:drop-shadow(0 8px 8px #68468633)}.map-lumi{width:88px;position:absolute;right:15%;top:10px;filter:drop-shadow(0 3px 6px #67486744)}.map-spark{color:#fff7b8;position:absolute;font-size:34px;text-shadow:0 2px 12px #a66db4}.spark-a{left:23%;top:16px}.spark-b{right:27%;top:85px;font-size:24px}.map-banner{text-align:center;background:#fffcf1f0;max-width:590px;margin:0 auto 26px;border:1px solid #e5ca83;border-radius:18px;padding:13px 18px;box-shadow:0 5px 18px #57446b20}.map-banner>span{font-size:10px;letter-spacing:2px;font-weight:800;color:#83632e}.map-banner h2{font:600 clamp(22px,3vw,30px) 'Outfit';color:#503e6e;margin:6px 0 0}.learning-land-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;position:relative;align-items:stretch}.learning-land{position:relative;border:2px solid #ffefbe;background:#fffcf4;border-radius:20px;padding:0 0 16px;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;text-align:left;box-shadow:0 7px 0 #684c7460,0 12px 25px #354e4133;transition:transform .18s,border-color .18s}.learning-land:focus-visible,.map-cat-gate:focus-visible,.map-treasure:focus-visible{outline:4px solid #304eae;outline-offset:4px}.learning-land:active{transform:translateY(3px)}.land-picture{height:118px;background-size:cover;background-position:center;position:relative;display:flex;align-items:center;justify-content:center;border-bottom:3px solid var(--land-color)}.land-picture:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#25184025)}.land-symbol{position:relative;display:flex;align-items:center;justify-content:center;width:78px;height:78px;font-size:44px;background:#fff9e8ec;border:2px solid #f5dd95;border-radius:24px;box-shadow:0 6px 12px #32295038;text-shadow:0 2px 0 white}.land-symbol img{width:105px;height:100px;object-fit:contain}.land-name{font:600 22px 'Outfit';color:var(--land-color);margin:15px 16px 4px;line-height:1.15;padding-right:17px}.land-skill{font-size:13px;margin:0 16px 12px;color:#5c665f}.land-progress{font-size:11px;font-weight:700;color:#775c84;margin:0 16px;line-height:1.5;margin-top:auto}.land-enter{position:absolute;right:12px;bottom:15px;color:var(--land-color);font-size:20px}.land-next{border-color:#ffe690;box-shadow:0 7px 0 #98733e80,0 0 0 3px #fff1b599,0 12px 25px #354e4133}.next-stop-tag{position:absolute;top:8px;right:8px;background:#ffeda6;color:#604321;font-size:10px;font-weight:800;padding:5px 8px;border-radius:20px}.map-docks{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:28px}.map-cat-gate,.map-treasure{background:#fff9eaf5;border:2px solid #f4dda7;border-radius:18px;padding:13px 18px;display:flex;align-items:center;gap:15px;color:#50416b;text-align:left;box-shadow:0 5px 0 #654e7650;min-height:100px}.cat-gate-art{display:flex;align-items:flex-end;width:95px;flex-shrink:0}.cat-gate-art img{width:52px;height:75px;object-fit:contain}.cat-gate-art img+img{margin-left:-10px}.map-cat-gate strong{font:600 20px 'Outfit';display:block}.map-cat-gate small,.map-treasure small{display:block;font-size:12px;line-height:1.5;margin-top:5px}.map-treasure{position:relative;display:grid;grid-template-columns:45px 1fr;gap:2px 12px}.map-treasure>span{font-size:38px;grid-row:span 2}.map-treasure strong{font:600 22px 'Outfit'}.map-treasure small{margin:0}.home-guide{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:17px 8px;color:#65756a;font-size:13px}.home-guide #welcome-status:empty{display:none}.home-fold{background:#fffdf7;border:1px solid #e8ddc4;border-radius:18px;margin:20px 0;padding:0 18px}.home-fold>summary{cursor:pointer;font:600 21px 'Outfit';padding:20px 0;color:#51416c}.home-fold>summary>span{font:400 13px 'DM Sans',sans-serif;color:#69746e;margin-left:12px}.motion-on .map-lumi{animation:kingdom-lumi-hover 4s ease-in-out infinite}.motion-on .map-spark{animation:home-sparkle 3.5s ease-in-out infinite}.motion-on .spark-b{animation-delay:1.5s}@keyframes home-sparkle{0%,100%{opacity:.55;scale:.85}50%{opacity:1;scale:1.1}}@keyframes kingdom-lumi-hover{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-9px) rotate(5deg)}}
@media(hover:hover){.learning-land:hover{transform:translateY(-4px);border-color:#fff3b1}.map-cat-gate:hover,.map-treasure:hover{background:#fffdf6}}
@media(max-width:700px){.adventure-welcome{padding:4px 5px 18px;align-items:flex-start}.adventure-welcome h1{font-size:38px}.adventure-welcome p{font-size:13px}.adventure-passport{min-width:140px;padding:12px;gap:5px;border-radius:16px}.adventure-passport strong{font-size:17px}.passport-crown{font-size:25px}.adventure-passport>span:not(.passport-crown){font-size:12px}.continue-adventure{flex-wrap:wrap;padding:15px;gap:12px}.continue-pal{width:60px;height:75px}.continue-copy h2{font-size:24px}.continue-copy p{font-size:12px}.continue-adventure .primary{width:100%;min-height:50px}.kingdom-explorer{padding:18px 13px;border-radius:24px}.learning-land-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.land-name{font-size:19px;margin:12px 12px 4px;padding-right:0}.land-skill{margin:0 12px 10px;font-size:12px}.land-progress{margin:0 12px;font-size:10px;padding-right:10px}.land-picture{height:100px}.land-symbol{width:65px;height:65px;font-size:38px;border-radius:20px}.land-symbol img{height:82px;width:85px}.map-docks{grid-template-columns:1fr;gap:16px}.map-cat-gate{min-height:92px}.map-treasure{min-height:80px}.map-skyline{height:130px}.map-castle{width:220px;height:190px}.map-lumi{right:4%;width:68px}.map-banner{padding:12px 8px;margin-bottom:20px}.map-banner h2{font-size:22px}.home-fold>summary>span{display:block;margin:6px 0 0 18px;font-size:12px}.home-fold{padding:0 12px}}
@media(max-width:390px){.adventure-welcome h1{font-size:32px}.adventure-passport{min-width:123px;padding:10px}.adventure-welcome{gap:10px}.adventure-welcome .eyebrow{font-size:9px;letter-spacing:1px}.map-banner h2{font-size:20px}.land-name{font-size:17px}}
@media(prefers-reduced-motion:reduce){.map-lumi,.map-spark,.learning-land{animation:none!important;transition:none!important}}
/* Larger handwriting boards keep the font and ink in the same coordinate space. */
.cursive-pickers{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.cursive-pickers label{font-size:14px;font-weight:700;text-align:left}.cursive-pickers select{display:block;width:100%;border:1px solid #c6d7cd;border-radius:10px;margin-top:7px;min-height:48px;background:white}.cursive-paging{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.cursive-paging button{min-height:44px}.cursive-paging b{font-size:13px}.trace-mode-buttons{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:20px 0}.trace-mode-buttons button{padding:12px 16px;background:white;border:1px solid #b7b4d7;border-radius:22px;min-height:44px}.trace-mode-buttons button.selected{background:#7953b5;color:white;border-color:#7953b5}.trace-viewport{overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:18px;border-bottom:12px solid #e6e8f4;scrollbar-color:#7953b5 #e6e8f4;scrollbar-width:auto}.trace-viewport .trace-board{width:100%;max-width:none;height:auto!important;margin-top:0;min-height:0;border-radius:12px}.trace-viewport .trace-board.wide-trace{width:var(--trace-width);min-width:100%}.trace-viewport .trace-board.fit-trace{width:100%;min-width:0}.trace-size-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0;font-size:11px;color:#5b6b7b}.copy-model{background:#f2effb;border:1px solid #cdc3e2;border-radius:14px;padding:15px;text-align:center;overflow-wrap:anywhere}.copy-model span{display:block;font-size:13px}.copy-model strong{font-size:54px;font-weight:400;line-height:1.8}.copy-model[hidden]{display:none}.cursive-teacher ol{font-size:16px;line-height:1.8}.sentence-tools,.sentence-mode{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0}.sentence-feedback{background:#fff6df;border:1px solid #dfc48a;padding:18px;border-radius:15px;margin:18px 0;text-align:left}.sentence-feedback h3{margin-top:0}.sentence-feedback li{line-height:1.7}.sentence-ready{background:#eaf7ed;border-color:#8bbc9e}.sentence-correct{background:white;border-radius:10px;padding:15px;font-size:20px;line-height:1.6;overflow-wrap:anywhere}.sentence-model{font:600 24px/1.6 'Outfit';background:#f1edff;padding:22px;border:1px solid #d5c6f0;border-radius:16px;margin:22px 0;text-align:left}#sentence-answer{width:100%;font:20px/1.7 'DM Sans',sans-serif;padding:16px;border:2px solid #bdcfc6;border-radius:14px;min-height:130px;resize:vertical}.reading-entry{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:22px;margin:20px 0;background:linear-gradient(120deg,#edf8ec,#f3ecff);border:1px solid #c6dca9;border-radius:22px}.reading-entry>span{font-size:42px}.reading-entry>div{flex:1;min-width:190px}.reading-entry h2{font:600 26px 'Outfit';margin:0 0 7px;color:#4c466d}.reading-entry p{font-size:14px;line-height:1.6;margin:0;color:#5a6b60}.reading-foundation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:25px 0}.reading-foundation-grid button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;padding:22px;border-radius:18px;background:#fff9e9;border:2px solid #e8d2a0;min-height:160px}.reading-foundation-grid button>span{font-size:32px}.reading-foundation-grid strong{font:600 23px 'Outfit';color:#65498c}.reading-foundation-grid small{font-size:14px;line-height:1.6}.sound-blend-demo{background:#edf5ee;padding:18px;border:1px solid #c1d5c4;border-radius:15px;margin:20px 0}.blend-chips{display:flex;gap:12px;align-items:center;justify-content:center;margin:20px 0;flex-wrap:wrap}.blend-chips span{font-size:34px;background:white;border:1px solid #b5cfbc;padding:12px 20px;border-radius:12px}.sound-blend-demo p{font-size:14px;line-height:1.7}#foundation-word{font-size:32px;letter-spacing:.15em;padding:20px;margin:20px 0;background:#f4edff;border-radius:15px}.practice-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.cursive-pickers{grid-template-columns:1fr}.trace-size-controls{align-items:flex-start}.reading-entry{padding:17px;gap:12px}.reading-entry .primary{width:100%;justify-content:center}.reading-foundation-grid{gap:10px}.reading-foundation-grid button{padding:16px 12px}.reading-foundation-grid strong{font-size:20px}.practice-cards{grid-template-columns:1fr}.cursive-teacher ol{padding-left:20px;font-size:15px}.trace-mode-buttons button{font-size:13px;padding:12px}.sentence-correct{font-size:18px}.grade-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}}
.trace-rules{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.trace-size-controls button{min-height:44px}.sentence-tools button,.trace-actions button,.sentence-mode button{min-height:44px}.trace-viewport:focus-visible{outline:3px solid #254c9d;outline-offset:3px}
.stock-home-entry{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:22px;background:linear-gradient(115deg,#fff2cf,#edf3ff);border:1px solid #d3c193;border-radius:22px;margin:20px 0}.stock-home-entry>span{font-size:44px}.stock-home-entry>div{flex:1;min-width:200px}.stock-home-entry h2{font:600 27px 'Outfit';margin:0 0 8px;color:#62488a}.stock-home-entry p{font-size:14px;line-height:1.6;margin:0;color:#5e655f}.stock-concepts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0;text-align:left}.stock-concepts article{background:#fff9e9;border:1px solid #e5d29e;border-radius:18px;padding:22px}.stock-concepts article>span{font-size:32px;display:block}.stock-concepts small{font-size:10px;letter-spacing:1.8px;color:#7c5f2d;font-weight:800}.stock-concepts h3{font:600 23px 'Outfit';color:#5d477e;margin:10px 0}.stock-concepts p{font-size:16px;line-height:1.7}.stock-example{background:white;border-radius:12px;padding:14px;font-size:14px;line-height:1.7;color:#425c51}.stock-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.stock-totals>div{background:#f0eaff;border:1px solid #d5c6ed;border-radius:16px;padding:17px}.stock-totals small{display:block;font-size:12px;color:#625776;line-height:1.5}.stock-totals strong{font:600 38px 'Outfit';color:#533780;display:block;margin-top:8px}.stock-companies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:24px}.stock-companies article{background:#f4f8ef;border:1px solid #c8d7bb;border-radius:17px;padding:18px}.stock-companies article>span{font-size:37px}.stock-companies h3{font:600 23px 'Outfit';color:#345845}.stock-companies p{font-size:14px;line-height:1.6}.stock-share-controls{display:flex;gap:14px;align-items:center;justify-content:center;margin-top:20px}.stock-share-controls button{width:46px;height:46px;font-size:24px;border-radius:50%;border:1px solid #acbfa7;background:white;color:#345845}.stock-share-controls button:disabled{opacity:.4}.stock-share-controls output{font:600 26px 'Outfit';min-width:24px}.stock-scenario-label{display:block;font-weight:700;margin:18px 0 8px}#stock-scenario{border:1px solid #c8c6d4;max-width:100%;min-height:48px;border-radius:10px}.stock-result{padding:22px;background:#fff5de;border:1px solid #d9c18e;border-radius:17px;text-align:left;margin:22px 0}.stock-result p{line-height:1.7}.stock-table-scroll{overflow-x:auto;margin:18px 0}.stock-table-scroll table{border-collapse:collapse;min-width:510px;width:100%;background:white;font-size:14px}.stock-table-scroll th,.stock-table-scroll td{border:1px solid #d5d9cb;padding:12px;text-align:left}.stock-table-scroll caption{text-align:left;font-weight:700;padding-bottom:10px}.stock-table-scroll thead{background:#edf3e9}
@media(max-width:650px){.stock-concepts,.stock-companies{grid-template-columns:1fr}.stock-totals{gap:8px}.stock-totals>div{padding:13px 9px}.stock-totals strong{font-size:30px}.stock-home-entry{padding:18px}.stock-home-entry .primary{width:100%;justify-content:center}.stock-concepts article{padding:18px}}
/* Large, predictable learning support controls. */
.teach-me-tools{margin:18px 0 12px}.teach-me-button{background:#fff0ad;color:#303f35;border:2px solid #8a6b18;border-radius:20px;padding:14px 22px;min-height:60px;font-size:1.15rem;font-weight:800;box-shadow:0 4px 0 #d8bc66;display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap}.teach-me-button small{font-weight:500;font-size:.9rem}.teach-me-button:hover{background:#ffe78b}.teach-me-panel{background:#f0f6ff;border:3px solid #7b98ca;border-radius:24px;padding:24px;margin:14px 0 24px;scroll-margin-top:20px}.teach-me-panel[hidden]{display:none}.teach-me-heading{display:flex;align-items:center;gap:16px}.teach-me-heading>span{width:78px;flex-shrink:0}.teach-me-heading img,.teach-me-heading svg{width:100%;max-height:95px;object-fit:contain}.teach-me-heading small{color:#3b526b;font-weight:800}.teach-me-heading h3{font-size:1.45rem;margin:8px 0}.teach-me-panel p{font-size:1.1rem;line-height:1.7;color:#263e46;overflow-wrap:anywhere}.teach-me-example{background:#fffbed;border-radius:16px;border:1px solid #dacb93;padding:18px}.teach-me-example p{margin-bottom:0}.teach-me-nudge{font-weight:600}.teach-me-nav{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.teach-me-nav button{min-height:52px}.stock-discovery-dots{display:flex;gap:12px;margin:20px 0}.stock-discovery-dots span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:2px solid #a0aaa0;color:#374b43}.stock-discovery-dots .current{background:#61429b;color:white;border-color:#61429b}.stock-discovery-card{padding:26px;background:#f6f0ff;border:2px solid #c6b3e1;border-radius:24px;margin-bottom:22px}.stock-discovery-card h3{font-size:1.5rem}.stock-discovery-icon{font-size:2.6rem}.stock-discovery-card p{font-size:1.1rem;line-height:1.7}
#activity button{min-height:48px;touch-action:manipulation}#activity .option{font-size:1.1rem;line-height:1.5;padding:18px 20px}#activity button:focus-visible{outline:3px solid #4b3290;outline-offset:4px}.teach-me-panel .clock-svg{max-width:280px}#activity button:disabled{cursor:default;opacity:.55}@media(max-width:600px){.teach-me-button{width:100%;justify-content:center}.teach-me-panel{padding:18px 14px}.teach-me-heading{gap:10px}.teach-me-heading>span{width:58px}.teach-me-heading h3{font-size:1.25rem}.teach-me-nav .primary{flex:1}.stock-discovery-card{padding:20px 16px}#activity .lesson-actions{display:flex;gap:12px;flex-wrap:wrap}#activity .lesson-actions>button{flex:1 1 180px}}
/* Two calm spaces: learning for kids, setup and reports for parents. */
.kids-mode footer,.kids-mode header>#motion-toggle{display:none}.kids-mode #lesson-speed,.kids-mode label[for="lesson-speed"],.kids-mode #lesson-motion,.kids-mode #lesson-choose-voice{display:none}.kids-mode .practice-history{display:none}.kids-mode #main{max-width:840px;padding-top:24px;padding-bottom:40px}.kids-home h1,.kids-library h1,.kids-rewards h1{font-size:clamp(2rem,7vw,3rem);margin:4px 0 8px}.kids-greeting{margin-bottom:24px}.kids-greeting p{margin:0;color:#5b6d65}.kids-feature{display:flex;align-items:center;gap:24px;padding:28px;border-radius:30px;background:linear-gradient(90deg,#f6fff4f5,#f6fff4dc),var(--kids-scene) center/cover;border:2px solid #c2d5af;box-shadow:0 8px 24px #253c3910}.kids-feature h2{font-size:1.8rem;margin:8px 0}.kids-feature p{line-height:1.5;margin:0 0 18px}.kids-pal{width:160px;flex-shrink:0}.kids-pal img,.kids-pal svg{width:100%;max-height:185px;object-fit:contain}.kids-section-title{font-size:1.3rem;margin:30px 0 16px}.kids-subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kids-subject{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 12px;min-height:154px;border-radius:24px;border:2px solid #b9cdb5;background:#e8f6e6;color:#253b32}.kids-subject.subject-math{background:#eee5ff;border-color:#c8b5e2}.kids-subject.subject-writing{background:#fff0d9;border-color:#e1c69c}.kids-subject>span{font-size:2.3rem}.kids-subject strong{font-size:1.25rem}.kids-subject small{font-size:.9rem}.kids-more{display:flex;align-items:center;gap:18px;text-align:left;width:100%;background:#fffdf5;border:2px solid #d5cead;border-radius:22px;padding:20px;margin-top:20px;color:#2b4037}.kids-more>span:first-child{font-size:2rem}.kids-more>span:nth-child(2){display:flex;flex-direction:column;gap:6px;flex:1}.kids-more strong{font-size:1.15rem}.kids-more small{font-size:.95rem;line-height:1.5}.kids-small-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:20px}.kids-reading-card{background:#e7f3ef;border:2px solid #b8d3c5;border-radius:24px;padding:24px;margin:22px 0}.kids-reading-card>span{font-size:2.5rem}.kids-treasure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.kids-treasure-grid article{background:#fffaf0;border:1px solid #ddd0ad;border-radius:20px;padding:16px;display:flex;flex-direction:column;text-align:center;gap:10px;align-items:center}.kids-treasure-grid svg{max-width:130px;max-height:150px}.kids-empty-treasure{grid-column:1/-1;text-align:center}.kids-empty-treasure svg{max-width:170px}.parent-heading{margin-bottom:28px}.parent-heading h1{font-size:2.4rem;margin-bottom:8px}.parent-tabs{display:flex;gap:10px;margin-top:24px;border-bottom:2px solid #ddd8c9;padding-bottom:14px}.parent-tabs button{padding:14px 18px;border:1px solid #ccc8b7;border-radius:14px;background:#fffcf3;color:#31463c;min-height:48px}.parent-tabs button.selected{background:#365f53;color:#fff;border-color:#365f53}.parent-options-fold{background:#fffdf5;border:1px solid #d4d5c4;border-radius:20px;padding:22px;margin:22px 0}.parent-options-fold summary{cursor:pointer;font-weight:700;font-size:1.15rem;min-height:44px}.parent-controls,.parent-practice-summary{padding:24px;background:#f1f5ed;border:1px solid #ced5c5;border-radius:22px;margin:24px 0}.parent-controls button{margin:6px}.parent-mode .audio-settings{flex-wrap:wrap}.kids-mode button:focus-visible,.parent-tabs button:focus-visible{outline:3px solid #6845a2;outline-offset:4px}
@media(max-width:700px){body>header{position:sticky;top:0;z-index:20;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;padding:12px 16px;background:#fffdf5f5;backdrop-filter:blur(12px)}body>header .brand{font-size:1.25rem;gap:7px}body>header .brand-sub{font-size:.54rem;letter-spacing:.12em}body>header .crown-mark{width:42px;height:38px}body>header nav{display:flex;gap:5px;flex:0 0 auto;order:initial;width:auto}body>header .nav{padding:11px 12px;min-height:46px;font-size:.95rem;border-radius:14px}body>header>#motion-toggle{display:none}.kids-mode #main{padding:20px 16px 32px}.kids-feature{padding:22px 18px;gap:14px}.kids-pal{width:95px}.kids-feature h2{font-size:1.4rem}.kids-feature .eyebrow{font-size:.65rem}.kids-feature .primary{width:100%;min-height:50px}.kids-feature p{font-size:.95rem}.kids-subjects{gap:9px}.kids-subject{padding:20px 8px;min-height:142px;border-radius:20px}.kids-subject small{font-size:.8rem}.kids-subject strong{font-size:1.1rem}.kids-mode .practice-cards{grid-template-columns:1fr}.kids-treasure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-tabs button{flex:1;padding:12px 8px;font-size:.9rem}.parent-options-fold{padding:18px 12px}.parent-mode .stats{grid-template-columns:1fr}.parent-mode .record{flex-wrap:wrap;overflow-wrap:anywhere}.parent-heading h1{font-size:2rem}.parent-mode footer{padding-bottom:24px}.kids-mode .lesson-top{gap:8px}.kids-mode .lesson-audio{gap:10px}}
.kids-grade-switch{margin-top:16px;padding:12px 18px;min-height:48px;border:2px solid #9976b9;border-radius:16px;background:#f1e7ff;color:#422c60;font-weight:700;display:inline-flex;gap:20px;align-items:center}.kids-grade-page h1{font-size:clamp(2rem,7vw,3rem);margin:24px 0 12px}.kids-grade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}.kids-grade-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:150px;padding:20px 12px;border:2px solid #c9d4b7;border-radius:24px;background:#fffdf3;color:#2e443b}.kids-grade-grid button>span{font-size:2.4rem;font-weight:800}.kids-grade-grid button>strong{font-size:1.05rem}.kids-grade-grid button.selected{background:#eee3ff;border:3px solid #7851a2}.kids-grade-grid button small{font-size:.9rem}@media(max-width:600px){.kids-grade-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kids-grade-grid button{min-height:145px}}
.kids-language-card{background:#f0e8fb;border:2px solid #c5addf;border-radius:24px;padding:24px;margin:22px 0}.kids-language-card>span{font-size:2.5rem}.language-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.language-picks button{display:flex;flex-direction:column;gap:8px;align-items:center;padding:20px 12px;min-height:100px;border:2px solid #c6d6c2;border-radius:20px;background:#f5faed;color:#2f4339}.language-picks button.selected{background:#eee0ff;border-color:#8057a7}.language-picks strong{font-size:1.1rem}.language-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.language-topics button{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:150px;border:2px solid #d6cba4;border-radius:24px;padding:22px 12px;background:#fff9e9;color:#344435}.language-topics button>span{font-size:2.4rem}.language-topics strong{font-size:1.15rem}.language-flashcard{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:32px 20px;margin:24px 0;background:#f4f0ff;border:2px solid #cdbbe3;border-radius:28px}.language-picture{font-size:4rem;line-height:1.4}.language-swatch{display:block;width:100px;height:100px;border:3px solid #37443e;border-radius:26px}.language-word{display:block;font-size:clamp(1.7rem,7vw,3rem);line-height:1.5;font-weight:750;overflow-wrap:anywhere}.language-pinyin{display:block;font-size:1.3rem;line-height:1.6;color:#51466c}.language-meaning{font-size:1.35rem;color:#3e554c;border-top:1px solid #cdbbe3;padding-top:14px}.language-question-card{text-align:center;background:#eef7ed;border:2px solid #c3d8b5;border-radius:24px;padding:26px 16px;margin:20px 0}.language-question-card>strong{font-size:1.6rem}.language-answer .language-word{font-size:1.3rem}.language-answer .language-pinyin{font-size:1rem}.language-answer{text-align:center!important}@media(max-width:600px){.language-picks{gap:8px}.language-picks button{padding:16px 6px}.language-picks strong{font-size:.95rem}.language-picks span{font-size:.9rem}.language-topics{gap:10px}.language-topics strong{font-size:1rem}.language-flashcard{padding:24px 12px}}
.language-hear-tools{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 10px}.language-hear-tools button{min-height:52px}.language-hear-tools .primary{flex:1 1 150px}.language-hear-tools .read-button{flex:1 1 100px}
/* A storybook setting around the child's calm learning controls. */
body.kids-mode{--kids-landscape:url('assets/enchanted-majestic-v1.webp');background-color:#ecf4ff;background-image:linear-gradient(180deg,#e9f5ffb8,#f7f3ffe8 75%),var(--kids-landscape);background-position:center,center top;background-size:cover;background-attachment:fixed}body.kids-mode[data-adventure="racing"]{--kids-landscape:url('assets/racing-majestic-v1.webp')}body.kids-mode[data-adventure="safari"]{--kids-landscape:url('assets/safari-majestic-v1.webp')}body.kids-mode[data-adventure="cosmic"]{--kids-landscape:url('assets/cosmic-majestic-v1.webp')}.kids-mode>header{background:#fffdf4ed;border-bottom:1px solid #dacb9b}.kids-storybook-welcome{position:relative;isolation:isolate;min-height:300px;border:2px solid #eed28c;border-radius:30px;margin-bottom:20px;padding:30px;background:linear-gradient(90deg,#fffdf5f5,#fffdf5ba 45%,#eaf4ff20 75%),var(--welcome-scene) center/cover;box-shadow:0 12px 32px #78609622;overflow:hidden}.kids-storybook-welcome .kids-greeting{position:relative;z-index:2;max-width:50%;margin:0;padding:4px 0}.kids-storybook-welcome h1{color:#503774;font-size:clamp(2.2rem,5vw,3.2rem);line-height:1.08;text-wrap:balance;text-shadow:0 1px #fff}.kids-storybook-welcome p{color:#344c48;line-height:1.6;max-width:245px}.kids-storybook-art{position:absolute;inset:0;z-index:1;pointer-events:none;user-select:none}.kids-storybook-art img{object-fit:contain;pointer-events:none}.kids-storybook-castle{position:absolute;right:-12px;bottom:-15px;width:54%;height:auto;max-height:310px;filter:drop-shadow(0 8px 7px #6f549033)}.kids-storybook-butterfly{position:absolute;right:9%;top:14px;width:92px;height:auto;filter:drop-shadow(0 3px 6px #724ca94d);transform:rotate(-12deg)}.motion-on .kids-storybook-butterfly{animation:storybook-butterfly-drift 6s ease-in-out infinite}.kids-storybook-spark{position:absolute;color:#fff3aa;text-shadow:0 0 8px #957135;font-size:28px}.kids-storybook-spark.spark-one{right:39%;top:28px}.kids-storybook-spark.spark-two{right:5%;top:100px;font-size:20px}.kids-feature{border:2px solid #d6bfeb;background:#fffcf8f5;box-shadow:0 6px 20px #71528b12}.kids-section-title{display:inline-block;background:#fffdf5f2;border-radius:14px;padding:10px 16px;color:#3c3756;margin:20px 0 14px}.kids-subjects .kids-subject{padding:0 0 18px;overflow:hidden;gap:10px;border-width:2px;background:#fffcf4;box-shadow:0 5px 0 #6b537d1c}.kids-subjects .kids-subject-art{display:flex;align-items:center;justify-content:center;width:100%;height:94px;background-size:cover;background-position:center;border-bottom:2px solid #d9d4bd}.kids-subject-art>span{display:grid;place-items:center;font-size:2rem;background:#fffdf4ed;width:54px;height:54px;border:2px solid #f6e3a7;border-radius:18px;box-shadow:0 4px 10px #49385825}.kids-more{background:#fffcf8f5;border-color:#d7c397;box-shadow:0 5px 18px #49385812}.kids-small-links .read-button{background:#fffdf5f0}.kids-home #welcome-status:empty{display:none}.kids-library,.kids-grade-page,.kids-rewards{background:#fffdf6f5;padding:24px;border:1px solid #e1d5b3;border-radius:28px}.motion-off .kids-storybook-butterfly{animation:none!important}@keyframes storybook-butterfly-drift{0%,100%{transform:translate(0,0) rotate(-12deg)}50%{transform:translate(-12px,-8px) rotate(-4deg)}}@media(prefers-reduced-motion:reduce){.kids-storybook-butterfly{animation:none!important}}
@media(max-width:700px){body.kids-mode{background-attachment:scroll;background-size:auto,auto 100vh;background-repeat:no-repeat;background-color:#f0edff}.kids-storybook-welcome{min-height:292px;padding:22px 18px;border-radius:26px;background-position:center,55% center;background-image:linear-gradient(90deg,#fffdf5f5,#fffdf5c9 49%,#eaf4ff18 82%),var(--welcome-scene)}.kids-storybook-welcome .kids-greeting{max-width:61%}.kids-storybook-welcome h1{font-size:2.15rem;margin:8px 0 12px;max-width:180px}.kids-storybook-welcome .eyebrow{font-size:.6rem;letter-spacing:1.1px;display:block;max-width:180px}.kids-storybook-welcome p{font-size:.9rem;max-width:150px}.kids-storybook-welcome .kids-grade-switch{font-size:.9rem;gap:10px;padding:12px;margin-top:12px;background:#f2e6ff;border-color:#8861ae}.kids-storybook-castle{width:58%;max-height:215px;right:-14px;bottom:-6px}.kids-storybook-butterfly{width:70px;right:6%;top:12px}.kids-storybook-spark.spark-one{right:29%;top:75px;font-size:21px}.kids-storybook-spark.spark-two{right:7%;top:100px;font-size:17px}.kids-feature{padding:20px 16px}.kids-subjects .kids-subject-art{height:78px}.kids-subject-art>span{font-size:1.7rem;width:46px;height:46px;border-radius:15px}.kids-subjects .kids-subject{min-height:156px}.kids-library,.kids-grade-page,.kids-rewards{padding:18px 12px;border-radius:24px}.kids-section-title{font-size:1.15rem;padding:10px 12px}}@media(max-width:350px){.kids-storybook-welcome{min-height:312px}.kids-storybook-welcome h1{font-size:1.9rem}.kids-storybook-castle{width:62%;right:-22px;bottom:-3px}.kids-storybook-welcome .kids-greeting{max-width:64%}.kids-storybook-welcome .kids-grade-switch{font-size:.82rem}}
.child-voice-practice{background:#eef7f4;border:2px solid #bad2c6;border-radius:20px;padding:20px;margin:20px 0}.child-voice-actions{display:flex;gap:12px;flex-wrap:wrap}.child-voice-actions button{min-height:48px;flex:1 1 145px}.child-voice-practice audio{display:none}.voice-practice-consent{display:flex;gap:14px;align-items:flex-start;font-size:1.1rem;line-height:1.6}.voice-practice-consent input{width:24px;height:24px;flex-shrink:0;margin-top:3px}.child-voice-practice #child-voice-status{font-weight:600;line-height:1.6}

/* Four core learning paths, with roomy targets on phones. */
.kids-subjects{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-science{background:#e0f4ed}.science{background:#d9f0ef}@media(min-width:760px){.kids-subjects{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Beginner reading pilot: generous touch targets and clear, static sound groups. */
.trail-entry{margin:22px 0 12px;background:#fff4c9;border:2px solid #e8cd72}.trail-heading h2{font-size:clamp(28px,6vw,38px)}.trail-companion{width:100px;height:100px;margin:0 auto 16px}.trail-companion svg{width:100%;height:100%}.trail-map{list-style:none;padding:0;margin:24px 0;display:grid;gap:12px}.trail-map button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f8f2ff;border:2px solid #ddd0ed;border-radius:18px;padding:18px;text-align:left;min-height:86px}.trail-map strong,.trail-map small{display:block}.trail-map small{font-size:14px;margin-top:5px}.trail-step{display:grid;place-items:center;background:#7652ad;color:white;border-radius:50%;min-width:42px;height:42px;font-size:22px;font-weight:bold}.trail-review-card{background:#e3f5ea;padding:18px;border-radius:18px;margin:20px 0}.trail-grownup{padding:18px;background:#f1f4ea;border-radius:14px;margin:20px 0;text-align:left}.trail-sound-card{border:2px solid #d2bcef;background:#f8f1ff;border-radius:20px;margin:20px 0;padding:20px}.trail-big-letter{display:block;font-size:clamp(72px,18vw,112px);line-height:1.3;color:#694098}.trail-sound-card small{letter-spacing:1px;font-size:12px}.trail-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.trail-buttons button,.trail-blend button{min-height:48px;min-width:48px}.trail-blend{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.trail-blend button{font-size:clamp(32px,9vw,52px);border:3px solid #ddd2e8;border-radius:14px;background:white;padding:10px 16px}.trail-blend button.active{border-color:#7652ad;background:#f3e5ff;box-shadow:0 3px 0 #7652ad}.trail-whole-word{font-size:42px;font-weight:bold}.trail-story{background:#fff5d6;border:2px solid #e8ce7f;border-radius:18px;padding:20px;margin:20px 0;text-align:left;font-size:clamp(25px,6vw,34px);line-height:1.7;overflow-wrap:anywhere}.trail-story p{margin:10px 0}.trail-success{padding:18px;border-radius:16px;background:#e4f4d9}.trail-success>span{display:block;color:#7852ac;font-size:48px}.trail-success strong{font-size:22px}#activity>.primary,#activity>.read-button{margin:8px 5px}.trail-map button:focus-visible,.trail-blend button:focus-visible{outline:3px solid #233c35;outline-offset:4px}@media(max-width:380px){.trail-map button{padding:13px;gap:9px}.trail-story{padding:15px}.trail-blend{gap:8px}}
/* Whole-word pronunciation stays distinct from choosing an answer. */
button.trail-word{display:inline;margin:0;padding:1px 3px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;text-decoration:underline dotted #7652ad;text-underline-offset:5px;cursor:pointer}button.trail-word:hover,button.trail-word:focus-visible,button.trail-word.is-word-speaking{background:#f0dfac;outline:2px solid #7652ad}.trail-word-tools{padding:12px;border:1px solid #ded4e5;border-radius:12px;text-align:left;font-size:14px;margin:16px 0}.trail-word-tools p{margin:5px 0}.trail-word-tools button{margin:5px 3px;min-height:44px}.trail-choice-pair{display:flex;flex-direction:column;gap:8px}.trail-choice-pair>.option{flex:1;width:100%}.stock-ownership{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:16px auto;max-width:430px}.stock-ownership span{padding:14px 3px;border:2px solid #b8c8bd;border-radius:10px;background:#edf3ea;font-size:14px}.stock-ownership .pip-share{background:#e8dcfa;border:3px solid #7652ad;font-weight:bold}.stock-before-after{display:flex;gap:16px;align-items:center;justify-content:center;margin:18px 0}.stock-before-after>div{padding:18px;border:2px solid #d5dfd0;border-radius:15px;background:#f6faef}.stock-before-after small,.stock-before-after b{display:block}.stock-before-after b{font-size:34px}.stock-spread-pictures{font-size:48px;padding:16px}.stock-word-note{padding:14px;border-radius:12px;background:#f9edc8;text-align:left;font-size:16px}@media(max-width:380px){.stock-ownership span{font-size:12px}.stock-before-after{gap:8px}.stock-before-after>div{padding:12px}}
/* Bright discovery rooms, sized for small hands. */
.discovery-entry-cards{margin:24px 0}.discovery-entry-cards article{border-top:6px solid #9360d2;background:#fffbea}.discovery-guide{display:flex;align-items:center;gap:18px;background:#eef5ff;border-radius:24px;padding:16px;margin:18px 0}.discovery-guide .animal{flex:0 0 92px;width:92px;height:110px}.discovery-guide p{margin:0}.atlas-countries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.atlas-countries button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;background:#fff9df;border:2px solid #e8d296;border-radius:18px;min-height:120px}.atlas-countries img{width:80px;height:60px;object-fit:contain}.atlas-flag{display:block;width:min(240px,75%);height:150px;object-fit:contain;margin:22px auto}.atlas-facts{background:#f0e8ff;padding:12px 22px;border-radius:16px}.atlas-map{margin:20px 0}.atlas-map svg{display:block;width:100%;height:auto;border:2px solid #87c6cc;border-radius:15px}.atlas-map figcaption,.body-figure figcaption{font-size:14px;line-height:1.6;margin-top:9px}.body-figure{margin:12px auto;text-align:center}.body-figure svg{display:block;max-height:420px;max-width:100%;margin:auto;background:#f7f2ff;border-radius:24px}.music-keyboard{display:flex;gap:4px;margin:25px 0;min-height:145px}.music-keyboard button{flex:1;min-width:0;background:white;border:2px solid #76628f;border-bottom:9px solid #9374c0;border-radius:0 0 12px 12px;font-weight:bold;font-size:22px}.music-keyboard button:active{background:#e8d8ff}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.memory-grid button{aspect-ratio:1;min-height:86px;min-width:0;background:#f0e4ff;border:3px solid #9873c6;border-radius:18px;padding:4px}.memory-grid button:disabled{opacity:1}.memory-grid .animal{width:100%;height:100%;max-height:120px}.memory-symbol{font-size:40px;color:#7044a8}.pattern-bridge{display:flex;flex-wrap:wrap;gap:6px;background:#dbf4ff;border-bottom:10px solid #bd905c;border-radius:16px;padding:14px;margin:20px 0}.pattern-bridge>span{width:64px;text-align:center;background:white;border-radius:12px}.pattern-bridge .animal{height:65px;width:100%}.pattern-bridge small{font-size:12px;display:block}.pattern-missing{font-size:40px}.pattern-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pattern-choices button{background:#fff1c9;border:2px solid #dfbe6b;border-radius:14px;padding:6px;min-width:0}.pattern-choices .animal{width:100%;height:85px}.pattern-choices strong{display:block;font-size:14px}.trail-speed-label{display:flex;align-items:center;gap:12px;font-weight:bold;flex-wrap:wrap}.trail-speed-label select{font:inherit;padding:12px;border:2px solid #9c83bd;border-radius:12px;background:white;max-width:100%}.trail-letter-button{background:#fff1c5;border:3px solid #b997dd;border-radius:24px;padding:18px 28px;display:block;margin:12px auto}.trail-letter-button small{display:block;font-size:16px}.practice-cards article>.animal{width:110px;height:115px}
@media(min-width:700px){.atlas-countries{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:420px){.discovery-guide{gap:8px;padding:12px}.discovery-guide .animal{flex-basis:66px;width:66px;height:86px}.pattern-bridge>span{width:52px}.pattern-choices .animal{height:65px}}
.interactive-atlas{margin:22px 0;background:#f1faff;border:2px solid #a1d0e7;border-radius:24px;padding:14px}.atlas-map-toolbar,.atlas-map-pan,.atlas-regions{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.atlas-map-toolbar button,.atlas-map-pan button,.atlas-regions button{margin:3px;min-height:44px}.atlas-map-instructions{font-size:15px;line-height:1.5}.atlas-vector-wrap{position:relative;overflow:hidden;border-radius:18px;border:2px solid #82bbd6;background:#d4efff}.atlas-vector-wrap svg{display:block;width:100%;aspect-ratio:2/1;min-height:230px;touch-action:none;user-select:none;cursor:grab}.atlas-vector-wrap svg:active{cursor:grabbing}.atlas-country-shape{stroke:#8c9d94;stroke-width:.55;vector-effect:non-scaling-stroke}.atlas-study-country{cursor:pointer;stroke:#536c72;stroke-width:1.2}.atlas-study-country:hover,.atlas-study-country:focus{fill:#f7b6e5;stroke:#512488;stroke-width:3;outline:none}.atlas-country-chosen{fill:#e398e1!important;stroke:#603292;stroke-width:3}.atlas-compass{position:absolute;right:12px;top:10px;border-radius:12px;background:#fffc;padding:5px 9px;font-size:14px;font-weight:bold;pointer-events:none}.atlas-country-panel{display:flex;gap:20px;padding:20px;background:#fff4cf;border:2px solid #ead28b;border-radius:22px;margin:20px 0;align-items:flex-start}.atlas-country-panel>img{width:100px;max-height:90px;object-fit:contain}.atlas-country-panel h3{margin-top:0}.atlas-country-panel p{font-size:17px;line-height:1.7}.atlas-teaching-country{background:#fff5cf;padding:16px 24px;border-radius:20px;margin:18px 0}.atlas-teaching-country .atlas-flag{margin-top:6px}.atlas-quest-cards small{display:block;line-height:1.5}.atlas-ocean-labels{text-shadow:0 1px white}.trail-letter-choices{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}@media(max-width:480px){.atlas-country-panel{display:block;padding:16px}.atlas-country-panel>img{display:block;margin:0 auto 15px;width:120px}.interactive-atlas{padding:8px}.atlas-map-toolbar button,.atlas-map-pan button{font-size:14px;padding:10px}.atlas-vector-wrap svg{min-height:220px}.atlas-ocean-labels{display:none}}
.mini-demo{background:#eee5ff;border-radius:22px;padding:22px;text-align:center;margin:20px 0}.mini-demo>span{font-size:64px}.mini-vehicle-track{position:relative;height:145px;border-radius:22px;overflow:hidden;margin:20px 0}.rally-route{background:linear-gradient(#d9f3ff 0 50%,#87d18c 50% 60%,#5e6578 60% 88%,#ffdc86 88%)}.rally-route:after{content:'';position:absolute;left:0;right:0;top:76%;border-top:3px dashed white}.rocket-route{background:radial-gradient(circle at 25% 20%,white 0 2px,transparent 3px),radial-gradient(circle at 65% 25%,white 0 2px,transparent 3px),linear-gradient(130deg,#4a3796,#252b68);border:3px solid #b9a5ec}.mini-moving-vehicle{position:absolute;left:var(--vehicle-left);top:49%;font-size:48px;z-index:2;transform:translateX(-10%)}.rocket-route .mini-moving-vehicle{top:33%}.mini-vehicle-moving{animation:mini-drive .85s ease-out both}.mini-route-landmark{position:absolute;right:4px;top:18px;font-size:40px}.mini-route-dots{display:flex;justify-content:space-around;position:absolute;bottom:2px;width:100%;z-index:3}.mini-route-dots>span{border-radius:50%;width:22px;height:22px;font-size:13px;background:#fff;color:#35435e;display:grid;place-items:center}.mini-route-dots>span.reached{background:#f5cf61;color:#263a3c}.mini-progress-label{text-align:center;font-size:15px}.rally-letter-tiles,.sentence-word-tiles{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.rally-letter-tiles button{width:51px;height:57px;border:2px solid #a17dce;border-bottom:6px solid #a17dce;border-radius:12px;background:#fff4c6;font-size:28px}.rally-letter-tiles button:disabled,.sentence-word-tiles button:disabled{opacity:.3}.rally-answer,.sentence-game-answer{font-size:clamp(24px,5vw,36px);min-height:68px;background:#edf4ff;padding:18px;border:2px dashed #8c91c0;border-radius:16px;overflow-wrap:anywhere;letter-spacing:2px}.rally-type-label{display:block;font-weight:bold;margin:16px 0}.rally-type-label input{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:25px;padding:14px;margin-top:8px;border:2px solid #b8a4d5;border-radius:14px}.mini-feedback{padding:15px;border-radius:16px;background:#fff1be;line-height:1.7;margin:20px 0}.rocket-dots{display:flex;gap:15px;flex-wrap:wrap;font-size:28px;margin:20px 0;color:#6d3f99}.sentence-word-tiles button{padding:13px 18px;border:2px solid #aa85c9;border-radius:12px;background:#fff5cc;font:inherit;min-height:48px}.sentence-game-model{font-size:clamp(22px,4vw,28px);background:#eaf5ec;border-left:6px solid #78aa82;padding:18px;border-radius:14px;line-height:1.8}.tic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:390px;margin:25px auto}.tic-grid button{aspect-ratio:1;font-size:48px;font-weight:bold;background:#fff0ca;color:#62438d;border:3px solid #b495d5;border-radius:18px}.tic-grid button:disabled{opacity:1}.readalong-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:24px 0}.readalong-cover{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px;border-radius:10px 22px 22px 10px;border:2px solid #c1a0dc;border-left:9px solid #8d62b7;background:linear-gradient(155deg,#eee2ff,#fff2bb);box-shadow:3px 5px 0 #e6ddc7;color:#293f3d;text-align:center}.readalong-cover strong{font-size:20px}.readalong-cover small{font-size:13px;line-height:1.6}.readalong-cover-art .animal{width:120px;height:125px}.readalong-cover>span:last-child{font-size:14px}.readalong-scene{height:150px;background:linear-gradient(#dff4ff80,#eaf4c980),url('assets/castle-storybook-v2.webp') center/cover;border-radius:24px;text-align:center;overflow:hidden;margin:15px 0}.readalong-scene .animal{height:150px;width:145px}.readalong-page{background:#fff8e9;border:2px solid #eee0b6;border-radius:22px;padding:20px 26px;margin:20px 0}.readalong-page p{font-size:clamp(25px,5vw,36px);line-height:1.95}.readalong-page.reading-active{border-color:#9963c7;box-shadow:0 0 0 4px #ebdcf7}.readalong-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.readalong-controls label{display:flex;align-items:center;gap:8px}.readalong-controls select{font:inherit;padding:10px;border:2px solid #ac93cb;border-radius:10px;background:white}@keyframes mini-drive{from{left:var(--vehicle-before)}to{left:var(--vehicle-left)}}body[data-motion="off"] .mini-vehicle-moving{animation:none}@media(prefers-reduced-motion:reduce){.mini-vehicle-moving{animation:none}}@media(max-width:420px){.readalong-library{gap:10px}.readalong-cover{padding:12px 8px}.readalong-cover strong{font-size:18px}.readalong-cover-art .animal{width:90px;height:100px}.readalong-page{padding:15px}.mini-moving-vehicle{font-size:39px}.mini-route-landmark{font-size:32px}}
.motion-off .mini-vehicle-moving{animation:none}.rally-route .mini-moving-vehicle{transform:translateX(-10%) scaleX(-1)}
.character-body-entry{display:flex;gap:22px;align-items:center;padding:22px;background:linear-gradient(125deg,#f0e5ff,#fff2bb);border:2px solid #c3a4de;border-radius:24px;margin:24px 0}.character-body-entry>img{width:100px;height:145px;object-fit:contain}.character-body-entry h3{margin-top:6px}.character-body-entry p{font-size:17px;line-height:1.7}.character-body-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:22px;align-items:start;margin:22px 0}.character-body-stage{position:relative;max-width:460px;margin:auto;background:radial-gradient(ellipse,#fff9df,#edf5ff);border-radius:30px;border:2px solid #e6d8ef;padding:0}.character-body-picture{display:block;width:100%;height:auto}.character-body-callout{position:absolute;transform:translate(-50%,-50%);padding:10px 12px;min-height:44px;min-width:56px;font:inherit;font-size:15px;font-weight:bold;background:#fff;border:2px solid #9f82be;border-radius:14px;box-shadow:0 3px 0 #d6c7e5;z-index:1}.character-body-callout.selected{background:#ffdf7f;border-color:#8050a8}.character-body-bubble{border:3px solid #b99bd5;border-radius:25px;background:#fff8de;padding:22px}.character-body-bubble h3{font-size:32px;margin:12px 0}.character-body-bubble>p{font-size:22px;line-height:1.8}.character-body-bubble .saved-note{font-size:15px}.character-body-part-list,.character-body-tabs{display:flex;flex-wrap:wrap;gap:8px}.character-body-tabs button[aria-pressed=true],.character-body-part-list button[aria-pressed=true]{background:#e2d0f5;border:2px solid #9b76bf}.character-body-part-list button{min-height:44px}@media(max-width:650px){.character-body-layout{grid-template-columns:1fr}.character-body-stage{max-width:350px}.character-body-entry{padding:15px;gap:12px}.character-body-entry>img{width:78px;height:110px}.character-body-bubble{padding:18px}.character-body-bubble>p{font-size:21px}.character-body-callout{font-size:14px;padding:9px 11px}}
.character-entry-human{flex:0 0 90px;width:90px;height:145px}.character-entry-human svg{display:block;width:100%;height:100%}.character-body-picture{max-height:650px}.character-body-stage{background:linear-gradient(155deg,#eff9ff,#fff8dc)}
.character-guide-icon{float:right;width:62px;height:75px;margin:0 0 8px 12px}.character-guide-icon .animal{width:100%;height:100%}
.grade-skill-note{padding:14px 18px;background:#eef0fc;border-left:5px solid #9a79bd;border-radius:12px;line-height:1.7}.book-word{display:inline;padding:0 2px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;cursor:pointer}.book-word:hover,.book-word:focus-visible{background:#ece1fa;outline:2px solid #9b7cbb}.book-word.book-word-active{background:#ffe268;color:#263a3c;box-shadow:0 2px 0 #ccaa42}.language-question-card+label input,#language-typed{display:block;width:100%;box-sizing:border-box;border:2px solid #b7a0d0;border-radius:12px;padding:14px;font:inherit;font-size:23px;margin:12px 0}

.readalong-cover .book-preview{font-size:15px;line-height:1.5;text-align:left}.readalong-cover:nth-child(3n+2){background:linear-gradient(155deg,#dff3ff,#fff4cb);border-left-color:#487eaf}.readalong-cover:nth-child(3n){background:linear-gradient(155deg,#e4f6dc,#fff2c7);border-left-color:#50856d}
/* Mobile quality pass: readable controls and a calm parent workspace. */
:root{--muted:#52645b}
input:focus-visible{outline:3px solid #6845a2;outline-offset:4px}.skip-link{position:fixed;left:12px;top:-100px;z-index:1000;background:#fff;color:#233c35;padding:14px;border:3px solid #247568;border-radius:10px}.skip-link:focus{top:12px}.storage-warning{position:sticky;top:0;z-index:1001;background:#fff0bd;color:#543b0b;padding:16px 22px;border-bottom:2px solid #9b6b10;font-size:16px;line-height:1.6}.storage-warning[hidden]{display:none}
.lesson-top{gap:12px;flex-wrap:wrap}.lesson-top .lesson-audio{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lesson-top .lesson-audio button{width:auto;min-width:44px;min-height:44px;height:auto;padding:10px;border-radius:12px;font-size:16px}.lesson-top .lesson-audio select{max-width:none;width:100px;min-height:44px;font-size:16px}.lesson-top .lesson-audio label{font-size:15px}.lesson-top .lesson-audio #lesson-motion{max-width:150px}dialog{max-height:90dvh}dialog h2{overflow-wrap:anywhere}button,input,select,textarea{touch-action:manipulation}.read-button{min-height:44px}#main:focus{outline:none}
.parent-mode{background:#f6f7fb}.parent-mode main{max-width:1050px;margin:auto;padding:28px 24px 60px}.parent-mode .parent-heading{display:block;margin-bottom:26px}.parent-heading h1{font-size:clamp(27px,5vw,38px);margin:8px 0 18px}.parent-learner-line{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.parent-mode label{display:flex;flex-direction:column;gap:8px;max-width:420px;font-weight:600;line-height:1.5}.parent-mode input:not([type=checkbox]),.parent-mode select{font:inherit;font-size:16px;border:1.5px solid #8e9baa;background:#fff;color:#233c35;padding:12px;border-radius:12px;min-height:46px;max-width:100%;width:100%}.parent-mode input[type=file]{margin-top:8px;font-size:14px}.parent-tabs{margin-top:22px;border-bottom:1px solid #d2d9e1;gap:8px}.parent-tabs button{padding:13px 18px;min-height:48px;border:0;border-radius:12px 12px 0 0;background:transparent;color:#465766;font-size:16px}.parent-tabs button.selected{background:#fff;color:#335c52;box-shadow:inset 0 -3px #247568;font-weight:700}.parent-controls,.parent-overview,.parent-about,.parent-subject,.parent-options-fold{background:#fff;border:1px solid #dbe2e8;border-radius:18px;padding:22px;margin:0 0 18px;color:#233c35}.parent-options-fold>summary{cursor:pointer;font-weight:700;min-height:44px;display:list-item;align-content:center;line-height:1.5}.parent-mode p{font-size:16px;line-height:1.7;max-width:75ch}.parent-mode .saved-note{font-size:14px;color:#52645b}.parent-mode h2{font-size:24px;margin:0 0 16px}.parent-mode h3{font-size:20px;margin:14px 0}.parent-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.parent-stat-grid article{background:#eef5f2;padding:18px;border-radius:12px}.parent-stat-grid strong{display:block;font-size:30px}.parent-stat-grid span{font-size:14px;line-height:1.4}.parent-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.parent-subject{margin:0}.parent-options-fold{margin-top:18px}.parent-button-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:14px 0}.parent-controls>label{margin:18px 0 12px}.parent-mode .voice-practice-consent{display:flex;flex-direction:row;align-items:start;max-width:650px;margin-top:22px}.parent-mode input[type=checkbox]{width:24px;height:24px;flex-shrink:0}.parent-draft{white-space:pre-wrap;overflow-wrap:anywhere}.parent-mode .parent-practice-summary{padding:0;background:none}.parent-mode .record{padding:14px 0}.parent-mode footer .audio-settings,.kids-mode footer .audio-settings{display:none}.parent-mode .read-button{font-size:16px}.parent-mode .primary{font-size:16px;min-height:48px}.parent-options-fold button{margin:6px 6px 6px 0}
@media(max-width:600px){.parent-mode main{padding:22px 14px 50px}.parent-subject-grid{grid-template-columns:1fr}.parent-controls,.parent-overview,.parent-about,.parent-subject,.parent-options-fold{padding:18px}.parent-tabs{gap:2px}.parent-tabs button{padding:12px 10px;font-size:15px}.parent-stat-grid{gap:8px}.parent-stat-grid article{padding:12px 9px}.parent-stat-grid strong{font-size:25px}.parent-stat-grid span{font-size:13px}.lesson-top .lesson-audio{gap:8px}.lesson-top #lesson-label{font-size:14px;line-height:1.5}#activity{padding:16px 0}.parent-learner-line label{flex:1;min-width:150px}.parent-learner-line .read-button{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.ui-language-control{font-size:12px;display:flex;flex-direction:column;gap:5px;color:#334f44}.ui-language-control select{min-height:44px;padding:8px 12px;border:1.5px solid #8b9d95;border-radius:12px;background:#fff;color:#233c35;font:inherit;font-size:16px}.spanish-scope{padding:14px 18px;background:#edf4fb;color:#294b66;border-left:4px solid #5079a6;border-radius:12px;line-height:1.6}.spanish-scope[hidden]{display:none}.spanish-english-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.spanish-english-options button{text-align:left;font-size:17px;padding:16px}body>header{height:auto;min-height:100px;gap:14px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}#activity[lang=es]>.animal{max-height:140px}
@media(max-width:600px){body>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px;gap:12px}body>header .brand{grid-column:1;grid-row:1;font-size:25px}body>header nav{grid-column:2;grid-row:1;justify-content:end;gap:2px}body>header .ui-language-control{grid-column:1;grid-row:2;max-width:175px}body>header #motion-toggle{grid-column:2;grid-row:2;justify-self:end;min-height:44px;max-width:155px;font-size:14px}.spanish-english-options{grid-template-columns:1fr}}
#lesson.spanish-math-open #lesson-choose-voice{display:none}.spanish-math-model{padding:18px;margin:20px 0;background:#edf5eb;border-radius:18px;font-size:clamp(22px,5vw,32px);color:#285d4f;line-height:1.8}.spanish-ten-frame{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-width:300px;margin:auto}.spanish-ten-frame span{border:2px solid #547c70;border-radius:6px;min-height:40px;background:#fff}.spanish-fraction{display:flex;max-width:320px;margin:auto;height:42px;border:2px solid #365b74}.spanish-fraction span{flex:1;background:#fff;border-right:1px solid #365b74}.spanish-fraction span.filled{background:#7b57b0}.spanish-math-model pre{display:inline-block;text-align:right;font-size:28px;margin:0}

.es-book-page p{font-size:clamp(1.4rem,4vw,2rem);line-height:1.7}.es-book-page svg{max-height:150px}#es-writing-text{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:1.25rem;line-height:1.7;padding:16px;border:2px solid #42766b;border-radius:16px;margin:12px 0}

.family-open-button{border:2px solid #40766b;border-radius:18px;padding:10px 16px;min-height:44px;background:#fffaf0;color:#244b42;font-weight:700}#family-picker{width:min(640px,92vw);max-height:88dvh;overflow:auto;border:3px solid #e8d9a6;border-radius:28px;padding:24px;box-sizing:border-box}.family-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.family-child{display:flex;flex-direction:column;align-items:center;gap:6px;background:#f3efe1;border:2px solid #698b74;border-radius:20px;min-height:120px;padding:16px;color:#213f36}.family-child span{font-size:2rem}.family-child strong{font-size:1.3rem;overflow-wrap:anywhere}#family-add label{display:block;margin:12px 0}#family-add input,#family-add select{display:block;width:100%;box-sizing:border-box;min-height:48px;font:inherit;border:2px solid #698b74;border-radius:12px;padding:10px}.family-account .primary{display:inline-block;text-decoration:none;margin:8px 8px 8px 0}.family-account p{overflow-wrap:anywhere}
@media(max-width:640px){header .family-open-button{grid-column:1 / -1;justify-self:stretch}#family-picker{padding:18px}.family-child{padding:12px}}

.spanish-reading-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0}.spanish-reading-controls select{min-height:48px;padding:10px;border:2px solid #47766a;border-radius:12px;background:#fffdf5;font:inherit}
