/* Native digest library and reader; scoped away from the existing bilingual reader. */
body.cth-digest-page,body.cth-digest-read{background:#faf9f5;color:#233c39}
.cth-digest-header{box-sizing:border-box;display:flex;align-items:center;gap:4px;min-height:60px;max-width:1060px;margin:0 auto;padding:8px 18px;border-bottom:1px solid #e3e4dc;color:#2b514b;font:15px/1.5 var(--cth-sans,sans-serif)}
.cth-digest-header a{display:flex;align-items:center;min-height:44px;text-decoration:none;color:inherit}
.cth-digest-header .lt-back{justify-content:center;width:40px;margin-left:-10px}
.cth-digest-header .lt-back svg{width:23px;height:23px}
.cth-digest-header>span:last-child{margin-left:auto;color:#65736c;font-size:13px}
body.cth-digest-page .cth-digest-library{box-sizing:border-box;max-width:1000px;margin:0 auto;padding:24px 22px calc(100px + env(safe-area-inset-bottom));font-family:var(--cth-sans,sans-serif)}
.cth-digest-library-title{padding:0 0 22px}
.cth-digest-library-title>p{margin:0 0 8px;color:#817052;font-size:12px;letter-spacing:.12em}
.cth-digest-library-title h1{margin:0 0 10px;font:600 34px/1.3 "Songti SC","Noto Serif CJK SC",serif;letter-spacing:.08em;color:#173f39}
.cth-digest-library-title>span{font-size:14px;color:#67746b;line-height:1.7}
body.cth-digest-page .cth-digest-filters{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:12px;margin:0 0 15px}
.cth-digest-filters label>span{font-size:12px;color:#69746c}
.cth-digest-filters .cth-choice-trigger{min-height:46px;font-size:14px;padding:10px 13px;border-color:#d8ded4;background:#fffefa;border-radius:8px}
.cth-digest-filters .cth-resource-apply{grid-column:1/-1}
body.cth-digest-page .cth-digest-series-tabs{display:flex;gap:27px;border-bottom:1px solid #dbe1d7;margin:0;overflow:visible}
body.cth-digest-page .cth-digest-series-tabs a{flex:none;display:flex;align-items:center;min-height:46px;padding:0 2px;color:#64736a;font-size:15px}
body.cth-digest-page .cth-digest-series-tabs a[aria-current]{color:#1c6055}
body.cth-digest-page .cth-digest-count{margin:18px 0 24px;color:#7a7d70;font-size:12px}
.cth-digest-week{margin:0 0 32px}
.cth-digest-week>header{padding:0 0 13px}
.cth-digest-week>header>p{margin:0 0 5px;color:#6e7d70;font-size:12px;line-height:1.6}
.cth-digest-week>header>h2{margin:0;max-width:36em;font:600 18px/1.6 "Songti SC","Noto Serif CJK SC",serif;color:#223e36}
.cth-digest-cards{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #e0e3d9;border-radius:12px;background:#fffefa;overflow:hidden}
.cth-digest-card{display:grid;grid-template-columns:1fr auto;gap:7px 14px;min-width:0;padding:20px 18px;text-decoration:none;color:#1f3933;transition:background-color .15s}
.cth-digest-card+.cth-digest-card{border-top:1px solid #e7e8e0}
.cth-digest-series{grid-column:1/-1;justify-self:start;color:#7c6645;font-size:11px;line-height:1.5;letter-spacing:.1em}
.cth-digest-card h3{grid-column:1/-1;margin:0;font:600 21px/1.5 "Songti SC","Noto Serif CJK SC",serif;overflow-wrap:anywhere}
.cth-digest-card>p{grid-column:1/-1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:1px 0 0;color:#737b70;font-size:13px;line-height:1.8}
.cth-digest-card-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;color:#315e51;font-size:12px;line-height:1.6}
.cth-digest-card-foot svg{width:18px;height:18px}
.cth-digest-card:active{background:#f0f1e9}
@media(hover:hover){.cth-digest-card:hover{background:#f4f5ed}}
.cth-digest-empty{padding:30px 4px}
.cth-digest-empty h2{font-size:20px;margin:0 0 12px}
.cth-digest-empty p{font-size:14px;line-height:1.8;color:#69756a}
.cth-digest-empty a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:5px 0;border-bottom:1px solid #e0e3d9;color:#245c50;text-decoration:none;font-size:14px}
.cth-native-digests{margin-top:32px}
.cth-digest-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 14px}
.cth-digest-section-head p{margin:0 0 4px;font-size:12px;color:#7b775f}
.cth-digest-section-head h2{margin:0;font:600 24px/1.5 "Songti SC","Noto Serif CJK SC",serif;color:#233c39}
.cth-digest-section-head>a{display:flex;align-items:center;min-height:44px;font-size:13px;white-space:nowrap;color:#366153;text-decoration:none}
body.cth-digest-read .cth-digest-readerbar{position:sticky;top:0;z-index:20;max-width:none;background:#faf9f5;border-bottom:1px solid #e3e4dc;padding-block:max(5px,env(safe-area-inset-top)) 5px}
.cth-digest-readerbar>span{font-size:14px}
.cth-digest-reading-tools{display:flex;align-items:center;gap:2px;margin-left:auto}
.cth-digest-reading-tools>button{display:grid;place-items:center;min-width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:#365c52;font-size:17px;cursor:pointer}
.cth-digest-reading-tools>button:disabled{opacity:.35;cursor:default}
body.cth-digest-read main.cth-digest-reading{box-sizing:border-box;max-width:760px;margin:0 auto;padding:30px 24px calc(108px + env(safe-area-inset-bottom));background:transparent}
body.cth-digest-read .cth-digest-article-head{padding:0;text-align:left;max-width:none;color:#213b35}
.cth-digest-article-head .bk-book{display:block;margin:0 0 24px;font-size:12px;line-height:1.7;color:#7e8578;letter-spacing:0}
.cth-digest-kicker{margin:0 0 10px;font:13px/1.5 var(--cth-sans,sans-serif);letter-spacing:.08em;color:#8b7048}
body.cth-digest-read .cth-digest-article-head .bk-h1{margin:0 0 24px;font:600 30px/1.5 "Songti SC","Noto Serif CJK SC",serif;color:#213b35;letter-spacing:.02em}
.cth-digest-listen{margin:0 0 28px}
.cth-digest-listen .cth-au{margin:0;padding:12px 14px;border:1px solid #e0e4d7;border-radius:10px;background:#f0f2e9}
.cth-digest-listen .cth-au-t{margin:0 0 7px;font:13px/1.6 var(--cth-sans,sans-serif);color:#41604e}
.cth-digest-listen audio,.cth-digest-listen video{display:block;width:100%;max-width:100%}
.cth-digest-listen video{margin-top:12px;background:#18231e;border-radius:6px}
body.cth-digest-read #bk-root .cth-digest-text{max-width:none;margin:0;padding:0;background:none;font-family:var(--cth-serif,"Songti SC","Noto Serif CJK SC",serif);font-size:var(--fs,20px);line-height:1.95;color:#28362e;overflow-wrap:break-word}
body.cth-digest-read #bk-root .cth-digest-text p{margin:0 0 1.15em;font-size:inherit;line-height:inherit;text-indent:2em}
body.cth-digest-read #bk-root .cth-digest-text h2{margin:1.8em 0 .8em;font-size:1.1em;line-height:1.7;font-weight:600;text-align:center;color:#295649}
.cth-digest-article-end{text-align:center;margin:42px 0 0;padding:28px 0 0;border-top:1px solid #e2e5d9;color:#8d987e}
.cth-digest-article-end>span{font-size:22px}
.cth-digest-article-end p{font-size:12px;color:#77836c;margin:12px 0 22px}
.cth-digest-article-end a{display:inline-flex;align-items:center;gap:12px;min-height:48px;color:#2e6251;font:14px/1.5 var(--cth-sans,sans-serif);text-decoration:none}
.cth-digest-article-end svg{width:18px;height:18px}
:is(.cth-digest-page,.cth-digest-read,.cth-native-digests) :is(a,button):focus-visible{outline:2px solid #35745d;outline-offset:3px}
@media(min-width:700px){
 .cth-digest-header{padding:10px 24px}.cth-digest-library-title{padding-top:12px}
 body.cth-digest-page .cth-digest-filters{max-width:600px}
 .cth-digest-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
 .cth-digest-card{padding:24px 20px;grid-template-rows:auto auto 1fr auto}
 .cth-digest-card+.cth-digest-card{border-top:0;border-left:1px solid #e7e8e0}
 .cth-digest-card>p{-webkit-line-clamp:3}.cth-digest-card h3{font-size:23px}
 .cth-digest-week{margin-bottom:42px}.cth-digest-week>header>h2{font-size:22px}
 body.cth-digest-read main.cth-digest-reading{padding-top:48px}
 body.cth-digest-read .cth-digest-article-head .bk-h1{font-size:38px}
}
@media(max-width:350px){body.cth-digest-page .cth-digest-library{padding-inline:16px}body.cth-digest-read main.cth-digest-reading{padding-inline:18px}.cth-digest-card{padding:18px 16px}.cth-digest-library-title h1{font-size:30px}.cth-digest-filters .cth-choice-trigger{padding-inline:10px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.cth-digest-card{transition:none}body.cth-digest-read #bk-root{animation:none}}

/* The book annotation component requires these reader surface tokens. */
body.cth-digest-read{--bk-bg:#faf9f5;--bk-fg:#263830;--bk-sub:#4f6256;--bk-link:#2e6b56;--bk-gold:#36725e;--bk-sheet:#fffefb;--bk-sheetfg:#263830;--bk-muted:#778073;--bk-line:#e0e4d9;--bk-fill:#f0f2eb;--paper:#fffefb;--ink:#263830;--soft:#778073;--line:#e0e4d9}
body.cth-digest-read .cth-digest-readerbar{height:56px;min-height:56px;padding:5px 16px;z-index:31}
.cth-digest-series-mark{margin-left:auto!important;color:#8a704e!important;font-size:12px!important;letter-spacing:.12em}
.cth-digest-toolbar{position:sticky;top:56px;z-index:30;display:flex;height:56px;padding:0 8px;background:#faf9f5;border-bottom:1px solid #e1e4da}
.cth-digest-toolbar>button{flex:1;min-width:44px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:0;background:transparent;color:#45594d;font:11px/1.5 var(--cth-sans,sans-serif);cursor:pointer}
.cth-digest-toolbar>button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}
.cth-digest-toolbar [data-digest-panel="font"]{order:4}
.cth-digest-toolbar .bk-notesbtn{order:3}
body.cth-digest-read .cth-digest-article-head .bk-h1{font-size:27px;line-height:1.55;font-weight:650;letter-spacing:0}
.cth-digest-article-head .bk-book{margin-bottom:18px;color:#6c7d72}
.cth-digest-kicker{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:10px}
.cth-digest-kicker:before{content:'';width:18px;height:2px;background:#b1976d}
.cth-digest-text h2{scroll-margin-top:125px}
.cth-digest-font-setting{display:flex;align-items:center;justify-content:space-between;padding:12px 0 24px;gap:20px;color:#7a8173;font-size:13px}
.cth-digest-font-setting button{width:66px;height:48px;border:1px solid #d9e1d3;background:#f1f4ed;color:#305e4f;border-radius:8px;font-size:21px}
.cth-digest-font-setting button:disabled{opacity:.4}
body.cth-digest-read #bk-notes{background:var(--bk-sheet);color:var(--bk-sheetfg)}
@media(min-width:700px){body.cth-digest-read .cth-digest-article-head .bk-h1{font-size:34px}}
