:root{color-scheme:light;--paper:#fffaf3;--surface:#fffefd;--soft:#fff1e5;--ink:#28303b;--muted:#7d8087;--green:#ed705d;--red:#ed705d;--line:#ede3d9;--accent-ink:#fff;--highlight:#ffdfca}
:root[data-theme=night]{color-scheme:dark;--paper:#191e37;--surface:#222840;--soft:#2d3353;--ink:#f4effc;--muted:#b1b2cd;--green:#ace8d4;--red:#c6a9ee;--line:#414764;--accent-ink:#202b38;--highlight:#4c4165}
body{background:var(--paper);color:var(--ink)}h1,h2,h3{font-family:"Microsoft YaHei","Hiragino Sans",sans-serif;font-weight:700;letter-spacing:.3px}button,input,select,textarea{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--green)}
header{max-width:1480px;padding:0 32px;gap:22px;background:var(--paper)}.brand{font-family:inherit;letter-spacing:0;font-weight:800;font-size:25px;white-space:nowrap}.brand-face{width:47px;height:49px;border-radius:50%;overflow:hidden;display:block;background:var(--soft)}.brand-face img,.avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 7%;transform:scale(2.8);transform-origin:50% 8%}.avatar{overflow:hidden;flex:none}.header-right{gap:12px}.theme-toggle{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:8px 14px;border-radius:25px;white-space:nowrap}nav{gap:25px}nav a{color:var(--muted)}nav a.active{color:var(--green)}nav a.active:after{background:var(--green)}
main{max-width:1380px}.primary{background:var(--green);color:var(--accent-ink);border:0;border-radius:10px;font-weight:600;padding:13px 23px}.quiet{color:var(--green)}.eyebrow,.page-top p,.hero-copy>p,.section-heading p,.notice,.practice p,.card p,.card-meta,.card-bottom,.word-detail small,.vocab small,.live-caption>small,.subtitle small{color:var(--muted)}h1 em{color:var(--green)}.hero{gap:45px;padding:40px 0;grid-template-columns:1.05fr 1fr}.hero h1{font-size:clamp(32px,3.8vw,54px);line-height:1.4}.hero-actions{flex-wrap:wrap;gap:16px}.hero-art{height:420px;overflow:hidden;border-radius:32px;background:radial-gradient(ellipse,var(--highlight),transparent 70%)}.hero-art:after{display:none}.hero-art img.hero-mascot{height:650px;width:100%;object-fit:contain;object-position:50% 0;filter:none;border-radius:0}.mascot-bubble{position:absolute;right:0;bottom:24px;background:var(--surface);padding:14px 20px;border:1px solid var(--line);border-radius:22px;color:var(--ink);font-size:13px}.mini-mascot{height:140px;width:110px;object-fit:cover;object-position:50% 0;flex:none}.daily,.path,.stat,.book-item,.question-card,.round-end{background:var(--surface);border:1px solid var(--line);border-radius:16px}.daily-copy b,.path,.stat,.quote{color:var(--ink)}.card-image{border-radius:14px}.card-image img{filter:none}.level{background:var(--soft);color:var(--ink);border-radius:12px}.chip{border-radius:18px;color:var(--muted)}.chip.active{background:var(--green);color:var(--accent-ink)}.controls button,.controls select,.tool,.answer,.filters input,.filters select,.note-editor,.book-item textarea,#dict-query{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px}.controls .on{background:var(--highlight)}.quality-label select{background:var(--soft);color:var(--ink);border-color:var(--line)}.quality-label,.result{color:var(--green)}.tabs button{color:var(--muted)}.tabs button.active{color:var(--green);border-color:var(--green)}.subtitle.current,.word-active{background:var(--highlight);color:var(--ink);border-color:var(--green)}.word-active{box-shadow:0 2px 0 var(--green)}.live-caption{background:var(--soft)}dialog{background:var(--paper);color:var(--ink)}.learning-tools,.close{color:var(--muted)}.dictionary-term:hover,.word-button:hover{background:var(--highlight)}#dictionary-panel{background:var(--surface);color:var(--ink);border-color:var(--line)}.dict-top button,.dict-favorite{color:var(--green)}.dict-entry{border-color:var(--line)}#dict-form button,.dict-actions button,.dict-collect{background:var(--soft);border-color:var(--line);color:var(--ink)}.dict-reading,.dict-credit{color:var(--muted)}
.practice-entry{margin:28px 0 12px;padding:30px 36px;border-radius:22px;background:var(--soft);border:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;overflow:hidden}.practice-entry h2{font-size:27px;margin:6px 0}.practice-entry p{color:var(--muted);margin:0 0 22px}.practice-entry small{display:block;color:var(--muted);margin-top:12px}.practice-entry .mini-mascot{height:225px;width:160px;object-fit:cover}.practice-shell{max-width:1000px;margin:36px auto 60px}.practice-title{display:flex;align-items:center;justify-content:space-between}.practice-title h1{font-size:34px;margin:12px 0}.practice-title p{color:var(--muted)}.practice-title .mini-mascot{height:170px;width:120px}.practice-toolbar{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:18px 0;color:var(--muted);font-size:12px}.practice-toolbar select{padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}.question-card,.round-end{padding:32px 38px}.question-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.question-meta b{color:var(--green)}.question-progress{height:5px;background:var(--soft);margin:20px 0;border-radius:8px;overflow:hidden}.question-progress i{display:block;height:100%;background:var(--green)}.cloze-sentence{font-size:clamp(20px,2.4vw,29px)!important;line-height:2.5;color:var(--ink)!important;background:var(--soft);padding:18px 22px;border-radius:12px;overflow-wrap:anywhere}.word-blank{display:inline-block;min-width:90px;border-bottom:2px solid var(--green);text-align:center;color:var(--green);margin:0 4px;padding:0 6px}.answer{font-size:18px;min-height:50px;margin-top:8px}.mascot-feedback{display:flex;align-items:center;gap:12px;min-height:110px;margin:12px 0;overflow:hidden}.mascot-feedback .mini-mascot{height:115px;width:85px}.mascot-feedback p{background:var(--soft);padding:16px 20px;border:1px solid var(--line);border-radius:20px;color:var(--ink);font-size:14px}.practice-rules{color:var(--muted);font-size:12px;line-height:2.1}.practice-rules a{color:var(--green);text-decoration:underline}.score{font-size:72px;font-weight:800;color:var(--green);line-height:1.4}.score small{font-size:18px;color:var(--muted)}.round-review{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.round-review div{padding:12px;background:var(--soft);border-radius:10px}.round-review small{display:block;color:var(--muted);font-size:12px}.video-cloze .cloze-sentence{font-size:22px!important}.video-cloze h3{margin-top:0}.real-subtitles{position:relative}.lesson-head .theme-toggle{margin-left:auto;margin-right:14px}
@media(max-width:900px){header{padding:0 20px}nav{gap:15px}.hero{gap:15px}.hero-art{height:370px}.hero-art img.hero-mascot{height:560px}dialog.wide-learning .real-lesson{display:flex;flex-direction:column;overflow:hidden}dialog.wide-learning .video-column{flex:none;padding:0 10px;background:var(--paper);overflow:visible;z-index:2}dialog.wide-learning .real-video{height:auto;max-height:30dvh;aspect-ratio:16/9}dialog.wide-learning .video-column>.notice,dialog.wide-learning .video-column>.controls:last-child{display:none}dialog.wide-learning .live-caption{min-height:0;padding:3px 6px;margin-top:3px}dialog.wide-learning .live-caption>div{font-size:15px;line-height:1.8}dialog.wide-learning .live-caption>small{font-size:11px}dialog.wide-learning .video-column>.controls{margin:5px 0;gap:6px}dialog.wide-learning .video-column>.controls button,dialog.wide-learning .video-column>.controls select{font-size:11px;min-height:30px;padding:3px 7px}dialog.wide-learning .learning-column{flex:1;min-height:0;padding:0 12px 10px;overflow:hidden}dialog.wide-learning .real-subtitles{flex:1;min-height:0;max-height:none;overscroll-behavior:contain}dialog.wide-learning .practice{overflow:auto;min-height:0;max-height:none}dialog.wide-learning .learning-tools{padding:5px 0;font-size:11px}dialog.wide-learning .tabs button{font-size:12px;padding:7px 0}dialog.wide-learning .tabs{gap:12px}.lesson-head .theme-toggle{font-size:11px;padding:6px 9px;margin-right:4px}dialog.wide-learning .lesson-head{min-height:50px}dialog.wide-learning .lesson-head h2{font-size:13px}}
@media(max-width:600px){header{padding:15px 16px 0;position:relative}.brand{font-size:23px}.brand-face{width:38px;height:40px}.brand small{font-size:8px}.header-right{right:16px;top:18px;gap:8px}.theme-toggle{font-size:12px;padding:6px 10px}.avatar{width:32px;height:32px}nav{width:100%;gap:12px;justify-content:space-between;font-size:12px}.hero{grid-template-columns:1fr 1fr;padding:25px 0;gap:8px}.hero h1{font-size:29px}.hero-copy>p{font-size:12px}.hero-art{height:300px}.hero-art img.hero-mascot{height:430px;width:130%;margin-left:-15%}.mascot-bubble{font-size:10px;padding:8px 10px;bottom:5px}.hero-note{display:none}.hero-actions .primary{font-size:12px;padding:10px}.hero-actions{font-size:12px;gap:10px}.practice-entry{padding:22px 20px;gap:5px}.practice-entry h2{font-size:22px}.practice-entry p{font-size:12px}.practice-entry .mini-mascot{height:170px;width:95px}.practice-title h1{font-size:27px}.practice-title .mini-mascot{height:130px;width:80px}.practice-title p{font-size:12px}.practice-toolbar{flex-wrap:wrap}.question-card,.round-end{padding:22px 18px}.question-card h2{font-size:23px}.cloze-sentence{padding:15px 12px}.round-review{grid-template-columns:1fr}.practice-shell{margin:25px auto}.mascot-feedback p{font-size:12px}.lesson-head small{display:none}dialog.wide-learning .video-column>.controls:nth-of-type(3){display:none}.cards{grid-template-columns:1fr 1fr}footer .brand{font-size:17px}footer .brand-face{width:30px;height:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
