:root{--paper:#f6f2e7;--ink:#343f38;--muted:#798176;--green:#42795e;--green-dark:#305b49;--mint:#e1ecdd;--line:#e3dfd3;--gold:#edbd58;--orange:#d6814b;--shadow:0 8px 26px #343f380b;font-family:ui-rounded,'Hiragino Sans GB','PingFang SC','Microsoft YaHei',system-ui,sans-serif;color:var(--ink);background:#e8ecdf;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 10% 20%,#d5dfc9 0,transparent 45%),radial-gradient(ellipse at 90% 85%,#ded9be 0,transparent 40%),#eceee4}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;color:inherit}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a7bf7b;outline-offset:3px}button{border:0}a{color:var(--green-dark);text-underline-offset:3px}h1,h2,h3,p{margin:0}button,svg{user-select:none}svg{display:block}.hidden{display:none!important}.shell{width:min(100%,480px);min-height:100dvh;margin:0 auto;background:var(--paper);position:relative;overflow-x:clip;padding-bottom:env(safe-area-inset-bottom)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px 12px}.brand{font-size:16px;font-weight:850;letter-spacing:1px;display:flex;gap:9px;align-items:center}.brand-icon{display:grid;place-items:center;background:var(--green);color:#fff9dd;width:29px;height:31px;border-radius:6px;font-size:17px}.top-actions{display:flex;gap:7px}.icon-button{min-width:42px;height:42px;border:1px solid var(--line);background:#fffaf0;border-radius:50%;display:grid;place-items:center;font-size:19px}.small-label{font-size:12px;color:var(--muted);letter-spacing:1px}.pill{display:inline-flex;gap:6px;align-items:center;border:1px solid var(--line);background:#fffaf2;padding:7px 12px;border-radius:999px;font-size:12px}.screen{padding:8px 24px 28px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--green);font-weight:700;margin-bottom:10px}.hero-title{font-size:32px;line-height:1.35;letter-spacing:1px;font-weight:900}.subtitle{color:#7a8176;line-height:1.8;font-size:14px;margin-top:10px}.primary,.secondary{width:100%;min-height:52px;border-radius:17px;font-weight:750;font-size:16px;display:flex;align-items:center;justify-content:center;gap:10px;transition:transform .15s,background .15s}.primary{background:var(--green);color:#fffdf3;box-shadow:0 4px 0 var(--green-dark)}.primary:hover{background:#396e54}.primary:active,.secondary:active{transform:translateY(2px)}.secondary{background:#fff9ec;border:1.5px solid #dbdbc8;color:#53654d}.text-button{background:none;color:var(--green);padding:12px;min-height:44px;font-size:14px}.button-row{display:flex;gap:10px}.button-row>*{flex:1}.welcome{padding-top:8px;text-align:center}.welcome .hero-title{font-size:34px}.welcome-art{height:235px;margin:5px -8px 5px}.welcome-art svg{height:100%;width:100%}.welcome-steps{display:flex;justify-content:center;gap:12px;margin:18px 0 25px}.welcome-steps div{font-size:12px;color:#75816e;display:flex;align-items:center;gap:6px}.welcome-steps b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e2ead4;color:#55794c}.soft-panel{border:1px solid var(--line);background:#fffaf0;padding:18px;border-radius:20px}.onboard-options{display:grid;gap:10px;margin:20px 0}.option{display:flex;align-items:center;text-align:left;padding:17px;gap:12px;border-radius:17px;border:2px solid var(--line);background:#fffaf0}.option.selected{border-color:var(--green);background:#e8eddd}.option-picture{font-size:28px}.option b{font-size:16px}.option small{display:block;color:#7e8377;margin-top:5px;line-height:1.5}.helper{font-size:12px;line-height:1.8;color:#818678}.home-heading{display:flex;align-items:start;justify-content:space-between;margin:4px 0 5px}.home-heading h1{font-size:27px}.date-badge{font-size:11px;border:1px dashed #b1b79b;border-radius:9px;padding:7px;color:#798369;letter-spacing:2px;text-align:center;line-height:1.45}.home-art{height:185px;position:relative;margin:0 -10px}.home-art svg{height:100%;width:100%}.home-banner{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:10px;background:#fffaf0;padding:8px 15px;border:1px solid var(--line);font-size:12px;color:#6b7a62;box-shadow:var(--shadow)}.next-delivery{background:#fffaf0;border:1px solid var(--line);border-radius:22px;padding:19px 18px;margin:19px 0 23px;box-shadow:var(--shadow)}.next-top{display:flex;align-items:center;gap:13px;margin-bottom:16px}.next-icon{background:#eee5c9;width:52px;height:52px;border-radius:15px;font-size:28px;display:grid;place-items:center}.next-top h2{font-size:18px}.next-top p{font-size:12px;color:#8a8c7d;margin-top:5px}.section-line{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.section-line h2{font-size:17px}.section-line span{font-size:11px;color:#858d7b}.route{position:relative;display:grid;gap:10px}.route:before{position:absolute;content:'';left:23px;top:30px;bottom:30px;border-left:2px dashed #cdd5bf}.route-stop{display:flex;text-align:left;align-items:center;gap:12px;background:transparent;padding:8px 0;position:relative}.stop-icon{width:49px;height:49px;display:grid;place-items:center;border-radius:16px;background:#ebe7d8;border:2px solid var(--paper);font-size:25px;flex-shrink:0}.route-stop.active .stop-icon{background:#dfe8cb;box-shadow:0 0 0 1px #9cae80}.stop-info{flex:1}.stop-info b{font-size:14px}.stop-info small{display:block;color:#929483;font-size:11px;margin-top:4px}.stop-trips{display:flex;gap:5px;margin-right:4px}.dot{width:7px;height:7px;border-radius:50%;background:#d9decc}.dot.done{background:#6c956c}.route-stop.locked{opacity:.5}.route-stop.locked:disabled{opacity:.5}.route-stop .arrow{font-size:18px;color:#8a997a}.home-bottom{display:flex;gap:12px;margin-top:21px}.home-bottom button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;background:#edeedc;min-height:48px;font-size:13px;flex:1}.footer-note{text-align:center;color:#a0a18f;font-size:10px;margin-top:24px;letter-spacing:1px}.lesson-topbar{padding:12px 17px 7px}.lesson-heading{text-align:center}.lesson-heading b{display:block;font-size:14px}.lesson-heading small{font-size:10px;letter-spacing:1px;color:#8a947f}.progress-strip{display:flex;gap:4px;margin:4px 24px 10px}.progress-strip span{height:4px;background:#e2e3d2;border-radius:4px;flex:1}.progress-strip span.done{background:#759869}.progress-strip span.current{background:#e1b65f}.intro{text-align:center;padding-top:15px}.intro-scene{width:148px;height:148px;border-radius:50%;display:grid;place-items:center;margin:13px auto 20px;background:#e5ebd7;font-size:70px;box-shadow:inset 0 0 0 10px #f0f0df}.intro h1{font-size:25px}.intro p{line-height:1.9;font-size:14px;margin:12px auto 18px;color:#737e6b;max-width:340px}.phonemes{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:15px 0 20px}.phoneme{background:#fffaf1;border:1px solid #d4ddc3;border-radius:14px;min-width:62px;min-height:76px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.phoneme b{font-size:29px;font-family:Georgia,'Times New Roman',serif}.phoneme small{font-size:11px;color:#8a9b7c}.tone-guide{display:flex;gap:5px;justify-content:center;margin:18px 0}.tone-guide div{flex:1;border-radius:10px;padding:10px 2px;background:#e9ebdd;max-width:69px}.tone-guide b{display:block;font-size:25px;line-height:1.1;font-weight:500}.tone-guide small{display:block;font-size:11px;margin-top:7px;color:#7b856d}.learn-card{position:relative;text-align:center;margin:15px 0 18px;background:#fffaf1;border:1px solid #e5dec7;border-radius:8px;padding:25px 18px 22px;box-shadow:0 5px 0 #ebe4d1,0 15px 30px #84774808}.learn-card:before,.letter-card:before{content:'';position:absolute;inset:7px;border:1px dashed #e1d5b7;border-radius:4px;pointer-events:none}.stamp-corner{position:absolute;right:17px;top:17px;font-size:10px;letter-spacing:2px;color:#a0aa87;border:1px dotted #bfc6a6;padding:6px;transform:rotate(6deg)}.target-art{font-size:70px;line-height:1.5;margin:10px 0}.target-pinyin{font-size:46px;letter-spacing:3px;line-height:1.3;font-family:'Times New Roman',Georgia,serif;font-weight:600;color:var(--green-dark)}.target-word{font-size:28px;margin-top:8px;letter-spacing:5px}.context{font-size:12px;color:#8f947c;margin-top:10px}.listen{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cddabd;border-radius:999px;padding:9px 17px;min-height:44px;background:#eef2df;font-size:13px;color:#567449;margin-top:13px}.listen svg{width:17px;height:17px}.special-note{padding:12px;border-radius:13px;background:#f5e7c3;color:#826738;font-size:13px;line-height:1.65;margin:12px 0}.special-note b{font-family:Georgia,serif;font-size:20px}.learn-instruction{text-align:center;font-size:14px;color:#667760;margin:20px 0}.exercise{padding:0 19px 10px}.exercise-voice{display:flex;align-items:center;gap:10px;margin:8px 2px 12px}.tiny-fox{width:43px;height:43px;border-radius:50%;background:#ebdfc2;flex-shrink:0}.tiny-fox svg{width:100%;height:100%}.speech{font-size:13px;line-height:1.6;flex:1}.speech b{font-weight:600}.letter-card{position:relative;background:#fffaf0;border:1px solid #e5dfc9;border-radius:7px;padding:13px 18px 11px;min-height:152px;text-align:center;box-shadow:0 4px 0 #e8e1ca}.letter-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a0a48e;letter-spacing:2px;margin-bottom:4px}.letter-body{display:flex;align-items:center;justify-content:center;gap:25px;min-height:78px}.letter-body .target-art{font-size:51px;line-height:1.2;margin:0}.letter-body .target-pinyin{font-size:35px}.letter-body .target-word{font-size:21px;letter-spacing:4px;margin-top:3px}.letter-card .listen{position:relative;padding:5px 14px;min-height:35px;margin:7px 0 0;font-size:11px}.secret-pinyin{font-size:13px!important;letter-spacing:2px!important;color:#9b9f89!important;font-family:inherit!important;padding:7px 0}.answer-area{text-align:center;margin:18px 0 11px;min-height:63px}.answer-label{font-size:11px;color:#879077;margin-bottom:7px}.answer-slots{display:flex;justify-content:center;gap:4px;align-items:center;flex-wrap:wrap}.syllable-slots{display:flex;gap:4px}.syllable-gap{width:10px}.slot{display:grid;place-items:center;width:37px;height:44px;border-bottom:3px solid #d1d9bd;background:#e9eddc;border-radius:8px 8px 5px 5px;font-family:'Times New Roman',Georgia,serif;font-size:28px;line-height:1;color:#3c6749}.slot.next{border-color:#6f9869;background:#e1eaca}.slot.wrong{background:#f3e2ce;border-color:#d9a575}.overflow-letter{font-family:Georgia,serif;color:#a46d49;font-size:22px}.answer-tools{display:flex;align-items:center;justify-content:space-between;margin:3px 0 10px;min-height:34px}.answer-tools button{padding:8px 10px;border:1px solid #d8ddc6;background:#eff0e3;border-radius:20px;font-size:12px;min-height:36px}.keyboard{background:#e4e7d9;margin:0 -19px;padding:11px 6px 9px;display:flex;flex-direction:column;gap:7px;border-top:1px solid #d7ddc9}.key-row{display:flex;gap:5px;justify-content:center}.key{min-width:0;flex:1;max-width:42px;height:44px;border-radius:7px;background:#fffdf5;box-shadow:0 2px 0 #c5cbb8;font-size:22px;font-family:'Times New Roman',Georgia,serif;font-weight:600;position:relative}.key:active{transform:translateY(2px);box-shadow:none}.key.next-key{background:#c0d594;color:#314e30;box-shadow:0 2px 0 #93ae6f;outline:2px solid #6b8f50;outline-offset:-2px}.key-row:nth-child(2){padding:0 12px}.key-row:nth-child(3){padding:0 25px}.key.delete{flex:1.35;max-width:58px;background:#cfd7c1;font-family:system-ui;font-size:23px}.keyboard-caption{text-align:center;font-size:9px;letter-spacing:1px;color:#869078;margin-top:3px}.exercise-submit{padding:11px 3px 6px}.exercise-submit .primary{min-height:48px;border-radius:14px}.feedback{font-size:12px;color:#947041;line-height:1.6;text-align:center;min-height:20px;margin:5px 0}.tone-choices{display:flex;justify-content:center;gap:8px;margin:20px 0 13px}.tone-choice{background:#fffaf0;border:1px solid #d9ddc7;border-radius:14px;min-width:54px;min-height:78px;flex:1;max-width:74px;box-shadow:0 3px 0 #dedfc9}.tone-choice .tone-path{font-family:Arial,sans-serif;font-size:30px;display:block;height:36px;line-height:30px}.tone-choice small{font-size:12px;color:#7d876f}.tone-choice.good{background:#d8e8c4}.tone-choice.bad{background:#f3e0c5}.tone-prompt{margin:20px 0 5px;text-align:center;font-size:15px}.tone-progress{display:flex;justify-content:center;gap:15px;margin:13px}.tone-progress div{color:#879276;font-family:Georgia,serif;font-size:26px;padding:0 10px 5px;border-bottom:2px solid #dce1ce}.tone-progress div.active{color:#3f704f;border-color:#709364}.delivery-scene{text-align:center;padding:28px 25px}.delivery-scene h1{font-size:27px;line-height:1.4;margin:14px 0 9px}.delivered-art{height:210px;margin:15px 0}.delivered-art svg{width:100%;height:100%}.delivery-scene .subtitle{margin-bottom:28px}.stamp-success{display:inline-block;color:#638b5b;border:2px solid #88a377;border-radius:50%;padding:14px 9px;transform:rotate(-13deg);font-size:12px;letter-spacing:2px}.native-area{margin:16px 0 10px}.native-label{font-size:12px;color:#7a856e;margin-bottom:8px;display:block}.native-input{width:100%;font-size:25px;letter-spacing:3px;padding:14px;border-radius:13px;border:2px solid #b9cba1;background:#fffdf5;color:#324f39;min-height:60px;text-align:center;box-shadow:none}.native-input:focus{outline:none;border-color:#578252;box-shadow:0 0 0 3px #dce8c9}.native-help{font-size:11px;line-height:1.8;color:#8a907c;margin:8px 2px}.native-help b{color:#687e50}.native-mode .letter-card{min-height:120px}.native-mode .letter-body{min-height:50px}.native-mode .letter-body .target-art{font-size:38px}.native-mode .exercise-voice{margin:5px 2px 10px}.native-mode .letter-top{margin-bottom:0}.native-mode .letter-card .listen{margin-top:5px}.native-mode .target-word{font-size:27px}.native-mode .target-pinyin{font-size:27px}.native-mode .answer-tools{margin-bottom:0}.finish{text-align:center;padding-top:20px}.postcard{background:#fff9ed;border:1px solid #d9d0b8;border-radius:6px;padding:17px;box-shadow:0 5px 0 #e6ddc3;margin:22px 0;position:relative;overflow:hidden}.postcard-art{height:150px;display:grid;place-items:center;font-size:80px;background:#e7edd9;border-radius:3px;position:relative}.postcard-art:after{content:'拼音小邮局';position:absolute;bottom:10px;left:10px;font-size:10px;letter-spacing:3px;color:#84926d}.postcard h2{font-size:21px;margin:18px 0 8px}.postcard p{font-size:12px;color:#92917d}.stamp-mark{position:absolute;right:22px;top:25px;border:2px solid #7d9875;border-radius:50%;width:58px;height:58px;display:grid;place-items:center;transform:rotate(15deg);color:#647d5e;font-size:11px;line-height:1.6;letter-spacing:1px}.finish-note{font-size:13px;line-height:1.9;color:#7f8974;margin:20px 0}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.mini-card{background:#fffaf0;border:1px solid #ded8c2;border-radius:6px;padding:10px;text-align:center;box-shadow:0 3px 0 #e6dfc9}.mini-card div{background:#e5ebd4;border-radius:3px;aspect-ratio:1.2;display:grid;place-items:center;font-size:47px}.mini-card b{display:block;font-size:12px;margin:12px 0 5px}.mini-card small{font-size:10px;color:#879177}.mini-card.empty{opacity:.4}.parent h1{font-size:26px;margin-bottom:7px}.parent .subtitle{font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.metric{background:#e6ecd8;border-radius:15px;padding:16px 6px;text-align:center}.metric b{display:block;font-size:27px;color:#4f774b}.metric span{display:block;font-size:11px;color:#7c8970;margin-top:5px}.parent h2{font-size:16px;margin:23px 0 11px}.parent p,.parent li{font-size:12px;line-height:1.9;color:#7b8371}.parent ul{padding-left:19px;margin:8px 0}.word-summary{display:flex;gap:7px;flex-wrap:wrap}.word-chip{border:1px solid #d4dcc4;background:#eef2e4;border-radius:8px;padding:7px 9px;font-size:12px;color:#5f7951}.word-chip.help{background:#f5e8cf;border-color:#e3cf9e;color:#927242}.parent details{border-bottom:1px solid var(--line);padding:14px 0}.parent summary{font-size:14px;cursor:pointer;list-style:none}.parent details p{margin-top:10px}.parent .secondary{font-size:13px;min-height:45px;margin-top:12px;box-shadow:none}.danger{color:#986d53!important}.empty-state{text-align:center;padding:40px 20px;color:#879176;font-size:14px;line-height:1.8}.toast{position:fixed;z-index:100;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);background:#384e3a;color:#fffceb;border-radius:14px;padding:12px 18px;font-size:13px;line-height:1.6;max-width:min(90%,430px);box-shadow:0 10px 35px #0002;pointer-events:none;opacity:0;transition:opacity .15s}.toast.visible{opacity:1}.modal-cover{position:fixed;inset:0;background:#26392555;display:flex;align-items:center;justify-content:center;z-index:90;padding:24px;backdrop-filter:blur(4px)}.modal{background:var(--paper);border:1px solid #fff9e4;border-radius:25px;padding:24px;max-width:370px;width:100%;box-shadow:0 20px 50px #27332133}.modal h2{font-size:20px;margin-bottom:12px}.modal p{font-size:13px;line-height:1.9;color:#7c866f;margin-bottom:20px}.desktop-note{display:none}.letter-fly{animation:fly-in .6s cubic-bezier(.2,.8,.3,1) both}@keyframes fly-in{from{opacity:0;transform:translateY(30px) rotate(-10deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@media(min-width:900px){body{display:flex;justify-content:center;align-items:flex-start;gap:70px;padding:36px 30px 60px}.shell{margin:0;min-height:850px;border:1px solid #d0d9c1;border-radius:35px;box-shadow:0 22px 65px #687b4e22;overflow:hidden}.desktop-note{display:block;width:250px;padding-top:160px}.desktop-note p{font-family:Georgia,'Songti SC',serif;font-size:29px;line-height:1.8;margin-top:30px;color:#657957}.desktop-note small{display:block;font-size:12px;letter-spacing:3px;color:#93a17f;margin-top:20px}.brand-seal{border:1px solid #96a784;border-radius:50%;width:76px;height:76px;display:flex;align-items:center;justify-content:center;color:#7e956b;font-size:12px;gap:4px;transform:rotate(-8deg)}.brand-seal span{font-size:29px;font-family:serif}.paper-plane{font-size:95px;color:#b7c7a1;margin:55px 20px;transform:rotate(-20deg)}.shell.native-mode{min-height:700px}}@media(max-height:700px) and (max-width:899px){.lesson-topbar{padding-top:8px}.progress-strip{margin-bottom:6px}.exercise-voice{margin-bottom:6px}.letter-card{min-height:128px;padding-top:8px;padding-bottom:8px}.letter-body{min-height:61px}.letter-body .target-art{font-size:42px}.letter-body .target-pinyin{font-size:30px}.letter-card .listen{min-height:30px;margin-top:4px}.answer-area{margin:12px 0 7px;min-height:55px}.slot{height:37px;font-size:26px}.answer-tools{margin-bottom:6px}.key{height:39px}.keyboard{gap:6px;padding-top:8px}.keyboard-caption{display:none}.exercise-submit{padding-top:8px}.exercise-submit .primary{min-height:44px}.welcome-art{height:180px}.native-mode .topbar{padding-top:4px}.native-mode .progress-strip{margin-top:0;margin-bottom:4px}.native-mode .exercise-voice{font-size:11px;margin:0 0 6px}.native-mode .tiny-fox{width:30px;height:30px}.native-mode .speech{font-size:11px}.native-mode .letter-card{min-height:96px;padding:8px 13px}.native-mode .letter-body{min-height:44px}.native-mode .letter-top{display:none}.native-mode .letter-card .listen{min-height:30px;margin:1px 0 0;padding:3px 10px}.native-mode .native-area{margin:10px 0 0}.native-mode .native-label{display:none}.native-mode .native-input{min-height:45px;padding:8px;font-size:24px}.native-mode .native-help{font-size:10px;margin:5px 0}.native-mode .feedback{margin:2px 0;min-height:0}.native-mode .answer-tools{min-height:30px}.native-mode .answer-tools button{min-height:30px;font-size:11px}.native-mode .exercise-submit{padding-top:6px}}
@media(max-width:359px){.screen{padding-left:18px;padding-right:18px}.exercise{padding-left:13px;padding-right:13px}.keyboard{margin-left:-13px;margin-right:-13px;padding-left:4px;padding-right:4px}.key-row{gap:4px}.key{font-size:20px}.key-row:nth-child(3){padding:0 17px}.hero-title{font-size:29px}.slot{width:32px}.tone-choices{gap:5px}.tone-choice{min-width:45px}.brand{font-size:14px}.topbar{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.shell.practice-mode{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.practice-mode .lesson-topbar,.practice-mode .progress-strip{flex-shrink:0}.practice-mode .exercise{display:flex;flex-direction:column;flex:1;min-height:0}.exercise-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:4px;scrollbar-width:thin}.typing-controls{flex-shrink:0;background:var(--paper)}.feedback:empty{display:none}
@media(max-height:700px) and (max-width:899px){.practice-mode .exercise-voice{margin:5px 2px 8px}.practice-mode .tiny-fox{width:32px;height:32px}.practice-mode .speech{font-size:11px}.practice-mode .letter-card{min-height:105px}.practice-mode .letter-top{display:none}.practice-mode .letter-body{min-height:56px}.practice-mode .answer-label{margin-bottom:4px}.practice-mode .answer-area{margin:10px 0 4px;min-height:52px}.practice-mode .answer-tools{min-height:32px;margin-top:2px}.practice-mode .answer-tools button{min-height:32px;font-size:11px;padding:6px 10px}}
@media(min-width:900px){.shell.practice-mode{height:850px;min-height:850px}}
.shell.native-mode.compact-native{min-height:var(--visible-height,390px)}.compact-native .topbar{padding-top:4px}.compact-native .progress-strip{margin-top:0;margin-bottom:4px}.compact-native .exercise-voice{margin:0 0 6px}.compact-native .tiny-fox{width:30px;height:30px}.compact-native .speech{font-size:11px}.compact-native .letter-card{min-height:96px;padding:8px 13px}.compact-native .letter-body{min-height:44px}.compact-native .letter-top{display:none}.compact-native .letter-card .listen{min-height:30px;margin:1px 0 0;padding:3px 10px}.compact-native .native-area{margin:10px 0 0}.compact-native .native-label{display:none}.compact-native .native-input{min-height:45px;padding:8px;font-size:24px}.compact-native .native-help{font-size:10px;margin:5px 0}.compact-native .feedback{margin:2px 0;min-height:0}.compact-native .answer-tools{min-height:30px;margin-bottom:0}.compact-native .answer-tools button{min-height:30px;font-size:11px}.compact-native .exercise-submit{padding-top:6px}.compact-native .exercise-submit .primary{min-height:44px}
/* Story edition: each completed independent delivery changes its destination. */
.shell[data-bag="sun"]{--green:#9b773c;--green-dark:#765a2f}.shell[data-bag="berry"]{--green:#9d6372;--green-dark:#774856}
.bag-picker{display:flex;justify-content:center;gap:12px;margin:20px 0}.bag-choice{background:#fdf9ee;border:2px solid #e5dec8;border-radius:17px;padding:12px 15px;min-height:82px;min-width:78px}.bag-choice span{display:block;font-size:28px;color:var(--bag-color)}.bag-choice small{font-size:11px;color:#77816c}.bag-choice.selected{border-color:var(--bag-color);background:#f3f1df}.bag-badge{background:var(--green);color:#fff5d7;font-size:24px;flex-shrink:0;border:0;min-width:53px;min-height:53px}
.home-screen .home-heading h1{font-size:26px}.story-hero{position:relative;margin:18px -6px 0;overflow:hidden;border-radius:20px}.story-hero svg,.intro-story-art svg,.story-postcard-art svg{width:100%;height:auto}.story-recipient{position:absolute;bottom:13px;left:14px;background:#fffaf0ed;padding:7px 12px;border-radius:20px;color:#5f7255;font-size:11px;box-shadow:0 2px 6px #4b62420d}.next-delivery .next-top{margin-top:10px}.next-delivery .next-top p{line-height:1.7;font-size:13px}.section-line span{white-space:nowrap}.section-line h2{font-size:15px}.intro-story-art{margin:8px -6px 18px}.intro h1{font-size:26px}.intro .story-goal{font-size:15px;line-height:1.8;color:#607457;margin-top:10px}.learning-plan{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:22px 0 15px;font-size:12px;color:#8b9875}.intro .soft-panel{text-align:left}.intro .soft-panel p{font-size:12px}.intro .soft-panel .listen{font-size:11px}
.lesson-heading{min-width:0;flex:1;text-align:center}.lesson-heading b{font-size:14px;line-height:1.4;display:block}.lesson-heading small{font-size:10px;display:block;margin-top:5px;color:#929981}.mission-label{position:relative;font-size:11px;color:#8c907a;text-align:center;line-height:1.5;padding:4px 0}.parcel-reward{height:100%;display:flex;align-items:center;justify-content:center;position:relative;gap:6px}.parcel-reward>span{font-size:105px;filter:drop-shadow(0 9px 0 #dce2cc)}.parcel-reward i{font-style:normal;font-size:52px;transform:rotate(12deg);margin-left:-26px;margin-top:30px}.delivered-art{height:auto;min-height:164px;max-height:240px}.delivered-art svg{max-height:230px}.parcel-reward{min-height:164px}.delivery-scene{padding-top:20px}.delivery-scene h1{font-size:25px}.delivery-scene .subtitle{margin-bottom:19px}.delivery-dots{display:flex;gap:14px;justify-content:center;margin:0 0 24px}.delivery-dots span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8e9da;color:#bec6b0}.delivery-dots .done{background:#d4e4bc;color:#5f7d4f}
.listening-screen{text-align:center;padding-top:25px}.listening-screen h1{font-size:26px;line-height:1.5}.listening-icon{font-size:48px;line-height:1.5;margin:15px 0}.listening-icon span{display:inline-block;font-size:28px;transform:rotate(-18deg);color:#89a168;margin:0 10px}.parcel-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:30px 0 18px}.parcel-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:134px;border:2px solid #dccdaa;border-radius:15px;background:#f6e9cb;box-shadow:0 5px 0 #e1d4b1;position:relative}.parcel-choice:active{transform:translateY(3px);box-shadow:0 2px 0 #e1d4b1}.parcel-picture{font-size:37px;line-height:1.2}.parcel-choice b{font-size:21px}.parcel-choice small{font-size:9px;color:#998d70}.listening-screen .listen{min-height:48px;padding-inline:23px}.story-postcard-art{margin:-5px -5px 0;border-radius:6px;overflow:hidden}.postcard p{font-size:13px;line-height:1.85;color:#7f8772}.postcard h1{font-size:25px;margin:22px 0 12px}.stamp-mark{background:#fff5d0c4}.selected-stamp{font-size:33px}.stamp-picker{display:flex;justify-content:center;gap:12px;margin:15px 0 22px}.stamp-picker button{min-width:80px;min-height:80px;background:#fffaf0;border:2px solid #e1dfca;border-radius:15px;padding:10px}.stamp-picker button.selected{background:#e7edda;border-color:#83a16c}.stamp-picker span{display:block;font-size:30px;line-height:1.2}.stamp-picker small{display:block;color:#899179;font-size:10px;margin-top:8px}.mini-card{text-align:center;width:100%;color:inherit}.mini-card.empty:disabled{opacity:.4}.mini-card b{line-height:1.5}.caps-options{display:flex;gap:9px;margin:13px 0}.caps-options button{flex:1;padding:13px 8px;border:1px solid #d7ddc5;border-radius:10px;background:#fffaee;font-size:13px;min-height:46px}.caps-options .selected{background:#e2eccf;border-color:#789663}
.kite-sway{transform-origin:273px 64px;animation:kite-wind 5s ease-in-out infinite}.gentle-bob{animation:gentle-rise 4s ease-in-out infinite}.steam{animation:steam-fade 3s ease-in-out infinite}@keyframes kite-wind{0%,100%{rotate:-2deg}50%{rotate:2deg}}@keyframes gentle-rise{50%{translate:0 -5px}}@keyframes steam-fade{50%{opacity:.45;translate:0 -3px}}
@media(max-height:700px) and (max-width:899px){.mission-label{font-size:10px;padding:1px 0}.practice-mode .letter-body{min-height:48px}.practice-mode .letter-card{min-height:113px}.listening-screen{padding-top:12px}.listening-icon{margin:8px 0;font-size:39px}.parcel-choices{margin-top:20px}.parcel-choice{min-height:120px}.intro-story-art{max-height:150px;overflow:hidden}.intro-story-art svg{max-height:150px}.lesson-heading b{font-size:12px}.native-mode .mission-label{display:none}}
@media(max-width:359px){.home-screen .home-heading h1{font-size:23px}.bag-choice{min-width:72px;padding:10px}.parcel-choices{gap:7px}.parcel-choice small{font-size:8px}.parcel-picture{font-size:32px}.stamp-picker{gap:8px}.stamp-picker button{min-width:74px}.listening-screen h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){.kite-sway,.gentle-bob,.steam{animation:none}}
/* Leave room for an actionable correction while the phone keyboard is open. */
.compact-native .letter-card{min-height:86px;padding:6px 12px}.compact-native .letter-body{min-height:38px}.compact-native .native-help{margin:3px 0}
.compact-native .native-area{margin-top:6px}.compact-native .exercise-voice{margin-bottom:3px}.compact-native .exercise-submit{padding-top:4px}
/* Full journey: readable chapters and long-syllable mobile input. */
.learning-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 8px;padding:5px;background:#e5ead9;border-radius:17px}.learning-modes button{min-height:66px;border:2px solid transparent;border-radius:13px;padding:10px 4px;background:transparent;color:#6e7e64}.learning-modes button[aria-pressed=true]{border-color:#698b69;background:#fffaf0;color:#365d43;box-shadow:0 2px 4px #3f573014}.learning-modes b,.learning-modes small{display:block}.learning-modes b{font-size:15px}.learning-modes small{font-size:11px;font-weight:400;margin-top:5px}.mode-help{font-size:12px;line-height:1.7;color:#718168}.unit-picker h1{font-size:26px;line-height:1.4}.unit-picker>.subtitle{font-size:16px;margin:8px 0 16px}.trip-list{display:grid;gap:18px;margin:22px 0}.trip-card{border:1px solid #d5ddc7;background:#fffbf1;border-radius:20px;padding:18px}.trip-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#687e5b;font-size:12px}.trip-meta span:last-child{font-size:11px}.trip-card h2{font-size:20px;line-height:1.5;margin:14px 0 8px}.trip-goal{font-size:12px;color:#7c886e;line-height:1.8}.trip-targets{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.trip-targets>span{background:#eaf0de;border-radius:11px;padding:10px 12px;flex:1;min-width:65px;text-align:center}.trip-targets b{display:block;font-size:20px;font-weight:500}.trip-targets small{display:block;font-size:13px;line-height:1.6;color:#6e825e;margin-top:3px;overflow-wrap:anywhere}.trip-card .primary,.trip-card .secondary{min-height:48px;font-size:15px}.trip-locked{background:#f0f1e6}.trip-locked .trip-meta{color:#8a927f}.learning-modes button:focus-visible,.route-stop:focus-visible,.trip-card button:focus-visible{outline:3px solid #4a7754;outline-offset:3px}@media(max-width:359px){.learning-modes b{font-size:14px}.learning-modes small{font-size:10px}.trip-card{padding:15px}.trip-card h2{font-size:19px}.trip-targets{gap:6px}.trip-targets>span{padding:9px 7px}.trip-targets b{font-size:18px}}
.chapter{border:1px solid var(--line);border-radius:16px;background:#fcf8ed;margin:10px 0;overflow:hidden}.chapter>summary{cursor:pointer;padding:17px 15px;font-size:14px;font-weight:700;min-height:52px}.chapter>summary small{float:right;font-weight:400;color:#87927c;font-size:11px}.chapter .route{padding:0 10px 10px}.chapter .route-stop{background:#fffaf1}.home-bottom{flex-wrap:wrap}.home-bottom button{min-height:44px}.toolbox h2{font-size:19px;margin:28px 0 12px}.toolbox .phonemes{justify-content:flex-start;flex-wrap:wrap;gap:9px}.toolbox .phoneme{min-width:72px;flex:0 0 calc(25% - 7px);padding:12px 5px}.phonemes{flex-wrap:wrap}.phoneme small{font-size:10px}.rule-notes{display:grid;gap:12px}.rule-notes p{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fffbef;font-size:13px;line-height:1.9}.alphabet{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:22px 0}.alphabet span{background:#e8eddb;border-radius:8px;padding:8px;text-align:center;font-size:15px}.blend-parts{margin:18px 0;text-align:center;font-size:22px;letter-spacing:2px;color:var(--green);padding:14px 8px;background:#e9eddc;border-radius:14px}.blend-parts span{font-size:17px;color:#97a58a}.rule-choices{display:grid;gap:12px;margin:26px 0}.rule-choices button{background:#f6e7c8;border:2px solid #d8c8a4;border-radius:14px;min-height:64px;font-size:29px;color:#516e57}.answer-slots{flex-wrap:wrap;row-gap:8px}.sentence-slots{column-gap:2px}.sentence-slots .slot{width:24px;min-width:0;height:34px;font-size:19px}.sentence-slots .syllable-gap{width:7px}.sentence-slots .syllable-slots{gap:2px}.target-pinyin.sentence-pinyin{font-size:25px;line-height:1.55;overflow-wrap:anywhere}.target-word.sentence-word{font-size:24px;line-height:1.45}.tone-progress{flex-wrap:wrap}.delivery-scene .target-pinyin{overflow-wrap:anywhere}.parcel-choice b{overflow-wrap:anywhere}.parcel-choices:has(.parcel-choice b:not(:empty)) .parcel-choice{padding:9px 4px}.mini-card b{font-size:13px}.letter-body>div{min-width:0}
@media(max-width:359px){.sentence-slots .slot{width:21px;height:30px;font-size:17px}.target-pinyin.sentence-pinyin{font-size:22px}.target-word.sentence-word{font-size:21px}.toolbox .phoneme{min-width:60px}.chapter>summary{font-size:12px}.rule-choices button{min-height:58px}.blend-parts{font-size:18px}.parcel-choice b{font-size:17px}}
@media(max-height:600px){.practice-mode .sentence-slots .slot{height:29px;font-size:17px}.practice-mode .sentence-word{font-size:20px}.practice-mode .sentence-pinyin{font-size:20px}.practice-mode .answer-slots{row-gap:4px}.compact-native .sentence-word{font-size:20px}.rule-choices{margin:16px 0;gap:9px}}
@media(max-height:650px){.practice-mode.sentence-mode .exercise-voice{display:none}.practice-mode.sentence-mode .mission-label{display:none}.practice-mode.sentence-mode .answer-area{margin-top:6px}.practice-mode.sentence-mode .letter-card{margin-top:6px}}
