.book-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.shelf-book.novel-card{display:block;padding:0;background:transparent;border:0;border-radius:8px;overflow:visible;box-shadow:none}.novel-cover-wrap{position:relative;isolation:isolate;border-radius:3px 9px 9px 3px;aspect-ratio:2/3;box-shadow:6px 10px 16px #14263e25;transition:transform .25s,box-shadow .25s;background:var(--surface)}.novel-cover-wrap:after{content:'';position:absolute;inset:0;box-shadow:inset 3px 0 5px #0003,inset 5px 0 1px #fff2;border-radius:inherit;pointer-events:none}.novel-cover{width:100%;height:100%;object-fit:contain;display:block;border-radius:inherit}.novel-card:hover .novel-cover-wrap{transform:translateY(-5px) rotate(-1deg);box-shadow:8px 15px 22px #14263e30}.novel-card[aria-current=true] .novel-cover-wrap{outline:2px solid var(--accent);outline-offset:4px}.novel-card .book-info{padding:19px 1px 0}.novel-card .book-info h3{font-size:16px;line-height:1.4;margin:8px 0;min-height:45px}.novel-card .book-info small{font-size:6px;letter-spacing:1px}.novel-card .book-info p{font-size:8px;margin-bottom:10px}.novel-card .book-status{font-size:7px;padding:6px 10px}.book-cover.actual-cover{padding:0;min-height:0;background:var(--surface);overflow:visible;border-radius:3px 6px 6px 3px;box-shadow:4px 7px 12px #14263e20}.book-cover.actual-cover:after{display:none}.library-cover{width:100%;height:auto;display:block;border-radius:inherit}.hero-book.real-hero{object-fit:contain;padding:0;border:0;overflow:visible;background:none;border-radius:3px 7px 7px 3px}.reader-empty{font:16px/1.9 Lora,serif;color:var(--muted);padding:12px 0 30px}.reader:has(.reader-empty) article p:first-child:first-letter{float:none;font-size:inherit;line-height:inherit;padding:0;color:inherit}.comment-name{font-size:11px;font-weight:500}.reply b{font-size:10px}.reader:has(.reader-empty){min-height:430px}.library h2{margin-top:20px}.book-info .book-status{color:var(--accent)}
.rail-logo{margin-top:26px;line-height:0;letter-spacing:0}.rail-logo:before{display:none}.rail-logo img{display:block;width:48px;height:48px;object-fit:contain;border-radius:11px;box-shadow:0 3px 10px #0002}.brand-title{font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;font-size:31px;font-weight:400;letter-spacing:.3px;line-height:1}.brand small{font-family:'Golos Text',sans-serif;font-weight:400}.mobile-brand-logo{display:none}
@media(max-width:1150px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 25px}.novel-card .novel-cover-wrap{max-width:180px;margin:0 auto}.novel-card .book-info{max-width:180px;margin:auto}.novel-card .book-info h3{font-size:17px;min-height:45px}.novel-card .book-info small{font-size:7px}.novel-card .book-info p{font-size:9px}.novel-card .book-status{font-size:8px}}
@media(max-width:570px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 23px}.novel-card .book-info h3{font-size:16px;min-height:45px}.novel-card .book-info small{font-size:6px}.novel-card .book-info p{font-size:8px}.novel-card .book-status{font-size:7px}.library{display:flex;flex-wrap:wrap;align-items:center;gap:0 17px;padding:20px}.library .section-label,.library>.muted{width:100%}.library .section-label{margin-bottom:15px}.book-cover.actual-cover{display:block;width:75px;margin:0;flex-shrink:0}.library h2{display:block;width:calc(100% - 95px);margin:0;font:20px/1.4 Lora,serif}.library>.muted{display:none}.chapter-list{width:100%;margin-top:14px}.reader-empty{font-size:16px;padding-bottom:12px}.reader:has(.reader-empty){min-height:0}.hero-book.real-hero.front-book{height:170px;width:117px}.hero-book.real-hero.back-book{height:150px;width:103px}.search{display:flex;position:absolute;top:82px;left:5%;right:5%;max-width:none;flex:none;background:var(--surface);border-radius:7px;padding:0 11px;height:34px}.search input{font-size:10px}.search kbd{display:none}header{margin-bottom:36px}.books-section{padding-bottom:30px}.mobile-brand-logo{display:block;width:39px;height:39px;border-radius:8px;object-fit:contain}.brand{gap:10px}.brand-title{font-size:27px}.brand small{font-size:5px;letter-spacing:.7px}.rail-logo{display:none}}
/* Book objects: the artwork stays whole; CSS supplies the binding and page block. */
.novel-card{perspective:1100px}
.novel-cover-wrap{transform:perspective(1000px) rotateY(-17deg) rotateZ(-2deg);transform-style:preserve-3d;transform-origin:45% 55%;margin-right:9px;border-radius:2px 5px 5px 2px;background:#e9e4da;box-shadow:10px 15px 18px #07162835,2px 2px 2px #07162830;transition:transform .3s,box-shadow .3s}
.novel-cover-wrap:before{content:'';position:absolute;top:4px;bottom:3px;right:-9px;width:12px;background:repeating-linear-gradient(90deg,#f3eee3 0px,#f3eee3 1px,#d6cebe 1px,#e9e3d6 2px);border:1px solid #c5bcaa;border-left:0;border-radius:0 3px 3px 0;transform:translateZ(-2px);box-shadow:3px 2px 4px #0002;z-index:-1}
.novel-cover-wrap:after{inset:0;border-radius:2px 5px 5px 2px;box-shadow:inset 2px 0 2px #0009,inset 5px 0 2px #fff3,inset 8px 0 3px #0004,inset -2px 0 2px #0003;background:linear-gradient(90deg,transparent 9px,#fff2 10px,transparent 13px);z-index:2}
.novel-cover{border-radius:2px 5px 5px 2px;position:relative;z-index:1}
.novel-card:hover .novel-cover-wrap{transform:perspective(1000px) rotateY(-8deg) rotateZ(0) translateY(-6px);box-shadow:13px 22px 25px #07162840,2px 2px 2px #07162830}
.novel-card[aria-current=true] .novel-cover-wrap{outline:none}
.novel-card[aria-current=true] .book-info h3{color:var(--accent)}
.novel-card[aria-current=true] .book-info .book-status{box-shadow:0 0 0 1px var(--accent)}
.novel-card .book-info{padding-top:24px}
.hero-book.real-hero{transform-style:preserve-3d;isolation:isolate;overflow:visible;box-shadow:13px 20px 23px #07162840;border-radius:2px 5px 5px 2px}
.hero-cover{height:100%;width:100%;object-fit:contain;display:block;border-radius:inherit;position:relative;z-index:1;background:#263d50}
.hero-book.real-hero:before{content:'';position:absolute;top:4px;bottom:4px;right:-8px;width:11px;border-radius:0 3px 3px 0;background:repeating-linear-gradient(90deg,#ede8dc 0px,#ede8dc 1px,#c9c0ae 1px,#e9e2d5 2px);box-shadow:3px 2px 4px #0003;z-index:-1}
.hero-book.real-hero:after{content:'';position:absolute;inset:0;z-index:2;border:0;border-radius:inherit;box-shadow:inset 3px 0 3px #0008,inset 5px 0 1px #fff3,inset 9px 0 3px #0003;background:linear-gradient(90deg,transparent 9px,#fff2 10px,transparent 13px)}
.hero-book.real-hero.front-book{transform:perspective(900px) rotateY(-17deg) rotateZ(11deg)}
.hero-book.real-hero.back-book{transform:perspective(900px) rotateY(-17deg) rotateZ(-14deg)}
.book-cover.actual-cover{transform:perspective(800px) rotateY(-13deg) rotateZ(-1deg);margin-right:6px;box-shadow:8px 12px 16px #07162830;position:relative;isolation:isolate}
.book-cover.actual-cover:before{content:'';position:absolute;top:3px;bottom:3px;right:-6px;width:8px;border-radius:0 2px 2px 0;background:repeating-linear-gradient(90deg,#eee8dc 0px,#eee8dc 1px,#cfc5b3 1px,#e5dccb 2px);z-index:-1}
.book-cover.actual-cover:after{display:block;content:'';position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:inherit;box-shadow:inset 3px 0 3px #0006,inset 5px 0 1px #fff2,inset 8px 0 3px #0002}
:root[data-theme=dark] .novel-cover-wrap{box-shadow:11px 17px 21px #0008,2px 2px 2px #0006}
:root[data-theme=dark] .novel-cover-wrap:before,:root[data-theme=dark] .hero-book.real-hero:before{filter:brightness(.86)}
@media(max-width:570px){.novel-cover-wrap{margin-right:7px;transform:perspective(800px) rotateY(-15deg) rotateZ(-2deg)}.novel-cover-wrap:before{right:-7px;width:10px}.book-grid{gap:30px 26px}.hero-book.real-hero:before{right:-6px;width:8px}}
