.reader-app{--background:#f8f8f7;--card:#fff;--primary:#225c4a;--primary-foreground:#fff}[data-theme=dark] .reader-app{--background:#0a0a0b;--card:#151515;--primary:#e11d27;--primary-foreground:#fff}body:has(.reader-app){background:#f8f8f7}[data-theme=dark] body:has(.reader-app){background:#0a0a0b}.reader-text{scroll-margin-top:145px;font-family:Noto Serif SC,Songti SC,STSong,SimSun,Georgia,serif;line-height:1.95}.reader-layout{max-width:760px;margin-inline:auto}.reader-layout.with-toc{max-width:none}.reader-toc{overscroll-behavior:contain;max-height:55dvh;overflow-y:auto}.reader-loading{animation:1s linear infinite reader-spin}@keyframes reader-spin{to{transform:rotate(360deg)}}@media (width>=900px){.reader-layout.with-toc{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:20px;display:grid}.reader-toc{max-height:calc(100dvh - 160px);position:sticky;top:138px}}@media (prefers-reduced-motion:reduce){.reader-loading{animation:none}}
