@font-face{font-family:"Qz Rare Han";src:url("./fonts/qz-rare-han.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+3400-4DBF,U+20000-323AF}
@font-face{font-family:"Qz Rare TC";src:url("./fonts/qz-rare-tc.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+3400-4DBF,U+20000-323AF}
/* Original breakfast storybook visual language. z-index: header 10, skip-link 20. */
:root{color-scheme:light dark;--bg:#faf7ef;--paper:#fffdf8;--ink:#244c3b;--body:#424d43;--muted:#656b5f;--line:#e3e4d6;--soft:#f1f1e4;--mint:#e5eee0;--orange:#a4522e;--accent:#f1d3a8;--error:#9c3832;--shadow:0 12px 36px #244c3b08;--radius:28px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;background:var(--bg);color:var(--body);font-family:"Qz Rare Han","Qz Rare TC","PingFang SC","PingFang TC","Microsoft YaHei",system-ui,sans-serif;font-size:16px;line-height:1.65}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:var(--ink);text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink)}:focus-visible{outline:3px solid var(--orange);outline-offset:5px}[hidden]{display:none!important}.wrap{width:min(1200px,calc(100% - 72px));margin-inline:auto}.skip-link{position:fixed;top:-90px;left:20px;background:var(--paper);padding:15px;z-index:20}.skip-link:focus{top:10px}.site-header{position:sticky;top:0;background:var(--bg);border-bottom:1px solid var(--line);z-index:10}.header-inner{width:min(1200px,calc(100% - 72px));height:94px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:1px;color:var(--ink)}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:2px;margin-top:2px}.brand-stamp{display:grid;place-items:center;width:44px;height:44px;background:var(--ink);border-radius:14px 14px 14px 4px;color:var(--bg);font-family:serif;font-size:28px}.site-header nav{display:flex;gap:30px;font-size:14px;font-weight:600}.site-header nav a{text-decoration:none;padding:12px 0}.site-header nav a:hover{color:var(--orange)}.eyebrow{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:2px}.tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--orange);margin-right:7px}.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:38px;align-items:center;padding-block:64px 54px}.hero h1{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:clamp(42px,4.55vw,64px);line-height:1.22;letter-spacing:2px;margin:22px 0}.hero h1 span{color:var(--orange)}.hero-intro{font-size:17px;line-height:1.95;color:var(--body)}.hero-meta{display:flex;flex-wrap:wrap;gap:14px;margin-block:24px 25px;color:var(--muted);font-size:12px}.hero-meta span+span:before{content:"·";margin-right:14px}.button{border:0;border-radius:14px;min-height:48px;padding:12px 21px;display:inline-flex;gap:12px;align-items:center;justify-content:center;font-weight:650;font-size:14px;text-decoration:none;line-height:1.5}.primary{background:var(--ink);color:var(--paper)}.primary:hover{filter:brightness(1.16)}.secondary{border:1px solid var(--line);background:var(--mint);color:var(--ink)}.quiet{background:var(--soft);color:var(--ink)}.text-button{background:none;border:none;color:var(--ink);min-height:44px;padding:8px 4px;font-size:13px;font-weight:600}.text-button:hover{text-decoration:underline}.start-button{padding-inline:25px;min-width:234px;min-height:54px;justify-content:space-between}.hero-note{font-size:10px;color:var(--muted);margin-top:17px}.hero-picture{position:relative;border-radius:45% 45% 22px 22px;background:#f0e9d7;padding-top:27px;border:1px solid #e9dec7;overflow:hidden}.hero-picture img{display:block;width:100%;height:auto}.picture-note{font-family:serif;text-align:center;color:#55583f;font-size:14px;letter-spacing:3px}.picture-caption{display:block;font-size:10px;text-align:center;color:#615c44;letter-spacing:2px;padding:0 0 17px}.learning-overview{display:grid;grid-template-columns:repeat(3,1fr);padding:25px 35px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:30px}.learning-overview>div{display:flex;gap:16px;align-items:center}.overview-number{font-size:11px;letter-spacing:1px;border:1px solid var(--line);width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:var(--orange);flex-shrink:0}.learning-overview p{color:var(--ink);font-size:15px;font-weight:700}.learning-overview small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:3px}.course-section,.challenge-section{padding-top:70px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}.section-heading h2,.progress-copy h2{font-family:"Songti SC",serif;font-size:30px;line-height:1.4;margin-top:9px;letter-spacing:1px}.chapter-total{font-size:11px;color:var(--muted);white-space:nowrap}.course-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:27px;align-items:start}.chapter-nav{display:grid;gap:9px}.chapter-button{display:flex;align-items:center;gap:14px;border:1px solid transparent;background:transparent;text-align:left;color:var(--muted);border-radius:15px;padding:14px 13px;width:100%;min-height:72px}.chapter-button .chapter-number{border:1px solid var(--line);background:var(--paper);border-radius:50%;display:grid;place-items:center;min-width:34px;height:34px;font-size:11px;color:var(--muted)}.chapter-button .chapter-name{display:block;font-size:13px;font-weight:700}.chapter-button small{display:block;font-size:10px;margin-top:4px;letter-spacing:.3px}.chapter-button[aria-current=true]{background:var(--mint);color:var(--ink);border-color:var(--line)}.chapter-button[aria-current=true] .chapter-number{background:var(--ink);color:var(--paper);border-color:var(--ink)}.chapter-button:hover{background:var(--soft)}.lesson-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:30px 38px 17px;min-width:0}.scene-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.scene-label{font-size:11px;letter-spacing:1px;color:var(--orange);font-weight:700}.small-label{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:3px 10px}.lesson-card h3{font-size:23px;margin:13px 0 12px}.scene-copy{font-size:14px;line-height:1.9;max-width:660px}.phrase-block{border-top:1px dashed var(--line);padding:25px 0 20px;margin-top:23px}.phrase-label{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:11px}.hanzi{font-size:clamp(25px,2.25vw,32px);font-weight:750;color:var(--ink);line-height:1.6;overflow-wrap:anywhere}.tailo{font-family:Georgia,"Times New Roman",serif;color:var(--orange);font-size:19px;line-height:1.8;margin-top:2px;overflow-wrap:anywhere}.meaning{font-size:13px;color:var(--muted);margin-top:8px}.quote-credit{font-size:10px;color:var(--muted);margin-top:14px}.quote-credit a{color:var(--muted)}.lesson-player{background:var(--soft);border-radius:17px;padding:17px 20px}.player-controls{display:flex;gap:10px;align-items:center}.play-control{min-width:150px}.player-controls .quiet{background:var(--paper)}progress{width:100%;height:5px;display:block;margin-top:19px;border:0;appearance:none;background:var(--line);border-radius:5px;overflow:hidden}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--orange)}progress::-moz-progress-bar{background:var(--orange)}.player-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px;font-size:10px;color:var(--muted)}.check-label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;min-height:44px}.check-label input{width:17px;height:17px;accent-color:var(--ink);flex-shrink:0}.player-bottom .check-label{white-space:nowrap}.lesson-player #retry{margin-top:10px}.practice-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:23px 0 18px}.practice-row p{font-size:13px;color:var(--ink);font-weight:600}.practice-row small{font-size:10px;color:var(--muted)}.practice-button{background:var(--accent);color:var(--ink);white-space:nowrap}.practice-button[aria-pressed=true]{background:var(--mint)}.scene-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:9px;font-size:10px;color:var(--muted)}.quiz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.quiz-card{background:var(--paper);border:1px solid var(--line);border-radius:23px;padding:25px 23px;min-width:0}.quiz-kind{color:var(--orange);font-size:10px;letter-spacing:2px;font-weight:700}.quiz-card h3{font-size:18px;margin-top:12px}.quiz-intro{font-size:12px;color:var(--muted);margin:12px 0 18px;min-height:40px}.quiz-play{width:100%;background:var(--mint);color:var(--ink);font-size:12px;margin-bottom:19px}.choices{display:grid;gap:10px}.choice-button{width:100%;display:flex;gap:12px;align-items:center;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:12px 13px;min-height:48px;font-size:12px;color:var(--body)}.choice-button .choice-letter{color:var(--muted);font-size:10px}.choice-button:hover{border-color:var(--ink)}.choice-button.is-wrong{border-color:var(--error);background:#9c383208}.choice-button.is-right{border-color:var(--ink);background:var(--mint);opacity:1;color:var(--ink);font-weight:700}.choice-button:disabled:not(.is-right){opacity:.55}.quiz-feedback{font-size:11px;line-height:1.8;min-height:43px;margin-top:14px;color:var(--muted)}.quiz-feedback.correct{color:var(--ink)}.progress-section{margin-top:70px;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:45px;padding:34px 0 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.progress-copy>p:not(.eyebrow){font-size:13px;line-height:1.9;margin-top:15px}.learning-counts{display:flex;gap:23px;font-size:11px;color:var(--muted);margin:25px 0}.learning-counts strong{font-size:25px;color:var(--ink);margin-right:4px}.save-panel{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:24px 26px;align-self:start}.save-panel h3{font-size:16px}.save-choice{margin-top:9px;font-size:12px;color:var(--ink);font-weight:600}.save-panel>p{font-size:11px;line-height:1.9;color:var(--muted)}#save-status{margin-top:9px;min-height:21px;color:var(--ink)}.reset-button{color:var(--muted);font-size:11px;margin-top:9px}.reset-confirm{font-size:12px;padding-top:15px;margin-top:8px;border-top:1px solid var(--line)}.reset-confirm>div{display:flex;gap:10px;margin-top:12px}.danger{background:var(--error);color:#fff}.completion{display:flex;align-items:center;gap:17px;margin-top:25px;background:var(--mint);border-radius:18px;padding:21px}.completion-stamp{border:2px solid var(--ink);border-radius:50%;min-width:50px;height:50px;display:grid;place-items:center;font-family:serif;font-size:13px;transform:rotate(-10deg)}.completion h3{font-size:16px}.completion p{font-size:11px;margin-top:5px}.source-note{padding:38px 0 35px;display:grid;grid-template-columns:1fr 1.1fr;gap:50px;align-items:center}.source-note>div{display:flex;gap:17px;align-items:center}.source-note h2{font-family:serif;font-size:21px}.source-seal{width:38px;height:38px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;color:var(--orange);font-family:serif;font-size:20px;flex-shrink:0}.source-note p{font-size:11px;line-height:1.9;color:var(--muted)}.source-note a{display:block;margin-top:8px}.site-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;border-top:1px solid var(--line);padding:24px 0 35px;font-size:10px;color:var(--muted)}.footer-brand{font-size:14px}.site-footer>a:last-child{color:var(--muted)}.source-page{max-width:820px;width:calc(100% - 40px);margin:50px auto 70px}.source-page h1{font-size:34px;margin:20px 0}.source-page h2{font-size:21px;margin:32px 0 12px}.source-page p,.source-page li{font-size:15px;line-height:2}.source-page li{margin-bottom:14px}.source-page ol{padding-left:23px}.source-page .eyebrow{margin-top:32px}.source-page .button{margin-top:30px}.back-link{font-size:13px}.noscript{padding:30px 0}
@media(max-width:1023px){.hero{gap:25px}.hero h1{font-size:46px}.course-layout{grid-template-columns:190px minmax(0,1fr);gap:18px}.lesson-card{padding:25px 27px 14px}.quiz-grid{gap:14px}.quiz-card{padding:23px 18px}.progress-section{grid-template-columns:1fr 320px;gap:30px}.source-note{gap:25px}.player-bottom{align-items:flex-start;flex-direction:column;gap:2px}.hero-note{max-width:260px}.learning-overview{padding-inline:10px;gap:20px}.site-footer{flex-wrap:wrap}}
@media(max-width:767px){html{scroll-padding-top:86px}.wrap,.header-inner{width:calc(100% - 36px)}.header-inner{height:75px;gap:12px}.brand{font-size:18px;gap:9px;letter-spacing:.5px}.brand-stamp{width:35px;height:37px;font-size:23px;border-radius:11px 11px 11px 3px}.brand small{font-size:8px;letter-spacing:1px}.site-header nav{gap:16px;font-size:11px}.site-header nav a:nth-child(2){display:none}.hero{grid-template-columns:1fr;gap:35px;padding:36px 0 32px}.hero h1{font-size:48px;line-height:1.2;margin:17px 0}.hero-intro{font-size:14px}.hero .eyebrow{font-size:10px;letter-spacing:1.2px}.hero-meta{margin-block:18px 20px;gap:10px;font-size:11px}.hero-meta span+span:before{margin-right:10px}.hero-note{max-width:none;font-size:9px}.hero-picture{max-width:450px;width:100%;margin:auto;padding-top:22px}.hero-picture img{max-height:310px;object-fit:contain}.picture-note{font-size:12px}.picture-caption{font-size:9px;padding-bottom:14px}.learning-overview{gap:12px;padding:20px 0;align-items:start}.learning-overview>div{display:block}.overview-number{width:26px;height:26px;font-size:9px;margin-bottom:9px}.learning-overview p{font-size:13px}.learning-overview small{font-size:9px;line-height:1.7;max-width:100px}.section-heading{margin-bottom:19px;align-items:flex-start}.section-heading h2,.progress-copy h2{font-size:26px}.section-heading .eyebrow{font-size:10px;letter-spacing:1px}.chapter-total{font-size:9px;white-space:normal;text-align:right;max-width:100px;padding-top:9px}.course-section,.challenge-section{padding-top:42px}.course-layout{display:block}.chapter-nav{display:flex;overflow-x:auto;gap:8px;padding-bottom:12px;margin-bottom:8px;scrollbar-width:thin}.chapter-button{width:auto;min-width:112px;max-width:150px;padding:10px 11px;min-height:64px;gap:8px;border-color:var(--line)}.chapter-button .chapter-number{min-width:27px;width:27px;height:27px;font-size:9px}.chapter-button .chapter-name{font-size:10px;white-space:nowrap}.chapter-button small{font-size:8px;white-space:nowrap}.lesson-card{padding:23px 20px 10px;border-radius:22px}.scene-label{font-size:10px}.small-label{font-size:9px;padding:2px 8px}.lesson-card h3{font-size:21px;margin-top:15px}.scene-copy{font-size:13px;line-height:1.9}.phrase-block{padding:21px 0 18px;margin-top:20px}.hanzi{font-size:25px;line-height:1.7}.tailo{font-size:18px;line-height:1.8}.meaning{font-size:12px}.lesson-player{padding:16px 14px}.player-controls{gap:8px}.player-controls .button{padding:11px 14px;font-size:12px;min-height:46px}.play-control{min-width:125px}.player-controls .text-button{font-size:11px;flex:1}.player-bottom{font-size:10px}.player-bottom .check-label{min-height:37px}.practice-row{align-items:flex-start;gap:10px;padding:21px 0 16px}.practice-row p{font-size:11px}.practice-row small{display:block;font-size:9px;max-width:140px}.practice-button{font-size:11px;padding:11px 13px;min-height:44px}.scene-footer{font-size:9px}.scene-footer .text-button{font-size:11px}.quiz-grid{grid-template-columns:1fr;gap:16px}.quiz-card{padding:24px}.quiz-intro{min-height:0;margin-top:10px}.quiz-play{margin-bottom:16px}.quiz-feedback{min-height:22px}.progress-section{grid-template-columns:1fr;gap:25px;margin-top:42px;padding:28px 0}.progress-copy>p:not(.eyebrow){font-size:12px}.learning-counts{gap:17px;font-size:10px}.learning-counts strong{font-size:23px}.save-panel{padding:23px}.source-note{display:block;padding:29px 0}.source-note h2{font-size:19px}.source-note p{margin-top:15px}.site-footer{display:block;padding:22px 0 27px}.site-footer p{font-size:9px;margin:10px 0}.site-footer>a:last-child{font-size:10px}.source-page{margin-top:30px}.source-page h1{font-size:29px}.source-page p,.source-page li{font-size:13px}.source-page h2{font-size:19px}}
@media(prefers-color-scheme:dark){:root{--bg:#192c25;--paper:#22372e;--ink:#dfebda;--body:#d0d9cd;--muted:#a6b6a7;--line:#405247;--soft:#2d4237;--mint:#354d3d;--orange:#e5b281;--accent:#5d4d33;--error:#ecaaa0;--shadow:0 12px 36px #00000015}.primary{color:#192c25}.brand-stamp{color:#192c25}.hero-picture{background:#d6cfba;border-color:#b7b39d}.practice-button{color:#f1e5d2}.chapter-button[aria-current=true] .chapter-number{color:#192c25}.danger{color:#192c25}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.library-invite{background:var(--mint);border-radius:23px;padding:25px 30px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:25px}.library-invite h2{font-size:24px;margin:6px 0}.library-invite p{font-size:13px}@media(max-width:767px){.library-invite{align-items:flex-start;flex-direction:column;padding:23px}.site-header nav{gap:12px}.site-header nav a:first-child{font-size:10px}}
