.recite-words{min-height:100vh;background:var(--canvas);color:var(--ink);padding:24px clamp(20px,3%,40px) 36px;font-family:var(--font-sans);letter-spacing:0}
.recite-words .rw-companion{margin-top:8px;font-size:13px;padding:6px 10px;min-height:44px}.rw-source-notice{max-height:85vh;overflow:auto}.rw-source-notice header{display:flex;align-items:center;justify-content:space-between;gap:12px}.rw-source-notice h2{font-size:20px;margin:0}.rw-source-notice p,.rw-source-notice pre{font-size:14px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.rw-source-notice header button{width:44px;flex-shrink:0;padding:8px}
.rw-plan-table{width:100%;table-layout:fixed;border-collapse:collapse;background:white;font-size:14px}.rw-plan-table caption{text-align:left;color:#607a85;padding:12px 0;line-height:1.6}.rw-plan-table th,.rw-plan-table td{padding:12px 6px;border-bottom:1px solid #d6e6e9;text-align:center;overflow-wrap:anywhere}.rw-plan-table th:first-child{width:40%}.rw-plan-table thead{background:#e2f2f6}.rw-plan-table small{display:block;font-weight:normal;margin-top:6px;color:#607a85}.rw-plan-table [aria-current="date"]{background:#dcf5eb}.rw-original-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rw-original-counters dd{font-size:22px}.rw-original-counters dt{font-size:13px}.rw-schedule .rw-title{flex-wrap:wrap}
.recite-words [data-favorite][aria-pressed="true"]{color:#946100;border-color:#c29329;background:#fff7dc}.recite-words [data-favorite][aria-pressed="true"] svg{fill:#f5cc62}
.rw-practice-stem{font-size:24px;line-height:1.8;margin:40px 0;white-space:pre-line}.rw-practice-stem img{max-width:100%;height:auto;object-fit:contain}
.rw-option-content{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%}.rw-option-content span{overflow-wrap:anywhere;max-width:100%}.rw-option-content img{max-width:100%;height:auto;object-fit:contain}
.recite-words .rw-filters{grid-template-columns:1fr 1fr 1.4fr 1fr}.rw-word>small{display:block;margin:12px 0;color:#607a85;font-size:13px}.rw-word-rows p,.rw-word p{white-space:pre-line;overflow-wrap:anywhere}.rw-word-rows h3{overflow-wrap:anywhere}
@media(max-width:760px){.recite-words .rw-filters{grid-template-columns:1fr 1fr}.recite-words .rw-filters label:last-child{grid-column:auto}}
@media(max-width:760px){.recite-words .rw-word-rows article{grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center}.recite-words .rw-word-rows article>div{grid-column:1;grid-row:1}.recite-words .rw-word-rows article>p{grid-column:1/-1;grid-row:2;margin:4px 0;line-height:1.7}.recite-words .rw-word-rows article>button{grid-row:1;padding:8px}.recite-words .rw-word-rows article>span{display:none}.rw-word-list .rw-title label{display:flex;gap:8px;align-items:center;white-space:nowrap}}
.rw-speech-consent{display:flex;align-items:center;gap:8px;text-align:left;width:100%;font-size:14px;line-height:1.7}.rw-speech-consent input{flex-shrink:0}.rw-oral-results{list-style:none;padding:0;line-height:1.8}.rw-record .rw-oral-result{color:#24684e}
@media(max-width:480px){.rw-original-counters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.recite-words[hidden]{display:none}.recite-words *{box-sizing:border-box}.recite-words button,.recite-words input,.recite-words select{font:inherit}.recite-words button{min-height:42px;border:1px solid #b6dbe1;border-radius:8px;background:white;color:#254450;padding:8px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.recite-words button:disabled{opacity:.5;cursor:default}.recite-words button:hover:not(:disabled){border-color:#1598bf;background:#f0fcff}.recite-words button:focus-visible,.recite-words input:focus-visible,.recite-words select:focus-visible{outline:3px solid #f7be52;outline-offset:3px}.recite-words svg{width:22px;height:22px;flex-shrink:0}.rw-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1500px;margin:0 auto 28px}.rw-header h1{font-size:30px;font-weight:600;margin:0}.rw-header h1 span{color:#06aab5}.rw-header>div{display:flex;gap:10px}.rw-header>button,.rw-header>div>button{width:44px;padding:8px}.rw-content{max-width:1500px;margin:auto}.rw-status{max-width:1500px;margin:0 auto 18px;border-left:4px solid #d59c33;padding:12px;background:#fff7dc;color:#715000;overflow-wrap:anywhere}.rw-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 36px}.rw-current{background:white;border-radius:8px;padding:28px;min-width:0}.rw-current-top{display:flex;justify-content:space-between;gap:16px;align-items:center}.rw-current-top>img{width:74px;height:74px;object-fit:contain}.rw-current h2{font-size:24px;line-height:1.5;overflow-wrap:anywhere}.rw-coverage{color:#677e87;font-size:14px;line-height:1.6}.rw-current dl,.rw-complete dl,.rw-plan dl{display:flex;justify-content:space-between;gap:18px;margin:26px 0}.recite-words dt{font-size:14px;color:#607a85}.recite-words dd{margin:8px 0 0;font-size:26px;color:#1598bf}.rw-current>button{margin-top:18px}.rw-today{padding:28px 8px;min-width:0}.rw-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.rw-title h2{font-size:24px;margin:0}.rw-title>span{font-size:14px;color:#647f89}.rw-counters{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}.rw-counters>div{min-height:150px;background:#06b1c2 url('/assets/original-ui/bg_recitewordsnew_xinxue.webp') center/100% 100%;padding:20px 26px;color:white}.rw-counters>div+div{background-color:#6d77d1;background-image:url('/assets/original-ui/bg_recitewordsnew_fuxi.webp')}.rw-counters span{display:block}.rw-counters strong{font-size:44px;display:inline-block;margin:8px 8px 0 0}.rw-counters small{font-size:16px}.rw-actions{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin:20px 0}.recite-words .rw-primary{background:#11add0;border-color:#11add0;color:white}.recite-words .rw-primary:hover:not(:disabled){background:#0992b3;color:white}.rw-today>button{border:0;background:transparent;font-size:14px;float:right}.rw-schedule{grid-column:1/-1;border-top:1px solid #b8dce2;padding-top:28px}.rw-schedule-head,.rw-schedule-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;text-align:center;padding:18px;background:#e2f2f6;margin-top:20px}.rw-schedule-row{background:white;margin:0}.rw-plan{width:min(600px,100%);margin:36px auto;background:#fff;padding:32px;border-radius:8px}.rw-plan>label{display:flex;gap:20px;align-items:center;justify-content:space-between}.recite-words input,.recite-words select{border:1px solid #b8d5dc;border-radius:6px;background:white;padding:10px;min-height:44px;max-width:100%}.rw-plan input{width:100px}.rw-filters{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:20px;padding:24px 0}.rw-filters label{display:grid;gap:9px;min-width:0}.rw-filters select,.rw-filters input{width:100%;min-width:0}.rw-library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.rw-library-list article{display:flex;align-items:center;border-top:1px solid #c8dfe3;padding:18px 0;gap:16px;min-width:0}.rw-library-list article>img{width:58px;height:78px;object-fit:contain;flex-shrink:0}.rw-library-list article>div{flex:1;min-width:0}.rw-library-list h3{font-size:16px;line-height:1.6;margin:0;overflow-wrap:anywhere}.rw-library-list p{font-size:13px;color:#617c85;line-height:1.7;margin:6px 0}.rw-library-list button{flex-shrink:0}.rw-word-rows article{display:grid;grid-template-columns:minmax(120px,1fr) minmax(100px,2fr) 55px 44px 44px;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #c8dfe3}.rw-word-rows article[hidden]{display:none}.rw-word-rows h3{margin:0}.rw-word-rows p{margin:6px 0;overflow-wrap:anywhere}.rw-word-rows button{padding:8px}.rw-word-list audio,.rw-session audio{width:min(420px,100%);margin:20px auto}.rw-session{max-width:1120px;margin:auto}.rw-session>header{display:flex;align-items:center;gap:24px}.rw-session>header span{margin-left:auto}.rw-session>header h2{font-size:24px}.rw-steps{list-style:none;display:flex;justify-content:center;gap:40px;padding:0;margin:22px 0 30px}.rw-steps li{width:48px;height:48px;border-radius:50%;background:#c9e8ed;display:grid;place-items:center;color:#537582;font-size:20px}.rw-steps li[data-active=true]{background:#0bb4c4;color:white;box-shadow:0 0 0 6px #d6f3f5}.rw-session-body{background:white;border-radius:8px;padding:30px;min-height:490px;text-align:center}.rw-learn{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;min-height:350px}.rw-word{min-width:0}.rw-word h2{font-size:40px;font-weight:500;margin:20px 0;overflow-wrap:anywhere}.rw-word>p{font-size:21px;line-height:1.6;overflow-wrap:anywhere}.rw-word>p:first-of-type{color:#718492;font-size:18px}.rw-examples{border-left:1px solid #cce1e6;padding:20px 28px}.rw-examples h3{font-size:22px;margin:0 0 40px}.rw-examples p{line-height:1.8;overflow-wrap:anywhere}.rw-examples .rw-example-en{font-size:23px;color:#1088a8}.rw-example-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:32px}.rw-example-nav button{padding:6px;width:42px}.rw-record{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:25px auto;max-width:680px}.rw-record>p{width:100%;font-size:14px;color:#946c26}.rw-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px auto;max-width:800px}.rw-options button{min-height:64px;justify-content:flex-start;text-align:left;line-height:1.7;overflow-wrap:anywhere}.rw-practice>p{font-size:24px;line-height:1.8;white-space:pre-line;margin:50px 0}.rw-spelling>h2{font-size:26px;line-height:1.7;overflow-wrap:anywhere}.rw-spelling>input{display:block;margin:20px auto;text-align:center;font-size:28px;width:min(480px,100%)}.rw-letters{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:32px auto;max-width:640px}.rw-letters button{width:46px;height:50px;padding:8px;font-size:24px}.rw-complete{text-align:center;margin:50px auto;max-width:800px}.rw-complete>img{width:80px;height:80px;object-fit:contain}.rw-complete>strong{font-size:40px;color:#06a3ac}.rw-complete dl{background:white;padding:26px}.rw-history article{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:20px;border-bottom:1px solid #c9e0e5}.recite-words dialog{border:0;border-radius:8px;padding:28px;max-width:500px;width:calc(100% - 40px);color:#254450}.recite-words dialog::backdrop{background:#173c5070}.recite-words dialog footer{display:flex;justify-content:flex-end;gap:14px;margin-top:25px}
@media(max-width:760px){.recite-words{padding:16px}.rw-header{gap:10px;margin-bottom:20px}.rw-header h1{font-size:24px}.rw-header>div{gap:4px}.rw-header>button,.rw-header>div>button{width:38px;min-height:38px;padding:6px}.rw-dashboard{grid-template-columns:1fr;gap:20px}.rw-current,.rw-today{padding:20px}.rw-current h2{font-size:21px}.rw-counters strong{font-size:36px}.rw-counters{gap:12px}.rw-counters>div{padding:18px;min-height:140px}.rw-schedule{padding-top:20px}.rw-title h2{font-size:21px}.rw-filters{grid-template-columns:1fr 1fr;gap:14px}.rw-filters label:last-child{grid-column:1/-1}.rw-library-list{grid-template-columns:1fr}.rw-library-list article{gap:12px}.rw-library-list article>img{width:46px;height:66px}.rw-library-list article>button{padding:8px 12px}.rw-word-rows article{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px 40px;gap:10px}.rw-word-rows article>span{display:none}.rw-steps{gap:20px}.rw-steps li{width:40px;height:40px}.rw-session-body{padding:20px 14px;min-height:500px}.rw-learn{grid-template-columns:1fr;gap:20px}.rw-word h2{font-size:34px}.rw-examples{border-left:0;border-top:1px solid #cce1e6;padding:24px 6px}.rw-examples h3{margin:0 0 20px}.rw-options{grid-template-columns:1fr;gap:12px}.rw-practice>p{font-size:21px}.rw-plan{padding:24px;margin:20px auto}.rw-complete dl{flex-wrap:wrap;justify-content:center}.rw-complete dl>div{flex:1;min-width:120px}.rw-history article{flex-wrap:wrap}.rw-current dl{gap:8px}.rw-current dt{font-size:12px}.rw-current dd{font-size:24px}.rw-example-nav{gap:8px}}

/* ===== 新版背单词 + 单词本（黏土卡片风） ===== */
.recite-words{background:var(--canvas);color:var(--ink)}
.recite-words .rw-header{max-width:1280px;margin:0 auto 22px}
.recite-words .rw-header h1{font-size:28px;font-weight:700;letter-spacing:1px}
.recite-words .rw-content{max-width:1280px;margin:0 auto}
.recite-words button{min-height:42px;border:1px solid #b6dbe1;border-radius:12px;background:#fff;color:#254450;padding:8px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font:inherit}
.recite-words button:disabled{opacity:.5;cursor:default}
.recite-words svg{width:20px;height:20px;flex-shrink:0}
.recite-words .rw-primary{background:#0bb4c4;border-color:#0bb4c4;color:#fff}
.recite-words .rw-mini{min-height:36px;padding:6px 12px;border-radius:10px;font-size:14px}
.recite-words .rw-mini.primary{background:#fff1d9;border-color:#f0c878;color:#8a5a00}
.recite-words .rw-mini.danger{color:#b3402f;border-color:#e6b3ab}
.recite-words .rw-back{width:44px;padding:8px}
.recite-words .rw-header-tools{display:flex;gap:10px}
.recite-words .rw-header-tools button{width:44px;padding:8px}

.rw-filter-bar{display:flex;flex-direction:column;gap:14px;margin-bottom:22px}
.rw-chips,.rw-editions{display:flex;flex-wrap:wrap;gap:10px}
.rw-chip,.rw-ed{border-radius:999px;padding:9px 18px;background:#fff;border:1px solid #cfe6ea;font-size:14px;color:#3f6170;cursor:pointer}
.rw-chip.is-active,.rw-ed.is-active{background:#0bb4c4;border-color:#0bb4c4;color:#fff;box-shadow:0 4px 10px #0bb4c433}
.rw-search{position:relative;display:flex;align-items:center;gap:8px;max-width:340px}
.rw-search svg{width:18px;height:18px;color:#7c9aa4}
.rw-search input{flex:1;border:1px solid #cfe6ea;border-radius:12px;padding:10px 14px;font:inherit;background:#fff}

.rw-dict-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.rw-dict-card{background:#fff;border-radius:22px;padding:6px;box-shadow:0 10px 24px #17365012;border:1px solid #eaf3f4}
.rw-dict-main{display:flex;align-items:center;gap:16px;width:100%;border:0;background:transparent;text-align:left;padding:18px;border-radius:18px}
.rw-dict-main:hover{background:#f4fbfc}
.rw-dict-glyph{flex-shrink:0;width:56px;height:56px;border-radius:18px;background:#fff1d9;color:#b07410;display:grid;place-items:center;font-size:26px;font-weight:800}
.rw-dict-glyph.lg{width:72px;height:72px;font-size:32px}
.rw-dict-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.rw-dict-body strong{font-size:17px}
.rw-dict-desc{font-size:13px;color:#617c85;overflow-wrap:anywhere}
.rw-dict-meta{font-size:12px;color:#8aa5ad}
.rw-dict-go{color:#9dbcc4}

.rw-dict-hero{display:flex;gap:20px;align-items:center;background:#fff;border-radius:22px;padding:26px;margin-bottom:24px;box-shadow:0 10px 24px #17365012}
.rw-dict-hero h2{margin:0 0 6px;font-size:24px}
.rw-dict-hero p{margin:0 0 6px;color:#617c85}
.rw-chapter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.rw-chapter{display:flex;align-items:center;gap:12px;border-radius:18px;background:#fff;border:1px solid #eaf3f4;padding:18px;box-shadow:0 6px 16px #1736500d}
.rw-chapter-no{width:38px;height:38px;border-radius:12px;background:#e2f6f8;color:#0b8fa0;display:grid;place-items:center;font-weight:700}

.rw-chapter-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.rw-chapter-head button{background:#fff;border:1px solid #cfe6ea;border-radius:12px;padding:8px 16px}
.rw-chapter-head span{color:#617c85;font-size:14px}
.rw-word-list{display:flex;flex-direction:column;gap:14px}
.rw-word-card{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-radius:18px;padding:18px 20px;border:1px solid #eaf3f4;box-shadow:0 6px 16px #1736500d}
.rw-word-card.is-in-book{border-color:#cde9b8;background:#fbfff6}
.rw-word-main{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.rw-word-name{font-size:20px;font-weight:700}
.rw-word-name.big{font-size:32px}
.rw-word-phon{color:#718492;font-size:15px}
.rw-word-meaning{color:#4a6570;font-size:15px;flex-basis:100%}
.rw-word-actions{display:flex;gap:8px;flex-shrink:0}

.rw-notebook{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}
.rw-book-list{background:#fff;border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:10px;box-shadow:0 10px 24px #17365012}
.rw-book-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.rw-book-list-head h2{font-size:18px;margin:0}
.rw-book-item{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;border:1px solid #eaf3f4;background:#fff;border-radius:14px;padding:14px 16px;text-align:left}
.rw-book-item.is-active{background:#e2f6f8;border-color:#9fdfe6}
.rw-book-name{font-weight:600}
.rw-book-count{font-size:12px;color:#617c85}
.rw-book-tools{display:flex;gap:6px}
.rw-book-tools svg{width:16px;height:16px}
.rw-book-words-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.rw-book-words-head h2{margin:0;font-size:20px}

.rw-review{max-width:640px;margin:30px auto;text-align:center}
.rw-review-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;color:#617c85}
.rw-review-card{background:#fff;border-radius:26px;padding:40px 28px;display:flex;flex-direction:column;align-items:center;gap:14px;box-shadow:0 12px 30px #17365014}
.rw-review-actions{display:flex;justify-content:center;gap:14px;margin-top:24px}

.rw-empty{color:#7c9aa4;text-align:center;padding:40px 0}
.rw-dialog{border:0;border-radius:20px;padding:26px;max-width:440px;width:calc(100% - 40px);color:#254450}
.rw-dialog::backdrop{background:#173c5070}
.rw-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.rw-dialog header h2{font-size:19px;margin:0}
.rw-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}
.rw-field{display:flex;flex-direction:column;gap:8px}
.rw-field input,.rw-field select{border:1px solid #cfe6ea;border-radius:12px;padding:10px 14px;font:inherit}

@media(max-width:960px){
  .rw-dict-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rw-chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rw-notebook{grid-template-columns:1fr}
}
@media(max-width:640px){
  .rw-dict-grid{grid-template-columns:1fr}
  .rw-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rw-word-card{flex-direction:column;align-items:stretch}
  .rw-word-actions{justify-content:flex-end}
}
