@font-face{font-family:'MTL Rounded';src:url('/assets/fonts/Nunito.woff2') format('woff2');font-weight:200 1000;font-display:optional}
:root{font-family:'MTL Rounded',ui-rounded,'Arial Rounded MT Bold','Trebuchet MS',sans-serif;font-synthesis:none;color:#29231e;background:#fff;--paper:#fff;--ink:#29231e;--muted:#81796e;--line:#ebe6dc;--yellow:#ffcb27;--yellow-dark:#dca814;--mint:#dbf3e6;--blue:#e8f2ff;--coral:#ffe6dc;--radius:22px;--shadow:0 4px 0 #e5dfd2}
*{box-sizing:border-box}[hidden]{display:none!important}html{min-width:320px;scroll-behavior:smooth}body{min-width:320px;margin:0;background:var(--paper)}#app{min-height:100svh}button,input,a,audio{font:inherit}button{border:0;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,audio:focus-visible{outline:3px solid #729dc6;outline-offset:4px}a{color:inherit}img,svg{max-width:100%}img{display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:950;letter-spacing:-.035em;line-height:1.15}p{line-height:1.55}button{line-height:1.25}.icon{display:inline-block;flex-shrink:0;width:22px;height:22px;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
/* Tactile controls use the same shape and action colour throughout. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 22px;border:1.5px solid transparent;border-radius:16px;font-size:16px;font-weight:950;text-decoration:none;transition:background .16s,transform .16s,box-shadow .16s;line-height:1.3}.button .icon{width:20px;height:20px}.primary{background:var(--yellow);border-color:#f6be16;box-shadow:0 4px 0 var(--yellow-dark);color:#3c2c06}.primary:hover:not(:disabled){background:#ffd642;transform:translateY(-1px);box-shadow:0 5px 0 var(--yellow-dark)}.primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 var(--yellow-dark)}.secondary{background:#fff;box-shadow:0 3px 0 #e5dfd2;border-color:#e5dfd2}.secondary:hover:not(:disabled){background:#fbf7ef;transform:translateY(-1px)}.secondary:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #e5dfd2}.button:disabled{background:#ece9e1;box-shadow:0 3px 0 #dcd7cb;border-color:#e4dfd5;color:#a39d92;transform:none}.wide,.button.wide{width:100%}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 6px;background:transparent;color:var(--muted);font-size:14px;font-weight:850;text-decoration:none}.text-button:hover{color:var(--ink)}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;min-width:44px;min-height:44px;padding:11px;border-radius:14px;background:transparent;color:var(--muted);transition:background .16s,transform .16s}.icon-button:hover{background:#f1ede3}.icon-button:active{transform:scale(.94)}
/* Compact brand and course navigation. */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:808px;min-height:80px;margin:0 auto;padding:17px 24px}.brand{display:inline-flex;align-items:center;gap:9px;background:transparent;padding:0;text-decoration:none;white-space:nowrap}.brand-symbol{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;padding:7px;border-radius:11px;background:var(--ink);color:var(--yellow)}.brand-symbol>.icon{width:22px;height:22px;fill:currentColor;stroke:none}.brand-name{display:block;font-size:21px;font-weight:1000;line-height:1.05;letter-spacing:-.055em}.brand-name span,.brand-dot{color:#dfaa08}.brand-sub{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:850;line-height:1.2;letter-spacing:.14em}.header-right{display:flex;align-items:center;gap:13px}.language-chip{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:900;white-space:nowrap}.nigeria-flag{width:18px;height:13px;border-radius:3px;background:linear-gradient(90deg,#17884f 33.33%,white 33.33%,white 66.66%,#17884f 66.66%);box-shadow:0 0 0 1px #29231e0d}.stat{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:950;white-space:nowrap}.stat>.icon{width:20px;height:20px;color:#cf9c0f}.stat small{font-size:12px;font-weight:800;color:var(--muted)}.site-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;max-width:808px;margin:0 auto;padding:16px 24px 26px;font-size:12px;line-height:1.5;color:var(--muted);text-align:center}.site-footer a,.credits-link{display:inline-flex;align-items:center;gap:5px;min-height:44px;text-decoration:none}.site-footer .icon,.credits-link .icon{width:14px;height:14px}.footer-dot{color:#c8c0b0}.in-lesson .site-footer{display:none}
.course-main{width:100%;max-width:808px;padding:23px 24px 24px;margin:0 auto}.course-heading>small{display:block;margin-bottom:9px;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#a17b1d}.course-heading h1{font-size:clamp(32px,5vw,44px);line-height:1.1}.course-heading>p{max-width:490px;margin-top:12px;font-size:16px;color:var(--muted)}.course-summary{display:flex;align-items:center;gap:0;margin:26px 0 31px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.summary-stat{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:0 18px;border-right:1px solid var(--line)}.summary-stat:first-child{padding-left:0}.summary-stat:last-child{padding-right:0;border:0}.summary-stat strong{font-size:22px;font-weight:1000;line-height:1.2;letter-spacing:-.03em}.summary-stat span{font-size:12px;font-weight:800;color:var(--muted);line-height:1.35}.summary-stat .icon{width:20px;height:20px;color:#b69952}.unit-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:14px;font-weight:900}.unit-heading h2{font-size:19px;letter-spacing:-.02em}.unit-heading small{font-size:12px;font-weight:800;color:var(--muted)}.lesson-list{display:flex;flex-direction:column;gap:15px}.course-card{--accent:#fff0bc;--accent-strong:#a47503;position:relative;display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;column-gap:15px;row-gap:17px;padding:20px;border:1.5px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 3px 0 #ece7dc}.course-card.accent-blue{--accent:var(--blue);--accent-strong:#4d83ad}.course-card.accent-mint{--accent:var(--mint);--accent-strong:#398267}.course-card.accent-coral{--accent:var(--coral);--accent-strong:#b17054}.course-card.current{border-color:#eec34d;box-shadow:0 4px 0 #ead18a;background:linear-gradient(110deg,#fffdf5,#fff)}.lesson-number{display:grid;place-items:center;align-self:start;width:45px;height:45px;border-radius:15px;background:var(--accent);color:var(--accent-strong);font-size:18px;font-weight:1000;line-height:1}.lesson-number>.icon{width:22px;height:22px}.course-card-body{min-width:0}.course-card-body>small{display:block;color:var(--accent-strong);font-size:10px;font-weight:1000;letter-spacing:.1em;text-transform:uppercase;margin:0 0 5px}.course-card-body h2{font-size:21px;line-height:1.2;letter-spacing:-.025em}.course-card-body>p{font-size:14px;color:var(--muted);margin-top:6px;line-height:1.45}.lesson-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:11px;font-size:12px;font-weight:800;line-height:1.5;color:var(--muted)}.lesson-meta>span{display:inline-flex;align-items:center;gap:5px}.lesson-meta .icon{width:14px;height:14px}.course-card-end{display:flex;align-items:flex-end;justify-content:center;flex-direction:column;gap:9px;align-self:start;padding-top:1px}.course-card-end>.icon{width:20px;height:20px;color:#c8c0af}.xp-reward{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-size:12px;font-weight:1000;color:var(--accent-strong)}.xp-reward .icon{width:16px;height:16px}.status-tag{display:inline-flex;align-items:center;gap:4px;border-radius:8px;padding:5px 7px;background:var(--accent);font-size:10px;font-weight:950;color:var(--accent-strong);white-space:nowrap}.status-tag .icon{width:13px;height:13px}.card-action{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:11px 18px;border:1px solid #f3bf24;border-radius:14px;background:var(--yellow);box-shadow:0 3px 0 var(--yellow-dark);font-weight:950;font-size:15px}.card-action .icon{width:18px;height:18px}.card-action:hover:not(:disabled){background:#ffd643}.card-action:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 var(--yellow-dark)}.card-action:disabled{border-color:#eee8dc;background:#f5f2eb;box-shadow:0 2px 0 #e6dfd3;color:#a59c8c}.complete .card-action{background:#f0f8f1;border-color:#d2e8d8;box-shadow:0 2px 0 #c7dfce;color:#3c7b53}.course-card.locked{box-shadow:none;background:#faf8f2;border-color:#ebe6dc}.locked .lesson-number{background:#eeeae1;color:#afa697}.locked .course-card-body h2{color:#8e877b}.locked .course-card-body>small{color:#a19889}.locked .xp-reward{color:#aaa193}.course-note{display:block;font-size:12px;line-height:1.55;color:var(--muted);margin:18px 3px 0}.practice-card{display:flex;align-items:center;gap:14px;margin-top:26px;padding:18px 0 3px;border-top:1px solid var(--line)}.practice-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:14px;background:var(--blue);color:#5f88b8}.practice-copy{flex:1;min-width:0}.practice-copy h3{font-size:17px;letter-spacing:-.02em}.practice-copy p{font-size:13px;color:var(--muted);margin-top:4px}.practice-card>.button{min-height:44px;padding:10px 13px;font-size:13px;border-radius:13px}.practice-card>.icon-button{background:#edf3fa;color:#537eac}
/* Lessons keep the question prominent and controls within thumb reach. */
.play-main{width:100%;max-width:688px;margin:0 auto;padding:0 24px 12px}.lesson-progress{display:flex;align-items:center;gap:13px;min-height:53px;padding:2px 0 13px}.lesson-progress>.icon-button{margin-left:-10px;color:#ada597}.lesson-progress>.icon-button .icon{width:20px;height:20px}.progress-track{position:relative;flex:1;height:12px;overflow:hidden;border-radius:20px;background:#eee9de;box-shadow:inset 0 1px 2px #29231e06}.progress-track>span{display:block;position:relative;height:100%;border-radius:inherit;background:var(--yellow);transition:width .35s ease}.progress-track>span:after{content:'';position:absolute;top:3px;left:7px;right:7px;height:3px;border-radius:4px;background:#fff4b1}.step-counter{font-size:13px;font-weight:950;white-space:nowrap;color:var(--muted)}.step-counter>span{font-weight:750;color:#b1a797}.lesson-context{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;margin:7px 0 15px}.lesson-context .eyebrow{font-size:11px;letter-spacing:.1em;color:#a88633}.combo-badge{display:inline-flex;align-items:center;gap:4px;min-height:27px;border-radius:9px;padding:5px 8px;background:#fff0bd;color:#a2760f;font-size:11px;font-weight:950;white-space:nowrap}.combo-badge .icon{width:14px;height:14px}.lesson-panel{display:flex;flex-direction:column;min-height:calc(100svh - 227px);padding:0;background:transparent}.question-head h1{font-size:clamp(27px,5.3vw,35px);line-height:1.18;letter-spacing:-.035em;outline:none}.question-head>p{font-size:15px;color:var(--muted);margin-top:9px;line-height:1.55}.question-head .eyebrow{display:block;margin-bottom:9px}.exercise-body{min-width:0;margin:25px 0 20px}.phrase-card{display:flex;align-items:center;gap:16px;position:relative;padding:22px 20px;border:1.5px solid #eadcad;border-radius:22px;background:#fff;min-width:0}.phrase-illustration{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:89px;height:98px}.phrase-illustration img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 2px #a1740b0b)}.phrase-text{flex:1;min-width:0}.phrase-text strong{display:block;overflow-wrap:anywhere;font-size:32px;font-weight:1000;letter-spacing:-.035em;line-height:1.2}.phrase-text p{font-size:14px;font-weight:750;color:#9b7b34;margin-top:5px}.phrase-card>.audio-button{align-self:center;flex-shrink:0;width:46px;height:46px;padding:10px;border-radius:14px}.phrase-card>.audio-button>span{display:none}.phrase-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.phrase-grid .phrase-card{flex-wrap:wrap;gap:10px;padding:17px 15px}.phrase-grid .phrase-illustration{width:100%;height:105px}.phrase-grid .phrase-illustration img{width:105px}.phrase-grid .phrase-text strong{font-size:27px}.phrase-grid .phrase-text p{font-size:13px}.phrase-grid .phrase-card>.audio-button{width:40px;height:42px;padding:8px;border-radius:12px}.audio-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:11px 15px;border:1.5px solid #e8ca6e;border-radius:14px;background:#ffeab0;box-shadow:0 3px 0 #dec271;color:#80621c;font-size:15px;font-weight:950;transition:background .15s,transform .15s,box-shadow .15s}.audio-button .icon{width:20px;height:20px}.audio-button:hover{background:#ffdf80}.audio-button:active{transform:translateY(2px);box-shadow:0 1px 0 #dec271}.audio-button.playing{background:var(--yellow);border-color:#e6b22a;box-shadow:0 3px 0 #dba820}.audio-button:disabled{opacity:.5}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:83px;padding:17px 36px 17px 16px;border:1.5px solid #e7e1d5;border-radius:17px;background:#fff;box-shadow:0 3px 0 #e7e1d5;text-align:left;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s}.answer-choice:hover:not(:disabled){background:#fffaf0;border-color:#dcd1b8;transform:translateY(-1px)}.answer-choice:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #e7e1d5}.answer-choice.selected{background:#fff3c7;border-color:#e6b530;box-shadow:0 3px 0 #d8ae3e}.answer-choice.is-correct{background:#e6f5eb;border-color:#9dceb0;box-shadow:0 3px 0 #9bc6ab}.answer-choice:disabled{opacity:1}.choice-title{font-size:19px;font-weight:950;letter-spacing:-.02em;line-height:1.3;overflow-wrap:anywhere}.choice-sub{color:var(--muted);font-size:13px;font-weight:750;line-height:1.4}.choice-mark{position:absolute;display:grid;place-items:center;right:12px;top:calc(50% - 9px);width:18px;height:18px;border:1.5px solid #e2daca;border-radius:50%;background:white}.choice-mark>.icon{width:12px;height:12px;stroke-width:3}.selected .choice-mark{border-color:#c99a1e;background:var(--yellow)}.is-correct .choice-mark{border-color:#5a9d71;background:#bcdfc8;color:#36744b}.picture-choices .answer-choice{align-items:center;padding:14px 12px 17px;text-align:center;min-height:185px;gap:10px}.choice-image{width:100%;height:115px;object-fit:contain;pointer-events:none}.picture-choices .choice-mark{top:11px;right:10px}.picture-choices .choice-title{font-size:17px}.picture-choices .choice-sub{font-size:12px}.name-form{display:flex;flex-direction:column;gap:9px}.name-form label{font-size:14px;font-weight:900}.name-input{display:block;width:100%;min-height:56px;padding:14px 17px;border:1.5px solid #e0d8c7;border-radius:16px;background:#fff;color:var(--ink);font-size:18px;font-weight:850;line-height:1.35;box-shadow:0 2px 0 #ede6d6}.name-input::placeholder{color:#b7afa0;font-weight:700}.field-note{font-size:12px;color:var(--muted);line-height:1.55}.build-translation{margin-bottom:17px;color:var(--muted);font-size:15px;font-weight:800;line-height:1.5}.build-translation strong{color:var(--ink);font-weight:950}.sentence-slots{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:91px;padding:15px 0 17px;margin-bottom:20px;border-top:1.5px solid var(--line);border-bottom:1.5px solid var(--line)}.empty-sentence{font-size:14px;color:#afa697;font-weight:750}.sentence-token,.word-token{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 15px;border:1.5px solid #ddd6c7;border-radius:13px;background:#fff;box-shadow:0 3px 0 #ddd6c7;font-size:18px;font-weight:900;line-height:1.3;transition:transform .15s,background .15s}.sentence-token{background:#fff1c0;border-color:#e9ce78;box-shadow:0 3px 0 #dfc46d}.sentence-token:hover,.word-token:hover:not(:disabled){transform:translateY(-1px)}.word-bank{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:11px;padding:3px 0 8px}.word-token.used,.word-token:disabled{background:#efebe2;border-color:#efebe2;box-shadow:0 3px 0 #e4ded1;color:transparent;cursor:default;user-select:none}.matching-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:13px}.matching-column{display:flex;flex-direction:column;gap:13px;min-width:0}.match-tile{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;min-width:0;min-height:65px;padding:14px 15px;border:1.5px solid #e4ddcd;border-radius:16px;background:#fff;box-shadow:0 3px 0 #e4ddcd;text-align:left;font-size:17px;font-weight:950;line-height:1.3;transition:background .15s,border-color .15s,transform .15s}.match-tile .icon{width:17px;height:17px;color:#b5a787}.match-tile:hover:not(:disabled){transform:translateY(-1px)}.match-tile.selected{background:#e8f2ff;border-color:#9bbfe1;box-shadow:0 3px 0 #9bbfe1;color:#47749c}.match-tile.matched{background:#e9f5ed;border-color:#c5e0ce;box-shadow:0 2px 0 #c5e0ce;color:#6d9c7e}.match-tile.matched .icon{color:#6d9c7e}.hint-note{display:flex;align-items:flex-start;gap:8px;margin:0 0 16px;padding:13px 15px;border:1px solid #eedfb2;border-radius:15px;background:#fff6da;color:#98782f;font-size:13px;font-weight:750;line-height:1.5}.hint-note .icon{width:18px;height:18px;margin-top:1px}.example-note{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:14px}.example-note .icon{width:15px;height:15px}.speaking-controls{width:100%}.practice-line{display:block;margin-bottom:17px;text-align:center;overflow-wrap:anywhere;font-size:27px;font-weight:1000;line-height:1.3;letter-spacing:-.035em}.practice-audio{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:22px}.practice-audio .audio-button{font-size:14px}.record-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:56px;width:100%;padding:14px 20px;border:1.5px solid #9bbde0;border-radius:17px;background:#e8f2ff;box-shadow:0 3px 0 #abc5df;font-size:16px;font-weight:950;color:#47769f}.record-button.recording{border-color:#d79c85;background:#ffe6dc;box-shadow:0 3px 0 #d7aa97;color:#a05e44}.record-button:active{transform:translateY(2px)}.record-button:disabled{opacity:.6}.record-status{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:13px;font-size:12px;font-weight:800;color:#aa7159}.record-status i{width:7px;height:7px;background:#bd765a;border-radius:50%;animation:record-pulse 1s ease-in-out infinite}.recording-playback{margin-top:19px}.recording-playback>span{display:block;margin-bottom:9px;font-size:12px;font-weight:850;color:var(--muted)}.recording-playback audio{display:block;width:100%;max-width:100%;height:47px}.record-privacy{font-size:12px;line-height:1.6;color:var(--muted);margin-top:16px}.record-error{font-size:13px;font-weight:800;line-height:1.5;color:#a8694b;margin-top:14px}@keyframes record-pulse{50%{opacity:.35}}
/* Sticky only when needed; content can still scroll on small phones and with the keyboard. */
.lesson-controls{position:sticky;z-index:5;bottom:0;margin-top:auto;padding:17px 0 calc(17px + env(safe-area-inset-bottom));background:var(--paper);box-shadow:0 -14px 16px var(--paper)}.feedback-copy{margin:0 0 13px;color:var(--muted);font-size:14px;line-height:1.45}.feedback-copy:empty{display:none}.feedback-copy strong{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:17px;font-weight:1000;line-height:1.3}.feedback-copy strong .icon{width:19px;height:19px}.feedback-copy p{font-size:13px;font-weight:750;line-height:1.5;margin-top:4px}.feedback-copy.correct{padding:13px 15px;border-radius:15px;background:#e5f4e9;color:#5e8d70}.feedback-copy.correct strong{color:#35754c}.feedback-copy.retry{padding:13px 15px;border-radius:15px;background:#fff0dc;color:#a27c44}.feedback-copy.retry strong{color:#916324}.bottom-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}.hint-button{min-width:60px;font-size:13px}.hint-button .icon{width:17px;height:17px}.check-button{flex:1;min-width:0}.control-instruction{font-size:13px;color:var(--muted);margin-bottom:12px}.control-instruction:empty{display:none}
/* An earned finish, with clear review and the next lesson close by. */
.completion-main{width:100%;max-width:648px;margin:0 auto;padding:24px 24px 35px;text-align:center}.success-medallion{display:grid;place-items:center;width:96px;height:96px;margin:0 auto 24px;border:7px solid #fff0bd;border-radius:30px;background:var(--yellow);box-shadow:0 6px 0 #ead793;color:#745111;transform:rotate(-7deg)}.success-medallion>.icon,.success-medallion>svg{width:44px;height:44px;stroke-width:3;transform:rotate(7deg)}.completion-main>.eyebrow{display:block;color:#ac862a;margin-bottom:9px}.completion-main h1{font-size:clamp(34px,6vw,44px);line-height:1.12}.completion-description{font-size:15px;line-height:1.6;color:var(--muted);margin:12px auto 0;max-width:400px}.reward-row{display:flex;justify-content:center;gap:10px;margin:25px 0}.reward-chip{display:flex;align-items:center;justify-content:center;gap:6px;min-height:51px;padding:12px 13px;border-radius:15px;background:#fff0be}.reward-chip:nth-child(2){background:var(--mint)}.reward-chip:nth-child(3){background:var(--blue)}.reward-chip strong{font-size:20px;font-weight:1000;letter-spacing:-.03em}.reward-chip span{font-size:12px;font-weight:850;white-space:nowrap;color:#8d783e}.reward-chip:nth-child(2) span{color:#6c957d}.reward-chip:nth-child(3) span{color:#6c8ba7}.reward-chip .icon{width:18px;height:18px;color:#b78a19}.reward-chip:nth-child(2) .icon{color:#629c78}.reward-chip:nth-child(3) .icon{color:#729bc3}.accuracy-bar{height:9px;margin:-5px 0 25px;overflow:hidden;border-radius:20px;background:#e9eee5}.accuracy-bar>span{display:block;height:100%;border-radius:inherit;background:#a9d1b4}.recap-list{display:flex;flex-direction:column;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:4px 0;text-align:left}.recap-word{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;min-width:0}.recap-word+.recap-word{border-top:1px solid #f0ece2}.recap-word .audio-button{justify-content:flex-start;min-width:0;padding:7px 0;box-shadow:none;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:17px;min-height:44px;text-align:left}.recap-word .audio-button .icon{color:#ba922c;flex-shrink:0;width:18px;height:18px}.recap-word>span{font-size:13px;color:var(--muted);font-weight:750;text-align:right;overflow-wrap:anywhere}.completion-actions{display:flex;flex-direction:column;gap:13px;margin-top:25px}.completion-actions .button{width:100%;justify-content:center}.next-preview{position:relative;margin-top:25px;padding:18px 19px;border-radius:19px;background:#f1f6fb;text-align:left}.next-preview>small{font-size:10px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#7e9bb6}.next-preview h3{font-size:19px;margin-top:6px;letter-spacing:-.02em}.next-preview p{font-size:13px;line-height:1.5;color:#8394a2;margin-top:5px}
/* Settings and one-off confirmations. */
.modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:#29231e66;backdrop-filter:blur(5px)}.modal{position:relative;width:100%;max-width:430px;max-height:calc(100svh - 40px);padding:31px 25px 26px;border-radius:26px;background:var(--paper);overflow-y:auto;box-shadow:0 24px 75px #29231e20}.modal-close{position:absolute;top:8px;right:8px}.modal h2{padding-right:20px;font-size:28px;line-height:1.2}.modal>p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:13px}.modal>.button{width:100%;margin-top:18px}.modal>.button+.button{margin-top:12px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:73px;padding:17px 0;border-bottom:1px solid var(--line);background:transparent;font-size:15px;font-weight:850;text-align:left}.setting-row>span:first-child{display:flex;align-items:center;gap:10px}.setting-row .icon{color:#a38a50}.toggle{position:relative;flex-shrink:0;display:block;width:47px;height:28px;background:#dfd9cb;border-radius:30px;transition:background .2s}.toggle:after{content:'';position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #29231e10;transition:transform .2s}.toggle.on{background:#86be97}.toggle.on:after{transform:translateX(19px)}.settings-note{font-size:13px;line-height:1.6;color:var(--muted);margin-top:16px}.credits-link{color:var(--muted);font-size:12px;font-weight:750;text-decoration:none}.modal .credits-link{margin-top:8px}#toast{position:fixed;z-index:100;left:50%;bottom:24px;width:max-content;max-width:calc(100% - 32px);padding:13px 18px;border-radius:15px;background:#29231e;color:#fff;font-size:13px;font-weight:800;line-height:1.5;text-align:center;opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible,#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:700px){.site-header{padding-top:23px;padding-bottom:23px;min-height:90px}.brand-symbol{width:38px;height:38px;border-radius:12px;padding:8px}.brand-name{font-size:24px}.brand-sub{font-size:10px}.header-right{gap:18px}.course-main{padding-top:30px}.course-heading>p{font-size:17px}.course-summary{margin-top:30px;margin-bottom:34px}.summary-stat strong{font-size:25px}.summary-stat span{font-size:13px}.course-card{padding:22px 24px;grid-template-columns:48px minmax(0,1fr) auto;column-gap:19px}.lesson-number{width:48px;height:48px}.course-card-body h2{font-size:23px}.course-card-body>p{font-size:15px}.course-card-end{padding-top:2px}.card-action{grid-column:2/-1}.play-main{padding-top:8px}.lesson-context{margin-top:14px;margin-bottom:19px}.lesson-panel{min-height:min(600px,calc(100svh - 250px))}.exercise-body{margin-top:30px;margin-bottom:25px}.question-head>p{font-size:16px}.answer-choice{min-height:92px;padding:19px 42px 19px 20px}.choice-title{font-size:21px}.choice-mark{right:15px}.phrase-card{padding:26px 24px;gap:20px}.phrase-text strong{font-size:37px}.phrase-illustration{width:115px;height:125px}.phrase-grid .phrase-illustration{height:130px}.phrase-grid .phrase-illustration img{width:130px}.phrase-grid .phrase-card{padding:21px 20px}.picture-choices .answer-choice{min-height:220px}.choice-image{height:145px}.lesson-controls{padding-top:22px;padding-bottom:24px}.check-button{max-width:380px}.completion-main{padding-top:38px}.completion-actions{flex-direction:row}.completion-actions .button{flex:1}.success-medallion{width:106px;height:106px;border-radius:32px}.recap-list{margin-top:8px}.reward-chip{min-height:58px;padding:14px 18px;gap:8px}.reward-chip strong{font-size:23px}.reward-chip span{font-size:13px}.reward-row{gap:13px;margin-top:28px}}
@media(max-width:430px){.site-header{padding-left:18px;padding-right:18px;min-height:75px;gap:8px}.brand{gap:7px}.brand-name{font-size:18px}.brand-symbol{width:31px;height:31px;border-radius:10px;padding:6px}.brand-sub{font-size:9px;letter-spacing:.12em}.header-right{gap:5px}.language-chip{display:none}.stat{font-size:13px;gap:3px}.stat .icon{width:17px;height:17px}.stat small{font-size:11px}.site-header .icon-button{width:40px;min-width:40px;padding:10px}.course-main{padding:19px 18px 20px}.course-heading>p{font-size:15px}.course-summary{margin:24px 0 27px;padding:15px 0}.summary-stat{gap:6px;padding:0 12px}.summary-stat strong{font-size:21px}.summary-stat span{font-size:11px}.summary-stat .icon{width:17px;height:17px}.course-card{padding:18px 16px;grid-template-columns:39px minmax(0,1fr) auto;column-gap:11px;row-gap:15px}.lesson-number{width:39px;height:39px;font-size:17px;border-radius:13px}.course-card-body h2{font-size:19px}.course-card-body>p{font-size:13px}.course-card-body>small{font-size:9px;letter-spacing:.08em}.course-card-end{gap:8px}.xp-reward{font-size:11px;gap:3px}.xp-reward .icon{width:14px;height:14px}.status-tag{font-size:9px;padding:4px 6px}.lesson-meta{gap:9px;font-size:11px;margin-top:9px}.lesson-meta .icon{width:13px;height:13px}.practice-card{gap:11px}.practice-copy h3{font-size:16px}.practice-copy p{font-size:12px}.practice-card>.button{font-size:12px;padding:9px 10px}.practice-icon{width:39px;height:39px;border-radius:12px}.play-main{padding-left:20px;padding-right:20px}.lesson-context{margin-top:4px}.lesson-panel{min-height:calc(100svh - 214px)}.question-head h1{font-size:27px}.question-head>p{font-size:14px}.exercise-body{margin-top:23px;margin-bottom:18px}.phrase-card{padding:19px 16px;gap:12px}.phrase-illustration{width:75px;height:88px}.phrase-text strong{font-size:30px}.phrase-text p{font-size:13px}.phrase-card>.audio-button{width:43px;height:43px;min-width:43px;min-height:43px;padding:10px;border-radius:13px}.phrase-grid .phrase-card{padding:15px 12px;gap:8px}.phrase-grid .phrase-illustration{height:94px}.phrase-grid .phrase-illustration img{width:94px}.phrase-grid .phrase-text strong{font-size:25px}.phrase-grid .phrase-text p{font-size:12px}.phrase-grid .phrase-card>.audio-button{width:36px;min-width:36px;height:41px;padding:7px}.answer-grid{gap:11px}.answer-choice{padding-left:14px;padding-right:32px;min-height:82px}.choice-title{font-size:18px}.choice-sub{font-size:12px}.choice-mark{right:10px;width:17px;height:17px}.picture-choices .answer-choice{min-height:177px;padding-left:10px;padding-right:10px;gap:9px}.choice-image{height:108px}.picture-choices .choice-title{font-size:16px}.matching-grid{gap:11px}.matching-column{gap:12px}.match-tile{font-size:16px;padding:13px 12px;min-height:63px}.match-tile .icon{width:16px;height:16px}.practice-line{font-size:25px}.completion-main{padding:23px 20px 30px}.reward-row{gap:8px}.reward-chip{gap:4px;padding:11px 10px}.reward-chip strong{font-size:19px}.reward-chip span{font-size:11px}.reward-chip .icon{width:16px;height:16px}.completion-description{font-size:14px}.recap-word .audio-button{font-size:16px}.recap-word>span{font-size:12px}.bottom-actions{gap:13px}.hint-button{min-width:56px;font-size:12px}.lesson-controls{padding-top:15px}.button{font-size:15px}}
@media(max-width:360px){.brand-name{font-size:16px}.brand-sub{font-size:8px}.brand-symbol{width:28px;height:28px;border-radius:9px;padding:5px}.header-right{gap:1px}.stat small{display:none}.course-card{grid-template-columns:35px minmax(0,1fr) auto;column-gap:10px;padding:16px 13px}.lesson-number{width:35px;height:35px;font-size:15px;border-radius:11px}.course-card-body h2{font-size:18px}.course-card-body>p{font-size:12px}.course-card-end .xp-reward{font-size:10px}.course-card-body>small{font-size:8px}.summary-stat{padding:0 8px;gap:5px}.summary-stat strong{font-size:19px}.summary-stat span{font-size:10px}.summary-stat .icon{display:none}.play-main{padding-left:17px;padding-right:17px}.question-head h1{font-size:25px}.choice-title{font-size:16px}.choice-sub{font-size:11px}.phrase-grid .phrase-text strong{font-size:23px}.phrase-grid .phrase-text p{font-size:11px}.phrase-grid .phrase-card>.audio-button{width:33px;min-width:33px;padding:6px}.phrase-text strong{font-size:27px}.phrase-illustration{width:65px;height:80px}.phrase-card{gap:10px}.picture-choices .choice-title{font-size:15px}.choice-image{height:100px}.match-tile{font-size:15px;padding-left:10px;padding-right:10px}.sentence-token,.word-token{font-size:17px;padding-left:12px;padding-right:12px}.reward-chip{padding-left:8px;padding-right:8px;gap:3px}.reward-chip strong{font-size:18px}.reward-chip span{font-size:10px}.reward-chip .icon{width:14px;height:14px}.recap-word .audio-button{font-size:15px}.practice-copy p{max-width:180px}.practice-card{flex-wrap:wrap}.practice-card>.button{margin-left:50px}.combo-badge{font-size:10px}.lesson-context .eyebrow{font-size:10px}}
@media(max-height:650px){.lesson-panel{min-height:390px}.lesson-controls{position:relative;box-shadow:none}.completion-main{padding-top:15px}.success-medallion{width:80px;height:80px;margin-bottom:20px;border-radius:24px}.completion-description{margin-top:9px}}
.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Winding course journey. The path is scenery; each lesson is a real touch target. */
.journey-map{position:relative;isolation:isolate;width:100%;max-width:400px;margin:3px auto 10px}.journey-line{position:absolute;z-index:-1;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.journey-line path{fill:none;stroke:#e9e0c9;stroke-width:5;stroke-linecap:round;stroke-dasharray:5 10;vector-effect:non-scaling-stroke}.journey-stop{position:relative;display:flex;align-items:center;gap:17px;min-height:124px;padding:14px 22px}.journey-stop.stop-right{flex-direction:row-reverse;text-align:right}.journey-node{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:70px;height:70px;padding:17px;border:4px solid #fffdf7;border-radius:26px;background:#f0ece3;color:#afa697;box-shadow:0 5px 0 #d8d0bf,0 0 0 3px #ede7d9;font-size:25px;font-weight:1000;line-height:1;transition:transform .16s,box-shadow .16s,background .16s}.journey-node:before{content:'';position:absolute;top:7px;left:13px;right:13px;height:11px;border-radius:15px;background:#ffffff4a;pointer-events:none}.journey-node>.icon{position:relative;width:30px;height:30px;stroke-width:2.4}.journey-stop.current .journey-node,.journey-node.current{background:var(--yellow);border-color:#fff5cd;color:#835909;box-shadow:0 5px 0 #d4a51b,0 0 0 4px #ffefb7,0 0 0 10px #fff8df}.journey-stop.current .journey-node:hover{transform:translateY(-3px);box-shadow:0 8px 0 #d4a51b,0 0 0 4px #ffefb7,0 0 0 10px #fff8df}.journey-stop.complete .journey-node,.journey-node.complete{border-color:#f1fbf5;background:#bde2cc;color:#3e855b;box-shadow:0 5px 0 #8cbea2,0 0 0 3px #dcefe3}.journey-stop.complete .journey-node:hover{transform:translateY(-2px);box-shadow:0 7px 0 #8cbea2,0 0 0 3px #dcefe3}.journey-node:active:not(:disabled),.journey-stop.current .journey-node:active{transform:translateY(3px);box-shadow:0 2px 0 #d4a51b,0 0 0 4px #ffefb7}.journey-stop.locked .journey-node{cursor:default}.journey-copy{flex:1;min-width:0;max-width:215px;padding:8px 0}.journey-copy>small{display:block;margin-bottom:5px;color:#a0998c;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.journey-copy h2{font-size:20px;line-height:1.15;letter-spacing:-.025em}.journey-copy p{font-size:12px;color:var(--muted);line-height:1.4;margin-top:6px}.journey-copy .status-tag{margin-top:8px;padding:4px 7px;background:#fff0b7;color:#997217;font-size:10px}.complete .journey-copy .status-tag{background:#def0e4;color:#679277}.locked .journey-copy h2{color:#a39b8d}.locked .journey-copy p{color:#b1a99b}.locked .journey-copy .status-tag{background:#f1ede3;color:#aaa08e}.current .journey-copy>small{color:#b88b1e}.journey-copy .lesson-meta{gap:7px;margin-top:8px;font-size:11px}.stop-right .journey-copy .lesson-meta{justify-content:flex-end}.journey-copy .text-button{min-height:35px;padding:4px 0;color:#a37c1d;font-size:12px}.current .journey-copy h2{color:#5d491b}.journey-map+.practice-card{margin-top:13px}.journey-note{text-align:center;color:var(--muted);font-size:12px;margin:14px 0}
@media(max-width:360px){.journey-stop{gap:13px;padding:14px 19px}.journey-node{width:64px;height:64px;padding:15px;border-radius:23px;font-size:23px}.journey-node>.icon{width:27px;height:27px}.journey-copy h2{font-size:18px}.journey-copy p{font-size:11px}.journey-copy>small{font-size:9px}}
/* Integration details for original brand assets and generated lesson cutouts. */
img.brand-symbol{padding:0;background:transparent;object-fit:contain;border-radius:10px}.brand-dot{color:#e1b900}.node-callout{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:5px 9px;border:1.5px solid #e8d699;border-radius:9px;background:#fffdf7;font-size:10px;letter-spacing:.05em;font-weight:950;line-height:1.2;color:#896719;white-space:nowrap}.node-callout:after{content:'';position:absolute;top:100%;left:calc(50% - 4px);width:7px;height:7px;transform:translateY(-3px) rotate(45deg);background:#fffdf7;border-right:1.5px solid #e8d699;border-bottom:1.5px solid #e8d699}
img.phrase-illustration{object-fit:contain}.audio-unavailable{display:block;font-size:11px;font-weight:800;line-height:1.4;color:var(--muted);max-width:75px;text-align:center;flex-shrink:0}.question-audio{margin-bottom:17px}.prompt-image{display:block;object-fit:contain;width:155px;height:155px;margin:0 auto 20px}.recap-word>div{min-width:0}.recap-word>div strong{display:block;font-size:18px;line-height:1.35;overflow-wrap:anywhere}.recap-word>div span{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin-top:3px}.recap-word>.audio-button{flex-shrink:0}.recap-word .audio-button>span{font-size:12px;max-width:105px}.example-note{font-size:12px;line-height:1.5;margin-top:10px;color:var(--muted)}.course-note{text-align:center;color:var(--muted);font-size:12px;line-height:1.5;margin-top:23px}
.reward-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.reward-chip{min-width:0;display:grid;grid-template-columns:auto auto;gap:4px;align-content:center;padding:12px 7px}.reward-chip span{grid-column:1/-1;white-space:normal;font-size:11px}.reward-chip .icon{justify-self:end}.reward-chip strong{justify-self:start}.completion-actions{flex-wrap:wrap}.completion-actions>.text-button{flex-basis:100%;justify-content:center}
@media(max-width:430px){.phrase-card:has(img){flex-wrap:wrap;justify-content:center;text-align:center}.phrase-card:has(img) .phrase-illustration{width:105px;height:108px;margin:auto}.phrase-card:has(img) .phrase-text{flex-basis:100%}.phrase-card:has(img)>.audio-button{min-width:110px;width:auto}.phrase-card:has(img)>.audio-button>span{display:inline}.phrase-card:has(img) .audio-unavailable{max-width:none}}
.word-audio-controls{display:flex;gap:8px;flex-shrink:0;align-items:center}.word-audio-controls .audio-button{min-height:44px;min-width:44px;padding:10px 12px;font-size:13px}.word-audio-controls .audio-button[data-speed="0.75"]{background:#fffdf7;border:1px solid var(--line);box-shadow:none;color:var(--muted)}.sound-guide{margin-top:16px;padding:16px 18px;background:#f0f5fb;border-radius:17px}.sound-guide>span{font-size:12px;font-weight:900;color:#657e99}.sound-guide>.sound-parts{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:10px;color:#3b5673}.sound-parts b{font-size:21px;font-weight:850;line-height:1.4}.sound-parts i{font-size:14px;font-style:normal;color:#a1b5c9}.sound-guide>p:last-child:not(.sound-parts){font-size:12px;line-height:1.5;color:#6f8194;margin-top:9px}
@media(max-width:600px){.phrase-card{flex-wrap:wrap;justify-content:center;text-align:center}.phrase-card .phrase-text{flex-basis:100%}.phrase-card .word-audio-controls{justify-content:center;flex-basis:100%;margin-top:5px}.word-audio-controls .audio-button>span{display:inline}.phrase-card img.phrase-illustration{width:120px;height:120px}.phrase-text strong{font-size:32px}.word-audio-controls .audio-unavailable{max-width:none}.sound-guide{padding:14px 16px}}
/* Begin at the bottom, with room around each stop. */
.journey-map{display:flex;flex-direction:column-reverse;margin-top:30px;margin-bottom:32px}.journey-stop{min-height:160px;padding-top:30px;padding-bottom:30px;gap:25px}.journey-copy h2{font-size:21px;line-height:1.3}.journey-copy>small{margin-bottom:9px}.journey-copy .status-tag{margin-top:12px}.journey-stop.locked .journey-copy{padding-top:12px;padding-bottom:12px}.journey-line{top:0;bottom:0}.course-heading{padding-top:10px}.course-summary{margin-top:28px;margin-bottom:30px}.site-header{position:sticky;top:0;z-index:20;background:var(--paper)}
.lesson-context{margin-bottom:24px}.question-head{margin-bottom:0}.exercise-body{margin-top:28px;margin-bottom:28px}.lesson-scene{display:flex;align-items:center;justify-content:center;width:100%;height:200px;margin:0 0 28px}.lesson-scene img{display:block;width:100%;height:100%;max-width:390px;object-fit:contain}.phrase-card{padding:23px 22px;gap:20px;min-height:110px}.sound-guide{margin-top:24px;padding:0;background:transparent;border:0;border-radius:0}.sound-guide summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 0;color:#6883a0;font-size:13px;font-weight:850;cursor:pointer;list-style:none}.sound-guide summary::-webkit-details-marker{display:none}.sound-guide summary:after{content:'+';font-size:18px;font-weight:700}.sound-guide[open] summary:after{content:'−'}.sound-guide>span{display:block;margin-top:13px}.sound-guide>.sound-parts{gap:12px}.word-bank{gap:12px}.sentence-slots{margin-bottom:24px}.matching-column{gap:16px}.answer-grid{gap:16px}.answer-choice{padding-top:20px;padding-bottom:20px}.lesson-controls{padding-top:24px}.name-form .field-note{display:none}
@media(max-width:430px){.journey-stop{gap:22px;padding-top:30px;padding-bottom:30px}.journey-copy h2{font-size:19px}.lesson-scene{height:175px;margin-bottom:26px}.phrase-card{padding:22px 19px}.exercise-body{margin-top:25px}.sound-guide{margin-top:19px}.question-head h1{font-size:28px}.lesson-context{margin-bottom:24px}}
@media(min-width:700px){.lesson-scene{height:230px;margin-bottom:34px}.journey-stop{min-height:175px}}
.journey-viewport{position:relative;isolation:isolate;width:100%;height:calc(100svh - 280px);min-height:340px;max-height:680px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#d8cda9 transparent;cursor:grab;border-radius:25px;scroll-behavior:auto;scroll-padding:50px 0}.journey-viewport.dragging{cursor:grabbing;user-select:none}.journey-viewport.dragging *{cursor:grabbing!important;user-select:none}.journey-viewport .journey-map{margin-top:35px;margin-bottom:38px}.journey-viewport .journey-copy{user-select:none}.journey-viewport:focus-visible{outline:2px solid #d6b44f;outline-offset:5px}.course-summary{margin-bottom:18px}.course-heading{padding-top:0}.course-main{padding-top:20px}.journey-viewport+.practice-card{margin-top:24px}
@media(max-width:430px){.journey-viewport{height:calc(100svh - 240px);min-height:330px;border-radius:20px}.course-main{padding-top:12px}.course-heading h1{font-size:32px}.course-summary{margin-top:22px;margin-bottom:14px}}

.journey-viewport.is-dragging,.journey-viewport.is-dragging *{cursor:grabbing!important;user-select:none}.map-dragging{user-select:none}
/* Full journey, practice and family screens. */
.app-nav{display:flex;align-items:center;gap:5px;width:calc(100% - 48px);max-width:760px;margin:0 auto 12px;padding:5px;border:1px solid var(--line);border-radius:16px;background:#f6f2e8}.app-nav>button{flex:1;min-height:44px;padding:10px 13px;border-radius:11px;background:transparent;color:#a09580;font-size:14px;font-weight:900;white-space:nowrap}.app-nav>button.active{background:#fff;color:#80621b;box-shadow:0 2px 5px #6a542b0b}.app-nav>button:hover:not(.active){background:#fffdf7}.profile-shortcut{background:transparent;text-align:left;min-height:44px}.profile-shortcut:hover strong{color:#a57b11}.plain-main{width:100%;max-width:688px;margin:0 auto;padding:25px 24px 36px}.plain-main>.course-heading{margin-bottom:25px}.plain-main>.text-button:first-child{padding-left:0;margin-bottom:17px}.plain-main>.text-button:first-child .icon{transform:rotate(180deg)}.quiet-note{font-size:14px;line-height:1.6;color:var(--muted)}
.journey-map{display:flex;flex-direction:column-reverse;max-width:400px;margin-top:28px;margin-bottom:30px}.journey-chapter{display:flex;flex-direction:column;position:relative;flex-shrink:0;min-width:0}.chapter-stops{position:relative;isolation:isolate;display:flex;flex-direction:column-reverse}.chapter-stops>.journey-line{position:absolute;z-index:0;inset:0;height:100%;width:100%}.chapter-stops>.journey-stop{position:relative;z-index:1;min-height:160px;flex-shrink:0}.chapter-marker{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:2px;min-height:91px;padding:17px 18px;margin:11px 12px 26px;border:1px solid #ecdfb8;border-radius:20px;background:#fff5d7;text-align:left}.chapter-marker>span{grid-row:1/3;display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#ffe6a0;color:#b68b25}.chapter-marker>span>.icon{width:22px;height:22px}.chapter-marker h2{font-size:18px;line-height:1.2;letter-spacing:-.02em}.chapter-marker>small{grid-column:2;align-self:start;font-size:11px;line-height:1.5;font-weight:850;color:#b09960}.chapter-marker>small:only-of-type{grid-column:2/4}.journey-chapter.accent-blue .chapter-marker{background:#eff5fb;border-color:#dce7f0}.journey-chapter.accent-blue .chapter-marker>span{background:#dfeefb;color:#7197b8}.journey-chapter.accent-blue .chapter-marker>small{color:#839db3}.journey-chapter.accent-mint .chapter-marker{background:#eef7f0;border-color:#deeadf}.journey-chapter.accent-mint .chapter-marker>span{background:#d8eddf;color:#71a183}.journey-chapter.accent-mint .chapter-marker>small{color:#8aa995}.journey-chapter.accent-coral .chapter-marker{background:#fcf2ed;border-color:#efded4}.journey-chapter.accent-coral .chapter-marker>span{background:#f9e3d7;color:#be8a6f}.journey-chapter.accent-coral .chapter-marker>small{color:#b59b8b}
.daily-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 25px}.daily-goal{display:flex;flex-direction:column;justify-content:space-between;gap:13px;min-width:0;min-height:86px;padding:14px 12px;border:1px solid #e9e3d6;border-radius:16px;background:#fffdf8}.daily-goal>span{display:flex;align-items:center;gap:5px;color:#a0957e;font-size:11px;font-weight:900;line-height:1.3}.daily-goal .icon{width:15px;height:15px;flex-shrink:0;color:#c3b48b}.daily-goal.done{background:#f2f8f1;border-color:#dce9da}.daily-goal.done>span{color:#769370}.daily-goal.done .icon{color:#80a47b}.daily-goal progress{display:block;width:100%;height:6px;overflow:hidden;border:0;border-radius:20px;background:#eee9db;appearance:none;-webkit-appearance:none}.daily-goal progress::-webkit-progress-bar{border-radius:20px;background:#eee9db}.daily-goal progress::-webkit-progress-value{border-radius:20px;background:#edca63}.daily-goal progress::-moz-progress-bar{border-radius:20px;background:#edca63}.daily-goal.done progress::-webkit-progress-value{background:#a3c69a}.daily-goal.done progress::-moz-progress-bar{background:#a3c69a}.review-card{display:flex;align-items:center;gap:15px;width:100%;padding:20px 0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.review-card>span{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:15px;background:#e9f2fb;color:#7299bd}.review-card>div{flex:1;min-width:0}.review-card h2{font-size:20px;line-height:1.25;letter-spacing:-.025em}.review-card small{display:block;font-size:12px;font-weight:800;line-height:1.4;color:#a29883;margin-top:6px}.review-card>.icon:last-child{width:19px;height:19px;color:#b6ab96}.review-card:hover h2{color:#a78123}.empty-practice{display:flex;flex-direction:column;align-items:center;gap:21px;padding:35px 5px;text-align:center}.empty-practice>.icon{width:46px;height:46px;padding:10px;border-radius:15px;box-sizing:content-box;background:#fff1c1;color:#bc963c}.empty-practice h2{font-size:23px}.empty-practice>.button{margin-top:5px;width:min(100%,320px)}
.parent-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:23px 0 26px}.parent-summary>span{display:flex;align-items:center;flex-direction:column;gap:6px;padding:16px 10px;border-radius:17px;background:#f6f1e5;color:#a29375;font-size:11px;font-weight:850;text-align:center}.parent-summary>span:nth-child(2){background:#eaf4ed;color:#80a18b}.parent-summary>span:nth-child(3){background:#ebf2fa;color:#8a9eb3}.parent-summary strong{font-size:27px;font-weight:1000;line-height:1.2;color:var(--ink);letter-spacing:-.04em}.parent-section{margin:28px 0}.parent-section>h2{font-size:20px;letter-spacing:-.025em;margin-bottom:14px}.parent-row{display:flex;align-items:center;gap:9px;min-height:49px;padding:12px 0;border-bottom:1px solid #eee9de;font-size:14px;line-height:1.4}.parent-row>.icon{width:17px;height:17px;color:#8fb396}.parent-row>span{flex:1;min-width:0;color:#9a907c}.parent-row>strong{font-weight:850;font-size:13px;text-align:right;max-width:55%}.parent-section>.text-button{padding-left:0;margin-top:7px;font-size:13px}.badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.journey-badge{display:flex;align-items:center;gap:9px;min-width:0;padding:15px 12px;border:1px solid #eae4d8;border-radius:15px;background:#f7f3ea;color:#b1a58f;font-size:12px;font-weight:850;line-height:1.4}.journey-badge>.icon{width:20px;height:20px;color:#c7bba4}.journey-badge.earned{background:#fff3c8;border-color:#efdf9e;color:#aa8730}.journey-badge.earned>.icon{color:#cc9b25}.plain-main>.button[data-action="cloud"]{width:100%;margin-top:3px}
.profile-label{display:block;width:100%;margin:25px 0 10px;font-size:14px;font-weight:900;line-height:1.4;letter-spacing:0}.companion-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.companion-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-width:0;min-height:188px;padding:17px 14px;border:1.5px solid #e6dece;border-radius:20px;background:#fff;box-shadow:0 3px 0 #e6dece}.companion-choice img{width:100%;max-width:180px;height:128px;object-fit:contain;pointer-events:none}.companion-choice>span{font-size:18px;font-weight:950;line-height:1.2}.companion-choice>.icon{position:absolute;top:12px;right:12px;width:18px;height:18px;color:#cdc4b0}.companion-choice.selected{border-color:#e6bb40;background:#fff7dc;box-shadow:0 3px 0 #dec064}.companion-choice.selected>.icon{color:#bd9020}.companion-choice:hover{transform:translateY(-1px)}.origin-select{appearance:auto;min-height:54px;background:#fff;font-size:16px;padding-right:13px}.profile-done{width:100%;margin-top:29px}.name-input,.typed-input,.cloud-form input,.profile-label input{scroll-margin-top:120px;scroll-margin-bottom:200px}
/* Typed answers, memory pairs and handwriting use the same tactile system. */
.typing-game{width:100%}.typed-input{min-height:59px;font-size:20px;text-align:center;border-color:#e5d2a0;box-shadow:0 3px 0 #eadab1}.igbo-keyboard{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:18px 0 3px}.letter-key{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 13px;border:1px solid #e4dccb;border-radius:12px;background:#fff;box-shadow:0 3px 0 #e3daca;color:#8c7a50;font-size:19px;font-weight:900}.letter-key:hover{background:#fff5d6}.letter-key:active{transform:translateY(2px);box-shadow:0 1px 0 #e3daca}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-card{display:flex;align-items:center;justify-content:center;min-width:0;min-height:66px;padding:15px 12px;border:1.5px solid #dfd1a4;border-radius:16px;background:#fff0be;box-shadow:0 3px 0 #ddc785;color:#bc983c;font-size:24px;font-weight:950;text-align:center;transition:background .18s,box-shadow .18s,transform .18s,border-color .18s}.memory-card>span{line-height:1.25;overflow-wrap:anywhere}.memory-card:hover:not(:disabled){transform:translateY(-2px)}.memory-card.flipped{background:#fff;border-color:#adc6dd;box-shadow:0 3px 0 #a9c1d6;color:#6687a5;font-size:17px}.memory-card.matched{background:#e8f5ec;border-color:#b4d5bd;box-shadow:0 3px 0 #b4d5bd;color:#7b9f87}.memory-count{margin-top:15px;color:#b2a689;font-size:12px;font-weight:900;text-align:center}.tracing-game{display:flex;flex-direction:column;align-items:center;width:100%}.trace-surface{position:relative;width:min(100%,320px);height:220px;max-height:38svh;overflow:hidden;border:1.5px solid #e5d7b6;border-radius:22px;background:#fff;box-shadow:0 3px 0 #e9ddc1;touch-action:none;user-select:none;-webkit-user-select:none}.trace-surface canvas{display:block;width:100%!important;height:100%!important;max-width:100%;border-radius:inherit;touch-action:none}.trace-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:11px;margin-top:15px}.trace-controls button{min-height:44px;padding:10px 15px;border:1px solid #e2d8c1;border-radius:12px;background:#fff5d8;color:#a18441;font-size:13px;font-weight:900}.trace-status{margin-top:13px;color:#a08a54;font-size:12px;font-weight:850;line-height:1.4;text-align:center}.trace-alternative{margin-top:11px;color:#8197ac;font-size:12px}.tracing-game>.typed-input{width:100%}
.cloud-form{display:flex;flex-direction:column;gap:10px;margin-top:20px}.cloud-form label{display:block;margin-top:5px;font-size:13px;font-weight:900;color:#99876a}.cloud-form input{display:block;width:100%;min-height:52px;padding:13px 15px;border:1.5px solid #e3d9c5;border-radius:14px;background:#fff;color:var(--ink);font-size:16px;font-weight:800;line-height:1.35}.cloud-form input::placeholder{color:#bfb4a0;font-weight:700}.cloud-actions{display:flex;flex-direction:column;gap:13px;margin-top:18px}.cloud-actions>.button{width:100%}.cloud-note{font-size:12px;line-height:1.6;color:#9c907a;margin-top:14px}.cloud-error{padding:11px 13px;margin-top:13px;border-radius:13px;background:#fff0e2;color:#af7c58;font-size:13px;font-weight:800;line-height:1.5}.cloud-note:empty,.cloud-error:empty{display:none}
/* Integrated lesson navigation; the exercise remains the only main content. */
.in-lesson .app-nav{display:none}.lesson-progress{position:sticky;top:90px;z-index:30;display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto 12px;column-gap:12px;row-gap:8px;min-height:80px;padding:11px 0 15px;background:var(--paper)}.lesson-menu-wrap{position:relative;grid-column:1;grid-row:1/3;align-self:center}.lesson-menu-wrap>.icon-button{margin-left:-8px;color:#a69a80}.lesson-topline{grid-column:2/4;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-right:2px}.lesson-subject{display:block;min-width:0;font-size:14px;font-weight:950;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-streak{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;color:#b98a2f;font-size:12px;font-weight:950;white-space:nowrap}.lesson-streak .icon{width:17px;height:17px;color:#d8a13c}.lesson-progress>.progress-track{grid-column:2;grid-row:2;align-self:center;min-width:0;height:11px}.lesson-progress>.step-counter{grid-column:3;grid-row:2;font-size:11px;line-height:1}.lesson-progress>.step-counter>span{font-size:10px}.lesson-progress>.icon-button{grid-column:1;grid-row:1/3;margin:0 0 0 -8px}.lesson-menu{position:absolute;z-index:40;left:-8px;top:calc(100% + 9px);display:flex;flex-direction:column;min-width:210px;padding:7px;border:1px solid #e7decc;border-radius:17px;background:#fffef9;box-shadow:0 9px 26px #715f3b15}.lesson-menu>button,.lesson-menu>a{display:flex;align-items:center;gap:10px;min-height:46px;width:100%;padding:11px 13px;border-radius:11px;background:transparent;text-align:left;font-size:13px;font-weight:850;line-height:1.4;text-decoration:none;white-space:nowrap}.lesson-menu>button:hover,.lesson-menu>a:hover{background:#f7f0e0}.lesson-menu .icon{width:18px;height:18px;color:#b4a37b}.lesson-context{margin-top:8px;margin-bottom:21px}.lesson-scene{height:190px;margin-bottom:25px}.exercise-body{margin-top:26px}.question-head h1{line-height:1.25}.lesson-panel{min-height:calc(100svh - 260px)}
@media(min-width:700px){.chapter-stops>.journey-stop{min-height:175px}.app-nav{margin-bottom:14px}.plain-main{padding-top:32px}.daily-goals{gap:13px}.daily-goal{min-height:89px;padding:15px 16px}.daily-goal>span{font-size:12px}.memory-grid{gap:15px}.memory-card{min-height:74px}.memory-card.flipped{font-size:19px}.parent-summary>span{font-size:12px;padding:19px 12px}.badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.companion-choice{padding:20px;min-height:225px}.companion-choice img{height:155px}.lesson-topline{font-size:15px}.lesson-scene{height:210px}}
@media(max-width:699px){.in-lesson .site-header,.in-lesson .app-nav,.in-lesson .site-footer{display:none}.play-main{padding-top:0;padding-bottom:0}.lesson-progress{top:0;min-height:86px;padding-top:13px;padding-bottom:17px;box-shadow:0 8px 12px var(--paper)}.lesson-panel{min-height:calc(100svh - 115px);padding-bottom:190px}.lesson-controls{position:fixed;z-index:35;left:0;right:0;bottom:var(--keyboard-inset,0px);width:100%;max-width:688px;margin:0 auto;padding:16px 20px calc(17px + env(safe-area-inset-bottom));border-top:1px solid #f1ecdf;background:var(--paper);box-shadow:0 -9px 16px #ffffffe8;transition:bottom .12s ease}.lesson-controls .feedback-copy{margin-bottom:13px}.lesson-controls .bottom-actions{gap:16px}.lesson-controls .check-button{min-height:51px}.lesson-context{min-height:0;margin:4px 0 13px;justify-content:flex-end}.lesson-context>.eyebrow{display:none}.lesson-context:not(:has(.combo-badge)){display:none}.question-head h1{font-size:27px;margin-top:15px;line-height:1.23}.exercise-body{margin-top:22px;margin-bottom:24px}.lesson-scene{height:clamp(120px,20svh,175px);margin:0 0 24px}.lesson-scene img{max-width:330px}.plain-main{padding-top:22px}.app-nav{width:calc(100% - 36px);margin-bottom:9px}.app-nav>button{font-size:13px;padding-left:9px;padding-right:9px}.daily-goals{gap:8px;margin-top:20px}.daily-goal{padding:13px 10px;min-height:83px;gap:13px}.daily-goal>span{font-size:10px;gap:4px}.daily-goal .icon{width:13px;height:13px}.journey-viewport{height:calc(100svh - 330px);min-height:310px;max-height:650px}.chapter-marker{margin-left:9px;margin-right:9px}.chapter-marker h2{font-size:17px}.badge-grid{gap:10px}.journey-badge{padding:13px 10px;font-size:11px}.profile-label{margin-top:24px}.trace-surface{height:205px;max-height:30svh}.trace-controls{margin-top:11px}.typing-game .typed-input{min-height:56px}.sound-guide{margin-top:18px}.word-bank{padding-bottom:10px}}
@media(max-width:430px){.plain-main{padding-left:20px;padding-right:20px}.parent-summary{gap:8px}.parent-summary>span{padding:15px 8px;font-size:10px}.parent-summary strong{font-size:25px}.review-card{gap:12px;padding:18px 0}.review-card h2{font-size:18px}.review-card>span{width:42px;height:42px;border-radius:13px}.parent-row{font-size:13px}.parent-row>strong{font-size:12px}.companion-grid{gap:12px}.companion-choice{min-height:185px;padding:14px 11px}.companion-choice img{height:123px}.companion-choice>span{font-size:17px}.lesson-controls{padding-left:20px;padding-right:20px}.lesson-subject{font-size:13px}.lesson-topline{gap:8px}.lesson-progress{column-gap:9px}.question-head h1{font-size:26px}.memory-grid{gap:11px}.memory-card{min-height:64px;padding:13px 10px}.memory-card.flipped{font-size:16px}.igbo-keyboard{gap:8px}.letter-key{padding-left:12px;padding-right:12px}.cloud-form label{font-size:12px}.chapter-marker{grid-template-columns:39px minmax(0,1fr) auto;padding:15px;column-gap:10px}.chapter-marker>span{width:38px;height:38px;border-radius:12px}.chapter-marker h2{font-size:16px}.chapter-marker>small{font-size:10px}.daily-goal{padding-left:9px;padding-right:9px}.lesson-progress>.step-counter{font-size:10px}}
@media(max-width:360px){.app-nav{width:calc(100% - 28px)}.app-nav>button{font-size:12px;padding-left:8px;padding-right:8px}.plain-main{padding-left:17px;padding-right:17px}.daily-goal>span{font-size:9px;gap:3px}.daily-goal .icon{width:12px;height:12px}.daily-goals{gap:7px}.daily-goal{padding:12px 8px}.chapter-marker{margin-left:7px;margin-right:7px;padding:13px 12px;column-gap:9px}.chapter-marker h2{font-size:15px}.companion-choice img{height:107px}.companion-choice{min-height:169px}.lesson-controls{padding-left:17px;padding-right:17px}.lesson-subject{font-size:12px}.lesson-streak{font-size:11px}.lesson-streak .icon{width:15px;height:15px}.lesson-progress{column-gap:8px;grid-template-columns:38px minmax(0,1fr) auto}.question-head h1{font-size:24px}.memory-card.flipped{font-size:15px}.journey-copy h2{font-size:18px}}
@media(max-height:650px) and (max-width:699px){.lesson-controls{position:fixed}.lesson-panel{min-height:450px;padding-bottom:190px}.lesson-scene{height:120px;margin-bottom:20px}.lesson-progress{min-height:78px;padding-top:9px;padding-bottom:13px}.question-head h1{margin-top:11px}.exercise-body{margin-top:18px}.trace-surface{height:175px;max-height:none}}
@media(prefers-reduced-motion:reduce){.lesson-controls{transition:none}.memory-card{transition:none}}
/* A small pronunciation drawer, opened by the learner. */
.sound-guide{margin-top:19px;padding:0;border:0;border-radius:0;background:transparent}.sound-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #dce8f2;border-radius:13px;background:#f3f7fb;color:#7896af;font-size:12px;font-weight:900;line-height:1.4;text-align:left;transition:background .16s,border-color .16s}.sound-toggle>.icon{width:17px;height:17px;color:#89a6bf}.sound-toggle:hover{background:#eaf2f9;border-color:#cedfeb}.sound-toggle[aria-expanded="true"]{background:#eaf2f9;color:#6289a8;border-color:#d1e1ee}.sound-chevron{display:grid;place-items:center;flex-shrink:0;width:18px;height:18px;margin-left:5px;border-radius:6px;background:#e3edf5;color:#87a2b7;font-size:17px;font-weight:750;line-height:1;transform-origin:center}.sound-guide-panel{overflow:hidden;margin-top:8px;padding:15px 16px;border:1px solid #e1ebf3;border-radius:17px;background:#f0f5fa;transform-origin:top}.sound-guide-panel>span{display:block;color:#98aec1;font-size:10px;font-weight:900;line-height:1.3;letter-spacing:.04em}.sound-guide-panel>.sound-parts{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px}.sound-guide-panel .sound-parts b{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:5px 9px;border-radius:9px;background:#fff;color:#6f91b0;font-size:18px;font-weight:900;line-height:1.4;box-shadow:0 1px 0 #e0e8ef}.sound-guide-panel .sound-parts i{color:#a4bbcd;font-size:12px;font-style:normal}.sound-guide-panel>p:last-child:not(.sound-parts){margin-top:12px;font-size:11px;line-height:1.6;color:#8aa1b4}.sound-guide-panel>p:last-child:empty{display:none}.sound-guide-panel[hidden]{display:none!important}
@media(max-width:360px){.sound-guide-panel{padding:13px}.sound-guide-panel .sound-parts b{font-size:17px;padding:5px 8px}.sound-toggle{font-size:11px}}

/* Answer feedback stays beside the action. */
.lesson-controls .feedback-copy{flex:1;min-width:0;padding:0;margin:0;background:transparent;border-radius:0}
.lesson-controls .feedback-copy strong{font-size:15px}.lesson-controls .feedback-copy p{font-size:12px;line-height:1.4;margin:4px 0 0}.lesson-controls .feedback-copy+.check-button{flex:0 0 43%;max-width:260px}
/* Every floating surface grows from its trigger, using one popup controller. */
#popup-root:empty{display:none}.popup-layer{position:fixed;inset:0;z-index:85;pointer-events:none}.popup-layer.is-modal{pointer-events:auto;background:#29231e26;backdrop-filter:blur(3px)}.popup-modal-open{overflow:hidden}.popup-bubble{position:fixed;top:0;left:0;z-index:1;pointer-events:auto;width:min(360px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);margin:0;padding:23px 21px;border:0;border-radius:24px;background:var(--paper);box-shadow:0 14px 45px #53412822,0 3px 8px #5341280a;transform-origin:var(--popup-origin-x,50%) var(--popup-origin-y,50%);overscroll-behavior:contain;overflow-y:auto;scrollbar-width:thin;will-change:transform,opacity}.popup-bubble:focus{outline:none}.popup-bubble:focus-visible{outline:none}.popup-bubble h2{display:flex;align-items:center;gap:8px;padding-right:23px;margin:0;font-size:19px;line-height:1.3;letter-spacing:-.025em}.popup-bubble h2>.icon{width:20px;height:20px;flex-shrink:0;color:#b68d30}.popup-close{position:absolute;right:6px;top:6px;width:38px;height:38px;color:#a5987c}.popup-bubble>p{font-size:14px;font-weight:750;line-height:1.65;color:#8d8166;margin:12px 0 0}.help-bubble{background:#fffaf0;border-color:#ebdcb6}.menu-bubble{width:260px;padding:20px 9px 10px}.menu-bubble>h2{padding:0 32px 12px 12px;color:#b2a488;font-size:12px;font-weight:850;letter-spacing:0}.popup-bubble .lesson-menu{position:static;min-width:0;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.popup-bubble .lesson-menu>button{min-height:47px;padding:12px 13px;border-radius:13px;font-size:14px}.popup-bubble.modal{width:min(390px,calc(100vw - 28px));max-width:calc(100vw - 28px);padding:27px 23px 23px}.popup-bubble.modal h2{font-size:23px}.popup-bubble .setting-row{min-height:63px;padding:13px 0}.popup-bubble .credits-link{display:block;line-height:1.6;margin-top:18px;font-size:11px}.popup-bubble .sound-parts{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:18px}.popup-bubble .sound-parts b{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:5px 10px;border-radius:10px;background:#fff;color:#668ca9;font-size:19px;font-weight:900;line-height:1.4;box-shadow:0 1px 2px #d7e2eb}.popup-bubble .sound-parts i{color:#abc0cf;font-size:12px;font-style:normal}.popup-bubble[data-popover="pronunciation"]{background:#f0f6fc;border-color:#dce7f2}.popup-bubble[data-popover="pronunciation"] .popup-note{color:#7d99ae;font-size:12px}.hint-button{border-radius:13px;padding:10px 11px}.hint-button[aria-expanded="true"]{background:#fff0bf;color:#a38331}.lesson-menu-button[aria-expanded="true"]{background:#f9edc8;transform:none}.lesson-menu-button{transition:transform .2s ease,background .2s ease}.popup-layer.is-modal .popup-bubble{box-shadow:0 22px 75px #53412830}.reduced-motion .lesson-menu-button{transition:none}
@media(max-width:699px){.journey-viewport{height:calc(100svh - 285px);min-height:310px}.popup-bubble{border-radius:22px;padding:22px 19px}.popup-bubble.modal{padding:25px 21px 21px}.popup-bubble h2{font-size:18px}.popup-bubble>p{font-size:14px}.menu-bubble{padding:19px 8px 9px}}
@media(prefers-reduced-motion:reduce){.lesson-menu-button{transition:none}.popup-bubble{will-change:auto}}
.origin-select{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.origin-select>.icon{width:19px;height:19px;color:#a89772;transition:transform .22s ease}.origin-select[aria-expanded="true"]{border-color:#e1bb53;background:#fffae9}.origin-select[aria-expanded="true"]>.icon{transform:rotate(180deg)}.origin-picker{width:min(360px,calc(100vw - 28px));padding-bottom:10px}.popup-search{display:block;width:100%;min-height:46px;margin:16px 0 10px;padding:11px 13px;border:1px solid #e8dfca;border-radius:13px;background:#fff;color:var(--ink);font-size:16px;font-weight:750;outline:none}.popup-search:focus{border-color:#d2ad4e;box-shadow:0 0 0 3px #f5e9bd66}.popup-search::placeholder{color:#b5aa92}.origin-options{max-height:min(290px,42dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:4px}.origin-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:11px 12px;border-radius:12px;background:transparent;font-size:14px;font-weight:850;text-align:left;animation:picker-option-in .22s both;animation-delay:var(--option-delay,0ms);transition:background .15s,transform .15s}.origin-option>.icon{width:17px;height:17px;color:#c2b48f}.origin-option:hover,.origin-option:focus-visible{background:#f7edce}.origin-option:active{transform:scale(.97)}.origin-option.selected{color:#927122;background:#fcf0bd}.origin-option.selected>.icon{color:#ac8a28}.picker-empty{padding:20px 12px;font-size:14px;color:var(--muted)}@keyframes picker-option-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.reduced-motion .origin-option{animation:none;transition:none}.reduced-motion .origin-select>.icon{transition:none}@media(prefers-reduced-motion:reduce){.origin-option{animation:none;transition:none}.origin-select>.icon{transition:none}}
.popup-current{width:100%;margin-top:18px;min-height:47px;font-size:14px}.popup-layer.is-modal{animation:popup-backdrop-in .22s ease both}@keyframes popup-backdrop-in{from{background:#29231e00;backdrop-filter:blur(0)}to{background:#29231e26;backdrop-filter:blur(3px)}}.reduced-motion .popup-layer.is-modal{animation:none}@media(prefers-reduced-motion:reduce){.popup-layer.is-modal{animation:none}}

.reduced-motion .destination-button:hover{transform:none}
.lesson-controls .feedback-copy.retry{color:#8d8166}.lesson-controls .feedback-copy.retry strong{color:#806d4d}.popup-bubble .lesson-menu>button{animation:menu-item-in .27s ease both;animation-delay:var(--menu-delay,30ms)}.popup-bubble .lesson-menu>button:nth-child(2){--menu-delay:55ms}.popup-bubble .lesson-menu>button:nth-child(3){--menu-delay:80ms}.popup-bubble .lesson-menu>button:nth-child(4){--menu-delay:105ms}.popup-bubble .lesson-menu>button:nth-child(5){--menu-delay:130ms}.popup-bubble .lesson-menu>button>.icon{width:18px;height:18px;color:#b4a070}@keyframes menu-item-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.reduced-motion .popup-bubble .lesson-menu>button{animation:none}@media(prefers-reduced-motion:reduce){.popup-bubble .lesson-menu>button{animation:none}}

/* One shared header leaves the white canvas to the learning journey. */
.site-header {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:24px;
  width:100%;
  min-height:76px;
  flex-shrink:0;
  padding:14px 24px;
  padding-top:calc(14px + env(safe-area-inset-top));
  background:#fff;
}
.header-context {min-width:0;}
.header-language {display:block;font-size:10px;line-height:1.4;font-weight:850;color:var(--muted);}
.header-page {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.35;font-weight:950;letter-spacing:-.025em;}
.header-right {gap:9px;}
.header-streak {display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:14px;font-weight:900;color:#a27625;}
.header-streak>.icon {width:19px;height:19px;color:#d39c2e;}
.site-header .app-menu-button {width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;transition:transform .22s ease,background .22s ease;}
.app-menu-button[aria-expanded="true"] {background:#fff3c8;transform:none;}
.popup-bubble,.help-bubble,.popup-bubble[data-popover="pronunciation"] {background:#fff;}
.popup-bubble[data-popover="pronunciation"] .sound-parts b {background:#eff5fb;box-shadow:none;}
.app-menu-bubble {width:292px;}
.app-menu-bubble>h2 {color:#797268;font-size:13px;}
.menu-progress {display:flex;align-items:center;gap:20px;margin:0 12px 8px;padding:5px 0 15px;border-bottom:1px solid #eeece8;}
.menu-progress>span {display:flex;align-items:center;gap:5px;font-size:14px;white-space:nowrap;}
.menu-progress .icon {width:17px;height:17px;color:#b3974d;}
.menu-progress small {font-size:11px;color:var(--muted);}
.menu-current,.menu-companion {margin-left:auto;}
.menu-current>.icon {width:16px;height:16px;color:#a27d24;}
.menu-companion {color:var(--muted);font-size:11px;font-weight:750;}
.app-menu-bubble .lesson-menu>button[aria-current="page"] {background:#fff8df;color:#80621b;}
.reduced-motion .app-menu-button {transition:none;}
@media(max-width:699px) {
  .site-header {min-height:64px;gap:12px;padding:10px 18px;padding-top:calc(10px + env(safe-area-inset-top));}
  .site-header .brand-wordmark {display:none;}
  .site-header .brand-symbol {width:34px;height:34px;padding:7px;border-radius:11px;}
  .header-right {gap:5px;}
  .header-streak {font-size:13px;gap:4px;}
  .header-page {font-size:17px;}
  .lesson-controls {background:#fff;border-top-color:#f0f0ee;box-shadow:0 -9px 16px #ffffffe8;}
}
@media(max-width:360px) {
  .site-header {gap:9px;padding-left:14px;padding-right:14px;}
  .header-page {font-size:15px;}
}
@media(prefers-reduced-motion:reduce) {
  .app-menu-button {transition:none;}
}
/* The viewport owns the page. Maps and option lists are the only scroll surfaces. */
html,body{height:100%;width:100%;overflow:hidden;overscroll-behavior:none;background:#fff}:root{background:#fff;--paper:#fff}body{position:relative}#app{display:flex;flex-direction:column;width:100%;height:var(--app-height,100dvh);min-height:0;max-height:var(--app-height,100dvh);overflow:hidden;background:#fff}.site-header{position:relative;top:auto;flex:0 0 auto;width:100%;max-width:960px;margin:0 auto;min-height:64px;padding:10px 22px;background:#fff}.header-context{display:none}.site-header .brand-wordmark{display:block}.site-header .brand-sub{display:none}.site-header .brand-name{font-size:19px}.site-header .brand-symbol{width:32px;height:32px;padding:0;background:transparent;border-radius:9px}.header-right{margin-left:auto}.site-header .brand{gap:8px}.app-nav,.course-summary,.journey-home>.course-heading,.site-footer{display:none!important}.journey-home{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:760px;margin:0 auto;padding:0 20px calc(10px + env(safe-area-inset-bottom));overflow:hidden}.screen-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0 0;margin-top:auto;width:100%;background:#fff}.screen-actions>.button{width:100%;max-width:480px}.journey-action{padding-top:9px}.journey-action .button{min-height:50px}.onboarding-screen{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:650px;margin:0 auto;padding:0 22px calc(18px + env(safe-area-inset-bottom));background:#fff}.fit-stage{position:relative;flex:1 1 auto;min-height:0;width:100%;overflow:hidden}.fit-content{position:absolute;left:50%;top:50%;width:100%;max-width:100%;transform:translate(-50%,-50%) scale(var(--content-scale,1));transform-origin:center;display:flow-root}.onboarding-screen h1{text-align:center;font-size:clamp(24px,4vw,34px);margin:0 0 24px}.onboarding-screen .companion-grid{gap:18px}.onboarding-screen .companion-choice{position:relative;min-height:0;gap:13px;padding:16px 10px 19px;border:2px solid #eeece6;background:#fff;border-radius:26px;box-shadow:0 4px 0 #eeece6;transition:transform .22s cubic-bezier(.18,.8,.3,1.3),border-color .2s,box-shadow .2s}.onboarding-screen .companion-choice img{height:clamp(135px,27dvh,245px);width:100%;object-fit:contain}.onboarding-screen .companion-choice.selected{background:#fff;border-color:#f0c13c;box-shadow:0 5px 0 #e7b731;transform:translateY(-5px)}.companion-check{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f3f1ea;color:transparent;transform:scale(.7);transition:background .2s,transform .22s}.selected .companion-check{background:#ffcb27;color:#7b5d12;transform:scale(1)}.companion-check .icon{width:15px;height:15px}.onboarding-screen .companion-choice>span:not(.companion-check){font-size:22px;font-weight:950}.plain-main,.completion-main{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:688px;margin:0 auto;padding:12px 24px calc(16px + env(safe-area-inset-bottom));overflow:hidden;background:#fff}.plain-main .fit-content>h1{font-size:28px;margin:0 0 16px}.plain-main .course-heading{padding:0;margin:0 0 18px}.plain-main .course-heading small{display:none}.plain-main .course-heading h1{font-size:28px}.profile-character{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 0;background:#fff;text-align:left}.profile-character img{width:125px;height:105px;object-fit:contain}.profile-character>span{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:850;color:#8c7b55}.profile-screen .profile-label{margin:16px 0 8px}.profile-screen .name-input{min-height:50px;font-size:16px}.profile-screen .screen-actions{padding-top:18px}.screen-tabs{display:flex;gap:7px;margin:16px 0 12px}.screen-tabs>button{flex:1;min-height:44px;padding:9px 10px;border-radius:13px;background:#f5f5f3;color:#8f8778;font-size:13px;font-weight:900}.screen-tabs>button[aria-pressed="true"]{background:#fff0b4;color:#89691e}.parent-summary{margin:8px 0 0}.parent-summary>span{padding:12px 8px;background:#fff}.parent-summary strong{font-size:27px}.parent-section{margin-top:12px}.parent-section h2{font-size:18px}.parent-row{padding:12px 0;font-size:13px}.journey-badge{min-height:85px;padding:12px 9px;font-size:11px;background:#fff}.badge-grid{gap:9px}.review-card{padding:15px 0;min-height:68px}.review-card h2{font-size:19px}.review-card small{font-size:11px}.practice-pager{justify-content:space-between;padding-top:12px}.practice-pager>span{font-size:12px;color:var(--muted)}.practice-pager button:first-child .icon{transform:rotate(180deg)}.practice-pager button:disabled{opacity:.35}.in-lesson .site-header{display:none!important}.play-main{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:760px;margin:0 auto;padding:calc(5px + env(safe-area-inset-top)) 24px calc(8px + env(safe-area-inset-bottom));overflow:hidden;background:#fff}.lesson-progress{display:flex;align-items:center;flex:0 0 auto;gap:8px;position:relative;top:auto;width:100%;min-height:60px;height:60px;padding:6px 0;margin:0;background:#fff;box-shadow:none;z-index:30}.lesson-back,.lesson-menu-wrap{display:flex;align-items:center;flex:0 0 44px;width:44px;height:44px;margin:0}.lesson-back{justify-content:center;padding:10px}.lesson-back>.icon{transform:rotate(180deg);width:21px;height:21px}.lesson-menu-wrap>.icon-button{margin:0;width:44px;height:44px}.lesson-status-button{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:44px;padding:6px 8px;border-radius:15px;background:#fff;text-align:left}.lesson-status-button:hover,.lesson-status-button[aria-expanded="true"]{background:#f8f8f5}.lesson-subject{font-size:14px;line-height:1.3;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-ring{width:29px;height:29px;flex:0 0 29px;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke-width:3.2;stroke-linecap:round}.ring-track{stroke:#f1eee3}.ring-value{stroke:#e5bb39;transition:stroke-dashoffset .35s ease}.lesson-status-button .lesson-streak{margin-left:auto;color:#b28d38;font-size:11px;gap:3px}.lesson-status-button .lesson-streak>.icon{width:15px;height:15px}.lesson-panel{display:flex;flex-direction:column;flex:1;min-height:0;height:0;padding:0;margin:0;background:#fff}.question-head{flex:0 0 auto;margin:0;padding:8px 0 9px}.question-head h1{font-size:clamp(22px,3.8dvh,32px);line-height:1.2;margin:0;max-width:100%}.exercise-body{flex:1;min-height:0;margin:0;padding:0;overflow:hidden}.exercise-body .fit-content{padding:7px 0}.lesson-scene{height:clamp(75px,19dvh,185px);margin:0 0 18px}.lesson-scene img{max-width:360px;height:100%;object-fit:contain}.phrase-card{padding:18px 19px}.phrase-text>strong{font-size:clamp(25px,4.5dvh,36px)}.phrase-text>p{font-size:14px;margin-top:8px}.sound-guide{margin-top:12px}.sound-toggle{min-height:44px}.example-note,.field-note{font-size:11px;margin-top:10px;line-height:1.4}.lesson-controls{position:relative;left:auto;right:auto;bottom:auto!important;flex:0 0 auto;width:100%;max-width:none;margin:0;padding:12px 0 0;border:0;background:#fff;box-shadow:none;transition:none;z-index:35}.lesson-controls .check-button{min-height:49px}.lesson-controls .bottom-actions{gap:14px}.feedback-copy p:empty{display:none}.lesson-status-popup .progress-track{margin:18px 0 16px;height:10px}.lesson-detail-stats{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted);font-weight:850}.lesson-detail-stats>span{display:flex;align-items:center;gap:5px}.lesson-detail-stats .icon{width:17px;height:17px;color:#c1a24d}.typing-game .typed-input{min-height:51px;font-size:18px}.igbo-keyboard{gap:8px;margin-top:10px}.letter-key{min-height:42px}.sentence-slots{min-height:63px;padding:12px 0;margin-bottom:13px}.sentence-token,.word-token{min-height:44px;padding:8px 12px;font-size:16px}.word-bank{gap:9px;padding:0}.build-translation{margin-bottom:10px;font-size:14px}.question-audio{margin-bottom:12px}.answer-choice{min-height:68px;padding-top:12px;padding-bottom:12px}.choice-title{font-size:18px}.match-tile{min-height:57px;padding:11px 13px;font-size:16px}.matching-grid,.matching-column{gap:10px}.memory-card{min-height:57px}.memory-grid{gap:10px}.memory-count{margin-top:10px}.trace-surface{height:clamp(130px,25dvh,210px);max-height:none}.trace-alternative{min-height:42px}.trace-controls{margin-top:6px}.practice-line{font-size:24px;margin-bottom:12px}.practice-audio{margin-bottom:12px}.record-button{min-height:49px;padding:12px}.record-privacy{font-size:10px;line-height:1.35;margin-top:10px}.recording-playback{margin-top:10px}.recording-playback>span{font-size:10px;margin-bottom:5px}.recording-playback audio{height:38px}.speaking-controls .example-note{margin-top:0;margin-bottom:10px}.record-error{margin-top:8px;font-size:11px;line-height:1.35}.fit-compact .lesson-scene{height:70px;margin-bottom:11px}.fit-compact .phrase-card{padding:13px 16px}.fit-compact .sound-guide{margin-top:8px}.fit-compact .practice-line{font-size:21px}.fit-compact .record-privacy{font-size:10px}.fit-compact .trace-surface{height:135px}.fit-compact .trace-alternative{min-height:40px}.fit-compact .question-audio{margin-bottom:8px}.fit-compact .picture-choices .answer-choice{min-height:130px;padding:10px}.fit-compact .choice-image{height:80px}.keyboard-open .lesson-scene,.keyboard-open .profile-character{display:none}.keyboard-open .question-head{padding-top:3px}.keyboard-open .question-head h1{font-size:20px}.keyboard-open .lesson-progress{min-height:50px;height:50px}.keyboard-open .lesson-controls{padding-top:6px}.keyboard-open .field-note{display:none}.keyboard-open .play-main{padding-top:0;padding-bottom:4px}.completion-main .success-medallion{width:66px;height:66px;margin:0 auto 16px}.completion-main .fit-content{text-align:center}.completion-main h1{font-size:27px;margin:9px 0 16px}.completion-main .reward-row{margin:15px 0}.completion-main .recap-row,.completion-main .recap-word{min-height:46px;padding:9px 0}.completion-main .next-preview,.completion-main .quiet-note{display:none}.completion-main .completion-actions{padding-top:12px}.completion-main .completion-actions .text-button{display:none}.completion-main .completion-actions>.button{max-width:none}.completion-main .completion-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.completion-main .completion-actions .button{margin:0;font-size:14px}.menu-progress{gap:14px;flex-wrap:wrap}.menu-progress>span{font-size:13px}.menu-progress small{font-size:10px}
@media(max-width:699px){.site-header{min-height:60px;padding:9px 18px;padding-top:calc(9px + env(safe-area-inset-top))}.site-header .brand-wordmark{display:block}.site-header .brand-name{font-size:17px}.site-header .brand-symbol{width:29px;height:29px;padding:0}.journey-home{padding:0 14px calc(8px + env(safe-area-inset-bottom))}.plain-main,.completion-main{padding:8px 20px calc(12px + env(safe-area-inset-bottom))}.play-main{padding-left:20px;padding-right:20px}.lesson-progress{height:57px;min-height:57px}.onboarding-screen{padding-left:20px;padding-right:20px}.onboarding-screen .companion-grid{gap:13px}.onboarding-screen .companion-choice{border-radius:22px}.lesson-status-button .lesson-streak{display:none}.onboarding-screen h1{font-size:26px}.journey-action .button{max-width:none}.onboarding-screen .screen-actions>.button{max-width:none}}
@media(max-height:600px){.site-header{min-height:51px;padding-top:6px;padding-bottom:6px}.question-head h1{font-size:22px}.lesson-scene{height:90px;margin-bottom:12px}.onboarding-screen h1{margin-bottom:16px}.onboarding-screen .companion-choice img{height:140px}.onboarding-screen .companion-choice{padding-top:10px;padding-bottom:13px}.onboarding-screen .companion-choice>span:not(.companion-check){font-size:19px}.profile-character img{height:75px;width:105px}.profile-screen .profile-label{margin-top:10px}.profile-screen .fit-content>h1{font-size:24px;margin-bottom:8px}.screen-actions{padding-top:8px}.lesson-controls .check-button,.screen-actions>.button{min-height:46px}.question-head{padding-top:4px;padding-bottom:6px}.parent-row{padding:9px 0}}
@media(max-height:450px) and (min-width:600px){.onboarding-screen{max-width:760px}.onboarding-screen .companion-grid{max-width:480px;margin:auto}.onboarding-screen .companion-choice img{height:105px}.onboarding-screen h1{font-size:24px;margin-bottom:12px}.play-main{max-width:900px}.lesson-scene{float:left;width:32%;height:150px;margin:0 4% 0 0}.exercise-body .fit-content:after{content:'';display:block;clear:both}.keyboard-open .lesson-scene{display:none}}
.reduced-motion .companion-choice,.reduced-motion .companion-check,.reduced-motion .ring-value{transition:none}@media(prefers-reduced-motion:reduce){.companion-choice,.companion-check,.ring-value{transition:none}}
@media(max-height:450px) and (min-width:600px){.exercise-body .fit-content:has(>.lesson-scene){display:grid;grid-template-columns:30% minmax(0,1fr);column-gap:22px;align-items:center}.exercise-body .fit-content>.lesson-scene{grid-column:1;grid-row:1/span 12;float:none;width:100%;height:150px;margin:0}.exercise-body .fit-content>.lesson-scene~*{grid-column:2;min-width:0}.exercise-body .fit-content:after{display:none}}@media(max-height:400px){.keyboard-open .question-head{display:none}.keyboard-open .lesson-progress{min-height:44px;height:44px}}

/* Floating surfaces use a soft shadow, without an outline or rotating menu control. */
.popup-bubble,.popup-bubble:focus,.popup-bubble:focus-visible{border:0;outline:0}.app-menu-button[aria-expanded="true"],.lesson-menu-button[aria-expanded="true"]{transform:none}.app-menu-button:focus,.lesson-menu-button:focus{outline:none}.app-menu-button:focus-visible,.lesson-menu-button:focus-visible{outline:none;background:#f1f3f4}.popup-bubble .lesson-menu>button:focus-visible,.popup-bubble .popup-close:focus-visible,.popup-bubble .modal-close:focus-visible{outline:none;background:#f1f3f4;box-shadow:none}

/* Keep the scene close to its question and give it the available room. */
.exercise-body>.fit-content{top:0;transform:translateX(-50%) scale(var(--content-scale,1));transform-origin:top center;padding-top:0}.question-head{padding-bottom:5px}.lesson-scene{height:clamp(110px,29dvh,300px);margin-bottom:15px}.lesson-scene img{max-width:460px;object-position:center top}.fit-compact .lesson-scene{margin-bottom:10px}

/* Portrait cutouts fill the cards while keeping hair, hands and shoes visible. */
.onboarding-screen .companion-choice img{height:clamp(150px,38dvh,340px);max-height:calc((100vw - 92px)*.95);object-fit:contain;object-position:center}

.icon-art{display:inline-block;background-image:url('/assets/icons/learning-atlas-flat.webp');background-size:400% 400%;background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat;vertical-align:middle}
.voice-settings{border:0;padding:0;margin:22px 0 12px}.voice-settings legend{font-size:13px;font-weight:900;margin-bottom:10px}.voice-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.voice-row{display:flex;flex-direction:column;gap:4px}.voice-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 13px;background:#f5f6f6;border-radius:15px;font-size:14px;font-weight:900;transition:background .2s,transform .2s}.voice-option>.icon{opacity:0;width:22px;height:22px}.voice-option.selected{background:#fff0b8}.voice-option.selected>.icon{opacity:1}.voice-option:active{transform:scale(.97)}.voice-preview{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;font-size:12px}.voice-preview>.icon{width:23px;height:23px}.voice-disclosure{font-size:10px!important;line-height:1.4!important;color:var(--muted);margin-top:12px}.audio-button.loading,.voice-preview.loading{animation:voice-loading 1s ease-in-out infinite}.voice-preview.playing{color:#2c8f6e;background:#eaf8f1;border-radius:12px}@keyframes voice-loading{50%{opacity:.45}}.reduced-motion .audio-button.loading,.reduced-motion .voice-preview.loading{animation:none}@media(prefers-reduced-motion:reduce){.audio-button.loading,.voice-preview.loading{animation:none}}

/* A shared stage combines one child and one guide from separate transparent assets. */
.scene-composition{display:flex;align-items:center;justify-content:center;position:relative;container-type:size;pointer-events:none;user-select:none;-webkit-user-select:none}
.scene-stage{display:block;position:relative;width:100%;max-width:540px;height:100%;isolation:isolate}
.scene-actor{display:block;position:absolute;bottom:2%;width:auto;max-width:none;transform:translateX(-50%);z-index:2;pointer-events:none}
.scene-actor-motion{display:block;position:absolute;inset:0;transform-origin:50% 85%}
.scene-actor-art{display:block;position:absolute;inset:0;transform-origin:center}
.scene-stage .scene-actor-art>img{display:block;position:absolute;max-width:none;max-height:none;object-fit:fill;object-position:initial;pointer-events:none}
.scene-stage>.scene-backdrop{display:block;position:absolute;left:0;bottom:0;width:100%;max-width:none;height:88%;object-fit:contain;object-position:center bottom;opacity:.38;z-index:0;pointer-events:none}
.scene-composition.choice-image{width:100%;height:clamp(90px,18dvh,140px);margin:0 auto}
.scene-composition.prompt-image{width:180px;height:140px;margin:0 auto 12px}
.fit-compact .scene-composition.choice-image{height:80px}
.fit-compact .scene-composition.prompt-image{height:90px}
@supports(width:1cqw){.scene-stage{width:min(100cqw,150cqh);height:min(100cqh,66.6667cqw)}}

/* The cast is a small, fixed carousel, never a shrinking wall of portraits. */
.onboarding-screen{max-width:720px}
.onboarding-screen h1{margin-bottom:20px}
/* A character stage, with the whole cast always within reach. */
.onboarding-screen{max-width:650px;padding-top:0}
.onboarding-screen h1{font-size:clamp(25px,3.6dvh,34px);margin:0 0 6px}
.character-carousel{width:100%;user-select:none;-webkit-user-select:none}
.character-showcase{position:relative;isolation:isolate;width:100%;height:clamp(275px,49dvh,420px);touch-action:pan-y}
.character-aura{position:absolute;z-index:-2;left:13%;top:11%;width:74%;height:71%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--character-accent) 15%,white) 0%,color-mix(in srgb,var(--character-accent) 7%,white) 56%,white 72%);pointer-events:none}
.character-orbit{position:absolute;inset:13% 7%;border-radius:50%;background:color-mix(in srgb,var(--character-accent) 5%,white);transform:rotate(-20deg)}
.character-aura:after{content:'';position:absolute;inset:25% 19%;border-radius:50%;background:color-mix(in srgb,var(--character-accent) 10%,white)}
.character-pedestal{position:absolute;z-index:-1;left:24%;bottom:44px;width:52%;height:20px;border-radius:50%;background:color-mix(in srgb,var(--character-accent) 13%,white);box-shadow:0 7px 0 color-mix(in srgb,var(--character-accent) 5%,white);pointer-events:none}
.character-hero{position:absolute;inset:0 15% 48px;width:70%;height:calc(100% - 48px);padding:0;background:transparent;border-radius:36px;outline-offset:0;touch-action:pan-y}
.character-hero-motion{display:block;width:100%;height:100%;transform-origin:50% 92%;pointer-events:none}
.character-main-art{display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(0 9px 9px #3845310a)}
.character-play-mark{position:absolute;right:2%;top:61%;display:grid;place-items:center;width:35px;height:35px;background:white;border-radius:14px;color:var(--character-accent);box-shadow:0 5px 18px #29231e0b;transition:transform .25s cubic-bezier(.18,.8,.3,1.5);pointer-events:none}
.character-play-mark svg{width:19px;height:19px}
.character-hero:hover .character-play-mark{transform:rotate(12deg) scale(1.12)}
.character-hero:active .character-play-mark{transform:scale(.88)}
.character-stage-arrow{position:absolute;z-index:2;top:43%;display:grid;place-items:center;width:44px;height:44px;border-radius:17px;background:#f5f6f6;color:#615d56;transition:background .2s,transform .2s}
.character-stage-arrow:hover{background:color-mix(in srgb,var(--character-accent) 12%,white);transform:translateY(-2px)}
.character-stage-arrow:active{transform:scale(.93)}
.character-stage-arrow .icon{width:19px;height:19px}
.character-previous{left:2%}.character-next{right:2%}.character-previous .icon{transform:rotate(180deg)}
.character-spotlight-name{position:absolute;bottom:0;left:0;width:100%;height:36px;text-align:center;font-size:30px;line-height:1.15;letter-spacing:-.045em}
.character-spark,.character-dot{position:absolute;z-index:-1;pointer-events:none;color:var(--character-accent)}
.character-spark-one{right:20%;top:13%;width:24px;height:24px;opacity:.8}.character-spark-two{left:16%;top:51%;width:15px;height:15px;opacity:.6}
.character-dot{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.35}.character-dot-one{left:25%;top:17%}.character-dot-two{right:16%;top:57%;width:5px;height:5px}
.character-roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 9px;width:100%;max-width:430px;margin:14px auto 0}
.onboarding-screen .character-roster-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:66px;gap:4px;padding:4px 3px;border:0;border-radius:19px;background:transparent;box-shadow:none;transform:none;overflow:visible;transition:background .2s,transform .2s}
.onboarding-screen .character-roster-item:hover{background:#f6f7f6;transform:translateY(-2px)}
.onboarding-screen .character-roster-item.selected{background:color-mix(in srgb,var(--character-accent) 10%,white);box-shadow:none;transform:none}
.character-roster-photo{display:block;position:relative;flex-shrink:0;width:min(100%,46px);aspect-ratio:1;overflow:hidden;border-radius:50%;background:#f2f4f3;transform-origin:center;transition:background .2s,box-shadow .2s}
.onboarding-screen .character-roster-photo img{position:absolute;left:var(--face-x,50%);top:var(--face-y,-3px);width:auto;height:140px;max-width:none;transform:translateX(-50%);object-fit:contain;pointer-events:none}
.character-roster-item[data-value="ada"]{--face-x:40%}.character-roster-item[data-value="ngozi"]{--face-y:-13px}.character-roster-item[data-value="ikenna"]{--face-y:-7px}
.selected .character-roster-photo{background:color-mix(in srgb,var(--character-accent) 17%,white);box-shadow:0 0 0 3px white}
.onboarding-screen .character-roster-item>span.character-name{font-size:12px;line-height:1.2;font-weight:900}
.onboarding-screen .character-roster-item .companion-check{top:3px;right:4px;width:17px;height:17px;background:#fff;color:var(--character-accent);box-shadow:0 2px 5px #29231e0d;opacity:0;transform:scale(.5)}
.onboarding-screen .character-roster-item.selected .companion-check{opacity:1;transform:scale(1);background:white}
.character-roster-item .companion-check .icon{width:12px;height:12px}
.onboarding-screen .screen-actions{padding-top:15px}
@media(min-width:800px) and (min-height:600px){.onboarding-screen{max-width:930px;padding-left:32px;padding-right:32px}.onboarding-screen h1{font-size:36px;margin-bottom:14px}.character-carousel{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(245px,.8fr);gap:45px;align-items:center}.character-showcase{height:min(54dvh,465px)}.character-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 9px;margin:0}.onboarding-screen .character-roster-item{flex-direction:row;justify-content:flex-start;gap:10px;padding:7px 8px;min-height:65px;background:#f7f8f7;border-radius:22px}.character-roster-photo{width:45px}.onboarding-screen .character-roster-item>span.character-name{font-size:13px}.onboarding-screen .character-roster-item .companion-check{top:4px;right:4px}.character-spotlight-name{font-size:34px}.onboarding-screen .screen-actions{padding-top:22px}}
@media(max-height:650px){.onboarding-screen h1{margin-bottom:5px;font-size:25px}.character-showcase{height:clamp(215px,44dvh,285px)}.character-roster{margin-top:9px;gap:7px}.character-roster-photo{width:min(100%,46px)}.onboarding-screen .character-roster-item{min-height:65px;gap:4px;padding:3px}.onboarding-screen .character-roster-item>span.character-name{font-size:11px}.character-spotlight-name{font-size:28px}.onboarding-screen .screen-actions{padding-top:10px}}
@media(max-height:450px) and (min-width:560px){.onboarding-screen{max-width:900px;padding-left:25px;padding-right:25px;padding-bottom:8px}.onboarding-screen h1{font-size:22px;margin-bottom:3px}.character-carousel{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:24px}.character-showcase{height:clamp(150px,48dvh,205px)}.character-hero{bottom:32px;height:calc(100% - 32px)}.character-pedestal{bottom:31px;height:12px}.character-spotlight-name{height:25px;font-size:23px}.character-roster{margin:0;gap:6px}.character-roster-photo{width:min(100%,38px)}.onboarding-screen .character-roster-photo img{height:116px}.character-roster-item[data-value="ngozi"]{--face-y:-10px}.character-roster-item[data-value="ikenna"]{--face-y:-6px}.onboarding-screen .character-roster-item{min-height:57px;padding:2px;gap:3px}.onboarding-screen .character-roster-item>span.character-name{font-size:10px}.character-stage-arrow{width:44px;height:44px;top:39%;border-radius:14px}.character-play-mark{width:26px;height:26px;border-radius:10px}.character-play-mark svg{width:15px;height:15px}.onboarding-screen .screen-actions{padding-top:5px}.onboarding-screen .screen-actions .button{min-height:44px}}
.completion-art{width:100%;height:clamp(150px,26dvh,235px);margin:0 auto 6px;max-width:540px}
.completion-main .eyebrow{display:block;font-size:12px;letter-spacing:.04em;color:#857347}
.completion-main h1{margin:7px 0 12px;font-size:clamp(24px,4dvh,30px)}
.completion-main .reward-row{margin:12px 0 16px;gap:9px}
.completion-main .reward-chip{min-width:0;flex:1;flex-wrap:wrap;column-gap:5px;row-gap:2px;padding:10px 8px;min-height:61px}
.completion-main .reward-chip>span{width:100%;font-size:10px;line-height:1.25}
.completion-main .reward-chip>strong{font-size:21px}
.completion-main .reward-chip>.icon{width:18px;height:18px}
.completion-main .recap-word>div{min-width:0}
.completion-main .recap-word>div>strong{display:block;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.completion-main .recap-word>div>span{display:block;font-size:12px;line-height:1.3;color:var(--muted);margin-top:3px}
.completion-main .completion-actions{margin-top:0}

@media(max-height:650px){.completion-art{height:145px}.completion-main .reward-row{margin:8px 0 10px}.completion-main .recap-word{padding:6px 0}}
@media(max-height:450px) and (min-width:600px){.completion-art{height:110px}}
.spelling-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;padding:11px 13px;border-radius:14px;background:#eef8f1;text-align:left;line-height:1.35}
.spelling-note>span{flex-shrink:0;font-size:11px;font-weight:850;color:#52745b}.spelling-note>strong{font-size:17px;font-weight:900;color:#284f34;overflow-wrap:anywhere}
.letter-key:disabled{opacity:.45;cursor:default}
.reduced-motion :is(.companion-choice,.character-play-mark,.character-stage-arrow,.character-roster-photo){transition:none}@media(prefers-reduced-motion:reduce){:is(.companion-choice,.character-play-mark,.character-stage-arrow,.character-roster-photo){transition:none}}
.review-summary{margin:8px 0 0;color:var(--muted);font-size:13px;font-weight:750}
.review-card.review-due>span{background:#fff1be;color:#95731d}
.review-card.review-upcoming>span{background:#f5f3ee;color:#898171}
.empty-practice>p{margin:7px 0 0;color:var(--muted);font-size:13px}

.reset-progress-row,.reset-progress-row .icon{color:#b44f45}.button.danger{background:#b94f45;color:#fff;box-shadow:none}.button.danger:hover{background:#a3443b}.button.danger:active{transform:scale(.98)}

/* Clear menu affordance and one forward-action convention throughout the app. */
.site-header .app-menu-button,.lesson-menu-wrap>.lesson-menu-button{width:52px;min-width:52px;height:52px;min-height:52px;padding:13px;border-radius:18px;background:#28251f;color:#ffcf32;box-shadow:0 3px 0 #11100d;transition:background .18s,color .18s,box-shadow .18s,transform .18s}
.lesson-menu-wrap{flex-basis:52px;width:52px;height:52px}
.app-menu-button:hover,.lesson-menu-button:hover{background:#3b362b;color:#ffdc65;transform:translateY(-1px);box-shadow:0 4px 0 #11100d}
.app-menu-button:active,.lesson-menu-button:active{transform:translateY(2px);box-shadow:0 1px 0 #11100d}
.app-menu-button[aria-expanded="true"],.lesson-menu-button[aria-expanded="true"],.app-menu-button:focus-visible,.lesson-menu-button:focus-visible{background:#ffcf32;color:#28251f;box-shadow:0 3px 0 #d5a719}
.menu-glyph{position:relative;display:block;flex:none;width:26px;height:24px}
.menu-glyph i{position:absolute;left:0;display:block;width:26px;height:3px;border-radius:3px;background:currentColor;transition:transform .2s,width .2s,opacity .2s}
.menu-glyph i:nth-child(1){top:3px}
.menu-glyph i:nth-child(2){top:11px;width:19px}
.menu-glyph i:nth-child(3){top:19px}
[aria-expanded="true"]>.menu-glyph i:nth-child(1){transform:translateY(8px) rotate(45deg)}
[aria-expanded="true"]>.menu-glyph i:nth-child(2){opacity:0;width:0}
[aria-expanded="true"]>.menu-glyph i:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.lesson-progress{min-height:66px;height:66px}
.screen-actions{justify-content:flex-end}
.screen-actions>.button{min-width:0}
.action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px}
.action-row>.button{min-width:0;width:100%;max-width:none;margin:0}
.completion-main .completion-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
.completion-actions>.final-journey{grid-column:2}
.completion-main .completion-actions>.text-button{display:inline-flex;grid-column:1/-1;justify-self:end;min-height:44px;padding-right:0}
.dialog-actions{margin-top:22px;align-items:stretch}
.dialog-actions>.button{min-height:56px;padding:12px;font-size:14px;gap:7px}
.dialog-actions>.button .icon{flex:none}
.empty-practice>.button{align-self:flex-end}
.parent-section>.text-button{display:flex;width:max-content;max-width:100%;margin-left:auto}
.practice-pager{justify-content:space-between}
.site-header .header-right{gap:8px}
.popup-bubble .lesson-menu>button{min-height:52px;font-size:15px}
.menu-companion{min-width:0;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:360px){.site-header{gap:6px;padding-left:14px;padding-right:14px}.site-header .brand-name{font-size:15px}.site-header .header-right{gap:5px}.site-header .app-menu-button{width:48px;min-width:48px;height:48px;min-height:48px;padding:11px;border-radius:16px}.course-badge{gap:3px;padding:4px}.course-badge .language-symbol{width:21px;height:21px}.course-badge>.icon-arrow{width:15px}.dialog-actions{gap:9px}.dialog-actions>.button{font-size:13px;padding:11px 9px}.completion-main .completion-actions{gap:9px}}
.reduced-motion .menu-glyph i,.reduced-motion .app-menu-button,.reduced-motion .lesson-menu-button{transition:none}
@media(prefers-reduced-motion:reduce){.menu-glyph i,.app-menu-button,.lesson-menu-button{transition:none}}

/* Visible progress, with the earned reward as the completion focal point. */
.learning-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:0 0 auto;width:100%;max-width:760px;margin:2px auto 12px;padding:0 24px}
.learning-stat{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:74px;padding:10px 16px;border-radius:21px;font-weight:900}
.streak-stat{background:#fff0e4;color:#a34818}.xp-stat{background:#fff6cd;color:#806009}
.learning-stat>span:last-child{display:flex;align-items:baseline;gap:9px;min-width:0}
.learning-stat strong{font-size:30px;font-weight:1000;line-height:1.15;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.learning-stat small{font-size:12px;line-height:1.25;font-weight:850}
.progress-art{position:relative;display:grid;place-items:center;flex:none;width:42px;height:46px}
.progress-art>.icon{width:32px;height:32px}
.progress-art .lottie-surface{position:absolute;inset:-5px 0;display:block}
.lottie-surface>svg{width:100%!important;height:100%!important;overflow:visible}
.progress-art.animation-ready>.icon{visibility:hidden}
.streak-stat.is-empty .progress-art{filter:grayscale(1);opacity:.6}
.play-main>.learning-stats{padding:0;margin:3px 0 10px;gap:10px}
.play-main .learning-stat{min-height:58px;padding:6px 14px;border-radius:18px;gap:10px}
.play-main .learning-stat strong{font-size:25px}.play-main .progress-art{height:40px;width:34px}
.play-main .progress-art>.icon{width:28px;height:28px}
.lesson-status-button .lesson-streak{display:none}
.xp-reward{display:flex;align-items:center;justify-content:center;gap:12px;margin:4px 0 12px}
.xp-medallion{display:grid;place-items:center;flex:none;width:88px;height:88px;padding:0;border-radius:28px;background:#fff6cd;color:#ffcb24;transition:transform .18s,background .18s}
.xp-medallion:hover{background:#ffed9e;transform:scale(1.04)}.xp-medallion:active{transform:scale(.95)}
.xp-medallion:focus-visible{outline:0;background:#ffe991;box-shadow:0 0 0 4px #fff6cd}
.xp-star-art{position:relative;display:grid;place-items:center;width:76px;height:76px}
.xp-star-fallback{width:55px;height:55px;filter:drop-shadow(0 3px 0 #d7a318)}
.xp-star-art>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.xp-star-art.animation-ready>.xp-star-fallback{visibility:hidden}
.xp-earned{display:flex;align-items:baseline;gap:9px;color:#725200}
.xp-earned strong{font-size:62px;line-height:1;font-weight:1000;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
.xp-earned>span{font-size:23px;font-weight:1000;color:#a27c15}
.completion-main .completion-stats{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,360px);margin:12px auto}
.completion-main .completion-stats .reward-chip{background:#f8f8f5;border-radius:18px}
@media(max-width:440px){.learning-stats{padding:0 18px;gap:10px;margin-bottom:8px}.learning-stat{min-height:67px;padding:8px 12px;gap:8px;border-radius:19px}.learning-stat>span:last-child{flex-direction:column;gap:1px}.learning-stat strong{font-size:27px}.learning-stat small{font-size:11px}.progress-art{width:36px;height:43px}.play-main .learning-stat{min-height:61px;padding:7px 11px}.play-main .learning-stat strong{font-size:24px}.xp-earned strong{font-size:55px}.xp-medallion{width:77px;height:77px;border-radius:24px}.xp-star-art{width:67px;height:67px}}
@media(max-height:650px){.learning-stats{margin-top:0;margin-bottom:6px}.learning-stat{min-height:54px;padding-top:5px;padding-bottom:5px}.learning-stat strong{font-size:24px}.play-main .learning-stat{min-height:48px}.play-main>.learning-stats{margin-bottom:5px}.xp-medallion{width:64px;height:64px;border-radius:20px}.xp-star-art{width:58px;height:58px}.xp-earned strong{font-size:46px}.xp-reward{margin-bottom:6px}}
.reduced-motion .xp-medallion{transition:none}@media(prefers-reduced-motion:reduce){.xp-medallion{transition:none}}
.scene-actor-enter{display:block;position:absolute;inset:0;transform-origin:50% 85%}
.learning-stats{grid-template-columns:1fr 1.15fr .9fr}
.coin-stat{background:#fff1a8;color:#806009}.coin-stat .game-coin{width:38px;height:38px}.learning-stat.xp-stat strong{font-size:24px}.learning-stat.xp-stat .progress-art{width:28px}
.game-coin{display:inline-block;width:28px;height:28px;flex:none;vertical-align:middle}.learning-stat>span:last-child{flex-direction:column;gap:0}.learning-stat{gap:8px}.learning-stat small{font-size:11px}
.answer-coins{display:inline-flex;align-items:center;gap:4px;margin-left:8px;color:#99700a;font-weight:1000;font-size:16px}.answer-coins .game-coin{width:23px;height:23px}.feedback-copy strong{display:inline-flex!important}
.coin-flight{position:fixed;inset:0;z-index:150;pointer-events:none;overflow:hidden}.coin-particle{position:absolute;left:-22px;top:-22px;width:44px;height:44px;will-change:transform,opacity}.coin-spinner{display:block;width:100%;height:100%;filter:drop-shadow(0 5px 3px #9e6d2028)}.coin-flight .game-coin{width:100%;height:100%}.coin-origin-glow{position:absolute;width:132px;height:74px;border-radius:50%;background:radial-gradient(ellipse,#ffdd7290, #fff2bd30 55%,transparent 72%)}
.treasure-screen,.bonus-intro,.bonus-summary{text-align:center}.treasure-screen h1,.bonus-intro h1,.bonus-summary h1{font-size:32px;margin:15px 0}.big-treasure{display:block;width:240px;max-width:80%;margin:14px auto;padding:0;background:transparent}.treasure-art{display:block;width:100%;height:auto}.chest-lid{transform-origin:50% 42%;transition:transform .6s cubic-bezier(.2,.8,.3,1.2)}.is-open .chest-lid{transform:translateY(-16px) rotate(-10deg)}.big-treasure:disabled{cursor:default}
.treasure-prize,.bonus-prize{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0;color:#8c6505}.treasure-prize .game-coin,.bonus-prize .game-coin{width:45px;height:45px}.treasure-prize strong,.bonus-prize strong{font-size:48px;line-height:1.2;font-weight:1000}.treasure-prize>span,.bonus-prize>span{font-size:19px;font-weight:900}.treasure-screen .quiet-note{margin-top:14px}
.bonus-mark{display:grid;place-items:center;width:90px;height:90px;margin:15px auto;background:#eee9ff;color:#7963aa;border-radius:30px}.bonus-mark>.icon{width:48px;height:48px}.bonus-description{color:var(--muted);font-size:16px;font-weight:800;margin:8px 0 14px}.bonus-modes{display:flex;flex-direction:column;gap:14px;width:min(100%,380px);margin:25px auto}.bonus-intro .screen-actions>.text-button{margin-left:auto}.bonus-top{display:flex;align-items:center;gap:12px;margin:5px 0 20px}.bonus-score{margin-right:auto;font-size:17px;font-weight:950}.bonus-clock{font-size:22px;font-weight:1000;color:#7963aa;font-variant-numeric:tabular-nums}.bonus-clock.is-urgent{color:#c46a2c}.bonus-game h1{text-align:center;font-size:23px}.bonus-word{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;margin:22px auto}.bonus-word strong{font-size:32px;color:#344b3d;line-height:1.2;text-align:center}.bonus-options{display:grid;gap:13px;margin:15px 0}.bonus-options .answer-choice{padding:16px;min-height:60px;text-align:center;font-size:20px;font-weight:900}.bonus-options .is-wrong{background:#fff0e4;color:#a44f22}.bonus-feedback{min-height:30px;text-align:center;font-size:15px;font-weight:900;color:#567449;margin:12px 0}.bonus-paused{text-align:center;margin:35px 0}.bonus-paused h2{margin-bottom:20px}
@media(max-width:440px){.learning-stats{gap:7px}.learning-stat{padding:7px;gap:5px}.progress-art{width:28px;height:36px}.progress-art>.icon{width:27px;height:27px}.learning-stat strong{font-size:25px}.learning-stat.xp-stat strong{font-size:21px}.learning-stat.xp-stat .progress-art{width:22px}.coin-stat .game-coin{width:31px;height:31px}.learning-stat small{font-size:10px}.play-main .learning-stat{gap:4px;padding:6px}.play-main .learning-stat strong{font-size:23px}.play-main .learning-stat.xp-stat strong{font-size:20px}.big-treasure{width:205px}}
.reduced-motion .chest-lid{transition:none}@media(prefers-reduced-motion:reduce){.chest-lid{transition:none}}
.completion-coin-reward .xp-earned>span{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.completion-coin-reward .xp-earned small{font-size:11px;color:#a58c4d;letter-spacing:0}.completion-main .completion-stats{width:min(100%,410px);grid-template-columns:repeat(3,minmax(0,1fr))}.completion-main .completion-stats .reward-chip{flex:1}.completion-main .completion-stats .reward-chip strong{font-size:22px}.completion-main .completion-stats .reward-chip>span{font-size:10px}
/* Keep mobile fields readable without triggering Safari's focus zoom. */
@media(max-width:699px){input:not([type="checkbox"]):not([type="radio"]),textarea,select{font-size:16px!important}.name-input:focus,.popup-search:focus,.cloud-form input:focus,.typed-input:focus{transform:none;scroll-margin-block:12px}}
/* Forms remain unscaled before and during focus; only their inner area scrolls. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#app{position:fixed;left:0;right:0;top:var(--viewport-top,0px);transition:none;overflow:hidden;overflow:clip}
.fit-stage.form-stage{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:18px;-webkit-overflow-scrolling:touch}
.fit-stage.form-stage>.fit-content{position:relative;left:auto;top:auto;transform:none;transform-origin:initial;min-height:min-content}
.name-input,.typed-input,.cloud-form input,.profile-label input{scroll-margin-block:12px}
:is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){scroll-margin-block:12px;transition:border-color .18s,background-color .18s,box-shadow .18s}
:is(input:not([type="checkbox"]):not([type="radio"]),textarea,select):is(:focus,:focus-visible){outline:none;border-color:#d3bc72;background:#fffdf5;box-shadow:0 2px 0 #e8dba9}
.lesson-scene{max-height:330px;transition:max-height .24s ease,margin .24s ease,opacity .18s ease}
.keyboard-open .lesson-scene{display:flex!important;max-height:0!important;margin:0!important;opacity:0;overflow:hidden;pointer-events:none}
.profile-character{max-height:135px;transition:max-height .24s ease,padding .24s ease,opacity .18s ease}
.keyboard-open .profile-character{display:flex;max-height:0;padding-top:0;padding-bottom:0;opacity:0;overflow:hidden;pointer-events:none}
.keyboard-open .question-head{display:block;padding-top:8px;padding-bottom:9px}
.keyboard-open .question-head h1{font-size:clamp(22px,3.8dvh,32px)}
.keyboard-open .lesson-progress{height:57px;min-height:57px}
@media(min-width:700px){.keyboard-open .lesson-progress{height:60px;min-height:60px}}
.keyboard-tight .site-header,.keyboard-tight .learning-stats,.keyboard-tight .question-head{display:none}
.keyboard-tight .lesson-progress{height:44px;min-height:44px}
.button:not(:disabled),.answer-choice:not(:disabled),.language-choice,.character-roster-photo,.review-card{transition:transform .18s cubic-bezier(.2,.8,.3,1.3),background .18s,box-shadow .18s}
.answer-choice:active:not(:disabled),.language-choice:active,.review-card:active{transform:scale(.97)}
.answer-choice.is-correct{animation:answer-pop .38s cubic-bezier(.2,.8,.3,1.4)}
@keyframes answer-pop{0%{transform:scale(.97)}65%{transform:scale(1.025)}100%{transform:scale(1)}}
.reduced-motion :is(.name-input,.popup-search,.cloud-form input,.button,.answer-choice,.language-choice,.review-card){transition:none;animation:none}
@media(prefers-reduced-motion:reduce){:is(.name-input,.popup-search,.cloud-form input,.button,.answer-choice,.language-choice,.review-card){transition:none;animation:none}}
