@charset "UTF-8";
:root{--ink:#243b47;--muted:#7a8587;--paper:#f8f9f6;--line:#dfe5df;--green:#38675d;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #b87949;outline-offset:5px}button:disabled{cursor:default;opacity:.35}svg{display:block}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}button svg,a svg{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.skip-link{position:fixed;z-index:100;top:-80px;left:20px;padding:10px 16px;background:var(--ink);color:white}.skip-link:focus{top:10px}.loading{display:grid;min-height:80vh;place-items:center;color:var(--muted)}.container{max-width:1220px;margin:auto;padding:0 42px}.site-header{height:84px;border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:10px;text-align:left;padding:0}.brand-mark{width:37px;height:37px}.brand-name{font-family:var(--serif);font-size:22px;font-weight:700;letter-spacing:2px}.brand-sub{display:block;font-size:9px;font-weight:400;letter-spacing:2.4px;color:var(--muted);line-height:1.4}.header-nav{display:flex;gap:30px;align-items:center;font-size:13px}.header-nav button{padding:8px 0;color:#647477;position:relative}.header-nav button.active{color:var(--ink)}.header-nav button.active:after{content:"";position:absolute;bottom:-20px;left:50%;height:3px;width:18px;transform:translateX(-50%);background:var(--green);border-radius:3px}.header-note{font-size:11px;letter-spacing:1px;color:var(--muted);display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:#729381;display:inline-block;flex-shrink:0}.hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:50px;padding:53px 0 41px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7c8e86;display:flex;gap:9px;align-items:center}.eyebrow:before{content:"";width:21px;height:1px;background:currentColor}.hero h1{font-family:var(--serif);font-weight:500;letter-spacing:2px;font-size:43px;line-height:1.45;margin:17px 0 18px}.hero h1 em{font-style:normal;color:var(--green);position:relative}.hero h1 em:after{content:"";position:absolute;left:0;bottom:-6px;width:100%;height:6px;border-top:1px solid #91a89c;border-radius:50%}.hero-copy>p{color:#73807e;font-size:13px;line-height:1.95}.hero-bottom{display:flex;align-items:center;gap:32px;margin-top:28px}.hero-link{display:inline-flex;gap:16px;align-items:center;border-bottom:1px solid #91a89c;padding:6px 0;font-size:13px}.hero-stats{display:flex;gap:20px;color:#7a8581;font-size:10px}.hero-stats b{font-family:Georgia,var(--serif);font-weight:400;font-size:23px;color:var(--ink);margin-right:5px}.hero-art{display:flex;align-items:center;justify-content:center;position:relative}.hero-art svg{width:100%;max-width:415px;height:270px}.hero-art .note{position:absolute;bottom:0;right:16px;font-family:var(--serif);font-size:11px;letter-spacing:1px;color:#718079}.overline{font-size:10px;letter-spacing:1.8px;color:#89938e}.text-link{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#74827b;padding:3px 0}.text-link:hover{color:var(--green)}.shelf-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.shelf-heading h2{font-family:var(--serif);font-weight:500;font-size:27px;letter-spacing:2px}.shelf-heading p{color:var(--muted);font-size:12px;margin-top:5px}.search{display:flex;align-items:center;gap:10px;border-bottom:1px solid #a9b7ad;min-width:270px;padding:9px 0}.search input{min-width:0;width:100%;border:0;background:none;outline:none;font-size:12px;color:var(--ink)}.search input::placeholder{color:#939e97}.clear-search{width:24px;height:24px;font-size:19px;line-height:1}.category-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}.category-tabs::-webkit-scrollbar{display:none}.category-tab{display:flex;align-items:center;gap:8px;padding:14px 0;font-size:13px;color:#839088;position:relative;flex-shrink:0}.category-tab b{font-size:10px;font-weight:400;opacity:.7;font-family:Georgia,serif}.category-tab.active{color:var(--ink)}.category-tab.active:after{content:"";position:absolute;bottom:0;left:0;right:0;background:var(--green);height:2px}.catalog-group{margin:31px 0 44px}.group-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.group-title{display:flex;align-items:baseline;gap:11px}.group-title span{font-family:Georgia,serif;font-size:13px;color:var(--accent);opacity:.65}.group-title h3{font-family:var(--serif);font-size:19px;font-weight:500;letter-spacing:1px}.group-heading>p{font-size:11px;color:#8b948d}.book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px}.book{min-width:0}.book-open{width:100%;text-align:left;padding:0;display:block}.book-cover{height:247px;background:var(--cover);border:1px solid color-mix(in srgb,var(--accent) 20%,white);box-shadow:4px 5px 0 #e5e9e1;position:relative;padding:22px 19px 18px 24px;display:flex;flex-direction:column;overflow:hidden;transition:transform .2s,box-shadow .2s;border-radius:1px 3px 3px 1px}.book-cover:before{content:"";position:absolute;left:7px;top:0;bottom:0;width:1px;background:color-mix(in srgb,var(--accent) 17%,white)}.book-cover:after{content:"";position:absolute;bottom:6px;left:14px;right:0;height:3px;border-bottom:1px solid color-mix(in srgb,var(--accent) 15%,white);border-top:1px solid color-mix(in srgb,var(--accent) 8%,white)}.book-topline{display:flex;justify-content:space-between;align-items:center;color:var(--accent);opacity:.65;font-size:9px;letter-spacing:1.5px}.book-topline i{font-family:Georgia,serif;font-style:normal;letter-spacing:1px}.book-cover h4{font-family:var(--serif);font-weight:500;font-size:24px;line-height:1.55;letter-spacing:2px;margin:19px 0 0;color:var(--accent)}.cover-art{color:var(--accent);opacity:.8;width:88px;height:67px;align-self:flex-end;margin-top:auto;margin-right:4px}.book-cover .cover-category{font-size:9px;letter-spacing:2px;color:var(--accent);opacity:.7;margin-top:auto;padding-bottom:1px}.book-open:hover .book-cover{transform:translateY(-5px);box-shadow:5px 10px 0 #e4e9e1}.book-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7b8980;margin:16px 0 7px}.ready-mark{color:#426e5d;display:flex;align-items:center;gap:5px}.book-desc{font-size:11px;line-height:1.7;color:#89928a;min-height:37px}.book-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:9px;padding-top:10px;font-size:10px}.book-actions button{padding:0;display:flex;align-items:center;gap:5px}.book-actions a{display:flex;align-items:center;gap:3px;color:#8a938e}.book-actions a:hover{color:var(--ink)}.site-footer{border-top:1px solid var(--line);margin-top:40px;padding:27px 0 34px;font-size:11px;color:#88938c}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-inner b{font-family:var(--serif);font-size:15px;font-weight:500;color:#526b62}.footer-inner p{font-size:10px;margin-top:4px}.footer-right{display:flex;gap:20px}.footer-right a{border-bottom:1px solid #c1cbc1;padding-bottom:2px}.search-summary{padding:25px 0 18px;font-size:12px;color:var(--muted)}.results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.result{border:1px solid var(--line);background:#fcfcfa;text-align:left;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;transition:background .2s}.result:hover{background:#f0f4ee}.result h3{font-size:15px;font-family:var(--serif);font-weight:500;line-height:1.7}.result p{font-size:10px;color:var(--muted);margin-top:6px}.result .result-state{font-size:10px;color:#7f9086;margin-top:7px}.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.empty-state svg{margin:0 auto 20px;color:#94a59a}.empty-state h3{font-family:var(--serif);font-size:21px;color:#60766b;font-weight:500}.empty-state p{font-size:12px;margin-top:9px}.small-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b8c6bd;padding:8px 16px;border-radius:3px;background:#fff;color:#34574e;font-size:12px;min-height:38px}.small-button.primary{background:var(--green);color:#fff;border-color:var(--green)}.small-button:hover{filter:brightness(.97)}.empty-state .small-button{margin-top:20px}.history-intro{padding-top:43px}.history-list{display:grid;gap:15px;margin-top:25px;grid-template-columns:repeat(2,1fr)}.history-card{border:1px solid var(--line);background:#fcfcf9;padding:24px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:20px}.history-card h3{font-family:var(--serif);font-size:22px;font-weight:500}.history-card p{font-size:12px;color:var(--muted);margin:6px 0 11px}.history-card .bar{height:2px;background:#e4e9e1;width:160px}.history-card .bar span{height:100%;background:var(--green);display:block}
.reader-mode{background:#f0f3ef}.reader-header{height:69px;position:sticky;top:0;z-index:20;background:rgba(250,251,248,.97);border-bottom:1px solid #dae1da;backdrop-filter:blur(10px)}.reader-header-inner{max-width:1220px;margin:auto;height:100%;padding:0 28px;display:flex;justify-content:space-between;align-items:center;gap:22px}.back-link{display:flex;align-items:center;gap:8px;font-size:12px;color:#587064;padding:7px 0}.reader-book-heading{text-align:center;flex:1}.reader-book-heading h1{font-size:16px;font-family:var(--serif);font-weight:500;letter-spacing:1px}.reader-book-heading span{display:block;font-size:10px;color:var(--muted);margin-top:1px}.reader-header-actions{display:flex;gap:10px;align-items:center}.reader-header-actions .small-button{padding:7px 11px;min-height:34px;font-size:11px;background:transparent}.reading-track{position:absolute;bottom:-1px;left:0;right:0;height:2px}.reading-track div{height:100%;background:var(--accent,var(--green));width:0;transition:width .1s linear}.reader-layout{display:grid;grid-template-columns:218px minmax(0,1fr);max-width:1150px;gap:35px;margin:auto;padding:28px 28px 50px}.reader-sidebar{position:sticky;top:96px;align-self:start;max-height:calc(100vh - 120px);overflow:auto;padding:0 12px 20px 0;scrollbar-width:thin}.toc-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d8e1d9;margin-bottom:12px;padding:0 3px 12px;font-size:12px}.toc-heading span{color:#8a968e;font-size:10px}.toc-list{list-style:none;padding:0;margin:0}.toc-list button{display:flex;text-align:left;align-items:flex-start;gap:9px;padding:11px 9px;width:100%;font-size:12px;color:#79877f;line-height:1.65;border-left:2px solid transparent}.toc-list button.active{color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,white);border-left-color:var(--accent)}.toc-list button:hover{background:#e9eeE8}.toc-list .toc-index{font-family:Georgia,serif;font-size:11px;opacity:.6;width:15px;flex-shrink:0;line-height:1.8}.toc-list .status-dot{margin-top:7px;margin-left:auto}.toc-note{font-size:10px;color:#8c9990;margin:20px 12px 0;line-height:1.8}.reader-main{min-width:0;max-width:800px;width:100%;margin:auto}.reading-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:11px;color:#809087}.reading-meta .state{display:flex;align-items:center;gap:6px}.article-shell{background:white;box-shadow:0 5px 24px #304b4610;border:1px solid #dfe5df;border-top:4px solid var(--accent);overflow:hidden}.infographic{width:100%;height:auto}.article-bottom{border-top:1px solid var(--line);height:34px;display:flex;justify-content:center;align-items:center;color:#8b9a91;background:#f7faf6;font-family:Georgia,serif;font-size:10px;letter-spacing:2px}.reader-navigation{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0 8px}.reader-nav-side{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.reader-nav-side.right{align-items:flex-end;text-align:right}.reader-nav-side>span{font-size:10px;color:#8c9891;max-width:280px}.reader-nav-side .small-button{min-width:102px}.reader-end{margin-top:23px;padding:22px;background:#f8faf6;border:1px solid #dce4db;text-align:center}.reader-end h3{font-family:var(--serif);font-weight:500;font-size:21px;margin-bottom:7px}.reader-end p{font-size:12px;color:var(--muted);margin-bottom:15px}.reader-end .small-button{margin:0 5px}.keyboard-note{text-align:center;font-size:10px;color:#a0aba3;margin-top:16px}.toc-toggle{display:none!important}.toc-dialog{padding:0;border:1px solid #cbd7cb;max-width:430px;width:calc(100% - 28px);max-height:85vh;background:#f8faf5;border-radius:6px;color:var(--ink)}.toc-dialog::backdrop{background:#263d4066;backdrop-filter:blur(2px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#f8faf5;z-index:1}.dialog-header h2{font-family:var(--serif);font-size:20px;font-weight:500}.dialog-header button{font-size:25px;padding:0 8px}.toc-dialog .toc-list{padding:10px 12px 20px}.toc-dialog .toc-list button{font-size:14px;padding:12px}.placeholder-paper{min-height:1100px;padding:44px 42px 46px;background:#fffefa;position:relative}.placeholder-series{text-align:center;color:var(--accent);font-size:11px;letter-spacing:2px;opacity:.75}.placeholder-paper h2{font-family:var(--serif);font-size:35px;line-height:1.5;letter-spacing:2px;text-align:center;margin:18px auto 24px;max-width:580px;color:var(--accent);font-weight:500}.placeholder-intro{text-align:center;padding:15px 10px 27px;border-bottom:1px solid #dfe6db}.placeholder-intro .outline-badge{display:inline-block;border:1px solid #ccd8c9;border-radius:20px;padding:4px 12px;font-size:10px;color:#7d907c;letter-spacing:1px}.placeholder-hero{display:flex;align-items:center;justify-content:center;height:220px;margin-top:20px}.placeholder-hero svg{width:220px;height:180px;color:var(--accent);opacity:.6}.placeholder-message{text-align:center}.placeholder-message h3{font-family:var(--serif);font-size:24px;font-weight:500;color:#71866f}.placeholder-message p{font-size:12px;color:#9ba594;margin-top:10px;line-height:1.9}.skeleton-section{border-top:1px solid #e6ebe1;padding-top:25px;margin-top:38px}.skeleton-section .skeleton-title{width:125px;height:12px;background:#e8eee4;margin-bottom:23px;border-radius:2px}.skeleton-line{height:6px;background:#eef2e9;width:100%;margin:13px 0;border-radius:2px}.skeleton-line.short{width:67%}.skeleton-vignettes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:28px 0 18px}.skeleton-vignette{height:90px;border:1px dashed #dce4d6;display:grid;place-items:center}.skeleton-vignette svg{height:45px;width:45px;color:#ccd7c5}.placeholder-foot{margin-top:42px;text-align:center;font-size:10px;letter-spacing:2px;color:#a6afa0}
@media(min-width:1450px){.container{max-width:1300px}.book-cover{height:270px}.hero{gap:90px}.hero h1{font-size:47px}.book-cover h4{font-size:26px}}
@media(max-width:1000px){.container{padding:0 28px}.header-note{display:none}.hero{gap:25px}.hero h1{font-size:36px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.book-cover{height:265px}.reader-layout{grid-template-columns:185px minmax(0,1fr);gap:20px;padding-left:20px;padding-right:20px}.reader-header-inner{padding:0 20px}.placeholder-paper{padding:32px 26px}.placeholder-paper h2{font-size:29px}.results-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){html{scroll-padding-top:20px}.container{padding:0 22px}.site-header{height:72px}.brand-name{font-size:20px}.brand-sub{font-size:8px}.brand-mark{width:32px;height:32px}.header-nav{gap:16px;font-size:11px}.header-nav button.active:after{bottom:-17px}.hero{grid-template-columns:1fr;gap:8px;padding:35px 0 28px}.hero h1{font-size:34px;letter-spacing:1px;margin:13px 0 15px}.hero-copy>p{font-size:12px}.hero-bottom{gap:23px;margin-top:22px;justify-content:space-between}.hero-stats{gap:12px;font-size:9px}.hero-stats b{font-size:21px;margin-right:3px}.hero-link{font-size:11px;gap:8px}.hero-art{display:none}.shelf-heading{display:block;margin-bottom:14px}.shelf-heading h2{font-size:25px}.shelf-heading p{font-size:11px}.search{min-width:0;width:100%;margin-top:20px;padding:10px 0}.search input{font-size:13px}.category-tabs{gap:21px;margin-right:-22px;padding-right:22px}.category-tab{font-size:12px;padding:14px 0}.category-tab b{font-size:9px}.catalog-group{margin:26px 0 35px}.group-heading{margin-bottom:18px}.group-title h3{font-size:18px}.group-heading>p{display:none}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px}.book-cover{height:229px;padding:17px 14px 16px 21px}.book-cover h4{font-size:24px;letter-spacing:1px;margin-top:17px}.book-topline{font-size:8px;letter-spacing:1px}.cover-art{width:73px;height:59px}.book-cover .cover-category{font-size:8px}.book-meta{font-size:9px;margin-top:13px}.book-desc{font-size:10px;min-height:35px}.book-actions{font-size:10px}.footer-inner{display:block}.footer-right{margin-top:20px;gap:20px}.site-footer{margin-top:20px;padding:25px 0 30px}.results-grid{grid-template-columns:1fr}.history-list{grid-template-columns:1fr}.history-card{padding:20px}.history-card h3{font-size:21px}.reader-header{height:67px}.reader-header-inner{padding:0 14px;gap:10px}.back-link{font-size:0;gap:0;min-width:30px}.back-link svg{width:21px;height:21px}.reader-book-heading{text-align:left}.reader-book-heading h1{font-size:15px;letter-spacing:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reader-book-heading span{font-size:9px}.reader-header-actions{gap:7px}.reader-header-actions .small-button{font-size:10px;padding:6px 8px;gap:4px;min-height:32px}.reader-header-actions .download-text{display:none}.toc-toggle{display:inline-flex!important}.reader-layout{display:block;padding:18px 0 30px}.reader-sidebar{display:none}.reader-main{max-width:700px}.reading-meta{padding:0 15px;font-size:10px}.article-shell{border-left:0;border-right:0;box-shadow:none}.reader-navigation{padding:21px 18px 8px;gap:16px}.reader-nav-side>span{font-size:10px;max-width:145px;line-height:1.7}.reader-navigation .small-button{font-size:12px;min-height:38px;padding:8px 13px;min-width:95px}.keyboard-note{display:none}.reader-end{margin:20px 15px 0;padding:24px 15px}.reader-end h3{font-size:22px}.reader-end p{font-size:11px}.reader-end .small-button{font-size:11px}.placeholder-paper{padding:34px 24px 40px;min-height:1000px}.placeholder-series{font-size:9px;letter-spacing:1px}.placeholder-paper h2{font-size:29px;letter-spacing:1px}.placeholder-intro{padding-bottom:20px}.placeholder-hero{height:190px}.placeholder-message h3{font-size:22px}.placeholder-message p{font-size:11px}.skeleton-vignettes{gap:12px}.skeleton-vignette{height:75px}.history-intro{padding-top:32px}}
@media(max-width:365px){.container{padding:0 17px}.hero h1{font-size:30px}.hero-stats{gap:8px}.hero-stats b{font-size:19px}.hero-link{font-size:10px}.book-grid{gap:22px 16px}.book-cover{height:215px}.book-cover h4{font-size:21px}.category-tabs{margin-right:-17px;padding-right:17px}.reader-header-actions .small-button{padding:6px}.reader-book-heading h1{max-width:142px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Clear hierarchy across the bookshelf and reader. */
:root{--ink:#203c47;--muted:#5f736c;--line:#d6e0d9;--green:#2f6455}
.site-header{height:82px;background:#fcfdfb}
.brand-name{font-size:24px;letter-spacing:1px}
.brand-sub{font-size:10px;color:#63786d;letter-spacing:2px;margin-top:3px}
.header-nav{gap:8px;padding:5px;border:1px solid #dce5de;background:#f0f4ef;border-radius:9px;font-size:14px}
.header-nav button{min-height:40px;padding:8px 22px;font-weight:600;color:#526a5f;border-radius:6px}
.header-nav button.active{background:#fff;color:#244e40;box-shadow:0 1px 4px #29463914}
.header-nav button.active:after{display:none}
.header-note{color:#60756a;font-size:12px}
.hero{padding:38px 0 34px;border-bottom:1px solid var(--line);margin-bottom:34px;gap:45px}
.eyebrow{color:#486b5c;font-size:12px;font-weight:600;letter-spacing:1.7px}
.hero h1{font-size:44px;font-weight:700;letter-spacing:1px;line-height:1.4;margin:13px 0 17px}
.hero-copy>p{font-size:14px;color:#5c7066;line-height:1.85}
.hero-bottom{gap:28px;margin-top:22px}
.hero-link{font-size:14px;font-weight:600;border-bottom-color:#668b78;padding:8px 0;min-height:44px;gap:12px}
.hero-stats{gap:20px;color:#62766b;font-size:12px}
.hero-stats b{font-size:25px;font-weight:600;margin-right:5px}
.hero-art svg{height:255px;max-width:380px}
.hero-art .note{color:#64796c}
.shelf-heading{align-items:center;margin-bottom:22px;gap:22px}
.shelf-heading h2{font-family:var(--sans);font-weight:700;font-size:28px;letter-spacing:1px;line-height:1.4;padding-left:17px;position:relative}
.shelf-heading h2:before{content:"";position:absolute;left:0;top:6px;bottom:5px;width:4px;border-radius:2px;background:var(--green)}
.shelf-heading p{font-size:14px;color:#607367;margin-top:8px;line-height:1.8}
.search{min-width:310px;min-height:48px;padding:10px 15px;border:1px solid #b9cbbf;border-radius:7px;background:#fff;gap:10px;color:#3a6654}
.search:focus-within{border-color:#2f6455;box-shadow:0 0 0 3px #2f645513}
.search input{font-size:14px;min-height:25px}
.search input::placeholder{color:#687f72}
.clear-search{width:30px;height:30px;flex-shrink:0}
.category-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 24px;margin:0;overflow:visible;white-space:normal;border-bottom:1px solid var(--line)}
.category-tab{justify-content:center;gap:10px;min-height:48px;padding:10px 18px;border:1px solid #c6d4ca;border-radius:7px;background:#fff;font-size:15px;font-weight:600;color:#405b4d;transition:background .15s,color .15s,border-color .15s}
.category-tab b{display:inline-flex;justify-content:center;align-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:4px;font-family:var(--sans);font-weight:600;font-size:11px;opacity:1;color:#526d5e;background:#edf2ed}
.category-tab:hover{background:#eaf1e9;border-color:#93ad9a}
.category-tab.active{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 3px 8px #2f645516}
.category-tab.active b{background:#ffffff24;color:#fff}
.category-tab.active:after{display:none}
.catalog-group{margin:28px 0 43px}
.group-heading{margin-bottom:20px;gap:16px}
.group-title{align-items:center;gap:11px}
.group-title span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;background:color-mix(in srgb,var(--accent) 10%,white);border:1px solid color-mix(in srgb,var(--accent) 18%,white);border-radius:50%;font-size:12px;font-weight:600;opacity:1}
.group-title h3{font-family:var(--sans);font-size:20px;letter-spacing:.7px;font-weight:700}
.group-heading>p{font-size:12px;color:#65786b}
.book-cover{background:color-mix(in srgb,var(--accent) 7%,#fcfdf9);border-color:color-mix(in srgb,var(--accent) 26%,white)}
.book-topline{font-size:10px;opacity:.85}
.book-cover h4{font-weight:700;font-size:25px;letter-spacing:1px;text-wrap:balance}
.book-cover .cover-category{opacity:.85;font-size:10px}
.book-meta{font-size:12px;color:#5d7366;margin-top:17px;gap:4px}
.ready-mark{font-weight:600;color:#2f6455}
.book-desc{font-size:12px;color:#61756a;min-height:41px;line-height:1.8}
.book-actions{padding-top:5px;font-size:12px}
.book-actions button{min-height:40px;font-weight:600;gap:4px}
.book-actions a{min-height:40px;color:#466a57;padding-left:8px}
.footer-inner b{font-size:18px;font-weight:700}
.footer-inner p{font-size:12px;color:#607367}
.footer-right{flex-wrap:wrap;align-items:center;gap:18px;font-size:12px;color:#567161}
.footer-right a,.footer-right button{display:inline-flex;align-items:center;min-height:40px;padding:0;border:0;border-bottom:1px solid #c1cbc1}
.text-link{color:#486c58;font-size:12px;min-height:36px}
.search-summary{font-size:14px;color:#526b5b}
.result h3{font-size:18px;font-weight:700;color:#2b4b3c}
.result p,.result .result-state{font-size:12px;color:#627868}
.history-card h3{font-weight:700}
.history-card p{font-size:14px;color:#5d7465}
.reader-book-heading h1{font-family:var(--sans);font-size:18px;font-weight:700;color:#234537}
.reader-book-heading span{font-size:11px;color:#5a7363}
.back-link{font-size:13px;font-weight:600;color:#345e49;min-height:40px}
.reader-header-actions .small-button{font-size:12px;min-height:40px;font-weight:600;border-color:#bdcdbf;background:#fff}
.toc-heading{font-size:14px;font-weight:700;color:#2b513b}
.toc-heading span{font-size:12px;color:#677d6b}
.toc-list button{font-size:13px;color:#4f6958;min-height:44px}
.toc-list button.active{font-weight:700;background:color-mix(in srgb,var(--accent) 12%,white);border-left-width:3px}
.toc-list .toc-index{opacity:.85;font-size:12px}
.toc-note{font-size:11px;color:#6c7f70}
.reading-meta{font-size:12px;color:#536f5c}
.reader-nav-side>span{font-size:12px;color:#5c7563}
.reader-navigation .small-button{font-weight:600}
.dialog-header h2{font-family:var(--sans);font-weight:700}
.placeholder-paper h2{font-weight:700}
.placeholder-message p{font-size:14px;color:#6d806b}
.reader-end p{font-size:14px;color:#5c7360}
@media(min-width:1450px){.hero h1{font-size:46px}.book-cover h4{font-size:27px}}
@media(min-width:701px) and (max-width:1100px){.hero h1{font-size:37px}.hero-bottom{flex-wrap:wrap;gap:15px 25px}.category-tab{flex:1;min-width:125px;padding:10px 12px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1000px){.category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.category-tab{min-width:0}}
@media(max-width:700px){
 .container{padding:0 20px}.site-header{height:76px}.header-inner{gap:12px}.brand{gap:7px}.brand-name{font-size:21px}.brand-sub{font-size:9px;letter-spacing:1px}.brand-mark{width:31px;height:31px}
 .header-nav{gap:2px;padding:3px;font-size:12px;border-radius:7px}.header-nav button{min-height:44px;padding:7px 10px;white-space:nowrap}
 .hero{padding:26px 0 25px;margin-bottom:26px;gap:0}.eyebrow{font-size:11px}.hero h1{font-size:32px;letter-spacing:.3px;margin:12px 0 13px;line-height:1.4}.hero-copy>p{font-size:13px;line-height:1.85}
 .hero-bottom{margin-top:16px;gap:16px;align-items:center;justify-content:space-between}.hero-link{font-size:12px;gap:7px;white-space:nowrap}.hero-stats{gap:11px;font-size:10px}.hero-stats b{font-size:22px;margin-right:3px}
 .shelf-heading{margin-bottom:16px}.shelf-heading h2{font-size:25px;letter-spacing:.5px;padding-left:15px}.shelf-heading p{font-size:13px;line-height:1.7;margin-top:7px}.search{margin-top:17px;width:100%;min-width:0;padding:10px 13px;min-height:48px}.search input{font-size:16px}
 .category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 0 22px;margin:0;border-bottom:1px solid var(--line)}
 .category-tab{min-width:0;min-height:46px;padding:9px 5px;gap:5px;font-size:13px;white-space:nowrap;border-radius:6px}.category-tab b{min-width:18px;height:20px;font-size:10px;padding:0 4px}
 .catalog-group{margin:23px 0 34px}.group-heading{margin-bottom:17px}.group-title h3{font-size:19px}.group-title span{min-width:27px;height:27px;font-size:11px}
 .book-grid{gap:25px 18px}.book-cover{height:235px;padding:18px 14px 17px 20px}.book-cover h4{font-size:22px;letter-spacing:.5px}.book-topline{font-size:9px;letter-spacing:.5px}.book-cover .cover-category{font-size:9px}.book-meta{font-size:11px;margin-top:14px;flex-wrap:wrap}.book-desc{font-size:12px;min-height:42px}.book-actions{font-size:12px}.book-actions button,.book-actions a{min-height:44px}
 .footer-right{gap:8px 18px;font-size:12px}.footer-right a,.footer-right button{min-height:44px}.footer-right>span{flex-basis:100%;padding-top:6px}
 .reader-header{height:74px}.reader-header-inner{padding:0 10px;gap:8px}.back-link{font-size:0;min-width:34px;min-height:44px}.reader-book-heading{min-width:0}.reader-book-heading h1{font-size:16px;max-width:none}.reader-book-heading span{font-size:10px}.reader-header-actions{gap:5px}.reader-header-actions .small-button{min-height:44px;padding:7px 8px;font-size:11px;gap:4px}
 .reading-meta{font-size:11px}.reader-navigation .small-button{min-height:44px;font-size:12px;min-width:96px}.reader-nav-side>span{font-size:11px}.toc-dialog .toc-list button{min-height:48px;font-size:14px}.reader-end .small-button{min-height:44px}.reader-end p{font-size:13px}
 .placeholder-paper h2{font-size:28px}.placeholder-message p{font-size:13px}
}
@media(max-width:365px){.container{padding:0 16px}.brand-mark{width:25px}.brand-name{font-size:19px}.brand-sub{font-size:8px}.header-nav button{padding:7px 8px;font-size:11px}.hero h1{font-size:29px}.hero-stats{gap:8px}.hero-stats b{font-size:20px}.hero-link{font-size:11px}.category-tab{font-size:11px;gap:3px}.book-grid{gap:23px 14px}.book-cover h4{font-size:20px}.reader-header-actions .small-button{padding:7px 6px}.reader-book-heading h1{font-size:14px}.reader-book-heading span{font-size:9px}}
