.account-status{padding:12px 14px;background:#edf2e4;border-radius:8px;overflow-wrap:anywhere}.account-email{overflow-wrap:anywhere}.account-conflict{margin-top:18px;padding:16px;border:1px solid #c7a77a;border-radius:9px;background:#fff6e8}#account-panel .actions,#account-dialog .actions{flex-wrap:wrap}#account-dialog input{width:100%;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink)}#account-panel button:disabled,#account-dialog button:disabled{opacity:.55;cursor:wait}#account-indicator{white-space:nowrap}#account-dialog{width:min(460px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:26px}#account-dialog-content>p,#account-dialog-content>.actions{margin-top:16px}#account-dialog .field{margin-top:18px}#account-dialog .field small{display:block;color:var(--muted);margin-top:5px}#account-dialog .account-submit{width:100%;margin-top:20px}.account-tabs{display:flex;gap:8px;margin-top:20px}.account-tabs>.btn{flex:1}.account-links{justify-content:center}#account-dialog .account-status{font-size:13px}#analytics-disabled{accent-color:var(--green)}@media(max-width:450px){.topbar-right #today-date{display:none}#account-dialog{padding:22px 20px}#account-dialog input{font-size:16px}}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/font-6.ttf) format('truetype');
}
:root{--bg:#f8f7f2;--paper:#fffefa;--ink:#243d35;--muted:#66736a;--line:#e3e5dc;--green:#234e40;--orange:#ba4e2b;--orange-pale:#fae4d5;--blue:#dfeaf8;--blue-ink:#285585;--mint:#e0eddf;--mint-ink:#355c37;--purple:#ede5f7;--purple-ink:#6b458b;--yellow:#f8efcf;--red:#ad3e33;--serif:'Lora',Georgia,serif;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.65 var(--sans)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button{color:inherit}::selection{background:#efcd7e;color:#193b2e}:focus-visible{outline:3px solid #c76a3b;outline-offset:4px}::-webkit-scrollbar{width:7px;height:5px}::-webkit-scrollbar-thumb{background:#b3c0b0;border-radius:10px}input,textarea{caret-color:var(--orange)}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35;text-wrap:balance}h1{font-size:32px;font-weight:650;letter-spacing:-.025em}h2{font-size:22px;font-weight:650}h3{font-size:17px;font-weight:650}small{font-size:12px}svg{vertical-align:middle;flex-shrink:0}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;left:20px;top:-70px;z-index:50;background:white;padding:12px}.skip:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#173f35;color:#e4eee4;padding:34px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center;font-size:28px;letter-spacing:3px;font-weight:600;line-height:1.15}.brand:hover{text-decoration:none}.brand small{display:block;font-size:11px;letter-spacing:1.2px;font-weight:400;margin-top:8px;color:#c5ddce}.side-intro{font-size:12px;color:#bbd8c5;margin:25px 0 30px 5px}.sidebar nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;font-size:14px;color:#cadbd0;min-height:47px}.nav-link:hover{background:#235044;text-decoration:none}.nav-link.active{background:#e5edda;color:#234b39;font-weight:650}.nav-count{font-size:11px;margin-left:auto;padding:0 7px;background:#c9ddc0;border-radius:10px}.side-bottom{margin-top:auto;padding-top:35px}.side-note{padding:20px 12px;border-top:1px solid #3a5b4c}.side-note strong{display:block;font-size:14px;font-weight:500;margin:16px 0 5px}.side-note p{font-size:12px;line-height:1.9;color:#bbd8c5}.little-sun{display:block;width:26px;height:26px;background:#edbd63;border-radius:50%;outline:6px solid #edbd6314}.local-note{display:block;font-size:11px;color:#bbd8c5;margin-top:20px;text-align:center}.workspace{margin-left:230px}.topbar{height:83px;margin:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}.topbar-right{display:flex;gap:22px;align-items:center}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e5eada;color:#3e5a43;font-size:14px}main{max-width:1320px;margin:auto;padding:32px 44px 50px;min-height:calc(100vh - 155px)}footer{max-width:1320px;margin:auto;padding:20px 44px 25px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:15px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p,.intro{color:var(--muted);margin-top:8px}.btn{border:0;background:var(--green);color:#fff;padding:11px 20px;border-radius:8px;font-size:13px;font-weight:600;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;white-space:nowrap}.btn:hover{background:#30614d;text-decoration:none}.btn.orange{background:var(--orange)}.btn.orange:hover{background:#9e3e20}.btn.secondary{background:#e9eee3;color:var(--green)}.btn.outline{background:transparent;border:1px solid #c9d1c2;color:var(--ink)}.btn.subtle{background:transparent;color:var(--muted)}.btn.danger{background:#f8e5df;color:var(--red)}.icon-btn{display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;border:1px solid var(--line);border-radius:50%;background:var(--paper)}.icon-btn:hover{background:#edf1e8}.icon-btn.saved{background:var(--yellow);color:#795818;border-color:#e9d9a0}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.welcome{display:grid;grid-template-columns:1.05fr 1fr;min-height:330px;overflow:hidden;border-radius:16px;background:#eaf0df;position:relative}.welcome-copy{padding:35px 35px 32px;position:relative;z-index:1}.welcome h1{font-size:39px;line-height:1.5;font-weight:650;letter-spacing:-.03em}.welcome h1 em{font-style:normal;color:#b3542f}.welcome-copy p{margin:14px 0 24px;color:#536349;max-width:330px;font-size:13px;line-height:1.9}.welcome-art{width:100%;height:100%;object-fit:cover;min-height:330px}.welcome-foot{display:flex;gap:10px;align-items:center;margin-top:18px;font-size:11px;color:#526248}.small-dot{width:6px;height:6px;border-radius:50%;background:#739568}.type-row{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:23px 0 32px}.type-tile{padding:17px 20px;border-radius:11px;border:none;text-align:left;position:relative;transition:transform .18s ease-out}.type-tile:hover{transform:translateY(-3px);text-decoration:none}.type-tile .type-label{display:flex;align-items:center;gap:8px;font-size:13px}.type-tile strong{font-size:24px;font-weight:600;margin-top:8px;display:inline-block}.type-tile small{margin-left:7px;opacity:.8}.type-tile .tile-letter{font-family:var(--serif);font-style:italic;font-size:35px;position:absolute;right:18px;bottom:9px;opacity:.25}.word{background:var(--blue);color:var(--blue-ink)}.phrase{background:var(--mint);color:var(--mint-ink)}.short{background:var(--orange-pale);color:#87451d}.long{background:var(--purple);color:var(--purple-ink)}.home-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.section-heading h2{font-size:19px}.text-link{font-size:12px;color:#64785b;display:flex;align-items:center;gap:5px}.lesson-feature{display:grid;grid-template-columns:150px 1fr;gap:22px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px;min-height:200px}.scene-image{width:100%;height:100%;object-fit:cover;border-radius:10px;min-height:155px}.lesson-feature h3{font-size:21px;margin:9px 0}.lesson-feature p{font-size:12px;color:var(--muted);margin-bottom:17px}.badge{display:inline-block;padding:3px 8px;border-radius:5px;font-size:11px;line-height:1.5;font-weight:600;background:#e9eee2;color:#4c6644}.badge.type{margin-left:6px}.progress-track{height:5px;background:#e5e9df;border-radius:5px;overflow:hidden;margin:12px 0 5px}.progress-track span{display:block;height:100%;background:#668b58;border-radius:5px}.progress-caption{font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.plan-list{padding:0;list-style:none;margin:0}.plan-list li{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.plan-number{width:30px;height:30px;border-radius:50%;background:#e7eddf;display:grid;place-items:center;font-size:12px;flex-shrink:0}.plan-list li:nth-child(2) .plan-number{background:var(--orange-pale)}.plan-list li:nth-child(3) .plan-number{background:var(--purple)}.plan-list p{font-size:12px;color:var(--muted);margin-top:3px}.plan-list small{margin-left:auto;color:var(--muted);white-space:nowrap}.soft-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:15px}.daily-insight{display:grid;grid-template-columns:1fr auto;gap:20px;background:#f3ead6;border-radius:12px;padding:22px 25px;margin-top:28px}.daily-insight .en{font-family:var(--serif);font-size:22px;margin:7px 0;color:#68502e}.daily-insight p{font-size:12px;color:#766349}.eyeline{display:flex;align-items:center;gap:8px;font-size:12px;color:#766349}.unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.unit-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.unit-picture{height:145px;position:relative;overflow:hidden;background:#e7e9db}.unit-picture img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.unit-card:hover .unit-picture img{transform:scale(1.05)}.unit-number{position:absolute;bottom:12px;left:17px;color:#183c2c;background:#fffdf1e8;border-radius:7px;padding:4px 10px;font-size:12px;font-weight:650}.unit-info{padding:19px}.unit-info h3{font-size:19px;margin:8px 0 6px}.unit-info p{font-size:12px;color:var(--muted);min-height:40px}.unit-info .btn{margin-top:16px;width:100%}.unit-level{display:flex;justify-content:space-between;align-items:center}.unit-level span:last-child{font-size:11px;color:var(--muted)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0;align-items:center}.search-box{position:relative;flex:1;min-width:210px}.search-box .icon{position:absolute;left:13px;top:13px;color:var(--muted)}input[type=search]{width:100%;padding:12px 15px 12px 42px;background:white;border:1px solid #d6ddce;border-radius:8px;font-size:13px}select,input[type=text],textarea{background:white;border:1px solid #ccd5c5;border-radius:7px;padding:10px 12px;color:var(--ink);min-height:44px;max-width:100%}select{font-size:13px}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.tab{border:1px solid var(--line);padding:8px 15px;border-radius:7px;background:transparent;font-size:13px;min-height:42px}.tab.active{background:var(--green);border-color:var(--green);color:white}.library-count{font-size:12px;color:var(--muted);margin-bottom:14px}.entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.entry-item{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:20px}.entry-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.entry-en{font-family:var(--serif);font-size:22px;line-height:1.5;margin-top:13px;overflow-wrap:anywhere}.entry-item .entry-en{cursor:pointer}.entry-item .entry-en:hover{color:var(--orange)}.entry-zh{font-size:14px;margin-top:5px}.entry-example{font-size:12px;color:var(--muted);line-height:1.8;margin-top:14px}.entry-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:16px;font-size:11px;color:var(--muted)}.more-wrap{text-align:center;margin:25px}.empty{background:#eef1e6;border-radius:14px;padding:50px 30px;text-align:center}.empty h2{margin-bottom:12px}.empty p{color:var(--muted);margin-bottom:22px}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px}.study-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:32px;min-height:400px}.study-card .entry-en{font-size:32px;line-height:1.55;margin:30px 0 14px}.study-card .entry-zh{font-size:17px}.study-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:24px;flex-wrap:wrap}.study-counter{font-size:12px;color:var(--muted)}.explanation{margin:24px 0 0;padding-top:22px;border-top:1px solid var(--line)}.explanation .example-en{font-size:17px;line-height:1.7}.explanation .example-zh{color:var(--muted);font-size:13px;margin-top:6px}.note{padding:14px 17px;background:#f3efdf;border-radius:8px;font-size:13px;color:#665b3a;margin-top:18px;line-height:1.9}.chunks{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}.chunk{padding:12px 15px;border-radius:9px;flex:1;min-width:120px;border:0;text-align:left}.chunk:nth-child(4n+1){background:var(--blue);color:var(--blue-ink)}.chunk:nth-child(4n+2){background:var(--mint);color:var(--mint-ink)}.chunk:nth-child(4n+3){background:var(--orange-pale);color:#87451d}.chunk:nth-child(4n){background:var(--purple);color:var(--purple-ink)}.chunk span{display:block;font-size:15px}.chunk small{display:block;margin-top:5px}.lesson-outline{background:#eef1e6;padding:21px;border-radius:12px;align-self:start}.lesson-outline h3{font-size:15px;margin-bottom:12px}.outline-list{max-height:405px;overflow:auto;padding-right:3px}.outline-item{width:100%;padding:10px 8px;background:transparent;border:0;border-bottom:1px solid #d8dfd1;display:flex;align-items:center;gap:8px;text-align:left;font-size:12px;line-height:1.5}.outline-item.active{color:var(--orange);font-weight:700}.outline-item .num{color:#788472;font-size:11px;min-width:18px}.outline-item .known{width:5px;height:5px;background:#648650;border-radius:50%;margin-left:auto;flex-shrink:0}.grammar{background:var(--paper);padding:28px;border-radius:14px;border:1px solid var(--line)}.grammar p{line-height:1.9;color:var(--muted);margin:14px 0}.grammar-example{background:#edf1e5;padding:16px 20px;margin-top:10px;border-radius:8px}.grammar-example span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.dialogue-row{display:grid;grid-template-columns:35px 1fr auto;gap:14px;margin-bottom:17px;align-items:start}.speaker-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:var(--blue-ink);font-size:12px}.dialogue-row:nth-child(even) .speaker-avatar{background:var(--orange-pale);color:#87451d}.speech-bubble{background:#eef1e7;border-radius:0 12px 12px 12px;padding:14px 18px}.dialogue-row:nth-child(even) .speech-bubble{background:#f9eddf}.speech-bubble .speaker-name{font-size:11px;color:var(--muted);margin-bottom:4px}.speech-bubble .en{font-size:17px;line-height:1.6}.speech-bubble .zh{font-size:12px;color:var(--muted);margin-top:6px}.audio-note{font-size:11px;color:var(--muted);margin:8px 0 18px}audio{width:100%;max-width:600px;margin:15px 0}.quiz-option{display:block;width:100%;padding:14px 20px;margin-top:12px;text-align:left;border:1px solid #d9dfd2;border-radius:9px;background:white;min-height:50px}.quiz-option:hover{background:#f2f4e9}.quiz-option.correct{background:#dfedda;border-color:#94b680;color:#31502b}.quiz-option.wrong{background:#fae0d9;border-color:#d79a87;color:#813d2b}.feedback{padding:15px;margin-top:18px;border-radius:8px;background:#e9efdf;font-size:14px}.feedback.wrong{background:#fae6dc;color:#813d2b}.quiz-heading{font-size:22px;line-height:1.5;margin:24px 0}.answer-input{width:100%;margin:15px 0}.review-screen{max-width:800px;margin:0 auto}.review-card{text-align:center;min-height:400px}.review-card .entry-en{margin:40px 0 25px}.review-ratings{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}.review-ratings button small{display:block;font-size:11px;opacity:.8;font-weight:400}.reveal{margin-top:30px}.family-intro{background:#eee6d4;padding:25px 30px;border-radius:12px;margin-bottom:25px;display:flex;align-items:center;gap:25px}.family-intro .root-mark{font-family:var(--serif);font-size:48px;color:#987637;font-style:italic}.family-intro p{font-size:13px;color:#736244;line-height:1.9}.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.family-card{background:white;border:1px solid var(--line);padding:25px;border-radius:14px}.family-title{display:flex;align-items:center;gap:14px;margin-bottom:16px}.root-tag{font-family:var(--serif);font-size:26px;padding:10px 17px;border-radius:10px;background:var(--mint);color:var(--mint-ink)}.family-card:nth-child(3n+2) .root-tag{background:var(--orange-pale);color:#87451d}.family-card:nth-child(3n) .root-tag{background:var(--purple);color:var(--purple-ink)}.family-card .origin{font-size:12px;color:var(--muted);margin-bottom:16px;line-height:1.8}.family-word{display:grid;grid-template-columns:1fr 1fr 36px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.family-word b{font-weight:600}.family-word small{grid-column:1/3;font-size:11px;color:var(--muted)}.family-word .icon-btn{width:32px;height:32px;min-width:32px;grid-column:3;grid-row:span 2}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-panel{background:white;border:1px solid var(--line);border-radius:14px;padding:26px}.settings-panel h2{font-size:19px;margin-bottom:18px}.field{display:block;margin:18px 0}.field>span{display:block;font-size:13px;margin-bottom:8px}.field select{width:100%}.field small{display:block;color:var(--muted);margin-top:8px}.settings-panel p{font-size:13px;color:var(--muted);line-height:1.9;margin:12px 0}.stats-strip{display:flex;flex-wrap:wrap;gap:20px;padding:20px;background:#edf1e6;border-radius:10px;margin-bottom:25px;font-size:13px}.stats-strip b{font-size:22px;margin-right:5px}.record-stage{background:#e8eee0;border-radius:14px;padding:30px;text-align:center;margin-top:22px}.record-stage .record-prompt{font-family:var(--serif);font-size:26px;line-height:1.6;margin:20px 0 10px}.record-stage .actions{justify-content:center;margin:25px 0 15px}.record-status{min-height:30px;font-size:13px;color:var(--muted)}.recording{background:#b64d35!important;color:#fff!important}.recording .icon{animation:pulse 1s infinite}.record-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.record-tips>div{padding:20px;background:var(--blue);border-radius:10px}.record-tips>div:nth-child(2){background:var(--orange-pale)}.record-tips>div:nth-child(3){background:var(--purple)}.record-tips h3{font-size:15px;margin-bottom:7px}.record-tips p{font-size:12px;line-height:1.9}.activity-week{display:flex;gap:9px;margin-top:20px}.activity-day{flex:1;text-align:center;font-size:11px;color:var(--muted)}.activity-box{height:35px;border-radius:6px;background:#edf0e5;margin:6px 0}.activity-box.done{background:#7d9c64}.status-pill{font-size:11px;background:#eff3e8;color:#456039;border-radius:5px;padding:3px 7px}dialog{width:min(720px,calc(100% - 28px));max-height:90vh;border:0;border-radius:16px;background:var(--paper);padding:30px;color:var(--ink);box-shadow:0 15px 60px #173f3533}dialog::backdrop{background:#15291e66}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}dialog .entry-en{font-size:30px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(20px);background:#243e32;color:#fff;padding:13px 23px;border-radius:10px;box-shadow:0 7px 25px #1b342522;opacity:0;pointer-events:none;z-index:100;max-width:calc(100% - 30px);font-size:13px;transition:.2s ease-out}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.hidden{display:none!important}.invisible-answer{padding:35px 10px;color:var(--muted);font-size:14px}.listening-visual{display:flex;gap:5px;justify-content:center;align-items:center;height:60px;margin:25px auto}.listening-visual span{width:5px;border-radius:5px;background:#789961;height:22px}.listening-visual span:nth-child(2n){height:42px}.listening-visual span:nth-child(3n){height:55px;background:#e5a16c}.help-inline{background:#fff7e4;padding:12px 17px;border-radius:8px;font-size:12px;color:#725528;margin:15px 0}.route-enter{animation:arrive .3s ease-out}@keyframes arrive{from{filter:blur(2px);transform:translateY(5px)}to{filter:blur(0);transform:translateY(0)}}@keyframes pulse{50%{opacity:.4}}
@media(min-width:1450px){.welcome{min-height:360px}.welcome h1{font-size:44px}.welcome-copy{padding:40px}.welcome-art{min-height:360px}}
@media(max-width:1180px){.sidebar{width:200px;padding:30px 16px}.workspace{margin-left:200px}.topbar{margin:0 28px}main{padding:27px 28px 40px}.welcome-copy{padding:27px}.welcome h1{font-size:32px}.home-columns{grid-template-columns:1fr}.plan-list{display:flex;gap:20px}.plan-list li{flex:1;align-items:flex-start}.plan-list small{display:none}.unit-grid{grid-template-columns:repeat(2,1fr)}.study-layout{grid-template-columns:minmax(0,1fr) 220px}.type-tile{padding:16px 14px}.type-tile .tile-letter{display:none}}
@media(max-width:850px){.sidebar{width:175px;padding:24px 12px}.brand{font-size:24px;gap:7px}.brand small{font-size:11px}.side-intro{font-size:11px}.nav-link{font-size:12px;padding:12px 10px;gap:8px}.workspace{margin-left:175px}main{padding:25px 22px}.topbar{margin:0 22px}.welcome{grid-template-columns:1fr}.welcome-art{height:200px;min-height:200px;object-position:50% 55%}.welcome-copy{padding:28px}.welcome-copy p{max-width:none}.welcome h1 br{display:none}.welcome h1{font-size:29px}.welcome-foot{display:none}.study-layout{grid-template-columns:1fr}.lesson-outline{order:2}.outline-list{max-height:190px}.settings-grid,.family-grid{grid-template-columns:1fr}.type-row{grid-template-columns:repeat(2,1fr)}.record-tips{grid-template-columns:1fr}.entry-grid{grid-template-columns:1fr}.page-head{align-items:flex-start}h1{font-size:28px}.study-card{padding:25px}.study-card .entry-en{font-size:27px}.plan-list{display:block}.plan-list small{display:block}.family-intro{align-items:flex-start}.topbar-right{gap:12px}.topbar-right>span:first-child{font-size:11px}}
@media(max-width:600px){.sidebar{inset:auto 0 0;width:100%;height:72px;padding:0 4px;background:#173f35;box-shadow:0 -3px 20px #183c2510}.brand,.side-intro,.side-bottom{display:none}.sidebar nav{display:flex;height:100%;gap:0;overflow-x:auto;justify-content:space-around}.nav-link{flex-direction:column;justify-content:center;gap:4px;padding:8px 8px;min-width:55px;font-size:11px;border-radius:0;white-space:nowrap}.nav-link .icon{width:19px;height:19px}.nav-link.active{background:#2b5747;color:#fff5d9}.nav-count{display:none}.workspace{margin-left:0;padding-bottom:72px}.topbar{height:62px;margin:0 20px}.topbar-right .avatar{display:none}main{padding:24px 19px 35px}.welcome-copy{padding:25px}.welcome h1{font-size:31px}.welcome h1 br{display:block}.welcome-art{height:190px;min-height:190px}.welcome-copy p{font-size:12px}.type-row{gap:10px;margin-bottom:26px}.type-tile{padding:15px 18px}.type-tile strong{font-size:22px}.type-tile .tile-letter{display:block}.home-columns{gap:24px}.lesson-feature{grid-template-columns:100px 1fr;padding:15px;gap:15px}.lesson-feature h3{font-size:18px}.scene-image{min-height:160px}.lesson-feature .btn{padding:9px 13px}.daily-insight{padding:20px;gap:8px}.daily-insight .en{font-size:20px}.unit-grid{grid-template-columns:1fr}.unit-picture{height:170px}.page-head{flex-wrap:wrap;margin-bottom:20px}.page-head h1{font-size:27px}.page-head p{font-size:13px}.filters select{flex:1;min-width:100px}.search-box{min-width:100%;flex-basis:100%}.tabs{gap:6px}.tab{font-size:12px;padding:8px 12px}.study-card{padding:22px 20px;min-height:350px}.study-card .entry-en{font-size:26px}.study-controls{gap:12px}.study-controls>.actions{width:100%;justify-content:space-between}.study-controls>.actions .btn{flex:1}.dialogue-row{grid-template-columns:27px 1fr;gap:8px}.dialogue-row>.icon-btn{grid-column:2;width:34px;height:34px;margin-top:-10px}.speaker-avatar{width:27px;height:27px;font-size:11px}.speech-bubble{padding:12px 14px}.speech-bubble .en{font-size:16px}.family-intro{padding:20px;gap:15px}.family-intro .root-mark{font-size:33px}.family-card{padding:20px}.family-title h3{font-size:16px}.root-tag{font-size:23px;padding:9px 12px}.review-ratings{gap:8px}.review-ratings .btn{padding:10px 14px}.record-stage{padding:22px 16px}.record-stage .record-prompt{font-size:23px}.settings-panel{padding:22px}.stats-strip{gap:14px;font-size:12px}.stats-strip b{font-size:19px}.toast{bottom:88px;width:max-content;max-width:calc(100% - 30px)}footer{padding:20px;font-size:11px;display:block}footer a{display:block;margin-top:5px}.chunk{min-width:125px}.entry-item{padding:18px}.entry-en{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.family-bridge{margin-top:22px;padding:18px;background:#edf2e4;border-radius:10px;font-size:13px}.family-mini{border:0;border-radius:8px;background:#fffef6;padding:9px 13px;text-align:left;color:#355c37}.family-mini span{display:block;font-weight:600;font-size:15px}.family-mini small{display:block;font-size:11px;margin-top:3px}.family-mini:hover{background:#e1ebd6}

/* Thematic intermediate edition */
.theme-scene{background-image:url('assets/theme-scenes.webp');background-size:400% 300%;background-repeat:no-repeat;background-color:#e8e8d7;aspect-ratio:9/8;min-width:0}.unit-picture>.theme-scene{width:100%;height:100%;aspect-ratio:auto}.lesson-feature>.theme-scene{height:100%;min-height:190px;border-radius:9px}.course-guide{padding:17px 20px;background:#e8eee0;border-left:3px solid #75946a;margin:0 0 25px;font-size:13px}.topic-preview{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0}.topic-preview span{font-size:11px;background:#f0f1e8;padding:3px 8px;border-radius:4px}.track-tabs{margin-bottom:18px}.atlas-intro{display:grid;grid-template-columns:minmax(200px,.8fr) 1.2fr;background:#efe9d8;border-radius:15px;overflow:hidden;margin-bottom:25px}.atlas-intro>.theme-scene{height:100%;aspect-ratio:9/8}.atlas-intro-copy{padding:30px;align-self:center}.atlas-intro h2{font-size:24px;margin:16px 0;line-height:1.6}.atlas-intro p{color:#576551;margin-bottom:22px}.group-index{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 28px}.group-index button{border:1px solid #d4dfcd;background:#fffdf6;color:#31563e;border-radius:7px;padding:10px 14px;font-size:13px}.group-index button:hover{background:#e8eedf}.group-index span{font-size:11px;color:#697762;margin-right:5px}.word-group{margin:0 0 27px;scroll-margin-top:20px;background:#eef3f8;border-radius:14px;padding:25px}.word-group:nth-child(3n+2){background:#eaf1e3}.word-group:nth-child(3n){background:#f7ebdd}.group-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.group-heading>div{display:flex;align-items:center;gap:14px}.group-number{font:italic 32px var(--serif);color:#70859a}.group-heading h2{font-size:20px}.group-heading h2 small{display:block;font-size:12px;color:#657268;font-weight:400;margin-top:6px}.group-description{font-size:13px;color:#5c6b64;margin:14px 0 20px}.word-series{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.series-word{padding:17px 18px;background:#fffefa;border-radius:9px;min-width:0;border:1px solid #253e3010}.series-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.word-link{border:0;background:transparent;padding:0;font:500 21px var(--serif);text-align:left;overflow-wrap:anywhere}.word-link:hover{text-decoration:underline;text-underline-offset:4px}.series-zh{font-size:12px;color:#5a695f;margin:6px 0 13px;min-height:20px}.collocation-link{display:block;border:0;background:transparent;padding:0;color:#3d6653;text-align:left;font-size:13px;line-height:1.6}.collocation-link:hover{text-decoration:underline}.series-hint{display:block;font-size:10px;color:#71806f;margin-top:13px}.series-hint .icon{width:12px;height:12px}.hide-zh .series-zh{visibility:hidden}.atlas-next{padding:30px;background:#e6ebdb;border-radius:14px}.atlas-next h2{margin:12px 0}.atlas-next p{color:#52654d;margin-bottom:22px}.collocations{background:#e5eee1;padding:18px 20px;border-radius:9px;margin:24px 0 18px}.collocations h3{font-size:14px;margin-bottom:10px}.collocations>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #ccd9c5}.collocations b{font-size:16px;font-weight:500}.collocations small{display:block;color:#59704f;font-size:12px}.family-hint{padding:16px 20px;background:#f0e7f6;border-left:3px solid #9774ad;border-radius:5px;font-size:13px;line-height:1.9;margin:18px 0}.family-hint .icon{width:16px;height:16px}.family-hint strong{color:#6f4d81}.unit-card .unit-info>p{min-height:70px}.unit-card .unit-picture{height:200px}
@media(max-width:1100px){.word-series{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-intro-copy{padding:24px}.atlas-intro h2{font-size:21px}}
@media(max-width:750px){.atlas-intro{grid-template-columns:1fr}.atlas-intro>.theme-scene{height:240px;aspect-ratio:auto}.group-heading{align-items:flex-start;flex-wrap:wrap}.group-heading>.btn{padding:6px 0}.word-group{padding:20px}.word-series{gap:10px}.series-word{padding:14px}.word-link{font-size:18px}.atlas-intro h2{font-size:22px}}
@media(max-width:450px){.word-series{grid-template-columns:1fr}.series-top .word-link{font-size:23px}.word-group{padding:20px 16px}.group-index button{flex:1 1 45%;text-align:left;padding:9px 12px}.atlas-next{padding:23px}.atlas-next .actions>.btn{flex:1 1 45%;padding:10px}.atlas-intro>.theme-scene{height:auto;aspect-ratio:9/8}.lesson-feature>.theme-scene{min-height:175px}}

/* Connected dictionary and example reader */
.lookup-word{color:inherit;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-color:#73917d;text-decoration-thickness:1px;text-underline-offset:5px;border-radius:2px;cursor:pointer}.lookup-word:hover,.lookup-word:focus-visible{background:#e2edcf;color:#234e40;text-decoration-style:solid}.entry-title-button{font:inherit;color:inherit;border:0;background:none;text-align:left;padding:0;cursor:pointer}.entry-title-button:hover{text-decoration:underline;text-underline-offset:5px}.phonetic{font-family:var(--sans);font-size:14px;letter-spacing:.02em;color:#6b725d;margin:8px 0 12px}.definition-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.full-definition{white-space:pre-line;line-height:1.85}.library-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:15px 0 22px;font-size:13px;color:#536852}.library-options label{display:flex;align-items:center;gap:9px}.library-options select{max-width:180px}.check-label input{width:17px;height:17px;accent-color:#315b44}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.result-heading .library-count{margin:0}.reference-page{max-width:900px;margin:0 auto;padding:32px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.reference-page>.entry-en{font-size:33px;line-height:1.65;margin:8px 0 16px}.detail-footer{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);justify-content:space-between}.related-examples,.linked-phrases,.sentence-vocabulary{margin-top:30px}.related-examples h3,.linked-phrases h3,.sentence-vocabulary h3{font-size:18px}.example-row{padding:20px 0;border-top:1px solid #dbe3d2}.example-row-top{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#587343;font-size:11px}.example-row .example-en{font-size:17px;line-height:1.85;margin:5px 0 8px}.example-row .example-zh{font-size:13px;line-height:1.8;color:#6b735f;margin-bottom:10px}.example-row .text-link{font-size:12px}.linked-phrases>div{margin-top:15px;background:#eaf0e1;padding:5px 16px;border-radius:10px}.phrase-reference{display:grid;grid-template-columns:minmax(130px,1fr) 1.3fr 18px;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #d1dfc5}.phrase-reference:last-child{border-bottom:0}.phrase-reference b{font-size:15px;font-weight:500}.phrase-reference span{font-size:12px;color:#536a46;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.phrase-reference .icon{width:16px;height:16px}.source-note{background:#f0f1e9;border-radius:8px;padding:12px 15px;font-size:11px;color:#58664c;margin:25px 0 0;overflow-wrap:anywhere}.source-note summary{cursor:pointer;font-size:12px}.source-note p{margin-top:9px}.source-note a{text-decoration:underline;text-underline-offset:3px}.sentence-vocabulary>p{font-size:12px;color:#62735b;margin:9px 0 15px}.word-chip-list{display:flex;gap:8px;flex-wrap:wrap}.word-chip-list>a{padding:9px 12px;background:#e9eff5;border-radius:7px;max-width:210px;min-width:100px}.word-chip-list b{display:block;font-size:15px;font-weight:500;color:#2e5572}.word-chip-list span{display:block;font-size:11px;color:#576d7c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:175px}.family-kind{display:block;font-size:11px;color:#637754;margin-bottom:5px}.root-focus{max-width:850px;margin:auto}.root-focus .family-card{padding:32px}.family-word .lookup-word{overflow-wrap:anywhere}.family-title{flex-wrap:wrap}.family-title .root-tag{max-width:100%;overflow-wrap:anywhere}.family-card .note{border-left:0}.chunk .icon-btn{width:30px;min-width:30px;height:30px;align-self:flex-end;margin-top:5px}.family-mini{display:block}.family-mini>.lookup-word{display:inline}.entry-item .entry-en{line-height:1.7}.entry-grid .entry-item{min-width:0}.library-options select,.filters select{max-width:100%}
@media(max-width:600px){.library-options{gap:12px}.library-options>label{width:100%}.result-heading{align-items:flex-start;flex-direction:column;gap:10px}.reference-page{padding:22px 19px}.reference-page>.entry-en{font-size:25px}.phrase-reference{grid-template-columns:1fr 20px;gap:5px}.phrase-reference span{grid-column:1}.phrase-reference .icon{grid-column:2;grid-row:1/3}.root-focus .family-card{padding:20px}.word-chip-list>a{max-width:calc(50% - 4px);flex:1 1 40%;min-width:0}.word-chip-list span{max-width:100%}.family-word{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px}.family-word b{overflow-wrap:anywhere}.source-note{font-size:11px}.dialog-head{align-items:flex-start}dialog .entry-en{line-height:1.7}.detail-footer{align-items:flex-start;gap:18px}.library-options .check-label{align-items:flex-start}.family-kind{font-size:10px}}
.ambiguous-word{text-decoration-color:#8c6b9c}.ambiguous-word:hover{background:#ede1f2;color:#614173}.form-context{margin:18px 0;font-size:17px;line-height:1.8}.form-choices{display:grid;gap:12px;margin:22px 0}.form-choices>a{display:grid;grid-template-columns:minmax(90px,1fr) 2fr 20px;gap:15px;align-items:center;padding:18px;background:#eef0e4;border-radius:9px}.form-choices b{font:500 24px var(--serif)}.form-choices span{font-size:13px;white-space:pre-line;line-height:1.8}.form-choices .icon{width:18px;height:18px}@media(max-width:600px){.form-choices>a{grid-template-columns:1fr 20px}.form-choices span{grid-column:1}.form-choices .icon{grid-column:2;grid-row:1/3}}
