@font-face{font-family:Hama;src:url('./assets/HamaRound-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Hama;src:url('./assets/HamaRound-Bold.ttf') format('truetype');font-weight:700 950;font-display:swap}
:root{--ink:#3d5149;--muted:#78847b;--green:#426e5b;--cream:#fffcf5;--line:#e6e8dc;--yellow:#ffe699;--mint:#e7f3e8;--pink:#fce4e7;--lav:#eee8f8;--shadow:0 7px 0 #48614e06,0 15px 35px #47604905}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Hama,'Arial Rounded MT Bold',sans-serif;font-size:16px;line-height:1.6}button,a,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #bf7b31;outline-offset:4px}button{touch-action:manipulation;transition:transform .08s,background .08s,border-color .08s}
button:active:not(:disabled){transition-duration:0s;filter:brightness(.96)}button:not(:disabled):active{transform:translateY(2px)}button:hover:not(:disabled){filter:brightness(.99)}button svg{width:20px;height:20px;flex:none}h1,h2,h3,p{margin:0}h1{font-size:2.5rem;line-height:1.25;letter-spacing:-1.5px}h2{font-size:1.5rem;line-height:1.4}h3{font-size:1.1rem}small{font-size:.875rem}.top{height:88px;background:#fffefa;border-bottom:1px solid var(--line)}.top-inner{max-width:1192px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:20px}.brand{border:0;background:none;display:flex;align-items:center;gap:8px;text-align:left;padding:0}.brand img{width:49px;height:49px}.brand strong{font-family:Georgia,serif;font-size:1.3rem;letter-spacing:2px;font-weight:500}.brand span{display:block;font-size:.72rem;letter-spacing:2px;color:var(--muted);line-height:1.4}.top-right{display:flex;gap:15px;align-items:center}.lake-tag{font-size:.78rem;color:var(--green);letter-spacing:2px;padding:4px 13px;background:var(--mint);border-radius:7px}.sound{border:1px solid var(--line);background:white;display:flex;gap:7px;align-items:center;padding:9px 13px;border-radius:30px;font-size:.875rem}.sound[aria-pressed=false]{color:#8d7c78;background:#faf6f1}.main{max-width:1192px;margin:auto;padding:27px 28px 40px}.navigation{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:28px}.nav-item{border:0;background:transparent;color:#7b847b;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:13px;font-weight:700;white-space:nowrap}.nav-item svg{width:19px}.nav-item.active{background:#426e5b;color:white;box-shadow:0 3px 0 #294e3e}.nav-item:hover{background:var(--mint);color:var(--green)}.nav-item.active:hover{background:#426e5b;color:white}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.eyebrow{font-size:.75rem;letter-spacing:2.7px;font-weight:700;color:#838b71;margin-bottom:7px}.intro h1 span{position:relative;z-index:1}.intro h1 span:after{content:'';position:absolute;left:0;right:0;bottom:1px;height:13px;z-index:-1;background:#ffe7a6;border-radius:45%}.intro p{color:#7c8275;margin-top:10px}.chapter-stamp{display:flex;gap:13px;align-items:center}.chapter-stamp img{width:63px;transform:rotate(8deg)}.chapter-stamp p{font-size:.875rem;color:#728471;font-weight:700;line-height:1.6;margin:0}.categories{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}.category{background:white;border:1px solid var(--line);border-radius:30px;padding:8px 20px;color:#818475;display:flex;gap:8px;align-items:center}.category b{font-size:.95rem}.category span{font-size:.8rem}.category.active{background:#ffeab3;border-color:#ecd58d;color:#705d32}.category[data-cat=vegetables].active{background:#e0efde;border-color:#bedabc;color:#476845}.category[data-cat=snacks].active{background:#f4e4f3;border-color:#dfc6df;color:#815c7f}.category[data-cat=meals].active{background:#fbe7dd;border-color:#eacabb;color:#956a51}.book{border:1px solid #e0e3d5;border-radius:24px;background:white;box-shadow:var(--shadow);overflow:hidden}.book-inner{display:grid;grid-template-columns:46% 54%;min-height:350px}.picture-page{position:relative;display:flex;align-items:center;justify-content:center;padding:24px 38px;border-right:1px dashed #e6e2d7;background:linear-gradient(135deg,#fcfff9,#fffefa)}.picture-page:after{content:'';position:absolute;top:24px;bottom:24px;right:-5px;width:10px;background:linear-gradient(90deg,transparent,#65644305,transparent);pointer-events:none}.scene{width:250px;max-width:100%;mix-blend-mode:multiply}.crop{position:relative;display:block;overflow:hidden;isolation:isolate;flex-shrink:0}.crop>img{position:absolute;max-width:none;height:auto;display:block;user-select:none;pointer-events:none}.speech-bubble{position:absolute;top:22px;left:24px;background:white;border:1px solid #e3e8dc;padding:6px 14px;border-radius:14px 14px 14px 0;font-size:.875rem;color:#72816d;transform:rotate(-3deg);z-index:2}.scene-caption{position:absolute;bottom:13px;font-family:Georgia,serif;font-style:italic;font-size:.85rem;letter-spacing:.6px;color:#92a087}.read-page{padding:28px 38px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.page-label{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:.75rem;letter-spacing:1.5px;color:#8f9586}.page-label span:last-child{letter-spacing:0;font-size:.85rem}.word-and-art{display:flex;align-items:center;gap:15px;margin:12px 0 0;min-height:98px}.word-art{width:88px;mix-blend-mode:multiply}.word-title{font-size:3.7rem;line-height:1.1;font-weight:700;color:#426b57;letter-spacing:-1px}.word-meaning{font-size:1.125rem;color:#8a8b79;margin:8px 0 18px}.listen-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:12px;background:#456f5a;color:white;font-weight:700;padding:11px 20px;display:inline-flex;gap:8px;align-items:center;justify-content:center;line-height:1.5;min-height:46px;box-shadow:0 3px 0 #27452d1c}.btn.secondary{background:#f5f7ef;border-color:#e5e9da;color:#6c7f5c;box-shadow:none}.btn.yellow{background:#ffe6a2;color:#7a642e;box-shadow:0 3px 0 #ead094}.btn.ghost{background:white;border-color:#e2e6dc;box-shadow:none;color:#677660}.btn:disabled{opacity:.45}.practice{display:flex;align-items:center;gap:12px;margin-top:23px;color:#939684;font-size:.8rem}.practice button{width:28px;height:28px;border-radius:50%;border:1px dashed #cdd7c1;background:#fafbf6;display:flex;align-items:center;justify-content:center;padding:0;color:#c3c9b6}.practice button.done{background:#ffeab3;border:1px solid #ead190;color:#ae8035;animation:pop .25s}.practice button svg{width:15px;height:15px}.practice-dots{display:flex;gap:6px}.book-bottom{border-top:1px solid #eef0e7;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffefa}.counter{font-size:.85rem;color:#8b9586}.icon-btn{background:white;border:1px solid #e0e5d8;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-btn svg{width:18px;height:18px}.pager{display:flex;gap:12px;align-items:center}.mini-tip{font-size:.8rem;color:#909583}.mini-tip b{color:#667c60}.word-shelf{display:grid;grid-template-columns:repeat(6,1fr);gap:11px;margin-top:17px}.word-tile{border:1px solid #e4e7da;background:#fffefa;border-radius:15px;padding:10px 8px;display:flex;align-items:center;gap:9px;text-align:left;min-height:76px}.word-tile.active{border:2px solid #c0d5a7;background:#f3f8eb;padding:9px 7px}.word-tile .crop{width:42px;mix-blend-mode:multiply}.word-tile b{font-size:.94rem;display:block;line-height:1.3;overflow-wrap:anywhere}.word-tile span.korean{font-size:.75rem;color:#8b8e7c}.word-tile .letter-icon{background:#edf3e6;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:1.1rem;color:#779166;flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 13px}.section-heading h2{font-size:1.08rem}.section-heading span{font-size:.8rem;color:#919688}.challenge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.challenge-card{border:1px solid #e8e5d5;border-radius:16px;background:#fff8de;padding:16px;text-align:left;display:flex;gap:12px;align-items:center}.challenge-card:nth-child(2){background:#eaf4ed;border-color:#d9e8dd}.challenge-card:nth-child(3){background:#fbeaec;border-color:#efdbde}.challenge-card:nth-child(4){background:#eeeaf7;border-color:#e1dbed}.challenge-card .challenge-icon{width:40px;height:40px;border-radius:12px;background:#ffffff9e;display:grid;place-items:center;flex:none}.challenge-card svg{width:22px;height:22px}.challenge-card b{display:block;font-size:.96rem}.challenge-card small{display:block;color:#909083;font-size:.75rem;margin-top:1px}.foot{margin-top:32px;border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;font-size:.7rem;letter-spacing:.7px;color:#a0a594}.foot span:last-child{letter-spacing:0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;background:#3b5548;color:white;padding:12px 22px;border-radius:15px;max-width:calc(100% - 30px);box-shadow:0 5px 25px #3c51482a;font-size:.9rem}.audio-status{position:fixed;right:20px;bottom:22px;padding:9px 17px;border-radius:30px;background:#eef7e8;color:#547944;border:1px solid #cbddbd;font-size:.8rem;z-index:10}.audio-status:empty{display:none}.pulse svg{animation:pulse 1s infinite}.segmented{display:flex;background:#f0f2e9;padding:4px;border-radius:12px;width:max-content;margin-bottom:18px;gap:5px}.segmented button{border:0;background:transparent;border-radius:9px;padding:8px 17px;color:#7c8674;font-weight:700}.segmented button.active{background:white;color:#50734d;box-shadow:0 2px 5px #56734c0c}.sentence-page .picture-page{min-height:400px}.sentence-title{font-size:1.65rem;line-height:1.55;margin:15px 0 8px;color:#496b50}.word-button{border:0;background:transparent;font-size:inherit;font-weight:700;color:inherit;padding:2px 3px;border-radius:5px}.word-button:hover{background:#fff0bf}.translation{color:#8d8e7f;margin-bottom:22px;font-size:1rem}.dialogue-wrap{display:grid;grid-template-columns:39% 61%;min-height:420px}.dialogue-wrap .picture-page{border-right:1px dashed #e6e2d7}.dialogue{padding:22px 32px}.dialogue-line{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1f1e8}.dialogue-line .avatar{width:35px;height:35px;object-fit:contain;border:1px solid #e7e8dc;background:#fcf9e9;border-radius:50%}.dialogue-line.customer .avatar{background:#f4e6f0;transform:scaleX(-1)}.dialogue-line p{font-weight:700;font-size:1rem;color:#58725a}.dialogue-line small{color:#919586;font-size:.8rem}.dialogue-line .icon-btn{margin-left:auto;flex:none;width:32px;height:32px}.dialogue-line.speaking{background:#fff9dd;border-radius:10px}.dialogue-controls{display:flex;justify-content:center;gap:10px;padding:18px;flex-wrap:wrap}.scene-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.scene-tabs button{background:white;border:1px solid var(--line);padding:7px 15px;border-radius:20px}.scene-tabs button.active{background:#fff0c7;border-color:#ead894}.quiz-layout{max-width:950px;margin:auto}.quiz-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.quiz-meta span{font-size:.9rem;color:#86907e}.progress-track{background:#ebeee4;height:8px;border-radius:10px;overflow:hidden;margin-bottom:25px}.progress-fill{height:100%;background:#a9c990;border-radius:10px;transition:width .4s}.quiz-card{border:1px solid var(--line);background:white;border-radius:25px;box-shadow:var(--shadow);overflow:hidden}.quiz-card-top{padding:27px 35px 22px;display:flex;gap:20px;align-items:center;background:#fcfdf8;border-bottom:1px dashed #e4e7dc}.quiz-mascot{width:65px;flex:none}.quiz-mascot img{width:100%;display:block}.quiz-q{flex:1}.quiz-q .eyebrow{margin-bottom:4px}.quiz-q h2{font-size:1.5rem}.question-audio{padding:23px;display:flex;gap:13px;justify-content:center;align-items:center}.question-audio .crop{width:80px;max-height:100px;mix-blend-mode:multiply}.quiz-body{padding:25px 35px 30px}.question-word{font-size:2rem;text-align:center;color:#527647;margin:0 0 20px;font-weight:700}.options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.option{border:2px solid #e9ecdf;background:#fffefa;border-radius:14px;text-align:left;display:flex;gap:13px;align-items:center;min-height:65px;padding:12px 16px;font-size:1.15rem;font-weight:700}.option:hover:not(:disabled){border-color:#b6cda4;background:#f6faef}.option .option-number{border-radius:50%;background:#eff1e8;width:27px;height:27px;font-size:.8rem;display:grid;place-items:center;font-weight:400;flex:none}.option.correct{background:#edf7e8;border-color:#8bb871;color:#4d793c}.option.wrong{background:#fcf0ee;border-color:#dfa397;color:#b46754}.option:disabled{opacity:1}.option.chosen.correct{animation:pop .25s}.option .choice-check{margin-left:auto;font-size:1.2rem}.feedback{margin-top:22px;border-radius:13px;padding:16px 19px;display:flex;gap:12px;align-items:center;background:#edf6e9}.feedback.wrong{background:#fcf0e9}.feedback img{width:43px;height:43px}.feedback strong{display:block}.feedback p{font-size:.9rem;color:#78836e;margin-top:2px}.quiz-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:12px}.quiz-actions small{color:#969c8c}.result-top{text-align:center;max-width:760px;margin:auto;border:1px solid var(--line);border-radius:25px;background:white;padding:30px;box-shadow:var(--shadow);position:relative;overflow:hidden}.result-top>img{width:108px;animation:float 3s ease-in-out infinite}.result-top h1{font-size:2rem}.result-top .score{font-size:4.3rem;font-weight:700;color:#5c7c4a;line-height:1.3;margin-top:10px}.result-top .score span{font-size:1.2rem;margin-left:3px}.result-top p{color:#89927c}.result-stats{display:flex;gap:10px;justify-content:center;margin:20px 0}.result-stats span{padding:6px 15px;background:#f5f7ef;border-radius:30px;font-size:.875rem}.result-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.review-list{max-width:760px;margin:24px auto}.review-list h2{font-size:1.2rem;margin-bottom:14px}.review-item{padding:16px 20px;background:white;border:1px solid var(--line);border-radius:15px;margin-bottom:10px}.review-item .answers{display:flex;gap:14px;font-size:.9rem;margin:5px 0;flex-wrap:wrap}.review-item p{color:#7e8b74;font-size:.875rem}.review-item .mistake{color:#b17967}.review-item .right{color:#65924f}.sparkles{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti{position:absolute;top:-15px;width:7px;height:12px;border-radius:2px;animation:fall 2s ease-out forwards}.empty-listen{border:1px solid #f0dcc0;background:#fff8e8;color:#82683d;border-radius:12px;padding:14px;margin:12px 0;font-size:.9rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.status-note{margin:15px 0 0;font-size:.8rem;color:#8e967f}.focus-heading:focus{outline:none}@keyframes pop{50%{transform:scale(1.04)}}@keyframes float{50%{transform:translateY(-5px) rotate(3deg)}}@keyframes pulse{50%{opacity:.4}}@keyframes fall{to{transform:translateY(430px) rotate(400deg);opacity:0}}
@media(min-width:1200px){.main{padding-top:28px}.intro{margin-bottom:25px}.book-inner{min-height:352px}}
@media(max-width:950px){h1{font-size:2.1rem}.navigation{gap:3px}.nav-item{padding:9px 12px;font-size:.9rem}.word-shelf{grid-template-columns:repeat(3,1fr)}.challenge-grid{grid-template-columns:repeat(2,1fr)}.word-title{font-size:3rem}.read-page{padding:25px}.picture-page{padding:30px 25px}.dialogue{padding:20px}.intro .chapter-stamp{display:none}}
@media(max-width:650px){.top{height:73px}.top-inner{padding:0 17px}.brand strong{font-size:1.05rem;letter-spacing:1.5px}.brand img{width:39px;height:39px}.brand span{font-size:.62rem}.sound{padding:8px;font-size:.75rem}.sound span{display:none}.lake-tag{display:none}.main{padding:18px 16px 30px}.navigation{overflow-x:auto;gap:4px;padding-bottom:12px;margin-bottom:23px;scrollbar-width:none}.nav-item{padding:9px 11px;font-size:.85rem;gap:5px;flex:none}.nav-item svg{width:16px}.intro{margin-bottom:20px}.intro h1{font-size:1.85rem;letter-spacing:-1px}.intro p{font-size:.875rem}.eyebrow{font-size:.68rem}.categories{gap:7px;margin-bottom:15px}.category{padding:6px 11px;gap:4px}.category b{font-size:.8rem}.category span{font-size:.7rem}.book{border-radius:18px}.book-inner{grid-template-columns:1fr;min-height:0}.picture-page{height:218px;min-height:0;border-right:0;border-bottom:1px dashed #e6e2d7;padding:15px}.picture-page .scene{width:157px;max-height:195px}.picture-page:after{display:none}.speech-bubble{top:17px;left:16px;font-size:.75rem;padding:5px 10px}.scene-caption{right:15px;bottom:12px;font-size:.72rem;max-width:105px}.read-page{padding:19px 22px 24px}.word-and-art{margin-top:8px;min-height:76px;gap:9px}.word-title{font-size:3rem}.word-art{width:68px}.word-meaning{margin:0 0 15px;font-size:1rem}.practice{margin-top:20px;font-size:.75rem}.btn{font-size:.875rem;padding:10px 16px;min-height:44px}.book-bottom{padding:10px 14px}.mini-tip{font-size:.7rem;max-width:50%}.word-shelf{gap:8px;grid-template-columns:repeat(3,1fr)}.word-tile{padding:8px 7px;min-height:92px;display:flex;flex-direction:column;gap:4px;justify-content:center;text-align:center}.word-tile.active{padding:7px 6px}.word-tile .crop{width:35px}.word-tile b{font-size:.82rem}.word-tile span.korean{font-size:.7rem}.challenge-grid{gap:9px}.challenge-card{padding:12px 10px;gap:8px}.challenge-card .challenge-icon{width:31px;height:31px}.challenge-card b{font-size:.85rem}.challenge-card small{font-size:.7rem}.section-heading{margin-top:24px}.section-heading span{display:none}.section-heading h2{font-size:1rem}.foot{font-size:.65rem;display:block;text-align:center;margin-top:28px}.foot span{display:block}.sentence-page .picture-page{min-height:220px}.sentence-title{font-size:1.35rem;margin-top:15px}.translation{font-size:.9rem}.dialogue-wrap{grid-template-columns:1fr}.dialogue-wrap .picture-page{height:190px}.dialogue-wrap .picture-page .scene{width:140px;max-height:170px}.dialogue{padding:12px 15px}.dialogue-line p{font-size:.9rem;line-height:1.5}.dialogue-line small{font-size:.75rem}.dialogue-line .avatar{width:29px;height:29px}.dialogue-line{gap:8px}.dialogue-line .icon-btn{width:29px;height:29px}.scene-tabs button{font-size:.8rem}.quiz-card-top{padding:21px 18px;gap:12px}.quiz-q h2{font-size:1.15rem}.quiz-mascot{width:47px}.quiz-body{padding:20px 17px}.options{gap:9px}.option{font-size:1rem;gap:8px;padding:11px;min-height:64px}.option .option-number{width:23px;height:23px}.feedback{padding:12px;gap:9px}.feedback strong{font-size:.95rem}.feedback p{font-size:.8rem}.quiz-actions small{font-size:.72rem}.result-top{padding:25px 17px}.result-top h1{font-size:1.6rem}.result-buttons .btn{font-size:.8rem}.quiz-meta span{font-size:.8rem}.audio-status{right:12px;bottom:12px;font-size:.72rem}.segmented{max-width:100%}.segmented button{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Crops retain the aspect ratio of the supplied artwork. */
.scene{height:auto}.word-art{height:auto;max-width:20%}.sentence-page .scene{width:330px;max-width:100%}.picture-page{overflow:hidden}.word-title{overflow-wrap:anywhere}.word-and-art{max-width:100%;justify-content:center}.word-and-art .letter-icon{display:none}.word-tile .crop{height:auto}.question-audio{flex-wrap:wrap}.quiz-q{min-width:0}.question-word{overflow-wrap:anywhere}.dialogue-line>div{min-width:0}@media(max-width:650px){.sentence-page .picture-page .scene{width:240px;max-height:none}.word-title{font-size:clamp(1.9rem,9vw,3rem)}.question-word{font-size:1.5rem}.question-audio{padding:8px 0 20px}.question-audio .crop{width:64px}.mini-tip{line-height:1.5}}

.word-meaning,.translation,.dialogue-line small{color:#687660}.word-tile span.korean,.page-label,.practice,.counter,.status-note{color:#707b64}.scene{max-height:none!important}.empty-listen .btn{margin-top:10px}.word-art{max-width:none}@media(max-width:650px){.word-and-art{flex-direction:column;gap:5px;margin:7px 0 10px}.word-and-art .word-art{width:45px;max-height:none}.word-title{font-size:clamp(1.8rem,9vw,2.8rem)}.book-inner .read-page{min-width:0}.picture-page .scene{width:150px}.dialogue-wrap .picture-page .scene{width:130px}}

/* The flash card changes softly; the page background never flashes. */
.navigation{overflow-x:auto;scrollbar-width:none}
.flash-categories{justify-content:center;gap:8px}
.flash-categories .category{padding:8px 16px}
.flash-book{max-width:780px;margin:0 auto;border:1px solid #dce3d6;border-radius:26px;background:#fff;overflow:hidden;box-shadow:0 5px 0 #e7ecdf,0 18px 40px #47604908}
.flash-book-top,.flash-book-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;font-size:.875rem;color:#687660}
.flash-book-top{border-bottom:1px dashed #e4e7da;background:#fafcf5}
.flash-set{font-weight:700;letter-spacing:1.8px;font-size:.875rem}
#flash-counter{font-variant-numeric:tabular-nums;color:var(--green);font-weight:700;white-space:nowrap}
.flash-card{height:345px;display:grid;place-items:center;text-align:center;padding:14px 24px}
.flash-reveal{width:100%;min-width:0}
.flash-picture-box{height:188px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.flash-picture{width:180px;max-height:188px;max-width:100%;mix-blend-mode:multiply}
.flash-picture.crop{width:auto;height:174px;max-width:100%}
.flash-word{font-size:clamp(3rem,8vw,5.8rem);line-height:1.12;color:var(--green);letter-spacing:-1px;overflow-wrap:anywhere;margin:0}
.flash-translation{font-size:2rem;line-height:1.35;color:var(--green);margin:16px 0 0;font-weight:700}
.flash-english-page{display:grid;place-items:center;min-height:250px}
.flash-meter{height:4px;background:#f0f3e9;overflow:hidden}
.flash-meter>span{display:block;width:100%;height:100%;background:#d3b869;transform:scaleX(0);transform-origin:left}
.flash-meter.running>span{animation:flash-countdown var(--flash-duration,2500ms) linear forwards}
.flash-book-bottom{padding:10px 24px;background:#fffdf8;font-size:.875rem}
.flash-controls{display:flex;gap:18px;align-items:center;justify-content:center;margin:23px 0 18px}
.flash-controls .icon-btn{width:46px;height:46px}
.flash-controls .btn{min-width:180px;min-height:52px;font-size:1.05rem}
.flash-settings{max-width:780px;margin:0 auto;display:flex;align-items:flex-end;justify-content:center;gap:28px;flex-wrap:wrap}
.flash-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}
.flash-options button{display:flex;align-items:center;gap:6px;min-height:46px;border:1px solid #dfe6d6;background:#fffdf7;border-radius:12px;padding:9px 13px;font-size:.875rem;color:#6c7962}
.flash-options button svg{width:17px;height:17px;opacity:.4}
.flash-options button[aria-pressed=true]{background:#e8f2df;border-color:#b7ce9c;color:#466138}
.flash-options button[aria-pressed=true] svg{opacity:1}
.flash-extras{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0 15px}
.flash-extras .btn{font-size:.875rem;min-height:42px;padding:7px 13px;background:transparent}
.flash-tip{display:flex;justify-content:center;align-items:center;gap:9px;font-size:.875rem;color:#74806a;text-align:center;line-height:1.6}
.flash-tip img{width:35px;height:35px;flex:none}
.mobile-break{display:none}
@keyframes flash-reveal{from{opacity:.18;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@keyframes flash-countdown{to{transform:scaleX(1)}}
@media(max-width:650px){
 .flash-categories{gap:6px}.flash-categories .category{padding:7px 10px}.flash-categories .category b{font-size:.875rem}.flash-categories .category span{font-size:.75rem}
 .flash-book{border-radius:19px}.flash-book-top,.flash-book-bottom{padding:11px 16px}.flash-set{font-size:.75rem}.flash-card{height:300px;padding:14px 16px}
 .flash-picture-box{height:160px;margin-bottom:6px}.flash-picture.crop{height:146px;max-width:100%}.flash-word{font-size:clamp(2.5rem,12vw,4rem)}.flash-translation{font-size:1.7rem}
 .flash-book-bottom{font-size:.875rem;gap:8px;flex-wrap:wrap}.flash-controls{gap:16px;margin-top:21px}.flash-controls .btn{min-width:154px;font-size:1rem}.flash-controls .icon-btn{width:44px;height:44px}
 .flash-settings{gap:15px;align-items:center}.flash-options button{font-size:.875rem;padding:8px 12px}
 .flash-tip{font-size:.75rem;align-items:flex-start;max-width:360px;margin:auto}.flash-tip img{width:29px;height:29px}.mobile-break{display:initial}
}
@media(prefers-reduced-motion:reduce){.flash-reveal,.flash-meter.running>span{animation:none}.flash-meter.running>span{transform:scaleX(1)}}

/* Picture dialogue: a spoken question and an intentionally empty reply. */
.talk-intro{margin-bottom:18px}.talk-intro h1{font-size:1.8rem;letter-spacing:-.5px}.talk-intro>p:last-child{margin-top:8px;color:#63745e;font-size:1rem}
.talk-categories{gap:8px;margin-bottom:18px}.talk-categories .category{font-size:.875rem;min-height:44px;padding:8px 17px}
.picture-talk{max-width:900px;margin:auto;border:2px solid #e9dba2;border-radius:26px;background:#fffef8;box-shadow:0 5px 0 #f3ecd5;overflow:hidden;padding-bottom:22px}
.picture-talk-top{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;color:#6d754f;font-size:.875rem;font-weight:700;letter-spacing:1px;border-bottom:1px dashed #e9e2c9;background:#fff9e2}
.talk-picture{height:183px;display:flex;align-items:center;justify-content:center;padding:18px 24px}
.talk-food.crop{width:auto;height:140px;max-width:65%;mix-blend-mode:multiply}
.talk-dialogue{max-width:740px;padding:0 22px;margin:0 auto}
.talk-line{display:flex;align-items:center;gap:22px}
.talk-speaker{width:105px;flex:none;display:flex;flex-direction:column;align-items:center;gap:5px}
.talk-speaker>span:last-child{font-size:.875rem;font-weight:700;color:#5c6651}
.talk-character.crop{height:110px;width:auto;max-width:105px;mix-blend-mode:multiply}
.talk-student-character{height:84px;width:84px;object-fit:contain}
.talk-bubble{position:relative;flex:1;min-width:0;border:2px solid #e4d79d;border-radius:22px;background:#fff6ce;padding:18px 23px;transition:background .2s,border-color .2s}
.talk-bubble:before{content:'';position:absolute;width:15px;height:15px;background:inherit;left:-9px;top:36px;border-left:2px solid #e4d79d;border-bottom:2px solid #e4d79d;transform:rotate(45deg)}
.question-bubble>p[lang]{font-size:1.75rem;font-weight:700;color:#425b38;line-height:1.35;overflow-wrap:anywhere}
.talk-translation{font-size:1rem;color:#69714e;margin-top:5px}
#talk-audio-controls{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:12px}
#talk-audio-controls .btn{min-height:44px;padding:8px 12px;font-size:.875rem}
.talk-listen{background:#fefef7;color:#536934;border:1px solid #d8d4a9;box-shadow:none}
#talk-audio-controls .ghost{background:transparent}
.student-line{flex-direction:row-reverse;margin-top:23px}
.reply-bubble{min-height:125px;border-color:#bcd5be;background:#f3f9f1;padding:24px 28px;display:flex;flex-direction:column;justify-content:center;gap:25px}
.reply-bubble:before{left:auto;right:-9px;border:0;border-top:2px solid #bcd5be;border-right:2px solid #bcd5be}
.reply-line{display:block;width:100%;height:1px;border-bottom:2px dashed #b1c6a8}
.question-bubble.active-turn{border-color:#bda34d;background:#fff1af}
.question-bubble.active-turn:before{border-color:#bda34d}
.reply-bubble.active-turn{border-color:#75966b;background:#eaf6e3}
.reply-bubble.active-turn:before{border-color:#75966b}
.talk-instruction{font-size:.875rem;color:#67725d;text-align:center;margin-top:20px;padding:0 20px}
.talk-error{flex-basis:100%;color:#8a593b;font-size:.875rem;line-height:1.6;margin-top:5px}
.talk-pager{display:flex;align-items:center;justify-content:center;gap:25px;margin:22px auto 0}
.talk-pager>span{font-size:.875rem;color:#65745e;white-space:nowrap;font-variant-numeric:tabular-nums}.talk-pager .btn{min-height:44px}
@media(max-width:650px){
 .talk-intro h1{font-size:1.5rem}.talk-intro>p:last-child{font-size:1rem}.talk-categories{gap:6px}.talk-categories .category{padding:7px 13px}
 .picture-talk{border-radius:19px;padding-bottom:17px}.picture-talk-top{padding:10px 16px}.talk-picture{height:145px;padding:12px}.talk-food.crop{height:118px}
 .talk-dialogue{padding:0 14px}.talk-line{gap:13px}.talk-speaker{width:55px}.talk-character.crop{height:69px;max-width:55px}.talk-student-character{height:51px;width:51px}
 .talk-bubble{padding:14px;border-radius:16px}.question-bubble>p[lang]{font-size:1.35rem}.talk-translation{font-size:1rem}
 #talk-audio-controls{gap:3px;margin-top:9px}#talk-audio-controls .btn{padding:7px 8px}#talk-audio-controls .talk-listen{gap:4px}
 .student-line{margin-top:19px}.reply-bubble{min-height:105px;padding:23px 19px;gap:24px}.talk-instruction{margin-top:17px;font-size:.875rem}
 .talk-pager{gap:15px}.talk-pager .btn{padding:10px 14px}
}

/* Vocabulary study: navigation first, optional replay underneath. */
.word-categories .category span{font-size:.875rem;font-variant-numeric:tabular-nums}
.word-controls{display:flex;justify-content:center;align-items:center;width:100%;gap:12px}
.word-controls .word-step{width:112px;max-width:calc(50% - 6px);min-height:44px;padding:8px 12px;font-size:.875rem;white-space:nowrap;border-radius:11px}
.word-replay{margin-top:10px}
.word-replay .word-listen{min-height:40px;padding:7px 14px;font-size:.875rem;gap:6px;border-color:transparent;background:transparent;color:var(--green)}
.word-replay .word-listen:hover{background:var(--mint)}
.word-replay .word-listen svg{width:18px;height:18px}
@media(max-width:950px){.word-categories .category b{font-size:.875rem}}

/* The word-test invitation is the only activity card below word study. */
.challenge-grid.word-challenge{grid-template-columns:minmax(0,1fr)}
.word-challenge .challenge-card{justify-content:center}
