:root{--bg:#f7f8f2;--paper:#fffefa;--green:#294b3c;--green-dark:#213f32;--text:#283e33;--muted:#7b837a;--border:#e3e6db;--orange:#e6a17b;--sage:#e8eedf;--peach:#f8e8da;--yellow:#f5efcf;--lavender:#ece7f0;--sans:Inter,"Segoe UI",Arial,sans-serif;--serif:Georgia,"Times New Roman",serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d69c68;outline-offset:4px}a{color:inherit;text-decoration:none}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}button{border:0;background:none}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-1px}h1{font-size:clamp(32px,3vw,43px);line-height:1.2}h2{font-size:29px;line-height:1.25}h3{font-size:15px;line-height:1.5}p{color:var(--muted)}.sidebar{width:235px;position:fixed;inset:0 auto 0 0;background:#f1f3ea;border-right:1px solid var(--border);padding:37px 21px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:9px;font-family:var(--serif);font-size:29px;font-weight:600;letter-spacing:-1.2px;padding-left:5px}.brand img{border-radius:12px}.brand-dot{color:#d9956b}.sidebar-label{font-size:9px;letter-spacing:2px;color:#929887;margin:49px 15px 15px;font-weight:600}.nav-item{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border-radius:8px;padding:13px 15px;font-size:13px;margin-bottom:7px;color:#747f71;transition:.18s}.nav-item.active{background:#e1e8d7;color:#294b3c;font-weight:650}.nav-item:hover{background:#e8ecdf}.new-pill{margin-left:auto;font-size:9px;color:#7d896f;background:#e4e9db;padding:1px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:35px 14px 0}.little-plant{font-family:var(--serif);font-size:28px;letter-spacing:7px;color:#7c906d;margin-bottom:11px}.sidebar-bottom p{font-family:var(--serif);color:#607158;font-size:15px}.sidebar-bottom>span{font-size:10px;color:#8c9583;display:block;margin-top:4px}.settings-link{display:flex;align-items:center;gap:10px;padding:27px 0 0;margin-top:26px;border-top:1px solid #dde2d3;font-size:11px;color:#7a8571;width:100%;text-align:left}.settings-link .icon{width:16px;height:16px}.shell{margin-left:235px}.topbar{height:92px;padding:0 4.3%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.breadcrumb{font-size:11px;color:#92978e}.breadcrumb>span{margin:0 13px;color:#c1c6b8}.breadcrumb strong{font-weight:500;color:#5e6c5a}.top-actions{display:flex;align-items:center;gap:23px}.level-pill{font-size:10px;padding:6px 11px;border-radius:20px;border:1px solid #dfe4d6;color:#738169}.avatar{width:35px;height:35px;border-radius:50%;background:#e6eadb;color:#526347;font-family:var(--serif);font-size:17px}main{max-width:1440px;margin:0 auto;padding:37px 4.3% 32px;min-height:calc(100vh - 160px)}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:20px}.eyebrow{display:block;font-size:9px;letter-spacing:1.8px;color:#90977f;font-weight:650;margin-bottom:10px}.page-heading h1{margin-bottom:12px}.page-heading p{font-size:12px}.hello-wave{font-family:var(--sans);font-weight:300;color:#d69a68;display:inline-block;margin-left:10px}.date-tag{border:1px solid var(--border);border-radius:6px;padding:8px 12px;color:#8a917e;font-size:10px;white-space:nowrap}.welcome-grid{display:grid;grid-template-columns:minmax(0,2.55fr) minmax(230px,1fr);gap:22px}.hero{position:relative;overflow:hidden;background:var(--green);border-radius:13px;display:flex;min-height:307px;color:#faf9ec}.hero-copy{padding:33px 0 32px 34px;position:relative;z-index:1;width:65%}.hero-label{font-size:8px;letter-spacing:1.6px;color:#d9dfc8;display:flex;align-items:center;gap:8px}.tiny-dot{width:5px;height:5px;background:#c5d9a8;border-radius:50%;display:inline-block}.hero h2{font-size:clamp(25px,2.4vw,35px);line-height:1.2;margin:18px 0 16px;letter-spacing:-.8px}.hero p{font-size:10.5px;line-height:1.9;color:#c5cebe}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:12px 18px;border-radius:6px;font-size:11px;font-weight:550;min-height:43px;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn .icon{width:17px;height:17px}.btn.light{background:#eff1da;color:#2b4836;margin-top:22px;gap:24px}.btn.primary{background:var(--green);color:white}.btn.primary:hover{background:#38604c}.btn.secondary{border:1px solid #dbe1d2;background:#f8f9f3;color:var(--green)}.hero-note{display:block;font-size:8px;color:#a8b89e;margin-top:10px}.hero-art{position:absolute;right:0;top:0;bottom:0;width:38%;display:flex;align-items:center;justify-content:center}.orb{position:absolute;border:1px solid #8ca77830;width:220px;height:220px;border-radius:50%}.orb-one{transform:translate(25px,10px)}.orb-two{width:310px;height:310px;transform:translate(40px,20px)}.character-card{width:153px;height:177px;background:#f5f1df;transform:rotate(8deg);border-radius:8px;box-shadow:0 14px 30px #182f2b55;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--green)}.character-card>span:first-child{font-size:10px;letter-spacing:3px;color:#889473}.character-card strong{font-family:var(--serif);font-size:58px;font-weight:400;line-height:1.5}.character-card>span:last-child{font-size:7px;color:#92947e}.art-spark{position:absolute;color:#d1d8b4;font-size:28px}.spark-one{left:6%;top:17%}.spark-two{right:9%;bottom:22%;font-size:15px}.hero-seal{position:absolute;left:15%;bottom:21%;font-family:var(--serif);font-size:23px;color:#f5e8cc;background:#d09572;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;transform:rotate(-9deg);box-shadow:0 3px 10px #21382b44}.art-caption{position:absolute;bottom:20px;font-size:6px;letter-spacing:1.5px;color:#a9ba96}.daily-card{background:#fffefa;border:1px solid var(--border);border-radius:13px;padding:22px 22px 0;text-align:center;display:flex;flex-direction:column;align-items:center}.section-kicker{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.6px;color:#818c72}.section-kicker .icon{width:16px;height:16px}.goal-ring{width:124px;height:124px;border-radius:50%;background:conic-gradient(#759364 var(--progress),#edf0e2 0);padding:7px;margin:15px 0 13px;transform:rotate(-1deg)}.goal-ring>div{border-radius:50%;background:#fffefa;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.goal-ring strong{font-family:var(--serif);font-size:31px;font-weight:400;line-height:1.2}.goal-ring small{font-size:18px;color:#a4ab95}.goal-ring span{font-size:7px;color:#90977e;margin-top:5px}.daily-card h3{font-size:11px;font-weight:600}.daily-card>p{font-size:9px;max-width:180px;margin:6px 0 16px}.goal-foot{border-top:1px solid #eaecdf;width:100%;padding:12px 0;font-size:9px;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:auto;color:#8b937c}.goal-foot .icon{color:#c38e63;width:15px;height:15px;margin-right:3px}.goal-foot strong{font-weight:600;color:#6b775b}.goal-foot>span{margin-left:auto;font-family:var(--serif);font-size:11px;color:#94a17f}.stats-strip{display:grid;grid-template-columns:1fr 1fr 1fr 1.1fr;align-items:center;border-bottom:1px solid var(--border);padding:23px 0 25px;margin-bottom:29px}.stats-strip>div{display:flex;align-items:center;gap:14px;border-right:1px solid var(--border);padding:0 24px}.stats-strip>div:first-child{padding-left:4px}.stats-strip>div:last-child{border:0;padding-right:0}.stats-strip .icon{color:#8c9b7b;width:25px;height:25px}.stats-strip strong{font-size:22px;font-weight:500;line-height:1.25;display:block}.stats-strip strong small{font-size:12px;color:#a0a58e;font-weight:400}.stats-strip>div>span>span{display:block;color:#89917f;font-size:8px;margin-top:5px}.stats-strip .stat-message{font-family:var(--serif);font-style:italic;font-size:13px;line-height:1.5;color:#939b84}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-heading .eyebrow{font-size:8px;margin-bottom:7px}.section-heading h2{font-size:25px}.text-button{display:inline-flex;align-items:center;gap:10px;padding:8px 0;font-size:10px;color:#798a65;white-space:nowrap}.text-button .icon{width:16px;height:16px}.lessons-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.lesson-card{display:flex;flex-direction:column;text-align:left;border:1px solid var(--border);background:var(--paper);border-radius:10px;padding:9px 9px 0;overflow:hidden;transition:.2s}.lesson-card:hover{transform:translateY(-3px);box-shadow:0 5px 18px #33432b0c}.lesson-art{width:100%;height:104px;border-radius:6px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.peach{background:var(--peach);color:#ad815e}.sage{background:var(--sage);color:#7c916b}.yellow{background:var(--yellow);color:#a19355}.lavender{background:var(--lavender);color:#9983a5}.lesson-art>.icon{width:38px;height:38px;position:relative;z-index:1}.art-ring{position:absolute;width:74px;height:74px;border:1px solid currentColor;opacity:.12;border-radius:50%}.art-ring:after{content:'';position:absolute;width:108px;height:108px;border:1px solid currentColor;border-radius:50%;left:-18px;top:-18px}.art-mark{font-family:var(--serif);position:absolute;right:18px;bottom:-12px;font-size:70px;opacity:.09;transform:rotate(-12deg)}.lesson-meta{font-size:8px;color:#959a89;text-transform:uppercase;letter-spacing:.8px;margin:14px 8px 6px}.lesson-meta>span{margin:0 7px}.lesson-name{font-family:var(--serif);font-size:19px;line-height:1.3;letter-spacing:-.2px;margin:0 8px 14px}.lesson-bottom{margin:0 8px;padding:10px 0 13px;border-top:1px solid #edeedf;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#91977e;width:calc(100% - 16px)}.lesson-bottom .icon{width:14px;height:14px}.bottom-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-top:24px}.conversation-banner{display:flex;align-items:center;text-align:left;gap:17px;padding:20px;border:1px solid #dfe5d3;background:#eef1e4;border-radius:9px}.xiaolin-avatar{background:#dbe3cc;width:57px;height:57px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:27px;color:#708257;position:relative}.avatar-spark{position:absolute;font-size:14px;right:-3px;top:-3px;color:#c59b69}.conversation-banner .eyebrow{font-size:7px;margin-bottom:4px}.conversation-banner strong{display:block;font-family:var(--serif);font-size:17px;font-weight:400;line-height:1.3}.conversation-banner>span>span:last-child{font-size:8px;color:#8e977d;display:block;margin-top:7px}.circle-arrow{border:1px solid #d3ddc4;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;margin-left:auto;flex-shrink:0}.circle-arrow .icon{width:14px}.word-card{border:1px solid var(--border);border-radius:9px;padding:17px 20px;background:#fbfbf4}.word-card>.eyebrow{font-size:7px}.word-card>div{display:flex;align-items:center;gap:17px}.word-card strong{font-family:var(--serif);font-size:30px;font-weight:400;letter-spacing:4px}.word-card>div>span{font-size:9px;color:#999c84;line-height:1.8}.word-card b{font-weight:400;color:#7c826c}.icon-button{display:inline-grid;place-items:center;border-radius:50%;height:34px;width:34px;flex-shrink:0}.icon-button:hover{background:#e7ecdc}.word-card .icon-button{margin-left:auto;border:1px solid #e6e9db;color:#929f7e;width:29px;height:29px}.word-card .icon{width:14px}.desktop-footer{max-width:1440px;padding:4px 4.3% 24px;margin:auto;display:flex;justify-content:space-between;font-size:8px;color:#9ba28c}.footer-dot{padding:0 11px;color:#a4b18e}.mobile-nav{display:none}.full-course{row-gap:25px}.full-course .lesson-art{height:150px}.course-banner{display:flex;align-items:center;gap:18px;background:#eaf0e2;padding:22px;border-radius:10px;margin-bottom:27px}.course-banner>div{display:flex;flex-direction:column}.course-banner strong{font-size:14px}.course-banner span{font-size:11px;color:#859275}.course-banner>span{margin-left:auto}.tip-box{display:flex;align-items:flex-start;gap:12px;padding:18px;background:#eef1e6;font-size:11px;color:#7c896e;border-radius:8px;margin-top:25px}.tip-box .icon{width:19px}.empty-panel{text-align:center;padding:75px 30px;background:var(--paper);border:1px solid var(--border);border-radius:15px}.empty-art{display:grid;place-items:center;border-radius:50%;width:80px;height:80px;margin:0 auto 22px}.empty-art .icon{width:36px;height:36px}.empty-panel h2{margin-bottom:14px}.empty-panel p{margin-bottom:24px;max-width:400px;margin-inline:auto}.review-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:15px}.review-top .icon{width:16px;margin-right:5px}progress{appearance:none;width:100%;height:5px;border:0;border-radius:6px;overflow:hidden;display:block;background:#e4e9db}progress::-webkit-progress-bar{background:#e4e9db}progress::-webkit-progress-value{background:#7d986a;border-radius:6px}progress::-moz-progress-bar{background:#7d986a}.flashcard{max-width:650px;margin:30px auto 20px;background:var(--paper);border:1px solid var(--border);padding:55px 20px;text-align:center;border-radius:16px;position:relative;min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center}.card-audio{position:absolute;top:20px;right:20px;color:#8b9976;border:1px solid var(--border)}.big-hanzi{font-family:var(--serif);font-weight:400;font-size:clamp(36px,5vw,65px);line-height:1.5;display:block;word-break:break-word}.pinyin{display:block;font-size:15px;letter-spacing:1px;color:#919b7e;margin:8px 0 25px}.flashcard h2{margin:0 0 15px}.muted{color:var(--muted);font-size:11px}.review-buttons{display:flex;justify-content:center;gap:15px}.chat-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:25px}.scenario-list>.eyebrow{font-size:8px;letter-spacing:1px;margin:7px 0 17px}.scenario{display:flex;align-items:center;gap:13px;padding:17px 13px;border:1px solid transparent;width:100%;border-radius:8px;text-align:left;margin-bottom:9px}.scenario.selected{background:#e8edde;border-color:#dce3ce}.scenario>.icon{color:#8a9c74}.scenario strong{display:block;font-size:12px;font-weight:550}.scenario small{display:block;font-size:9px;color:#8e9980;margin-top:4px}.privacy-note{margin:29px 0 17px;padding:20px 15px;border-top:1px solid var(--border)}.privacy-note>.icon{display:block;margin-bottom:9px;color:#8d9b7c}.privacy-note strong{font-size:11px;font-weight:500}.privacy-note p{font-size:10px;line-height:1.8;margin-top:8px}.scenario-list>.text-button{font-size:10px;margin-left:15px}.chat-window{border:1px solid var(--border);border-radius:12px;background:var(--paper);overflow:hidden;display:flex;flex-direction:column;height:650px;max-height:76vh;min-height:440px}.chat-header{padding:17px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px}.xiaolin-avatar.small{width:39px;height:39px;font-size:20px}.chat-header strong{font-size:13px;font-weight:550}.chat-header strong>span{font-size:10px;color:#9aa38c;margin-left:6px}.chat-header small{font-size:9px;color:#8c987b;display:block;margin-top:1px}.chat-header>.icon-button{margin-left:auto;color:#98a18a}.chat-header .icon{width:18px}.chat-messages{overflow-y:auto;flex:1;padding:20px 24px;scroll-behavior:smooth;min-height:0;overscroll-behavior:contain}.chat-date{text-align:center;font-size:7px;letter-spacing:1.5px;color:#a5aa98;margin:0 0 24px}.message{border-radius:10px;max-width:92%;padding:14px 16px;margin-bottom:17px;background:#f0f3e8;width:fit-content;font-size:13px}.message.user{margin-left:auto;background:#e0e9d8}.message-name{font-size:8px;color:#8a987a;display:block;margin-bottom:7px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.welcome-line{display:block}.line-0{font-size:18px;letter-spacing:1px}.line-1{font-size:10px;color:#98a187}.line-2{font-size:11px;color:#69795b;margin-top:6px}.message-audio{padding:4px 0;color:#9baa88;margin-top:5px}.message-audio .icon{width:15px;height:15px}.chat-bottom{padding:14px 18px 10px;border-top:1px solid var(--border)}.suggestions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.suggestions>button{font-size:9px;padding:6px 10px;border:1px solid #e0e6d7;border-radius:20px;color:#879674}.suggestions>button:hover{background:#f0f3e8}#chat-form{display:flex;align-items:center;background:#f5f6ef;border:1px solid var(--border);border-radius:8px;padding:8px 9px 8px 13px;gap:8px}#chat-input{resize:none;background:transparent;border:0;outline:none;font-size:12px;flex:1;min-width:0;color:var(--green);line-height:1.7;max-height:100px}#chat-input::placeholder{color:#a3aa96}.send-button{display:grid;place-items:center;background:var(--green);color:#eef2e5;border-radius:6px;width:35px;height:35px;flex-shrink:0}.send-button>.icon{width:16px}.chat-disclaimer{text-align:center;display:flex;align-items:center;justify-content:center;gap:5px;color:#a0a58f;font-size:7px;margin-top:9px}.chat-disclaimer .icon{width:11px;height:11px}.progress-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.progress-stats>div{display:flex;align-items:center;gap:18px;background:var(--paper);border:1px solid var(--border);border-radius:10px;padding:25px;flex-wrap:wrap}.progress-stats .icon{color:#9daa86}.progress-stats strong{font-family:var(--serif);font-size:32px;font-weight:400}.progress-stats span{color:#919981;font-size:11px}.activity-panel,.course-progress{border:1px solid var(--border);background:var(--paper);border-radius:10px;padding:27px;margin-bottom:25px}.bar-chart{display:flex;gap:14px;height:200px;margin-top:30px}.bar-column{flex:1;display:flex;flex-direction:column;text-align:center;gap:10px;min-width:0}.bar-column>span{font-size:9px;color:#929c81}.bar-track{flex:1;display:flex;align-items:flex-end;border-radius:5px;background:#f4f5ee;overflow:hidden}.bar{background:#9caf82;width:100%;border-radius:5px;min-height:2px}.course-progress h2{font-size:24px;margin-bottom:17px}.course-progress>div{display:flex;align-items:center;gap:15px;padding:14px 0;border-top:1px solid var(--border);font-size:12px}.course-progress>div>.icon{color:#98a782;width:18px}.course-progress>div>.muted{margin-left:auto}.course-progress .text-button{margin-left:20px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.settings-card{background:var(--paper);border:1px solid var(--border);border-radius:12px;padding:27px}.settings-symbol{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;margin-bottom:18px}.settings-card h2{font-size:25px;margin-bottom:15px}.settings-card>p{font-size:12px;margin:15px 0;line-height:1.9}.connection-state{color:#b4865f;font-size:11px;margin-top:9px}.connection-state.online{color:#7e9668}.settings-card form{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}.settings-card label{font-size:11px;font-weight:550}.settings-card input:not([type=file]),.settings-card select{border:1px solid var(--border);padding:12px;background:#f9faf4;color:#67755d;border-radius:6px;width:100%;font-size:12px}.settings-card small{font-size:10px;color:#a0a78f;line-height:1.9}.settings-card code{font-size:10px}.settings-card .tip-box{font-size:10px}.import-label{display:flex;flex-direction:column;margin-top:15px;gap:10px;color:#7b8b6b}.import-label input{font-size:10px;max-width:100%}dialog{border:1px solid var(--border);color:var(--green);background:var(--paper);border-radius:17px;padding:28px;width:min(620px,94vw);max-height:92dvh;box-shadow:0 20px 120px #18312330}dialog::backdrop{background:#1e332d80;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-header .eyebrow{margin:0}.lesson-content{text-align:center;padding:28px 10px 12px;display:flex;flex-direction:column;align-items:center}.lesson-content>h2{font-size:24px;margin:13px 0 20px}.lesson-content .big-hanzi{font-size:clamp(28px,6vw,55px)}.lesson-content .pinyin{font-size:13px;margin-bottom:10px}.audio-btn{color:#93a17f;font-size:10px}.translation{font-family:var(--serif);font-size:25px;font-weight:400;margin:15px 0 28px}.quiz-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin-top:15px}.quiz-option{border:1px solid var(--border);border-radius:7px;padding:15px;font-size:12px;min-height:60px}.quiz-option:hover:not(:disabled){background:#eff3e6}.quiz-option.correct{border-color:#9bb48a;background:#e7eedb;opacity:1}.answer-feedback{font-size:12px;min-height:25px;margin:15px 0;color:#7e946b}.lesson-success{text-align:center;padding:35px 20px;display:flex;flex-direction:column;align-items:center}.lesson-success h2{font-size:34px;margin:8px 0 20px}.lesson-success p{font-size:13px;line-height:1.9}.xp-badge{display:block;border-radius:20px;background:#eff2de;color:#8b9b61;padding:9px 20px;margin:24px 0;font-weight:600}.dialog-close{position:absolute;right:15px;top:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#294b3c;color:#fffef3;padding:14px 22px;box-shadow:0 6px 30px #24392d30;border-radius:9px;font-size:12px;opacity:0;transition:.2s;z-index:1000;pointer-events:none;max-width:calc(100vw - 35px);width:max-content}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){main{padding-top:45px}.hero{min-height:350px}.hero-copy{padding:40px}.hero h2{font-size:39px}.hero p{font-size:12px}.hero-label{font-size:10px}.character-card{width:175px;height:205px}.hero-note{font-size:10px}.lesson-art{height:135px}.lesson-name{font-size:22px}.lesson-meta,.lesson-bottom{font-size:10px}.goal-ring{width:150px;height:150px}.daily-card h3{font-size:14px}.daily-card>p{font-size:11px}.stats-strip{padding:30px 0}.stats-strip>div>span>span{font-size:10px}.bottom-grid{margin-top:30px}.conversation-banner strong{font-size:20px}.conversation-banner>span>span:last-child{font-size:10px}.word-card{padding:22px}.word-card strong{font-size:36px}}
@media(max-width:1150px){.sidebar{width:195px;padding-inline:14px}.brand{font-size:25px;gap:7px}.brand img{width:32px;height:32px}.shell{margin-left:195px}.sidebar-bottom{padding-inline:10px}.nav-item{font-size:11px;gap:10px}.hero-copy{padding:26px 0 26px 25px}.hero h2{font-size:28px}.hero-art{width:34%}.character-card{width:120px;height:155px}.character-card strong{font-size:45px}.character-card>span:last-child{font-size:6px}.hero-label{font-size:7px}.welcome-grid{gap:15px;grid-template-columns:minmax(0,2.1fr) minmax(190px,1fr)}.hero p{font-size:9px}.hero .btn{font-size:10px;gap:14px}.daily-card{padding:20px 15px 0}.stats-strip>div{padding-inline:16px;gap:10px}.stats-strip .stat-message{font-size:11px}.bottom-grid{grid-template-columns:1.5fr 1fr;gap:15px}.conversation-banner{padding:18px 14px;gap:10px}.conversation-banner strong{font-size:15px}.xiaolin-avatar{width:42px;height:42px;font-size:23px}.conversation-banner .circle-arrow{display:none}.word-card{padding:15px}.word-card>div{gap:9px}.word-card strong{font-size:25px;letter-spacing:2px}.chat-layout{grid-template-columns:205px minmax(0,1fr);gap:15px}.page-heading .date-tag{display:none}.lesson-name{font-size:17px}.settings-card{padding:22px}.progress-stats>div{padding:18px;gap:12px}}
@media(max-width:850px){.sidebar{width:77px;padding:25px 10px}.sidebar .brand{padding:0;justify-content:center}.sidebar .brand>span,.sidebar-label,.nav-item>span,.sidebar-bottom{display:none}.sidebar nav{margin-top:45px}.sidebar .nav-item{padding:15px;justify-content:center}.shell{margin-left:77px}.topbar{height:73px}.hero h2{font-size:29px}.chat-layout{grid-template-columns:1fr}.scenario-list{display:flex;gap:8px;flex-wrap:wrap}.scenario-list>.eyebrow,.privacy-note,.scenario-list>.text-button{display:none}.scenario{width:auto;flex:1;padding:12px 10px;margin:0;gap:8px}.scenario small{display:none}.scenario strong{font-size:10px}.chat-window{max-height:none;height:630px}.settings-grid{gap:15px}.progress-stats span{font-size:9px}.progress-stats strong{font-size:26px}}
@media(max-width:600px){body{font-size:13px}.sidebar{display:none}.shell{margin-left:0}.topbar{padding:0 22px;height:66px}.breadcrumb{font-size:10px}.breadcrumb>span{margin:0 7px}.level-pill{font-size:8px;padding:5px 9px}.top-actions{gap:12px}.avatar{width:29px;height:29px;font-size:14px}main{padding:28px 20px 105px;min-height:calc(100dvh - 66px)}.page-heading{margin-bottom:23px}.page-heading h1{font-size:32px;letter-spacing:-1px;margin-bottom:12px}.page-heading p{font-size:11px;max-width:310px;line-height:1.8}.eyebrow{font-size:8px;letter-spacing:1.6px}.hello-wave{font-size:27px;margin-left:5px}.welcome-grid{grid-template-columns:1fr;gap:17px}.hero{min-height:313px}.hero-copy{padding:26px 0 25px 23px;width:76%}.hero h2{font-size:29px;line-height:1.25;max-width:255px}.hero p{max-width:230px;font-size:10px;padding-right:5px}.hero-label{font-size:6.5px;letter-spacing:1px}.hero .btn{font-size:10px;margin-top:24px;gap:15px}.hero-art{width:28%;right:-16px;opacity:.9;align-items:flex-end;padding-bottom:50px}.character-card{width:96px;height:125px;transform:rotate(12deg) translateX(12px);z-index:0}.character-card strong{font-size:36px}.character-card>span:first-child{font-size:7px}.character-card>span:last-child{display:none}.art-spark.spark-one{left:12%;top:17%;font-size:22px}.art-spark.spark-two{right:10%;bottom:13%;font-size:13px}.hero-seal{bottom:13%;left:6%;width:30px;height:30px;font-size:16px}.art-caption{display:none}.orb-one{width:180px;height:180px;bottom:32px}.orb-two{width:250px;height:250px;bottom:20px}.hero-note{font-size:7px}.daily-card{display:grid;grid-template-columns:80px 1fr;text-align:left;gap:0 15px;padding:15px 18px}.section-kicker{grid-column:2;grid-row:1;font-size:7px}.goal-ring{grid-column:1;grid-row:1/5;width:76px;height:76px;padding:5px;margin:0}.goal-ring strong{font-size:23px}.goal-ring small{font-size:12px}.goal-ring span{font-size:5px}.daily-card h3{grid-column:2;grid-row:2;font-size:11px;margin-top:6px}.daily-card>p{display:none}.goal-foot{grid-column:2;grid-row:3;padding:8px 0 0;margin-top:7px;font-size:8px}.goal-foot>span{font-size:10px}.stats-strip{padding:23px 0;grid-template-columns:repeat(3,1fr);margin-bottom:25px}.stats-strip>div{padding-inline:10px;gap:8px;flex-direction:column;align-items:flex-start}.stats-strip>div:first-child{padding-left:4px}.stats-strip>div:nth-child(3){border:0}.stats-strip .icon{width:19px;height:19px}.stats-strip strong{font-size:22px}.stats-strip strong small{font-size:11px}.stats-strip>div>span>span{font-size:7px;letter-spacing:-.1px}.stats-strip .stat-message{display:none}.section-heading h2{font-size:23px}.section-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.text-button{font-size:9px;gap:5px}.text-button .icon{width:14px}.lessons-grid{grid-template-columns:1fr;gap:13px}.lesson-card{display:grid;grid-template-columns:83px 1fr;padding:10px;gap:0 15px;border-radius:9px;position:relative}.lesson-art{grid-column:1;grid-row:1/4;height:100%;min-height:95px;border-radius:5px}.lesson-art>.icon{width:29px;height:29px}.art-ring{width:55px;height:55px}.art-ring:after{width:83px;height:83px;left:-15px;top:-15px}.art-mark{right:0;font-size:50px}.lesson-meta{grid-column:2;margin:2px 0 6px;font-size:7px;letter-spacing:.7px}.lesson-name{grid-column:2;margin:0 0 10px;font-size:19px}.lesson-bottom{grid-column:2;margin:0;padding:8px 0 0;font-size:8px;width:100%}.bottom-grid{grid-template-columns:1fr;gap:15px;margin-top:23px}.conversation-banner{padding:20px 17px;gap:14px}.conversation-banner strong{font-size:17px}.conversation-banner .circle-arrow{display:grid}.conversation-banner>span>span:last-child{font-size:8px}.word-card{padding:16px 20px}.word-card strong{font-size:29px;letter-spacing:4px}.word-card>div{gap:20px}.word-card>div>span{font-size:10px}.desktop-footer{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#f9faf4f5;backdrop-filter:blur(12px);border-top:1px solid #e3e7da;padding:9px 8px calc(9px + env(safe-area-inset-bottom));z-index:20;justify-content:space-between}.mobile-nav .nav-item{flex-direction:column;width:auto;flex:1;gap:5px;font-size:8px;text-align:center;padding:6px 0;margin:0;border-radius:7px;color:#98a28c}.mobile-nav .nav-item>span{display:block}.mobile-nav .nav-item.active{color:#496444;background:#e9eedd}.mobile-nav .nav-item>.new-pill{display:none}.mobile-nav .nav-item .icon{width:20px;height:20px}#toast{bottom:100px;font-size:11px;padding:13px 17px}.full-course .lesson-art{height:100%}.course-banner{padding:16px;gap:12px}.course-banner .icon{width:20px}.course-banner strong{font-size:12px}.course-banner span{font-size:8px;max-width:200px}.course-banner>span{min-width:42px;align-self:flex-start}.tip-box{font-size:10px;padding:16px;margin-top:20px}.empty-panel{padding:45px 20px}.empty-panel h2{font-size:25px}.empty-panel p{font-size:11px}.review-top{font-size:9px}.flashcard{padding:45px 17px;min-height:330px}.flashcard .eyebrow{font-size:7px}.big-hanzi{font-size:45px}.flashcard .pinyin{font-size:12px}.flashcard h2{font-size:27px}.review-buttons{gap:10px}.review-buttons .btn{font-size:10px;padding-inline:13px}.chat-layout{gap:13px}.scenario-list{gap:6px;flex-wrap:nowrap}.scenario{flex-direction:column;text-align:center;padding:11px 5px;gap:7px;background:#f0f2e9;border:1px solid var(--border)}.scenario .icon{width:20px;height:20px}.scenario strong{font-size:8px}.chat-window{height:calc(100dvh - 330px);min-height:420px;border-radius:10px}.chat-header{padding:13px 14px}.chat-header small{font-size:8px}.chat-messages{padding:17px 13px}.message{max-width:96%;font-size:12px;padding:11px 13px}.line-0{font-size:16px}.line-1{font-size:9px}.line-2{font-size:10px}.chat-bottom{padding:12px 10px 9px}.suggestions{gap:5px;margin-bottom:10px}.suggestions>button{font-size:8px;padding:5px 8px}#chat-input{font-size:11px}.chat-disclaimer{font-size:6px}.settings-grid{grid-template-columns:1fr;gap:16px}.settings-card{padding:23px}.settings-card h2{font-size:26px}.settings-card>p{font-size:11px}.progress-stats{gap:9px}.progress-stats>div{padding:17px 10px;flex-direction:column;gap:8px;text-align:center}.progress-stats strong{font-size:29px}.progress-stats span{font-size:7px}.activity-panel,.course-progress{padding:20px 15px}.activity-panel .section-heading h2{font-size:22px}.activity-panel .muted{font-size:8px}.bar-chart{gap:6px;height:150px}.bar-column>span{font-size:7px}.course-progress h2{font-size:23px}.course-progress>div{flex-wrap:wrap;gap:8px;font-size:11px}.course-progress>div>.muted{font-size:9px}.course-progress .text-button{margin-left:auto;font-size:9px}.course-progress>div>.icon{width:15px}dialog{padding:21px 18px}.lesson-content{padding:23px 2px 10px}.lesson-content>h2{font-size:24px}.lesson-content .big-hanzi{font-size:35px}.lesson-content .pinyin{font-size:12px}.quiz-choices{gap:8px}.quiz-option{padding:12px 8px;font-size:11px}.lesson-success{padding:30px 0 10px}.lesson-success h2{font-size:29px}.lesson-success p{font-size:12px}.desktop-only{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
