:root{--background:#f8f7f3;--paper:#fffefb;--iris:#66558f;--iris-deep:#49396f;--pine:#567d69;--apricot:#bd6949;--sky:#5d8da9;--title:#2d303b;--body:#474c56;--muted:#707580;--border:#e2e3de}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--body);font-family:system-ui,-apple-system,'Noto Sans SC','Microsoft Yahei',sans-serif;line-height:1.7}a{color:var(--iris-deep);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button{cursor:pointer}h1,h2,h3{line-height:1.35;color:var(--title)}h1{font-size:clamp(28px,3vw,43px);letter-spacing:-.03em}h2{font-size:clamp(23px,2vw,28px)}p{margin:.5em 0 1em}.container{width:min(1320px,calc(100% - 56px));margin-inline:auto}.site-header{background:#fffefc;border-bottom:1px solid var(--border);position:relative;z-index:10}.topbar{height:74px;display:flex;align-items:center;gap:32px}.brand{font-size:21px;font-weight:800;white-space:nowrap}.search{margin:auto;display:flex;max-width:500px;flex:1}.search input{border:1px solid var(--border);border-radius:10px 0 0 10px;padding:9px 13px;width:100%;min-width:0}.search button{border:0;background:var(--iris);color:white;border-radius:0 10px 10px 0;padding:0 20px}.nav{display:flex;gap:32px;padding:10px 0;font-size:14px}.menu-toggle{display:none}.hero{margin-top:28px;background:#f0ecf7;border-radius:20px;min-height:370px;display:grid;grid-template-columns:45% 55%;overflow:hidden}.hero-copy{padding:52px 6%}.hero-copy h1{color:#49396f}.hero-copy p{max-width:490px;font-size:17px}.hero-picture{height:100%;max-height:420px;width:100%;object-fit:cover}.photo-fallback{background:linear-gradient(145deg,#ece8f4,#e3ece5);color:#60597a;display:grid;place-items:center;text-align:center;padding:20px;min-height:200px;letter-spacing:.03em}.eyebrow{font-size:13px;color:var(--iris);font-weight:700;letter-spacing:.08em}.btn{display:inline-block;padding:10px 19px;border:1px solid var(--border);border-radius:10px;background:white;color:var(--iris-deep);margin:5px 8px 5px 0}.primary{background:var(--apricot);color:white;border-color:var(--apricot)}.section{margin:64px 0}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.sectionhead h2{margin:0}.sectionhead p{color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category-tile{display:flex;min-height:135px;flex-direction:column;gap:5px;background:white;border:1px solid var(--border);border-radius:13px;padding:20px;transition:transform .2s}.category-tile:hover{transform:translateY(-3px);text-decoration:none}.category-tile span{font-size:26px}.category-tile strong{color:var(--title)}.category-tile small{color:var(--muted)}.category-tile:nth-child(2n){background:#f8f1e5}.category-tile:nth-child(3n){background:#eaf2e9}.category-tile:nth-child(5n){background:#f7edf1}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bookcard{background:white;border:1px solid var(--border);border-radius:14px;display:flex;gap:18px;padding:18px;min-width:0}.bookcard .cover{width:125px;aspect-ratio:2/3;object-fit:cover;border-radius:9px;flex-shrink:0}.bookcard .photo-fallback.cover{width:125px;min-height:190px;flex-shrink:0;font-weight:700}.bookcard h3{font-size:20px;margin:4px 0}.bookcard p{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.bookcard small{color:var(--muted)}.card-actions{display:flex;flex-wrap:wrap;gap:15px;font-size:13px}.editorial-band,.end-banner,.quote-panel,.panel-blue{border-radius:20px;padding:35px;background:#eaf2e9}.panel-blue{background:#eaf3f8}.end-banner{background:#f0ecf7;text-align:center}.mini-book-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.mini-book-row>a{padding:20px;background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;gap:9px}.mini-book-row small{color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.feature-split{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:17px;padding:24px}.wide-photo{height:300px;max-width:100%;width:100%;object-fit:cover;border-radius:12px}.three-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.three-ways .bookcard{flex-direction:column}.three-ways .cover{width:100%;height:220px}.quote-panel{background:#f8f1e5}.quote-panel blockquote{font-family:serif;font-size:23px;line-height:1.7}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.collection-grid.large{grid-template-columns:repeat(2,1fr);margin:38px 0 90px}.collection{display:block;border-radius:15px;background:white;border:1px solid var(--border);padding:30px;min-height:210px}.collection:nth-child(3n+1){background:#f0ecf7}.collection:nth-child(3n+2){background:#eaf2e9}.collection:nth-child(3n){background:#f8f1e5}.collection h3,.collection h2{margin:8px 0}.collection p{color:#555b65}.footer{margin-top:75px;padding:40px 0;background:#edece8;border-top:1px solid var(--border)}.footer p{font-size:14px}.mobile-nav{display:none}.page-intro{padding:55px 0 35px}.page-intro h1{max-width:850px}.page-intro p{max-width:850px;font-size:17px}.library-layout{display:grid;grid-template-columns:220px 1fr;gap:28px}.filter-panel{background:#fff;border:1px solid var(--border);padding:20px;border-radius:14px;align-self:start;display:grid;gap:9px}.filter-panel h2{font-size:20px}.list-panel .bookcard{margin-bottom:12px}.filterform{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.filterform input,.filterform select{padding:9px;border:1px solid var(--border);border-radius:9px;background:white;min-width:0}.filterform input{flex:1;min-width:180px}.pagination{display:flex;justify-content:center;gap:10px}.pagination a{padding:6px 12px;border:1px solid var(--border);background:white;border-radius:8px}.pagination a[aria-current]{background:var(--iris);color:white}.empty{background:white;padding:28px}.breadcrumbs{padding:30px 0;color:var(--muted);font-size:14px}.novel-hero{display:grid;grid-template-columns:260px 1fr;align-items:start;gap:38px;background:#fff;border-radius:20px;padding:38px}.detail-cover{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px}.novel-hero p{max-width:760px}.meta{color:var(--muted)}.novel-sections{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:24px 0}.paper-card{padding:30px;background:#fff;border:1px solid var(--border);border-radius:14px}.character{border-bottom:1px solid var(--border);padding:10px}.chapter-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0;list-style:none}.chapter-list li{padding:15px;background:#fff;border:1px solid var(--border);border-radius:9px}.recommendation{border-top:1px solid var(--border);padding-top:24px}.about-layout{max-width:950px}.about-layout .paper-card{margin-bottom:18px}.spacious{padding:65px 0}.sr-only{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1050px){.book-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.three-ways{grid-template-columns:1fr}.three-ways .bookcard{flex-direction:row}.mini-book-row{grid-template-columns:1fr 1fr}}@media(max-width:700px){.container{width:calc(100% - 34px)}.topbar{height:auto;min-height:68px;gap:10px;flex-wrap:wrap;padding:12px 0}.brand{font-size:18px}.search{order:3;flex-basis:100%;max-width:none}.menu-toggle{display:block;margin-left:auto;background:white;border:1px solid var(--border);border-radius:8px;padding:5px 10px}.nav{display:none;flex-direction:column;gap:10px}.nav.open{display:flex}.hero{grid-template-columns:1fr;margin-top:18px}.hero-copy{padding:26px}.hero-picture{height:170px}.section{margin:42px 0}.category-grid{gap:9px}.category-tile{padding:13px;min-height:130px}.sectionhead{align-items:start;flex-direction:column;gap:3px}.bookcard{padding:12px;gap:12px}.bookcard .cover,.bookcard .photo-fallback.cover{width:95px;min-height:145px}.bookcard h3{font-size:18px}.bookcard p{font-size:13px}.mini-book-row,.feature-split,.collection-grid,.collection-grid.large,.library-layout,.novel-hero,.novel-sections{grid-template-columns:1fr}.feature-split{padding:14px}.novel-hero{padding:18px}.novel-hero .detail-cover{width:140px}.chapter-list{grid-template-columns:1fr}.mobile-nav{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;background:#fffefb;border-top:1px solid var(--border);z-index:20;padding:10px}.footer{margin-bottom:56px}.reader-bottom{margin-bottom:65px}.page-intro{padding:30px 0}.filter-panel{grid-template-columns:repeat(2,1fr)}.filter-panel h2{grid-column:1/-1}}

/* New editorial rhythm while retaining the existing color tokens */
.category-tile:nth-child(2n){transform:translateY(8px)}
.category-tile:nth-child(3n){border-radius:22px 7px 22px 7px}
.collection-grid.large .collection:nth-child(3n){border-left:5px solid var(--pine)}
.collection-grid.large .collection:nth-child(3n + 1){border-left:5px solid var(--iris)}
.collection-grid.large .collection:nth-child(3n + 2){border-left:5px solid var(--apricot)}
@media(max-width:700px){.category-tile:nth-child(2n){transform:none}}
