:root{--muted:#6e677c}html{scroll-behavior:smooth}body{overflow-wrap:break-word}button,a.button{min-height:44px}button.close,.avatar{min-width:44px;min-height:44px}input,select,textarea{max-width:100%;min-height:44px}img,video,audio{max-width:100%}main,.shell,.card,.grid>*,.section-head>*{min-width:0}.tag{color:#665097}progress{accent-color:#7659c8;width:100%;height:9px;border:0;border-radius:10px;overflow:hidden}progress::-webkit-progress-bar{background:#ebe5f3}progress::-webkit-progress-value{background:#7659c8}.actions{flex-wrap:wrap}.section-head{gap:16px;flex-wrap:wrap}.sentence-pinyin{color:#7153a1;font-size:16px;line-height:1.7}.storage-hint{font-size:13px;color:#6e677c;margin:18px 0}.answer-feedback{font-size:15px;line-height:1.8;background:#f2edf9;padding:14px;border-radius:12px;min-height:52px}.answer-feedback:empty{display:none}.answers button{white-space:normal;line-height:1.5}.answers .correct{border:2px solid #247047;background:#e7f5eb;color:#185634;opacity:1}.answers .wrong{border:2px solid #ad443c;background:#fff0ed;color:#853029;opacity:1}.welcome main{max-width:1320px;padding:0 48px}.welcome .landing-nav{height:92px}.welcome-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center;padding:48px 0 64px}.welcome-hero h1{font-size:clamp(36px,4.7vw,64px);line-height:1.15;letter-spacing:-2px;margin:20px 0 24px}.welcome-hero h1 em{color:#7659c8;font-style:normal}.welcome-hero>div>p{font-size:17px;line-height:1.9;max-width:590px}.welcome-hero .welcome-reassurance{font-size:12px;color:#6e677c;margin-top:18px}.landing-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.landing-actions button{padding:16px 20px;font-size:15px;line-height:1.5}.landing-actions a{font-size:14px;text-decoration:underline;text-underline-offset:5px;padding:10px 0}.hero-live-card{border:1px solid #e2d9f1;box-shadow:0 20px 55px #543b9310;background:white;border-radius:28px;padding:30px;text-align:center}.hero-live-card h2{font-size:76px;letter-spacing:5px;margin:20px 0 0;line-height:1.25}.hero-pinyin{font-size:21px!important;color:#7659c8;margin:12px 0 20px!important}.hero-live-card>p{font-size:15px!important}.hero-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}.hero-choices button{font-size:13px;padding:12px 7px}.welcome-section{padding:35px 0}.welcome-section h2{font-size:30px}.welcome-tracks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.welcome-track{display:flex;flex-direction:column;padding:26px}.welcome-track p{font-size:14px;line-height:1.7}.welcome-track h3{font-size:22px;margin:20px 0 10px}.welcome-track .muted{flex:1}.welcome-track small{display:block;margin:14px 0;color:#6e677c}.welcome-track .button{display:flex;align-items:center;justify-content:center;font-size:13px;margin-top:7px}.route-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#eee8fa;color:#7659c8}.route-icon svg{width:27px;height:27px}.work .route-icon{background:#e6f3ee;color:#247e70}.certificate .route-icon{background:#fff1dc;color:#9b661c}.start-picker{padding:28px;background:#f4f0fa;margin:24px 0}.start-picker h2{font-size:25px;margin-top:14px}.picker-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0 0}.picker-fields .field{min-width:0}.picker-fields select{width:100%;background:white}.start-picker .muted{font-size:13px}.start-picker .actions{justify-content:flex-start}.method-section{border-top:1px solid #e8e2f0;border-bottom:1px solid #e8e2f0}.method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:28px 0 12px}.method-grid b{font-size:18px;color:#665097}.method-grid p{font-size:14px;color:#6e677c}.welcome .faq{max-width:none}.welcome .faq details{padding:18px 0}.faq summary{min-height:44px;cursor:pointer;display:flex;align-items:center}.faq a{color:#6552c7;text-decoration:underline}.lesson-progress{display:flex;flex-direction:column;gap:7px;margin:18px 0 28px}.lesson-progress span{font-size:12px;color:#6e677c}.trial-phrase{text-align:center;padding:24px;background:#f7f3fc;border-radius:20px;margin:20px 0}.trial-phrase h2{font-size:42px;margin:0}.trial-phrase>p{font-size:19px;color:#7153a1}.trial-phrase .muted{font-size:12px}.trial-meaning{text-align:center;font-size:20px}.trial-summary>div{padding:18px;border:1px solid #e5ddf0;border-radius:14px;margin:13px 0}.trial-summary strong{font-size:20px}.trial-summary p{font-size:14px;color:#6e677c}.result-score{font-size:27px;color:#6552c7;font-weight:700;margin:20px 0}.lesson-objective{background:#f4effa;padding:24px;border-radius:18px;margin:20px 0}.lesson-objective h2{margin:14px 0}.lesson-word-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lesson-word{display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:start;border:1px solid #e7dff1;border-radius:16px;padding:20px}.lesson-word h3{font-size:28px;margin:0}.lesson-word>.word-example,.lesson-word>.word-context-hint{grid-column:1/-1}.lesson-word p{font-size:14px}.sentence-card{border:1px solid #e7dff1;border-radius:16px;padding:22px;margin:16px 0}.sentence-card h3{font-size:25px;line-height:1.7}.sentence-card p{line-height:1.8}.word-example{font-size:13px;margin:15px 0;padding-top:12px;border-top:1px solid #eee8f5;text-align:left}.word-example summary{color:#7153a1;cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650}.word-example p{font-size:13px;line-height:1.8}.word-example p[lang=zh-CN]{font-size:21px;color:#27223e}.word-context-hint{font-size:12px;line-height:1.7}.today-hero{display:grid;grid-template-columns:1.3fr .8fr;gap:30px;background:#2d254a;color:white;padding:32px;border-radius:24px;margin:25px 0}.today-hero h2{color:white;font-size:32px;line-height:1.4;margin:17px 0}.today-hero p{color:#e2dcef;margin:15px 0 22px}.today-hero>div>button{background:#ffc5ad;color:#492f3b}.today-goal{display:flex;flex-direction:column;justify-content:center;gap:10px;background:#ffffff0c;padding:22px;border-radius:18px}.today-goal strong{font-size:34px}.today-goal span,.today-goal label{font-size:14px}.today-goal small{font-size:11px;color:#e2dcef}.today-goal select{background:#fff;color:#27223e;border-radius:9px;padding:8px;margin-left:8px}.today-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.today-grid h2{margin:18px 0;font-size:26px}.today-next{margin-top:22px}.start-preferences>summary{padding:12px 0;cursor:pointer}.review-error{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 0;border-top:1px solid #e9e2f2}.review-error strong{font-size:19px}.review-error small{display:block;color:#6e677c}.review-errors{margin:20px 0}.review-focus{max-width:720px;margin:22px auto}.review-focus .answers{grid-template-columns:repeat(2,minmax(0,1fr))}.review-focus .word-example{max-width:520px;margin:15px auto}.library-mode{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin:24px 0}.library-mode>span:nth-child(2){border-bottom:3px solid #7659c8;padding:10px 6px;font-weight:700}.word-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.word-library-card{background:white;border:1px solid #e7dff1;border-radius:18px;overflow:hidden;min-width:0}.word-library-card figure{margin:0;height:170px;background:#f8f6f0;text-align:center}.word-library-card figure img{width:100%;height:100%;object-fit:contain}.word-library-body{padding:21px}.word-library-body .tag{font-size:10px;line-height:1.6;background:none;padding:0}.word-library-body h2{font-size:31px;margin:14px 0 4px;line-height:1.35}.word-library-body h3{font-size:17px;margin-bottom:15px}.word-library-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.word-library-actions button{font-size:12px;padding:10px}.word-library-actions .text-link{background:none;border:0}.word-library-body>.secondary{font-size:12px;padding:10px 18px}.vocabulary-results{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.vocabulary-results button{font-size:12px}.learning-course{padding:0;overflow:hidden}.learning-course .syllabus-row{height:100%;border:0}.syllabus-row small{font-size:12px;line-height:1.7}.access-summary,.unlock-benefits{margin-top:22px}.access-summary h2{margin-top:16px}.unlock-benefits ul,.unlock-benefits ol{padding-left:22px}.unlock-benefits li{margin:10px 0}.nav-group-label{display:block;color:#756c83;font-size:10px;letter-spacing:1px;padding:17px 10px 6px;font-weight:750}.mobile-primary{display:none}body>aside .aside-bottom{padding-top:15px}#word-library-list,#track-vocab-results{scroll-margin-top:90px}
@media(min-width:801px) and (max-width:1100px){body>aside{width:210px;padding:24px 15px}.shell{margin-left:210px}main{padding:28px 24px}.word-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.today-hero{grid-template-columns:1fr}.welcome main{padding:0 30px}.welcome-hero{gap:30px}.welcome-tracks{gap:14px}.welcome-track{padding:20px}}
@media(max-width:800px){body>aside{height:auto;min-height:64px;position:sticky;top:0;width:100%;padding:12px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;overflow:visible;z-index:30;background:white;border-right:0}body>aside .brand{margin:0}.mobile-menu-toggle{display:inline-flex;min-height:44px;align-items:center}.aside-bottom{display:none}body>aside #learner-navigation{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 150px);overflow:auto;padding:12px 18px 20px;background:white;border-bottom:1px solid #e7dff1;box-shadow:0 18px 24px #2d254a16}body>aside.menu-open #learner-navigation{display:grid}.shell{margin-left:0;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.shell header{position:static;height:auto;min-height:54px;padding:12px 18px;gap:10px}.shell header .chip{display:none}main{padding:24px 18px}header .sync-badge{display:none}.mobile-primary{position:fixed;z-index:35;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;background:#fffffff5;backdrop-filter:blur(8px);border-top:1px solid #e7dff1;padding:7px 6px calc(7px + env(safe-area-inset-bottom))}.mobile-primary a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:7px 2px;min-width:0;min-height:56px;font-size:11px;border-radius:10px;color:#6e677c;line-height:1.3;white-space:nowrap}.mobile-primary svg{width:21px;height:21px}.mobile-primary .nav-icon{height:22px}.mobile-primary .active{color:#6552c7;background:#f0eafa}.welcome .mobile-primary{display:none}.welcome .shell{padding-bottom:0}.welcome main{padding:0 22px}.welcome .landing-nav{height:80px;gap:14px}.landing-links{gap:10px}.landing-links>a{font-size:12px}.landing-links .button{padding:10px 12px}.welcome-hero{grid-template-columns:1fr;gap:30px;padding:28px 0 30px}.welcome-hero h1{font-size:44px;letter-spacing:-1.5px}.welcome-hero>div>p{font-size:16px}.hero-live-card{max-width:550px;width:100%;justify-self:center;padding:25px}.welcome-section{padding:24px 0}.welcome-section h2{font-size:26px}.welcome-tracks,.method-grid{grid-template-columns:1fr}.welcome-track{padding:24px}.welcome-track .muted{min-height:0}.picker-fields{grid-template-columns:1fr;gap:0}.start-picker{padding:22px}.start-picker .actions{align-items:stretch}.today-hero{grid-template-columns:1fr;padding:24px}.today-hero h2{font-size:28px}.today-grid{grid-template-columns:1fr}.word-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.lesson-word-list{grid-template-columns:1fr}.lesson-word{padding:17px}.lesson-word h3{font-size:27px}.trial-phrase h2{font-size:36px}.trial-phrase{padding:20px 15px}dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:22px}dialog::backdrop{background:#21163180}.lesson-progress{margin-bottom:20px}.review-error{align-items:flex-start;flex-wrap:wrap}.vocabulary-access-summary h2{font-size:21px}.syllabus-row{grid-template-columns:24px minmax(0,1fr) 20px;padding:18px 14px;gap:10px}.track-metrics{padding:18px 8px}.track-hero{padding:24px}.track-hero .actions{align-items:stretch}.searchbar{flex-wrap:wrap}.searchbar input,.searchbar select{width:100%;max-width:100%!important}.shell footer{padding:25px 18px}.plan-grid{grid-template-columns:1fr}}
@media(max-width:480px){.welcome main{padding:0 18px}.brand small{display:none}.welcome .brand span{font-size:25px}.welcome-hero h1{font-size:38px}.landing-actions{align-items:stretch}.landing-actions button{width:100%;font-size:14px}.hero-live-card h2{font-size:65px}.word-library-grid{grid-template-columns:1fr}.word-library-card figure{height:150px}.word-library-body{padding:20px}.review-focus .answers{grid-template-columns:1fr}.trial-summary strong{font-size:18px}.today-goal strong{font-size:30px}.actions>button,.actions>a.button{flex:1 1 auto}.answers button{padding:14px}.track-vocab-card .word-example{margin-top:6px}.section-head .pill{white-space:normal}.top{gap:10px}.top .tag{font-size:10px;max-width:calc(100% - 54px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

@media(max-width:800px){input,select,textarea{font-size:16px}}
.sentence-translation{color:#302841;line-height:1.7}.sentence-translation small{display:block;font-size:12px;font-weight:650;color:#746a81;margin-bottom:3px}.lesson-knowledge{border-left:3px solid var(--purple,#6851c8);padding:5px 18px;background:#f7f3fc;border-radius:0 12px 12px 0;margin:24px 0}.lesson-knowledge p{line-height:1.9}.lesson-extension,.translation-practice{margin-top:32px}.translation-practice .tag{white-space:normal}.translation-answer{margin-top:15px;border-top:1px solid #e7dff1;padding-top:7px}.translation-answer summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650;color:#6045aa}.translation-answer summary::before{content:'＋';margin-right:8px}.translation-answer[open] summary::before{content:'−'}.quiz-translation{margin:12px 0 20px;padding:12px 18px;border-left:3px solid #b6a4dd;background:#faf7ff;border-radius:0 10px 10px 0}
.voice-settings{margin:20px 0;padding:18px 22px;min-width:0}.voice-settings summary{cursor:pointer;min-height:44px;align-content:center;font-weight:700;color:#6045aa}.speech-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;margin-top:16px}.speech-fields select{width:100%;max-width:100%;min-width:0}.speech-selected{overflow-wrap:anywhere;font-size:13px}.speech-sample{font-size:23px;line-height:1.8}.voice-settings small{display:block;line-height:1.7}.voice-settings .actions{flex-wrap:wrap}@media(max-width:600px){.speech-fields{grid-template-columns:1fr;gap:0}.voice-settings{padding:14px 18px}.speech-sample{font-size:21px}}

/* Free trial CTA shares Hanyu's violet and peach palette. */
.trial-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;max-width:100%}
.trial-free-badge{display:inline-flex;align-items:center;gap:5px;flex:none;background:#fff0dd;color:#573776;border:1px solid #ffe0b5;border-radius:8px;padding:5px 7px;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.7px;box-shadow:0 2px 5px #30204612}
.trial-free-badge svg{display:block;flex:none;width:15px;height:15px}
.vocabulary-level{display:inline-block;margin:8px 0 3px;padding:4px 8px;border-radius:7px;font-size:11px;font-weight:650;color:#55426f;background:#f0eafa}
.vocabulary-level.level-1,.vocabulary-level.level-2{color:#256652;background:#e8f5ef}
.vocabulary-level.level-5,.vocabulary-level.level-6{color:#85561c;background:#fff2df}
.vocabulary-controls-expanded{grid-template-columns:minmax(200px,2fr) repeat(2,minmax(130px,1fr))}
.vocabulary-page-jump{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px}
.vocabulary-page-jump select{width:auto;min-height:44px;max-width:125px}
.dictionary-entry-note{font-size:12px;color:#655d75;margin:12px 0}
.dictionary-entry-note a,.vocabulary-sources a{color:#6552c7;text-decoration:underline;text-underline-offset:3px}
.vocabulary-sources{margin:24px 0;font-size:13px;color:#625a73}
.vocabulary-sources summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:650}
@media(max-width:800px){.vocabulary-controls-expanded{grid-template-columns:minmax(0,1fr)}.vocabulary-page-jump{gap:4px}.vocabulary-page-jump select{max-width:100px}}
@media(max-width:430px){.trial-cta{gap:9px}.trial-free-badge{font-size:9px;padding:5px 6px;letter-spacing:.5px}}
