:root{--ink:#443847;--muted:#998c9b;--line:#e6dee8;--paper:#fffef9;--purple:#805c94;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;color:var(--ink);background:#f7f4f6;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 12% 0,#e9dff166,transparent 40%),#f7f4f6}a{color:inherit;text-decoration:none}button,input{font:inherit}a:hover{color:#805c94}button{cursor:pointer}button:disabled{cursor:default}button,a,input{outline-offset:5px}:focus-visible{outline:2px solid #b69ac8}button{min-height:42px}input{border:1px solid var(--line);border-radius:10px;background:#fffef9;padding:12px 14px;color:var(--ink);max-width:100%}input::placeholder{color:#b0a1b5}h1,h2,h3,p{margin-top:0}.skip{position:absolute;left:12px;top:-80px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}.shelf-topbar{background:#fffef9e8;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px max(25px,calc((100vw - 1160px)/2));border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font:600 20px serif;white-space:nowrap}.brand small{display:block;font:9px system-ui;letter-spacing:.12em;color:#b19bb8;margin-top:6px}.brand-seal{border:1px solid #a68ab3;padding:6px 8px;border-radius:5px;color:#9c7bab;font:19px serif}.shelf-topbar nav{display:flex;gap:25px;font-size:12px;color:#9b8ba3;align-items:center}.shelf-topbar [aria-current]{color:#805c94;background:#f0e8f6;padding:9px 13px;border-radius:25px}.account{border:1px solid var(--line);padding:10px 14px;border-radius:25px;color:#9d86ad;font-size:11px;max-width:180px;overflow-wrap:anywhere}main{max-width:1160px;margin:auto;padding:32px 25px 65px;min-height:75vh}.shelf-hero{position:relative;overflow:hidden;border:1px solid #dfd1e6;border-radius:23px;padding:43px 42px 0;background:radial-gradient(ellipse at 90% 5%,#f8eed8,transparent 45%),linear-gradient(115deg,#eee4f4,#f5eff7 65%,#e8deef)}.hero-copy{position:relative;z-index:1;width:60%}.eyebrow{font-size:10px;color:#ab91b4;letter-spacing:.13em;margin-bottom:14px}h1{font:500 43px/1.45 "KaiTi","STKaiti",serif;letter-spacing:.03em;margin-bottom:17px}.hero-description{font-size:13px;line-height:2.1;color:#947d9e;white-space:pre-line}.hero-note{position:relative;border-top:1px solid #daccdf;margin-top:30px;padding:18px 0;display:flex;gap:25px;font-size:10px;color:#9b83a7}.shelf-art{position:absolute;right:40px;top:31px;height:220px;width:280px;display:flex;align-items:center;justify-content:center;transform:rotate(-7deg)}.shelf-art .book-cover{position:absolute;width:112px;height:163px;box-shadow:6px 10px 15px #6c51641a}.shelf-art .book-cover:nth-child(1){left:12px;top:32px;transform:rotate(-16deg)}.shelf-art .book-cover:nth-child(2){left:86px;top:7px;z-index:2}.shelf-art .book-cover:nth-child(3){left:161px;top:47px;transform:rotate(18deg)}.book-cover{--cover:#aa91b9;--cover-dark:#725581;--cover-light:#eee3f3;position:relative;background:linear-gradient(100deg,var(--cover-dark) 0 6%,var(--cover) 7% 10%,var(--cover-light) 11% 100%);border:1px solid #6e587144;box-shadow:5px 5px 0 #fff9,6px 6px 0 #c5b8c8,9px 10px 20px #5c43591a;width:150px;height:210px;border-radius:3px 10px 10px 3px;padding:18px;color:var(--cover-dark);isolation:isolate}.book-cover:after{content:'';position:absolute;inset:9px 9px 9px 20px;border:1px solid #fff9;pointer-events:none}.sage{--cover:#9cac9b;--cover-dark:#597969;--cover-light:#e4eade}.clay{--cover:#c4a48d;--cover-dark:#96715b;--cover-light:#f0e1d0}.indigo{--cover:#a1abc4;--cover-dark:#646e94;--cover-light:#e2e4f0}.plum{--cover:#aa91b9;--cover-dark:#725581;--cover-light:#eee3f3}.cover-title{position:absolute;writing-mode:vertical-rl;right:27%;top:27px;font:500 29px/1.4 "KaiTi","STKaiti",serif;letter-spacing:.13em}.cover-author{position:absolute;writing-mode:vertical-rl;left:23%;top:32px;font:10px serif;letter-spacing:.12em}.cover-imprint{position:absolute;left:20%;bottom:15px;font:8px serif;letter-spacing:.16em}.cover-stamp{position:absolute;bottom:16px;right:17px;border:1px solid #b87d7766;color:#aa7772;font:10px serif;padding:3px;font-style:normal}.shelf-art .cover-title{font-size:22px;top:22px}.shelf-art .cover-author{font-size:8px}.shelf-art .cover-imprint{font-size:7px}.shelf-section{margin-top:35px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-header h2{font:600 23px system-ui;margin-bottom:18px}.section-header .eyebrow{font-size:9px;margin-bottom:8px}.section-header input{width:245px;font-size:12px}.shelf-filters{display:flex;gap:7px;margin-top:3px}.shelf-filters button{border:1px solid transparent;background:transparent;color:#ac98b4;border-radius:25px;font-size:11px;padding:9px 14px}.shelf-filters button[aria-pressed=true]{border-color:#e0d3e8;background:#eee5f5;color:#856498}.result-count{font-size:10px;color:#b19cbb;margin:18px 0 13px}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.book-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:27px;display:grid;grid-template-columns:135px minmax(0,1fr);gap:25px;align-items:center;box-shadow:0 4px 17px #654a6403;transition:box-shadow .2s,border-color .2s}.book-card:hover{border-color:#d6c4de;box-shadow:0 8px 24px #7252810c}.cover-link{display:block;padding-bottom:8px}.book-card .book-cover{width:128px;height:186px}.book-card .cover-title{font-size:26px;right:24%;top:24px}.book-card .cover-author{left:23%;font-size:9px}.state-tag{display:inline-block;font-size:9px;padding:4px 8px;border-radius:5px;background:#eee7f4;color:#9c7dad;margin-bottom:11px}.state-tag.live{background:#eaf0e5;color:#7e9870}.state-tag.planned{background:#f1ece5;color:#b09b81}.book-card h3{font:600 23px/1.4 serif;margin-bottom:8px}.book-byline{font-size:10px;color:#ae9bb7;line-height:1.8;margin-bottom:12px}.book-description{font-size:11px;line-height:1.9;color:#a18ea9;margin-bottom:12px}.book-detail{font-size:9px;color:#b6a3be;border-top:1px solid #f0e9f3;padding-top:12px;margin-bottom:14px}.book-enter{font-size:11px;color:#8f6c9f}.framework-note{display:flex;gap:13px;align-items:center;border:1px solid #e6ddea;background:#f0eaf5;border-radius:13px;padding:18px 21px;font-size:11px;line-height:1.9;color:#a18bad;margin-top:24px}.framework-note>span{font-size:22px}.shelf-empty{grid-column:1/-1;background:#fffdf8;border:1px dashed #e1d3e8;padding:45px;text-align:center;border-radius:15px;color:#b099bb}.shelf-empty>span{font-size:30px}.shelf-empty h3{font-size:18px;margin:10px 0}.shelf-empty p{font-size:12px}.text-button{border:0;background:#ede3f4;border-radius:9px;padding:8px 16px;color:#9577a5;font-size:12px}.breadcrumb{display:flex;gap:12px;font-size:11px;color:#ab96b5;margin:2px 0 23px}.breadcrumb>span:last-child{color:#7d638d}.book-hero{display:flex;align-items:center;gap:48px;background:linear-gradient(115deg,var(--cover-light),#fffdf7);border:1px solid #dcd8d9;border-radius:22px;padding:35px 55px}.book-cover.large{flex:none;width:145px;height:205px;transform:rotate(-4deg);margin:8px 0}.book-hero h1{font-size:42px;margin:0 0 7px;color:var(--cover-dark)}.book-hero .eyebrow{font-size:9px;color:var(--cover-dark);opacity:.7}.book-hero .state-tag{margin-bottom:7px}.book-subtitle{font:15px serif;color:var(--cover-dark);margin-bottom:12px}.book-introduction{font-size:12px;line-height:2;color:#99899f;max-width:500px;margin-bottom:0}.book-layout{display:grid;grid-template-columns:195px minmax(0,1fr);gap:28px;margin-top:30px}.book-sidebar{padding:20px;background:#fffef9;border:1px solid var(--line);border-radius:16px;align-self:start}.book-sidebar h2{font:600 15px system-ui;margin-bottom:12px}.muted{font-size:11px;color:#ad9bb8;line-height:1.8}.back-shelf{display:block;padding:12px;border-radius:8px;background:#eee5f4;color:#9471a3;font-size:12px;margin-top:18px}.side-link{display:block;font-size:10px;color:#ad93b7;margin-top:18px}.book-content{background:#fffef9;border:1px solid var(--line);border-radius:17px;overflow:hidden}.book-tabs{display:flex;gap:22px;padding:0 26px;border-bottom:1px solid #ede5f1;background:#fcf9fd}.book-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:17px 0;color:#af98ba;font-size:12px}.book-tabs [aria-selected=true]{color:#86649a;border-bottom-color:#a489b7}#book-panel{padding:27px}#book-panel h2{font:600 20px system-ui;margin:0 0 18px}#book-panel h3{font:600 15px system-ui;margin-top:25px;color:#91759f}.panel-copy{font-size:12px;line-height:2;color:#a28eab}.catalog-header{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.catalog-header .muted{font-size:10px}.book-content input{font-size:12px;width:100%;margin:5px 0 13px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0}.category-grid button{text-align:left;background:#fcfafb;border:1px solid #eee6f0;border-radius:11px;padding:13px 12px;display:grid;grid-template-columns:23px 1fr;align-items:center;gap:5px}.category-grid button>span{color:#b5a1bf;font-size:10px}.category-grid strong{font:500 16px serif;color:#90719d}.category-grid small{grid-column:2;font-size:9px;color:#bdacc4}.category-grid [aria-pressed=true]{background:#eee6f4;border-color:#cfbadc}.chapter-preview{border:1px dashed #d9c8e1;border-radius:13px;background:#f6f0f9;padding:24px;margin-top:22px}.chapter-preview h3{font:500 25px serif!important;margin:4px 0 14px!important}.chapter-preview p{font-size:12px;color:#a28cae;line-height:1.9}.text-link{font-size:11px;color:#91729f}.primary-link{display:inline-block;padding:11px 16px;background:#8d6a9c;color:white;font-size:12px;border-radius:9px;margin:15px 0}.primary-link:hover{color:#fff;background:#785487}.loading{padding:80px;text-align:center;color:#a68eb2;font-size:13px}footer{max-width:1110px;margin:0 auto;border-top:1px solid #e7deeb;display:flex;justify-content:space-between;gap:20px;padding:25px 0 30px;font-size:10px;color:#b7a6bf}noscript{display:block;padding:20px;text-align:center}
@media(max-width:900px){.shelf-topbar{gap:15px;flex-wrap:wrap;padding:17px 22px}.shelf-topbar nav{order:3;width:100%;justify-content:center;border-top:1px solid #f0eaf2;padding-top:12px}.book-card{padding:22px 18px;gap:18px;grid-template-columns:105px minmax(0,1fr)}.book-card .book-cover{width:100px;height:157px}.book-card .cover-title{font-size:21px;top:21px;right:21%}.book-card .cover-author{font-size:7px;left:24%;top:23px}.book-card .cover-imprint{font-size:6px}.book-card h3{font-size:21px}.book-description{font-size:10px}.book-card .cover-stamp{right:11px;bottom:14px;font-size:8px}.book-card .book-cover:after{inset:8px 8px 8px 15px}}
@media(max-width:640px){main{padding:20px 14px 35px}.shelf-topbar{padding:14px 17px;gap:13px}.brand{font-size:18px;gap:9px}.brand small{font-size:8px}.account{font-size:10px;padding:9px 12px;max-width:135px}.shelf-topbar nav{gap:20px;font-size:10px}.shelf-topbar [aria-current]{padding:7px 11px}.shelf-hero{padding:28px 24px 0;border-radius:20px;min-height:345px}.hero-copy{width:100%;position:relative}.shelf-hero h1{font-size:29px;max-width:80%;line-height:1.6}.eyebrow{font-size:8px}.hero-description{font-size:11px;line-height:2;max-width:82%}.shelf-art{right:-42px;top:108px;transform:scale(.6) rotate(-7deg);transform-origin:right top;opacity:.42}.hero-note{margin-top:80px;gap:16px;font-size:9px;padding:17px 0}.shelf-section{margin-top:28px}.section-header{display:block}.section-header h2{font-size:21px}.section-header input{width:100%;font-size:12px}.shelf-filters{gap:3px;margin-top:15px;justify-content:space-between}.shelf-filters button{padding:8px 11px;font-size:10px}.book-grid{grid-template-columns:1fr;gap:15px}.book-card{grid-template-columns:115px 1fr;padding:25px 21px;gap:25px}.book-card .book-cover{width:111px;height:170px}.book-card .cover-title{font-size:24px}.book-card .cover-author{font-size:8px}.book-description{font-size:11px}.framework-note{padding:16px;font-size:10px;align-items:flex-start}.framework-note>span{font-size:17px}footer{margin:0 18px;font-size:9px;padding:23px 0;gap:10px;flex-wrap:wrap}footer>span{display:none}.breadcrumb{font-size:10px}.book-hero{padding:24px 20px;gap:25px;border-radius:18px}.book-cover.large{width:100px;height:158px;margin:3px 0}.book-cover.large .cover-title{font-size:22px;right:21%;top:20px}.book-cover.large .cover-author{font-size:8px;left:21%;top:25px}.book-cover.large .cover-imprint{font-size:6px}.book-cover.large:after{inset:8px 8px 8px 15px}.book-hero h1{font-size:29px}.book-subtitle{font-size:12px;line-height:1.8}.book-introduction{font-size:10px;line-height:1.9}.book-hero .eyebrow{font-size:8px}.book-byline{font-size:9px;margin-bottom:8px}.book-layout{grid-template-columns:1fr;gap:15px;margin-top:18px}.book-sidebar{padding:13px 16px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.book-sidebar h2,.book-sidebar .muted{display:none}.back-shelf{margin:0;font-size:11px;padding:9px 12px}.side-link{margin:0;font-size:10px}.book-tabs{padding:0 20px}.book-tabs button{padding:15px 0;font-size:12px}#book-panel{padding:21px 17px}.catalog-header{display:block}.catalog-header h2{font-size:19px!important;margin-bottom:7px!important}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.category-grid button{padding:12px 7px;grid-template-columns:16px 1fr;gap:3px}.category-grid strong{font-size:15px}.category-grid button>span{font-size:8px}.category-grid small{font-size:8px}.chapter-preview{padding:19px}.panel-copy{font-size:11px}.book-content .muted{font-size:10px}.chapter-preview p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* The bookshelf uses the existing site's paper surface and platform chrome. */
:root{--ink:#303a36;--muted:#817566;--line:#d7cbb5;--paper:#faf6eb;--purple:#856247;background:#f4ecdd}body{background-color:#f4ecdd;background-image:linear-gradient(#f4ecdda6,#f4ecdda6),url('/assets/xuan-paper-fibres.png');background-size:640px 640px;color:#303a36;font-family:system-ui,'Microsoft YaHei',sans-serif}.shelf-topbar{position:sticky;top:0;z-index:80;display:flex;gap:14px;padding:16px 32px;background-color:#faf6eb;background-image:linear-gradient(#faf6ebcc,#faf6ebcc),url('/assets/xuan-paper-fibres.png');background-size:640px 640px;border-color:#d7cbb5;backdrop-filter:blur(14px)}.shelf-topbar .brand{font:800 20px 'Songti SC','STSong',SimSun,serif;letter-spacing:.04em;gap:10px;color:#303a36;flex:none}.brand-mark{display:block;width:40px;height:40px;object-fit:contain}.shelf-topbar nav{order:initial;width:auto;flex:1;justify-content:center;gap:18px;font-size:12px;border:0;padding:0;color:#53637b}.shelf-topbar nav a{white-space:nowrap;padding:10px 9px;border-radius:12px;font-weight:600}.shelf-topbar nav [aria-current]{background:#eee6f5;color:#795b8d;border-radius:12px}.shell-theme,.shelf-topbar .account{min-height:44px;flex:none;white-space:nowrap;display:flex;align-items:center;justify-content:center;border:1px solid #b9cadf;border-radius:10px;padding:10px 12px;background:#eaf1fb;color:#435f96;font:14px system-ui}.shell-theme{cursor:pointer;border-color:#a4bdcf;box-shadow:0 2px 5px #647e9520}.shelf-topbar .account{max-width:170px;overflow:hidden;text-overflow:ellipsis}.shell-wallet{flex:none;padding:12px 13px;background:#fff9e9;border:1px solid #e5d8b5;border-radius:12px;color:#846435;font-size:14px;white-space:nowrap}.shelf-mobile-nav{display:none}.shelf-paper-plum{position:fixed;right:-22px;top:90px;width:190px;opacity:.45;pointer-events:none;z-index:0}main{position:relative;z-index:1;max-width:1440px;padding:24px 36px 65px}.shelf-hero{background-color:#faf6eb;background-image:linear-gradient(#faf6ebdd,#faf6ebdd),url('/assets/xuan-paper-fibres.png');background-size:640px 640px;border-color:#d7cbb5;border-radius:20px;padding:28px 32px 0}.shelf-hero h1{font:600 34px/1.4 'Songti SC','STSong',SimSun,serif;color:#403e34;margin:8px 0 12px}.shelf-hero .hero-description{font-size:14px;color:#716956;line-height:1.9}.shelf-hero .eyebrow{color:#947344;font-size:11px}.shelf-art{transform:scale(.75) rotate(-7deg);transform-origin:right top;top:14px;right:28px}.hero-note{margin-top:18px;color:#8a7b61;border-color:#d7cbb5;font-size:11px}.book-card,.book-sidebar,.book-content{background-color:#faf6eb;background-image:linear-gradient(#faf6ebdf,#faf6ebdf),url('/assets/xuan-paper-fibres.png');background-size:640px 640px;border-color:#d7cbb5}.book-card{box-shadow:0 4px 18px #51442e07}.book-card h3{font-family:'Songti SC','STSong',SimSun,serif}.book-description{font-size:13px;color:#716956}.book-byline{font-size:12px;color:#8a7863}.book-detail,.result-count{font-size:11px;color:#99876c}.book-enter{font-size:13px;color:#866b45}.section-header h2{font-family:'Songti SC','STSong',SimSun,serif;color:#493c2d}.section-header .eyebrow{color:#968060}.section-header input,input{border-color:#d7cbb5;background:#fffcf4;color:#4f473a}.shelf-filters button{color:#8d7b66;font-size:12px}.shelf-filters button[aria-pressed=true]{background:#eee5d6;border-color:#d1bfa4;color:#7d5e36}.framework-note{background:#f2eadd;border-color:#ddd0b9;color:#88795f;font-size:12px}.book-hero{background:linear-gradient(110deg,var(--cover-light),#faf6eb);border-color:#d7cbb5}.book-introduction,.panel-copy{color:#817463}.breadcrumb,.muted{color:#9a846b}.book-tabs{background:#f3eddf;border-color:#ddd0b9}.book-tabs button{color:#8c775b}.book-tabs [aria-selected=true]{color:#7b5c38;border-color:#a68a5d}.category-grid button{background:#fffaf0;border-color:#e3d7c3}.category-grid [aria-pressed=true],.chapter-preview{background:#f0e9dc;border-color:#cbb896}.category-grid strong{color:#776142}.category-grid small,.category-grid button>span{color:#b09a79}.chapter-preview p{color:#88765d}.chapter-preview h3{color:#735e3e!important}.back-shelf{background:#eee5d5;color:#8c7149}.state-tag.preview{background:#eee5d5;color:#957c57}.primary-link{background:#947344}footer{max-width:1368px;border-color:#d7cbb5;color:#a08b6c;font-size:11px}.shelf-empty{background:#fffcf2;border-color:#d4c3a7}.text-button{background:#eee4d3;color:#8a6f49}
html[data-theme=dark]{color-scheme:dark;background:#171e20}html[data-theme=dark] body{background-color:#171e20;background-image:linear-gradient(#171e20f5,#171e20f5),url('/assets/xuan-paper-fibres.png');color:#e3dfd0}html[data-theme=dark] :is(.shelf-topbar,.shelf-mobile-nav,.shelf-hero,.book-card,.book-sidebar,.book-content,.framework-note,.chapter-preview,.shelf-empty){background:#242e2c;color:#e3dfd0;border-color:#47574f}html[data-theme=dark] .shelf-topbar .brand,html[data-theme=dark] :is(h1,h2,h3){color:#e3dfd0}html[data-theme=dark] :is(input,.shell-theme,.account){background:#354641;color:#e3dfd0;border-color:#687d6e}html[data-theme=dark] .shell-wallet{background:#30392e;border-color:#687d6e;color:#dfd5bb}html[data-theme=dark] :is(.book-tabs,.category-grid button){background:#2b3732;border-color:#47574f}html[data-theme=dark] :is(.panel-copy,.book-description,.book-introduction,.hero-description){color:#b8b4a7}html[data-theme=dark] .shelf-paper-plum{opacity:.15}
@media(max-width:1100px) and (min-width:761px){.shelf-topbar{gap:10px;padding:14px 20px}.shelf-topbar nav{gap:4px}.shelf-topbar nav a{padding:9px 7px;font-size:11px}.shell-wallet{padding:10px;font-size:12px}.shell-theme,.shelf-topbar .account{font-size:12px;padding:10px}.shelf-topbar .brand{font-size:19px}}
@media(max-width:760px){.shelf-topbar{padding:12px;gap:10px;flex-wrap:wrap;min-height:64px}.shelf-topbar .brand{font-size:18px}.shelf-topbar nav{display:none}.shelf-topbar .account{margin-left:auto;max-width:145px;font-size:12px}.shell-theme{font-size:12px;padding:9px 10px}.shell-wallet{padding:8px 10px;font-size:12px}.shelf-mobile-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;position:fixed;bottom:0;left:0;right:0;z-index:100;padding:5px 3px calc(4px + env(safe-area-inset-bottom));background-color:#faf6eb;background-image:linear-gradient(#faf6ebcc,#faf6ebcc),url('/assets/xuan-paper-fibres.png');background-size:640px 640px;border:1px solid #d7cbb5;border-radius:14px 14px 0 0;backdrop-filter:blur(14px)}.shelf-mobile-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:48px;padding:6px 2px;color:#6c6558}.shelf-mobile-nav span{display:grid;place-items:center;width:25px;height:25px;line-height:25px;border-radius:50%;background:#eee8db;font:18px serif}.shelf-mobile-nav em{font-size:10px;font-style:normal}.shelf-mobile-nav [aria-current]{color:#805a96;background:#efe6f6;border-radius:10px}.shelf-mobile-nav [aria-current] span{background:#96744e;color:#fff9ed}.shelf-paper-plum{right:-32px;top:80px;width:125px;opacity:.4}main{padding:18px 13px 100px}.shelf-hero{padding:23px 22px 0;min-height:0}.shelf-hero h1{font-size:29px;max-width:100%}.hero-copy{width:100%}.hero-description{max-width:82%;font-size:12px!important}.shelf-art{transform:scale(.45) rotate(-7deg);opacity:.34;top:49px;right:-16px}.hero-note{margin-top:17px;gap:14px;font-size:9px}.shelf-section{margin-top:24px}.book-description{font-size:12px}.book-byline{font-size:10px}.book-detail{font-size:10px}.book-enter{font-size:12px}footer{margin:0 16px;padding:23px 0 90px}.framework-note{font-size:11px}.book-hero{padding:24px 20px}.category-grid strong{font-size:15px}}
@media(max-width:760px){.shelf-topbar .shell-theme{min-width:84px;font-size:14px;padding:10px 12px}.shelf-topbar .account{min-width:86px;font-size:14px;padding:10px 12px}.shelf-topbar .shell-wallet{font-size:14px;padding:8px 10px}}
/* Readable shelf typography; platform navigation keeps its shared sizing. */
#books-main{font-size:16px;line-height:1.8}
#books-main .shelf-hero h1{font-size:40px}
#books-main .section-header h2{font-size:30px}
#books-main :is(.hero-description,.book-description,.book-introduction,.panel-copy){font-size:16px;line-height:1.9}
#books-main :is(.eyebrow,.hero-note,.book-byline,.book-detail,.result-count,.framework-note,.muted,.breadcrumb,.side-link){font-size:14px;line-height:1.8}
#books-main :is(.section-header input,.shelf-filters button,.book-content input,.book-tabs button,.back-shelf,.book-enter,.text-link,.primary-link,.text-button){font-size:16px}
#books-main .section-header input{width:290px}
#books-main .shelf-filters{flex-wrap:wrap}
#books-main .hero-note{flex-wrap:wrap;gap:12px 24px}
#books-main .book-card h3{font-size:28px}
#books-main .state-tag{font-size:13px;padding:5px 10px}
#books-main .book-card .cover-author{font-size:11px}
#books-main .book-card .cover-imprint{font-size:10px}
#books-main .category-grid strong{font-size:20px}
#books-main .category-grid :is(small,button>span){font-size:13px}
#books-main .category-grid button{grid-template-columns:28px 1fr;min-height:78px}
#books-main .chapter-preview p{font-size:16px}
body>footer{font-size:14px;line-height:1.8}
@media(min-width:761px) and (max-width:1050px){#books-main .book-grid{grid-template-columns:1fr}}
@media(max-width:760px){
 #books-main .shelf-hero h1{font-size:34px}
 #books-main .section-header{display:block}
 #books-main .section-header h2{font-size:27px}
 #books-main .section-header input{width:100%}
 #books-main :is(.hero-description,.book-description,.book-introduction,.panel-copy){font-size:16px!important;max-width:100%}
 #books-main .shelf-art{opacity:.15}
 #books-main .book-grid{grid-template-columns:1fr}
 #books-main .book-card{grid-template-columns:90px minmax(0,1fr);padding:22px 16px;gap:18px;align-items:start}
 #books-main .book-card h3{font-size:26px}
 #books-main .book-card .book-cover{width:86px;height:158px}
 #books-main .book-card .cover-title{font-size:24px;right:17%;top:18px}
 #books-main .book-card .cover-author{font-size:10px;left:17%;top:22px}
 #books-main .book-card .cover-imprint{font-size:9px;bottom:12px}
 #books-main .shelf-filters{justify-content:flex-start;gap:6px}
 #books-main .shelf-filters button{padding:9px 12px}
 #books-main .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #books-main .catalog-header h2{font-size:23px!important}
 #books-main .hero-note{gap:8px 16px}
 #books-main .framework-note{align-items:flex-start}
}
/* A full-width, clearly labelled search desk for the whole shelf. */
#books-main .section-header{display:block}
#books-main .shelf-search{width:100%;margin:14px 0 20px;padding:22px 24px;background:#fffaf0;border:2px solid #b59a6b;border-radius:16px;box-shadow:0 4px 16px #76572b0d}
#books-main .shelf-search label{display:block;margin-bottom:12px;color:#604b2f;font-size:19px;font-weight:750}
#books-main .shelf-search-row{display:flex;align-items:stretch;gap:12px}
#books-main .shelf-search input{flex:1;min-width:0;width:100%;min-height:58px;padding:14px 18px;border:1px solid #bda47e;border-radius:10px;font-size:18px;background:#fffdf7;color:#443b2d}
#books-main .shelf-search input::placeholder{color:#89785f;opacity:1}
#books-main .shelf-search input:focus{outline:3px solid #b59a6b66;outline-offset:2px;border-color:#87643b}
#books-main .shelf-search-row button{flex:none;min-width:112px;min-height:58px;padding:12px 24px;border:1px solid #795739;border-radius:10px;background:#856247;color:#fffdf6;font-size:18px;font-weight:750}
#books-main .shelf-search-row button:hover{background:#705036}
#books-main .shelf-search-hint{margin:11px 0 0;color:#79694e;font-size:14px;line-height:1.8}
html[data-theme=dark] #books-main .shelf-search{background:#242e2c;border-color:#a58b60}
html[data-theme=dark] #books-main .shelf-search :is(label,.shelf-search-hint){color:#dfd5bb}
html[data-theme=dark] #books-main .shelf-search input{background:#354641;color:#e3dfd0;border-color:#879984}
html[data-theme=dark] #books-main .shelf-search input::placeholder{color:#c3bdad}
@media(max-width:760px){#books-main .shelf-search{padding:18px 14px}#books-main .shelf-search label{font-size:18px}#books-main .shelf-search-row{gap:8px}#books-main .shelf-search input{font-size:16px;min-height:54px;padding:12px 10px}#books-main .shelf-search-row button{min-width:70px;min-height:54px;padding:12px 14px;font-size:16px}#books-main .shelf-search-hint{font-size:13px}}
/* Keep the search close to the heading and bring the actual books into view. */
#books-main:not(.book-page) .shelf-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;min-height:0}
#books-main:not(.book-page) .hero-copy{width:auto;flex:1}
#books-main:not(.book-page) .shelf-hero .eyebrow,#books-main:not(.book-page) .shelf-art{display:none}
#books-main:not(.book-page) .shelf-hero h1{font-size:32px;margin:0 0 4px}
#books-main:not(.book-page) .hero-description{margin:0;white-space:normal;line-height:1.7}
#books-main:not(.book-page) .hero-note{flex:none;max-width:300px;border:0;margin:0;padding:0;gap:6px 16px}
#books-main .shelf-section{margin-top:20px}
#books-main .section-header{display:grid;grid-template-columns:minmax(180px,1fr) minmax(360px,580px);align-items:center;gap:20px}
#books-main .section-header .eyebrow{display:none}
#books-main .section-header h2{font-size:27px;margin:0}
#books-main .shelf-search{margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
#books-main .shelf-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#books-main .shelf-search input{min-height:48px;font-size:16px;padding:10px 14px}
#books-main .shelf-search-row{gap:8px}
#books-main .shelf-search-row button{min-height:48px;min-width:86px;padding:10px 18px;font-size:16px}
#books-main .shelf-search-hint{margin:4px 0 0;font-size:13px}
#books-main .shelf-filters{margin-top:12px}
#books-main .result-count{margin:8px 0 12px}
#books-main .book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#books-main .book-card{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:20px 18px}
#books-main .book-card .cover-link{align-self:center;padding:0}
#books-main .book-card .book-cover{width:118px;height:170px}
#books-main .book-card .cover-title{font-size:27px;right:23%;top:20px}
#books-main .book-card .cover-author{font-size:11px;left:22%;top:25px}
#books-main .book-card .cover-imprint{font-size:10px}
#books-main .book-card-body{display:flex;flex-direction:column;flex:1}
#books-main .book-card h3{font-size:26px;line-height:1.4;margin-bottom:6px}
#books-main .book-card .state-tag{align-self:flex-start;margin-bottom:8px}
#books-main .book-byline{margin-bottom:8px}
#books-main .book-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.8;margin-bottom:12px}
#books-main .book-detail{margin-top:auto}
html[data-theme=dark] #books-main .shelf-search{background:transparent;border:0}
@media(min-width:761px) and (max-width:1050px){#books-main .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#books-main .section-header{grid-template-columns:1fr 1.6fr}#books-main:not(.book-page) .hero-note{max-width:180px}}
@media(max-width:760px){
 #books-main:not(.book-page) .shelf-hero{display:block;padding:15px 18px}
 #books-main:not(.book-page) .shelf-hero h1{font-size:29px}
 #books-main:not(.book-page) .hero-description{font-size:15px!important}
 #books-main:not(.book-page) .hero-note{max-width:none;margin-top:10px;font-size:13px;gap:4px 12px}
 #books-main .shelf-section{margin-top:16px}
 #books-main .section-header{display:block}
 #books-main .section-header h2{font-size:24px;margin-bottom:10px}
 #books-main .shelf-search-hint{font-size:12px}
 #books-main .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #books-main .book-card{padding:16px 12px;gap:12px}
 #books-main .book-card .book-cover{width:92px;height:144px}
 #books-main .book-card .cover-title{font-size:23px;right:19%;top:16px}
 #books-main .book-card .cover-author{font-size:10px;left:17%;top:20px}
 #books-main .book-card .cover-imprint{font-size:9px}
 #books-main .book-card h3{font-size:23px}
 #books-main .book-byline{font-size:13px}
 #books-main .book-card .book-description{font-size:15px!important;-webkit-line-clamp:3}
 #books-main .book-detail{font-size:13px}
}
@media(max-width:340px){#books-main .book-grid{grid-template-columns:1fr}}
/* Search shares the compact title row, rather than pushing the shelf down. */
#books-main:not(.book-page) .shelf-hero .hero-note{display:none}
#books-main:not(.book-page) .shelf-hero .shelf-search{flex:0 1 580px;width:50%}
#books-main .section-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px}
#books-main .section-header .shelf-filters{margin:0}
#books-main .result-count{margin:4px 0 12px}
@media(max-width:760px){#books-main:not(.book-page) .shelf-hero .shelf-search{width:100%;margin-top:12px}#books-main .section-header h2{margin:0}#books-main .section-header .shelf-filters{gap:2px}#books-main .section-header .shelf-filters button{padding:7px 10px}}
/* Search results are additional reading entrances; the unfiltered four-column shelf stays intact. */
.shelf-fulltext[hidden]{display:none}.shelf-fulltext{margin:26px 0 12px;padding-top:24px;border-top:1px solid #d7cbb5}.shelf-fulltext-head h3{font:700 25px/1.5 'KaiTi','STKaiti',serif;color:#40354b;margin:0 0 6px}.shelf-fulltext-count{font-size:14px;color:#74667c;margin:6px 0 14px}.shelf-result-books{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.shelf-result-books button,.shelf-fulltext>button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;border:1px solid #d8c9e0;background:#fffdf7;color:#735385;border-radius:8px;padding:9px 14px;min-height:44px;cursor:pointer}.shelf-result-books button[aria-pressed=true]{background:#806193;border-color:#806193;color:#fff}.shelf-hit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}.shelf-search-hit{min-width:0;border:1px solid #e0d4e5;border-radius:12px;background:#fffcf8;overflow:hidden}.shelf-search-hit>a{display:block;padding:20px;color:inherit;text-decoration:none}.shelf-search-hit:hover{border-color:#ad8dbd;background:#f9f2fb}.shelf-search-hit a:focus-visible{outline:3px solid #a781b9;outline-offset:-4px}.shelf-search-hit small{display:block;font-size:12px;line-height:1.7;color:#8c7399}.shelf-search-hit h4{font:600 22px/1.6 'KaiTi','STKaiti',serif;color:#594362;margin:8px 0}.shelf-hit-author{font-size:14px;color:#75617e;margin:3px 0 9px}.shelf-hit-excerpt{font:16px/1.9 'KaiTi','STKaiti',serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px;color:#504753}.shelf-hit-excerpt mark{background:#f1dfa3;color:#553d14;border-radius:3px;padding:1px 0}.shelf-hit-enter{font-size:13px;color:#78558e}.shelf-search-scope,.shelf-fulltext-empty{font-size:13px;line-height:1.9;color:#817389;overflow-wrap:anywhere}.shelf-search-scope{margin:16px 0 0}
@media(max-width:640px){.shelf-fulltext{margin-top:18px;padding-top:18px}.shelf-hit-list{grid-template-columns:minmax(0,1fr);gap:10px}.shelf-search-hit>a{padding:16px}.shelf-search-hit h4{font-size:21px}.shelf-result-books{gap:6px}.shelf-result-books button{font-size:13px;padding:8px 11px}}
[data-theme=dark] .shelf-fulltext{border-color:#514058}[data-theme=dark] .shelf-search-hit{background:#302835;border-color:#514058}[data-theme=dark] .shelf-search-hit:hover{background:#3a2e41}[data-theme=dark] .shelf-fulltext-head h3,[data-theme=dark] .shelf-search-hit h4{color:#e0cce8}[data-theme=dark] :is(.shelf-hit-excerpt,.shelf-hit-author){color:#d3c3db}[data-theme=dark] :is(.shelf-search-hit small,.shelf-hit-enter,.shelf-fulltext-count,.shelf-search-scope,.shelf-fulltext-empty){color:#bea7cc}[data-theme=dark] .shelf-result-books button,[data-theme=dark] .shelf-fulltext>button{background:#3c3044;border-color:#695072;color:#e0cce8}[data-theme=dark] .shelf-result-books button[aria-pressed=true]{background:#806193;color:#fff}[data-theme=dark] .shelf-hit-excerpt mark{background:#6b5427;color:#ffe4a7}
