/* Retained static app, tablet-first presentation. No framework or remote assets. */
:root{--bg:#f6f8fb;--ink:#182536;--muted:#6b7788;--line:#e2e7ef;--navy:#285ee8;--masculine:#3264bb;--neuter:#33815a;--feminine:#c24c82;--other:#17191e;view-transition-name:none;font-family:"Segoe UI","Microsoft YaHei",sans-serif;color-scheme:light}
*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);font-size:15px}button,input,select{font-family:inherit}button{touch-action:manipulation}button:focus-visible,summary:focus-visible{outline:2px solid #5b86ec;outline-offset:4px}button:disabled{cursor:default}.text-button{color:#64748b;font-size:13px;min-height:42px}.icon-button{color:#53637a;min-width:42px;min-height:42px}.muted{color:#6b7788!important;font-size:12px!important}.eyebrow{font-size:11px;letter-spacing:1.2px;color:#728096}.primary,.secondary{border-radius:11px;min-height:46px;font-size:14px;padding:12px 23px}.primary{background:#285ee8;color:#fff;border:1px solid #285ee8;box-shadow:none}.primary:hover{background:#1d4fce}.primary:disabled{opacity:.45}.secondary{background:#f0f3f8;border:1px solid #e1e7ef;color:#465871}.panel{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 2px 4px #243c5610}.site-header{height:76px;max-width:none;padding:0 max(28px,calc((100vw - 1120px)/2));gap:24px;background:#fff;border-bottom:1px solid var(--line)}.brand-home{font-size:22px;letter-spacing:0;color:#243246}.brand-mark{background:#eaf0ff;color:#285ee8;width:36px;height:38px;display:grid;place-items:center;font-size:27px;border-radius:10px}.brand-mark>span{display:none}.brand small{letter-spacing:2px;font-size:8px;color:#8793a4}.header-note{display:none}.top-actions{gap:18px}.saved{display:none}.app-main{max-width:1180px;margin:0 auto;padding:30px 30px 24px;view-transition-name:app-content}.page-footer{color:#8792a3;font-size:10px;border-top:0;display:flex;justify-content:space-between;margin-top:30px;gap:16px}.page-footer #audioStatus{max-width:590px;text-align:right;line-height:1.8}
.gender-masculine{color:var(--masculine)!important}.gender-neuter{color:var(--neuter)!important}.gender-feminine{color:var(--feminine)!important}.gender-other{color:var(--other)!important}.word-heading .article{color:inherit!important}.word-pronunciation:hover{color:inherit}.speaker-icon{color:currentColor;opacity:.65}
/* Home: books, four actual modes and practical destinations. */
.home-heading{margin-bottom:24px}.home-heading h1{font-family:inherit;font-size:28px;font-weight:650;letter-spacing:0;margin:9px 0}.home-heading p{font-size:13px;color:#788597}.home-date{font-size:12px;color:#7c899b}.home-heading .eyebrow{font-size:10px;letter-spacing:1px;color:#7b889a}.theme-carousel{border-radius:19px;background:#dae8f3}.theme-slide{height:220px;padding:28px 34px;color:#2b4f70}.theme-slide.sky{background:linear-gradient(110deg,#e0edf7,#d3e6ed)}.theme-slide.career{background:linear-gradient(110deg,#e7eee7,#d6e4dd)}.theme-slide.shopping{background:linear-gradient(110deg,#f5eadb,#eddcc9)}.theme-copy{max-width:70%}.theme-kicker{font-size:10px;letter-spacing:1.3px;color:#6d8397}.theme-copy h2{font-family:inherit;font-size:34px;letter-spacing:1px;margin:10px 0}.theme-line{font-size:15px;margin:0}.theme-description{display:none}.theme-cta{border:0;background:#ffffffa8;color:#355875;border-radius:8px;padding:9px 13px;font-size:12px;margin-top:17px;min-height:40px}.theme-cta:hover{background:white}.weather-art,.career-art,.shopping-art{opacity:.64;left:57%;transform:scale(.82);transform-origin:center bottom}.sky-word,.art-note,.art-spark{display:none}.carousel-controls{bottom:18px;right:20px;gap:14px}.carousel-dots button{background:#7995aa55;width:7px;height:7px}.carousel-dots button[aria-current=true]{background:#63869e}.carousel-arrows button{width:32px;height:32px;color:#547791;border:0;background:#ffffff80}.home-stats{margin:0 0 22px;padding:22px 3px;gap:40px;border-color:var(--line)}.home-stats strong{font-family:inherit;font-size:24px;font-weight:500;color:#354963}.home-stats span{font-size:11px;color:#7b8798}.section-heading h2{font-size:16px;font-weight:600;color:#304058}.section-heading h2>span{display:none}.section-caption{font-size:11px;color:#8b96a6}.level-tabs{margin-bottom:12px}.level-tab{font-size:12px;background:#eef1f6;color:#7c8797;min-height:40px;border-radius:8px;padding:8px 14px}.level-tab.selected{background:#e8efff;border-color:#ccdbff;color:#3d67ba}.selected-book{padding:20px 24px;background:#fff;color:#263b55;border:1px solid var(--line);border-radius:15px;gap:20px;box-shadow:0 1px 2px #243c5605}.selected-book:after{display:none}.book-symbol{width:52px;height:70px;background:#e6edfd;color:#5876b4;border-left:4px solid #b5c7eb;box-shadow:3px 3px 0 #f0f3fa;transform:none;padding:8px}.book-symbol>span{font-size:24px}.book-symbol i{font-size:5px;margin-top:3px}.book-copy .eyebrow{color:#96a0b0;font-size:10px;letter-spacing:0}.book-copy select{color:#304664;font-size:18px;font-weight:550;margin:3px 0;min-height:32px;padding:3px 24px 3px 0}.book-copy select option{background:white}.book-copy p{font-size:11px;color:#8994a4;margin:3px 0 9px}.book-progress{background:#e9edf4;max-width:260px;height:3px}.book-progress i{background:#6092ed}.book-copy small{color:#8c97a6;font-size:10px}.book-preview{color:#5c7293;border:1px solid #dfe6f0;background:#f9fafc;border-radius:9px;font-size:12px;min-height:42px}.book-preview:hover{background:#f0f4fa}.modes-section{margin-top:28px}.training-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.training-card.navy,.training-card.amber,.training-card.red,.training-card.cream{background:#fff;color:#2e415b;border:1px solid var(--line);border-radius:15px;padding:21px;min-height:220px;box-shadow:0 1px 3px #243c5605}.training-card:hover{transform:translateY(-2px);border-color:#bcccf0;box-shadow:0 5px 18px #3b527211}.training-main .training-card-top{margin-bottom:17px}.training-card-top i{width:34px;height:34px;font-size:15px;color:#5e7dae;border-color:#d6e0ef;background:#f3f6fc;border-radius:10px;opacity:1}.training-card-top small{font-size:10px;color:#8a96a7;background:none!important;font-weight:400;padding:0}.training-de{display:none}.training-main>strong{font-size:23px;margin:0 0 9px;letter-spacing:0;font-weight:600}.training-desc{font-size:12px;color:#7c899a;max-width:none;opacity:1}.training-card .training-start{gap:10px;padding-top:15px}.group-start{font-size:12px;color:#406db5;min-height:36px}.goal-edit{font-size:11px;color:#8c97a8;text-decoration:none;min-height:36px}.goal-edit:hover{text-decoration:underline}.group-size{font-size:10px;color:#9da6b3;opacity:1;margin-top:0}.resume-practice{background:#ebf1fd;border-color:#d5e0f5;color:#4b6fa9;border-radius:13px;min-height:70px}.resume-practice strong{font-size:14px}.resume-practice small{font-size:11px;color:#7f92ae}.today-entry{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;padding:19px 24px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:22px;color:#3f5576}.today-entry strong{font-size:15px;font-weight:550}.today-entry small{display:block;margin-top:6px;color:#8b97a8;font-size:12px}.today-entry>b{font-size:20px;font-weight:400}.future-section{margin-top:28px}.future-grid{gap:14px}.future-card{border:1px dashed #dfe4ec;background:transparent;color:#79879a;border-radius:14px;padding:22px;min-height:104px}.future-icon{display:none}.future-card .eyebrow{display:none}.future-card h3{font-size:16px;font-weight:500;margin:0 0 8px}.future-card p{font-size:12px}.future-card>small{font-size:10px;top:18px;right:18px}.home-bottom-note{font-size:11px;color:#9ba5b4;margin-top:25px}
/* Focused study: stable chrome, task first, detail below. */
body[data-page=study] .site-header{display:none}body[data-page=study] .app-main{padding-top:0;max-width:1180px}#studyPage{max-width:none}.study-top{height:83px;display:flex;gap:20px;border-bottom:1px solid var(--line);margin:0 0 10px}.study-top #backHome{min-width:80px;text-align:left;color:#6480a3;font-size:14px}.deckbar{display:flex;flex:1;justify-content:center;border:0;padding:0;background:transparent;border-radius:0;height:auto;margin:0;gap:8px;box-shadow:none}.deckbar label,.deckbar .divider,#deckMeta{display:none}.deckbar select{font-size:14px;color:#365476;max-width:330px;min-height:42px;background:transparent;border:0;padding:8px 24px 8px 6px}.deckbar #newRound{font-size:11px;display:none}.study-tools{display:flex;align-items:center;gap:12px;min-width:140px;justify-content:flex-end}.study-tools .text-button{font-size:12px}.study-nav{margin:0;display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;flex-wrap:wrap}.study-nav .nav,.study-nav .previous-word,.today-study{font-size:12px;font-weight:400;border:0;background:transparent;color:#7b8ba0;min-height:40px;padding:8px 10px;border-radius:8px;white-space:nowrap;margin:0;gap:6px}.study-nav .nav.active{background:#eaf0fb;color:#4a72b1}.study-nav .nav b{display:inline-block;background:#e5ebf5;color:#8594aa;border-radius:4px;font-size:10px;padding:1px 5px}.study-nav .previous-word:disabled{opacity:.35}.session-line{max-width:720px;margin:5px auto 0;gap:15px;display:flex;align-items:center;font-size:11px;color:#8b9bb1;min-height:24px}.session-line>span{display:contents}.live-dot,#roundLabel{display:none}.session-line #roundPosition{order:2;font-weight:400;min-width:45px;text-align:right}.round-track{height:3px;background:#e1e7f1;border-radius:8px;flex:1;overflow:hidden}.round-track i{height:100%;background:#6192f3;transition:width .34s cubic-bezier(.2,.75,.25,1);display:block}.learning-layout{display:flex;flex-direction:column;max-width:760px;margin:0 auto;gap:22px}.exercise.panel{background:transparent;border:0;box-shadow:none;border-radius:0;padding:25px 20px 0;min-width:0;box-sizing:border-box}.card-top{display:flex;justify-content:center}.card-top .eyebrow{font-size:12px;letter-spacing:0;color:#557cc8}.study-level{display:none}.prompt{margin:17px 0 24px;text-align:center}.prompt-pos{background:#eaf0f7;color:#7d8da4;letter-spacing:0;border-radius:7px;padding:4px 10px;font-size:11px;line-height:1.6}.prompt h2{font-family:inherit;font-weight:600;font-size:clamp(28px,3.5vw,38px);letter-spacing:0;line-height:1.5;margin:14px 0 8px;color:#1d2b40;overflow-wrap:anywhere}.prompt p{font-size:12px;line-height:1.8;color:#92a0b2;margin:8px 0 0}#promptHelp{min-height:22px}.word-pronunciation{font:inherit;letter-spacing:0;gap:12px;padding:0}.speaker-icon{width:22px;height:22px}.field-label{display:none}.answer-wrap{max-width:530px;margin:0 auto}.answer-wrap input{font-family:inherit;text-align:center;background:#fff;border:1.5px solid #d8e1f1;border-radius:14px;height:76px;font-size:28px;padding:14px 20px;color:#304967;box-shadow:0 2px 3px #263c5c06;transition:border-color .18s,box-shadow .18s,background .18s}.answer-wrap input::placeholder{color:#b2c0d4;font-size:23px}.answer-wrap input:focus{border:1.5px solid #6191f4;box-shadow:0 0 0 4px #6592f018}.answer-wrap input.answer-correct{border-color:#52a780;background:#f5faf7;box-shadow:none}.answer-wrap input.answer-error{border-color:#d97782;background:#fff8f8;box-shadow:none}.specials{display:flex;justify-content:center;gap:9px;margin:16px 0}.specials button{width:39px;height:40px;background:#fff;color:#59708f;font-size:18px;font-family:Georgia,serif;border:1px solid #dfe5ef;border-radius:9px;box-shadow:0 1px 2px #172d4c08}.specials button:hover{background:#edf3ff;border-color:#b9cdf5}.specials>span{display:none}.input-tabs{display:flex;justify-content:center;gap:4px;margin:17px auto 21px;width:max-content;max-width:100%;background:#eaf0f6;border:1px solid #e2e9f1;padding:3px;border-radius:9px}.input-tabs button{border:0;border-radius:6px;padding:7px 20px;min-height:36px;font-size:12px;background:transparent;color:#8390a3}.input-tabs button[aria-pressed=true]{background:#fff;color:#46618b;box-shadow:0 1px 3px #263c5c0d}.ink-block{border:1px solid #dfe6f0;border-radius:14px;background:#fff;box-shadow:0 1px 3px #263c5c05;max-width:100%;margin-top:6px}.ink-toolbar{padding:10px 16px}.ink-toolbar b{font-size:12px;font-weight:500;color:#7185a1}.ink-toolbar small{display:none}.ink-toolbar button{font-size:11px;color:#8190a5;min-height:36px}.ink-toolbar>div{gap:9px}.canvas-wrap{height:190px;margin:0 16px;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 46px,#e8edf5 46px,#e8edf5 47px);background-size:100% 47px}#inkPlaceholder{font-size:17px;letter-spacing:2px;color:#a2b2c8}#inkPlaceholder>span{font-size:10px;letter-spacing:0;color:#9baabd}.ink-foot{min-height:40px;padding:8px 16px;color:#8b9aaf;font-size:10px}.ink-foot button{color:#718bb3;font-size:11px}.pen-diagnostics{font-size:10px;color:#9aa8ba;padding:0 16px 12px}.ink-candidate{color:#435f88;background:#f3f6fc;border-color:#dbe4f3}.ink-candidate.selected{color:#3863a6;background:#eaf1ff;border-color:#b3c9ee}.ink-candidate-label,.ink-letter-correction{color:#7a8da8}.answer-actions{min-height:46px;margin:22px 0 0;justify-content:center;gap:20px;align-items:center}.answer-actions .primary{min-width:155px}.answer-actions #reveal{font-size:12px;color:#95a2b4}.exercise-foot{background:transparent;border:0;justify-content:center;gap:0;margin:8px 0 0;padding:10px 0 4px;min-height:28px;color:#a7b2c2;font-size:10px}.exercise-foot>span:empty{display:none}.exercise.is-resolved .answer-actions{margin-top:22px}.exercise.is-resolved .prompt{margin-bottom:24px}.exercise.is-resolved .input-tabs{display:none}.review-tip{display:none}.feedback.error{border:1px solid #efdadf;background:#fff9f9;color:#a65c6a;border-radius:10px;padding:14px;font-size:12px;max-width:530px;margin:18px auto 0}.feedback.error>span{font-size:10px;color:#b49ca3}.diff{font-size:18px}.diff ins{background:#e5f2ea;color:#4c8467}.diff del{background:#f6e5e7;color:#b25a6a}.context-example{border-radius:14px;padding:22px 25px;margin-top:24px;border:1px solid #dfe7f1;background:#fff;box-shadow:0 1px 3px #263c5c05}.context-eyebrow{font-size:10px;letter-spacing:.5px;color:#a0adbe}.context-sentence{font-family:Georgia,"Segoe UI",serif;font-size:25px;color:#3d526e;line-height:1.7;margin-top:10px}.example-replay:hover{border-color:#bdcee9;background:#fafcff}.context-choice-label{font-size:11px!important;color:#95a2b5!important;margin:17px 0 0!important;text-align:left}.prompt:has(.context-example){margin-bottom:20px}.meaning-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.meaning-option{border:1px solid #dfe6f1;background:#fff;border-radius:12px;color:#4b617e;font-size:15px;line-height:1.7;padding:16px 18px;min-height:67px;gap:14px;box-shadow:0 1px 3px #263c5c04;transition:opacity .2s,border-color .15s,background .15s,transform .12s}.meaning-option:hover:not(:disabled){border-color:#b9cbee;transform:translateY(-1px);background:#fbfcff}.meaning-option>span{border:0;border-radius:7px;background:#f1f4fa;width:28px;height:28px;color:#8b9db5;font-size:11px}.meaning-option.correct,.meaning-option.selected.correct{border-color:#78b095;background:#f2f8f4;color:#3b7156}.meaning-option.incorrect,.meaning-option.incorrect.selected{border-color:#cf707d;box-shadow:inset 0 0 0 1px #cf707d;background:#fff6f7;color:#9e5d68}.meaning-option:disabled.correct{opacity:1;color:#3b7156}.meaning-option:disabled:not(.correct){opacity:.45}.dictation-listen{background:#eaf0fb;border:1px solid #d6e2f8;color:#4c73b9;border-radius:30px;min-height:56px;font-size:14px;padding:12px 25px}.dictation-status{font-size:10px;color:#9aa8bc;margin-top:10px}.peek-word{background:#fff;border:1px solid #e0e7f2;color:#253a59;border-radius:13px;font-size:29px;padding:20px;font-family:inherit}.peek-word small{color:#96a4b8;font-size:11px}body[data-page=study] .page-footer{max-width:760px;margin:25px auto 0;font-size:9px}
/* Detail stays below the answer. Secondary data remains available on demand. */
.learning-panel{border-radius:19px;padding:28px 32px;background:#fff;box-shadow:0 2px 4px #243c5610;min-width:0}.learning-panel>.eyebrow{font-size:10px;text-align:left;color:#9aa6b7;margin:0 0 16px;letter-spacing:.7px}.word-heading{justify-content:flex-start;gap:12px;align-items:center}.word-heading h2{font-family:inherit;font-size:28px;line-height:1.5;margin:0;font-weight:600;overflow-wrap:anywhere}.word-heading .article{font-size:.7em;font-family:inherit}.play{background:#f0f4fc;border:1px solid #dfe7f6;color:#6a8dcc;border-radius:50%;flex-shrink:0;min-width:34px;min-height:34px;width:34px;height:34px;padding:0;font-size:12px}.play:hover{background:#e5edfd}.word-zh{text-align:left;color:#77869c;font-size:14px;margin:8px 0 10px}.learning-panel>.tag{display:inline-block;background:#f0f3f8;color:#95a1b3;font-size:10px;border:0;padding:4px 8px;border-radius:5px}.learning-panel .content-section{border-top:1px solid #edf0f5;padding-top:20px;margin-top:20px}.learning-panel .section-label{color:#9aa7bb;font-size:11px;letter-spacing:0;font-weight:500;margin-bottom:10px}.learning-panel .grammar-core{font-family:inherit;color:#627b9b;font-size:14px;line-height:1.9}.learning-panel .content-de{font-family:Georgia,"Segoe UI",serif;font-size:18px;line-height:1.8;color:#344d6b;margin:0;overflow-wrap:anywhere}.learning-panel .content-de .play{float:right;margin:0 0 0 12px}.learning-panel .content-zh{font-size:13px;color:#8b9ab0;line-height:1.8;margin:6px 0}.learning-panel .content-item{margin-bottom:14px}.grammar-detail,.source-detail{color:#8293ac;font-size:12px;margin-top:15px;line-height:1.9}.grammar-detail summary,.source-detail summary{cursor:pointer;min-height:34px;line-height:1.8;padding:6px 0}.grammar-detail table{width:100%;font-size:12px;border-collapse:collapse}.grammar-detail td{font-size:13px;line-height:1.8;border-color:#edf0f5;overflow-wrap:anywhere}.grammar-detail tr:nth-child(odd){background:#f8fafc}.source-detail{border:1px solid #e9edf4;background:#fafbfd;border-radius:9px;padding:3px 12px;margin-top:12px}.source-detail p{font-size:11px;color:#8c9ab0}.source-detail pre{font-size:10px;white-space:pre-wrap;word-break:break-word;max-height:300px;overflow:auto}.pending-note{font-size:11px;line-height:1.9;background:#faf9f5;border-radius:8px;color:#a0957b;margin-top:15px;padding:8px 12px}.pending-note summary{cursor:pointer}
/* Real lists and the five-way wheel. */
#todayPage{max-width:860px;margin:0 auto}.collection-heading{display:flex;justify-content:space-between;align-items:center;color:#98a5b7;font-size:12px;margin-bottom:20px}.today-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.today-title h1{font-size:29px;margin:10px 0 8px;font-weight:600}.today-title h1>span{font-size:14px;font-weight:400;margin-left:16px;color:#93a1b5}.today-title p{color:#8c9ab0;font-size:12px;line-height:1.8;margin:0}.today-title .primary{font-size:12px;white-space:nowrap}.today-filter{display:flex;align-items:center;gap:36px;padding:25px 28px;margin-bottom:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.wheel-wrap{position:relative;width:158px;flex-shrink:0;text-align:center;padding-top:10px}.wheel-pointer{position:absolute;top:0;left:calc(50% - 7px);font-size:16px;color:#7085a4;z-index:1}.wheel-wrap svg{display:block;width:150px;height:150px;margin:0 auto 10px;transition:transform 1.15s cubic-bezier(.12,.7,.13,1);overflow:visible}.wheel-wrap svg path{stroke:#fff;stroke-width:2}.wheel-wrap svg text{font-size:12px;font-family:inherit;fill:#65758b}.wheel-masculine path{fill:#e6eefc}.wheel-neuter path{fill:#e3f0e9}.wheel-feminine path{fill:#f8e6ef}.wheel-other path{fill:#edeff2}.wheel-all path{fill:#f5efdf}.wheel-hub{fill:white;stroke:#e1e6ef;stroke-width:1}.wheel-wrap svg .wheel-center{font-size:10px;fill:#99a7b9}.wheel-wrap button{font-size:12px;padding:8px 16px;min-height:38px;border-radius:20px}.filter-copy{flex:1;min-width:0}.filter-copy h2{font-size:17px;font-weight:550;margin:0 0 9px}.filter-copy p{font-size:12px;color:#9ba7b8;margin:0 0 17px}.gender-filters{display:flex;gap:8px;flex-wrap:wrap}.gender-filter{background:#f7f9fc;color:#8392a8;border:1px solid #e7ecf4;border-radius:8px;min-height:42px;padding:9px 12px;font-size:12px;white-space:nowrap}.gender-filter>span{font-family:Georgia,serif}.gender-filter b{font-size:10px;margin-left:9px;font-weight:400;opacity:.6}.gender-filter[aria-pressed=true]{background:#eaf1ff;border-color:#b9cef4;color:#547cbb}.gender-filter[data-gender=masculine]>span{color:var(--masculine)}.gender-filter[data-gender=neuter]>span{color:var(--neuter)}.gender-filter[data-gender=feminine]>span{color:var(--feminine)}#wheelStatus{display:block;color:#9ba7b8;font-size:11px;margin-top:16px}.today-list{display:flex;flex-direction:column;gap:12px}.today-word{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.today-word-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 23px}.today-lemma{font-size:22px;font-weight:550;overflow-wrap:anywhere}.today-word-row p{font-size:13px;margin:6px 0 0;color:#8a98ae}.today-word-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.today-word-actions small{font-size:10px;color:#9aabba;margin-right:7px;white-space:nowrap}.today-expand{font-size:19px;border:0;background:#f3f6fa;border-radius:9px;min-height:34px;min-width:34px;transition:transform .2s}.today-expand[aria-expanded=true]{transform:rotate(180deg)}.today-word-detail.learning-panel{padding:23px 26px;border:0;border-top:1px solid #edf0f5;box-shadow:none;border-radius:0;background:#fdfefe}.empty-collection{padding:65px 20px;text-align:center}.empty-collection>span{font-size:11px;letter-spacing:2px;color:#a4b2c5}.empty-collection h2{font-size:22px;font-weight:500;margin:17px 0 12px}.empty-collection p{font-size:13px;color:#9ba8bc}
/* Dialogs keep settings, provenance and deeper grammar off the task surface. */
dialog{background:#fff;border:1px solid #e1e7ef;border-radius:20px;padding:28px;box-shadow:0 24px 80px #19355324;max-height:88dvh;max-width:calc(100vw - 32px);color:#30435f}dialog::backdrop{background:#172e4b38;backdrop-filter:blur(4px)}.dialog-heading h2{font-family:inherit;font-size:20px;font-weight:550;letter-spacing:0}.dialog-heading{align-items:center}dialog p{font-size:13px;line-height:1.9;color:#7b8ba2}.dialog-heading .icon-button{border:0;background:#f4f6fa;border-radius:10px}dialog input:not([type=checkbox]):not([type=range]){border-color:#dbe3ef;background:#fafcfe;color:#405c83;border-radius:9px;min-height:42px;max-width:100%}.check-label{font-size:13px;color:#657c9c;min-height:42px}.check-label input{accent-color:#6088d1}.sound-volume{color:#8192aa}.sound-volume input{accent-color:#7096da}.coverage-grid>div{background:#f3f6fb;color:#8293aa}.coverage-grid b{font-size:23px;color:#577dab}.mini-stats{border-color:#e4eaf4}.mini-stats b{font-family:inherit;font-size:26px;color:#597ca9}.mini-stats span{color:#97a5ba;font-size:11px}.round-results{max-height:28dvh;color:#7185a1;font-size:12px}.round-results>div{padding:10px 0;border-color:#edf0f6}.summary-actions{margin-top:23px;gap:14px;justify-content:space-between}.summary-actions>*{font-size:13px}#summaryDialog{width:600px}.summary-actions .secondary{background:#eef2f8}.goal-label{color:#657d9d;font-size:13px}.goal-label input{color:#425e88}.previous-actions{border-color:#e7edf5}.previous-actions .secondary{color:#7186a3}#previousDialog{border-radius:20px;padding:25px;width:min(820px,calc(100vw - 32px))}#previousContent{max-height:61dvh;padding:8px 3px 16px;background:#fff}.preview-word{color:#405a7e;gap:25px;padding:14px 0}.preview-word>span:first-child{font-family:inherit;font-size:17px}.preview-word>span:last-child{color:#8898af;font-size:12px;max-width:55%}
/* Browser snapshots animate only the page area; all grading/storage happens first. */
::view-transition-group(app-content){animation-duration:260ms;animation-timing-function:cubic-bezier(.2,.75,.25,1)}
::view-transition-old(app-content){animation:page-out 140ms ease-out both}
::view-transition-new(app-content){animation:page-in 260ms cubic-bezier(.2,.75,.25,1) both}
@keyframes page-out{to{opacity:0;transform:translateX(-7px)}}
@keyframes page-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
/* Touch-sized controls and a single study column in both tablet orientations. */
@media(max-width:1000px){.site-header{padding:0 26px}.app-main{padding:25px 26px}.training-grid{grid-template-columns:1fr 1fr}.training-card.navy,.training-card.amber,.training-card.red,.training-card.cream{min-height:205px;padding:22px}.training-main .training-card-top{margin-bottom:12px}.training-main>strong{font-size:23px}.training-card .training-start{padding-top:11px}.theme-slide{height:210px}.study-top{height:78px}.study-nav{gap:8px}.exercise.panel{padding-top:26px}.learning-layout{max-width:720px}.study-top #backHome{min-width:58px}.study-tools{min-width:122px;gap:7px}.deckbar select{max-width:300px}.today-filter{gap:25px}}
@media(min-width:1001px) and (min-height:900px){body[data-page=study] .exercise.panel:not(:has(.context-example)){padding-top:55px}}
@media(max-width:600px){.site-header{height:65px;padding:0 19px;gap:10px}.brand-home{font-size:19px}.brand-mark{width:31px;height:34px;font-size:24px}.top-actions{gap:8px}.top-actions .text-button{font-size:11px}#sourcesButton{display:none}.app-main{padding:22px 17px}.home-heading h1{font-size:24px}.home-heading .eyebrow{font-size:9px}.home-heading p{font-size:12px}.theme-slide{height:208px;padding:26px}.theme-copy h2{font-size:30px}.theme-copy{max-width:82%}.theme-line{font-size:12px;line-height:1.8}.theme-kicker{font-size:9px}.theme-cta{font-size:11px;margin-top:16px}.weather-art,.career-art,.shopping-art{left:53%;transform:scale(.78)}.home-stats{gap:0;justify-content:space-between;margin-bottom:20px;padding:20px 3px}.home-stats strong{font-size:23px}.home-stats span{font-size:10px}.level-tabs{display:flex;gap:7px}.level-tab{font-size:11px;padding:8px 11px;flex-direction:row;min-height:40px}.level-tab small{display:none}.selected-book{padding:19px 16px;gap:15px;flex-wrap:wrap}.book-copy select{font-size:16px}.book-copy p{font-size:10px}.book-preview{margin-left:67px;margin-top:0;padding:8px 12px;font-size:11px}.book-symbol{width:50px;height:67px}.selected-book .book-copy{flex:1 1 calc(100% - 85px)}.training-card.navy,.training-card.amber,.training-card.red,.training-card.cream{padding:18px 15px;min-height:217px}.training-grid{gap:11px}.training-card-top small{display:none}.training-main>strong{font-size:22px}.training-desc{font-size:11px}.training-card .training-start{gap:6px;flex-wrap:wrap}.group-start{font-size:11px}.goal-edit{font-size:10px}.section-caption{font-size:10px}.future-grid{grid-template-columns:1fr}.future-card{padding:20px;min-height:100px}.future-card p{font-size:11px}.future-card>small{font-size:9px}.page-footer{display:flex;font-size:9px}.page-footer>span+span{margin:0}.page-footer>span:first-child{display:none}.page-footer #audioStatus{text-align:center;max-width:100%;margin:auto}.study-top{gap:7px;height:70px}.study-top #backHome{min-width:38px;font-size:19px}.study-top #backHome>span{display:none}.study-tools{min-width:75px;gap:0}.study-tools #summaryButton{font-size:10px;max-width:38px;line-height:1.6;padding:0 3px}.study-tools .icon-button{font-size:18px;min-width:35px}.deckbar select{max-width:200px;font-size:12px;padding-right:16px}.study-nav{gap:0;justify-content:space-between;flex-wrap:nowrap}.study-nav .nav,.study-nav .previous-word,.today-study{font-size:10px;padding:7px 5px;gap:4px;min-height:40px}.study-nav .nav b{font-size:9px;padding:1px 3px}.session-line{margin-top:2px;font-size:10px}.learning-layout{gap:20px}.exercise.panel{padding:25px 0 0}.card-top .eyebrow{font-size:11px}.prompt{margin:15px 0 24px}.prompt h2{font-size:30px;margin:14px 0 9px}.prompt p{font-size:11px}#promptHelp{max-width:280px;margin-left:auto;margin-right:auto}.prompt-pos{font-size:10px;padding:4px 8px}.answer-wrap input{height:68px;font-size:25px;border-radius:12px}.answer-wrap input::placeholder{font-size:20px}.specials{gap:7px;margin:15px 0}.specials button{width:35px;height:37px;font-size:17px}.input-tabs{margin:18px auto}.input-tabs button{padding:7px 19px;min-height:36px}.canvas-wrap{height:180px;margin:0 11px}.ink-toolbar{padding:9px 11px}.ink-toolbar button{font-size:10px}.ink-foot{font-size:9px;padding:7px 11px;line-height:1.8}.ink-foot button{font-size:10px}.answer-actions{margin:20px 0 0;gap:20px}.answer-actions .primary{min-width:135px;font-size:13px}.answer-actions #reveal{font-size:11px}.exercise-foot{margin:7px 0 0;font-size:9px;padding:9px 0}.exercise.is-resolved .answer-actions{margin-top:20px}.context-example{padding:20px;margin-top:23px}.context-sentence{font-size:22px;margin-top:9px}.context-eyebrow{font-size:9px}.context-choice-label{font-size:10px!important}.meaning-choices{grid-template-columns:1fr;gap:10px}.meaning-option{min-height:58px;padding:13px 16px;font-size:14px;gap:13px}.meaning-option>span{width:26px;height:26px;font-size:10px}.learning-panel{padding:24px 23px;border-radius:17px}.word-heading h2{font-size:26px}.learning-panel .content-de{font-size:17px}.learning-panel .content-zh{font-size:12px}.learning-panel .grammar-core{font-size:13px}.today-title{align-items:flex-start;gap:12px}.today-title h1{font-size:26px}.today-title .eyebrow{font-size:10px}.today-title .primary{font-size:11px;padding:10px 13px;margin-top:13px}.today-title p{font-size:10px}.today-title h1>span{font-size:12px;margin-left:11px}.today-filter{padding:20px 17px;gap:17px;align-items:flex-start}.wheel-wrap{width:117px;padding-top:12px}.wheel-wrap svg{width:110px;height:110px;margin-bottom:14px}.wheel-wrap button{font-size:11px;min-height:36px;padding:7px 12px}.wheel-pointer{font-size:14px}.filter-copy h2{font-size:13px;line-height:1.8;margin:0 0 4px}.filter-copy p{font-size:10px;line-height:1.8;margin-bottom:11px}.gender-filters{gap:6px}.gender-filter{font-size:10px;padding:7px 9px;min-height:35px}.gender-filter b{margin-left:6px}.gender-filter>span{display:none}#wheelStatus{font-size:10px;margin-top:12px}.today-word-row{padding:18px 16px;gap:10px}.today-lemma{font-size:20px}.today-word-row p{font-size:11px}.today-word-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:86px}.today-word-actions small{width:100%;text-align:right;font-size:9px;margin-right:0;margin-bottom:4px}.today-word-actions .play{width:32px;min-width:32px;height:32px;min-height:32px}.today-expand{min-width:32px;min-height:32px}.today-word-detail.learning-panel{padding:21px 18px}.collection-heading{margin-bottom:18px;font-size:10px}.empty-collection h2{font-size:19px}.empty-collection p{font-size:11px}.today-entry{padding:18px}.today-entry small{font-size:11px}dialog{padding:23px 20px;border-radius:17px}#previousDialog{padding:21px 18px}.summary-actions .primary,.summary-actions .secondary{font-size:12px;padding:12px 14px}.button-row{gap:9px}.button-row .secondary{font-size:12px}.sound-previews .secondary{font-size:11px;padding:9px 11px}.sound-volume{font-size:11px;gap:9px}.coverage-grid>div{font-size:11px}.previous-actions{gap:12px}.previous-actions>.primary{font-size:12px}}
@media(max-width:360px){.deckbar select{max-width:168px;font-size:11px}.study-top{gap:3px}.study-nav .nav,.study-nav .previous-word,.today-study{font-size:9px;padding:6px 3px}.top-actions{gap:4px}.today-filter{padding:17px 13px;gap:12px}.wheel-wrap{width:100px}.wheel-wrap svg{width:98px;height:98px}.gender-filter{padding:6px 7px}.specials{gap:6px}.specials button{width:32px}.training-card.navy,.training-card.amber,.training-card.red,.training-card.cream{padding:17px 13px}.training-main>strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:0s!important;scroll-behavior:auto!important}::view-transition-old(app-content),::view-transition-new(app-content){animation:none!important}}
.exercise.is-resolved .prompt:has(.context-example){margin-bottom:20px}
.settings-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.settings-shortcuts button{font-size:12px}
[hidden]{display:none!important}
/* v1.7: local Motion engine handles both entry and exit, plus tactile press feedback. */
.primary,.secondary,.meaning-option,.training-main{position:relative;isolation:isolate;overflow:hidden}
.press-ripple{position:absolute;pointer-events:none;z-index:-1;width:100px;height:100px;margin:-50px 0 0 -50px;border-radius:50%;background:currentColor;opacity:0}
.answer-spark{position:absolute;display:block;width:7px;height:7px;border-radius:50%;background:var(--spark-color);pointer-events:none;margin:-3px 0 0 -3px}
#skipWord{color:#7e90ab;font-size:12px;min-width:48px}.answer-actions{flex-wrap:wrap;column-gap:20px;row-gap:8px}.skipped-count{font-size:10px;font-weight:400;opacity:.65;margin-left:3px}.skip-badge{color:#9aa5b7;font-size:10px;border:1px solid #e0e6ef;padding:3px 5px;border-radius:5px;font-family:inherit}
#skippedDialog{width:760px;max-width:calc(100vw - 30px)}#skipSearch{width:100%;padding:10px 13px}#skippedList{max-height:58dvh;overflow:auto;overscroll-behavior:contain;padding-right:5px}.skipped-word{border:1px solid #e3e9f2;border-radius:12px;margin:12px 0;background:#fff}.skipped-word-row{padding:17px 18px;display:flex;justify-content:space-between;gap:17px;align-items:center}.skipped-word-row>div:first-child{min-width:0}.skipped-word-row strong{font-size:21px;font-weight:550;overflow-wrap:anywhere}.skipped-word-row p{margin:5px 0 0;font-size:12px}.skipped-word-row>div+div{display:flex;align-items:center;gap:10px;flex-shrink:0}.skipped-word-row .secondary{font-size:12px;padding:9px 13px;min-height:40px}.skipped-detail{padding:0 18px 10px;color:#8b9bb1;font-size:11px}.skipped-detail>summary{cursor:pointer;padding:8px 0;min-height:32px}.skipped-detail .learning-panel{box-shadow:none;border:0;padding:17px 0 5px}.settings-shortcuts{gap:7px}.top-actions{gap:13px}
@media(max-width:600px){.top-actions{gap:5px}.top-actions .text-button{font-size:10px}#skippedButton{padding:0 4px}.brand{gap:8px}.skipped-word-row{padding:15px 13px;gap:10px;align-items:flex-start}.skipped-word-row strong{font-size:18px}.skipped-word-row>div+div{gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:90px}.skipped-word-row .secondary{font-size:11px;padding:8px 10px}.skipped-detail{padding-left:13px;padding-right:13px}.answer-actions{column-gap:14px}#skipWord{font-size:11px}#skippedDialog{padding:21px 16px}.sound-previews .secondary{font-size:10px}}
