/* Page-only library styles. Readers, navigation and original scans stay intact. */
.comics-library{--s-gold:#e0c08a;--s-ink:#f3eadc;--s-muted:#bfb3a0;--s-line:#d6b57830;max-width:1280px;color:var(--s-ink);padding:0 32px 40px}
.comics-library h1,.comics-library h2,.comics-library h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;text-transform:none;letter-spacing:-.035em}
.comics-library p{line-height:1.7}
.comics-library a:focus-visible{outline:2px solid var(--s-gold);outline-offset:6px}
.comics-library section,.comics-library article{scroll-margin-top:28px}
.shelf-eyebrow,.shelf-meta,.shelf-art-note{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.comics-library .shelf-eyebrow{color:var(--s-gold);font-size:10px;letter-spacing:.16em;text-transform:uppercase;margin:0 0 17px}
.shelf-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:36px;align-items:center;padding:58px 0 62px;min-height:505px}
.shelf-hero h1{font-family:Oswald,'Arial Narrow',Impact,sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:-.025em;font-size:clamp(40px,5.8vw,82px);line-height:1.08;margin:0;max-width:690px}
.shelf-intro{font-size:18px;max-width:490px;color:var(--s-muted);margin:25px 0 28px}
.shelf-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:46px;background:var(--s-gold);color:#20180f;padding:12px 21px;font:600 14px/1.4 system-ui,sans-serif;text-decoration:none;border:1px solid var(--s-gold);border-radius:3px}
.shelf-button:hover{background:#edd5af;border-color:#edd5af}
.shelf-hero-art{height:390px;position:relative;isolation:isolate;background:radial-gradient(ellipse at 45% 46%,#b98b4c2b,transparent 69%)}
.shelf-hero-art:after{content:"";position:absolute;bottom:11px;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#d6b57877,transparent);z-index:-1}
.shelf-cover{display:block;position:absolute;border:1px solid #b59b7477;box-shadow:0 18px 40px #0009;transition:transform .2s}
.shelf-cover img{width:100%;height:auto;display:block}
.shelf-cover-main{width:49%;max-width:235px;left:8%;top:0;transform:rotate(-7deg)}
.shelf-cover-side{width:58%;right:0;bottom:25px;transform:rotate(5deg)}
.shelf-cover-main:hover{transform:rotate(-3deg) translateY(-4px)}
.shelf-cover-side:hover{transform:rotate(2deg) translateY(-4px)}
.shelf-art-note{position:absolute;right:2%;top:32px;text-transform:uppercase;color:var(--s-muted);font-size:9px;letter-spacing:.12em;line-height:1.9}
.shelf-catalogue{padding:32px 0;border-top:1px solid var(--s-line)}
.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.shelf-book{display:flex;flex-direction:column;min-width:0;border:1px solid var(--s-line);background:#1b1814;border-radius:6px;overflow:hidden}
.shelf-book-art{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:var(--book-bg,#15181a);overflow:hidden;border-bottom:1px solid var(--s-line);padding:12px}
.shelf-book-art img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s}
.shelf-book-art:hover img{transform:scale(1.025)}
.shelf-portrait-art{padding:14px}
.shelf-portrait-art img{width:auto;max-width:100%;box-shadow:0 7px 20px #0005}
.shelf-parashurama{--book-bg:#392824}.shelf-chunmun{--book-bg:#1d1e35}.shelf-vasistha{--book-bg:#30352c}.shelf-friends{--book-bg:#e5dcc9}.shelf-verse{--book-bg:#172b2f}.shelf-garth{--book-bg:#e9dfc9}.shelf-orcgym{--book-bg:#b7c997}
.shelf-title-art{text-decoration:none;color:#22291c}
.shelf-title-plate{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px;width:100%;height:100%;border:2px solid currentColor;padding:18px;text-align:center}
.shelf-title-plate>span{font:10px/1.3 ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}
.shelf-title-plate strong{font:600 clamp(48px,5vw,66px)/.86 Oswald,'Arial Narrow',Impact,sans-serif;letter-spacing:-.04em}
.shelf-title-art:hover .shelf-title-plate{border-color:#50623a}
.shelf-book-copy{padding:25px 24px 22px;flex:1;display:flex;flex-direction:column}
.shelf-book h2{font-size:27px;line-height:1.15;margin:0 0 9px;overflow-wrap:break-word}
.shelf-subtitle{font-size:13px;color:#e0d0b8;margin:0 0 14px;line-height:1.5!important}
.shelf-description{font-size:14px;color:var(--s-muted);margin:0 0 18px}
.shelf-meta{font-size:10px;color:var(--s-muted);margin:auto 0 0;padding-top:12px;line-height:1.8!important}
.shelf-read{display:flex;align-items:center;justify-content:space-between;gap:16px;font:500 13px/1.5 system-ui,sans-serif;color:var(--s-gold);text-decoration:none;min-height:44px;border-top:1px solid var(--s-line);padding:17px 0 0;margin-top:18px}
.shelf-read:hover{color:#f5dfb5;text-decoration:underline}
.shelf-read span{font-size:18px}
.shelf-editorial{font-size:12px;color:#a99e8d;margin:20px 0 0;max-width:1000px}
.shelf-editorial summary{display:list-item;padding:8px 0;cursor:pointer;color:var(--s-muted)}
.shelf-editorial summary:focus-visible{outline:2px solid var(--s-gold);outline-offset:4px}
.shelf-editorial p{margin:10px 0}
.shelf-endnote{border-top:1px solid var(--s-line);padding-top:25px;margin:0;font-size:12px;color:var(--s-muted)}
@media(max-width:1000px){.shelf-hero h1{font-size:47px}.shelf-hero-art{height:340px}.shelf-art-note{font-size:8px;top:0}.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.comics-library{padding-inline:20px}.shelf-hero{grid-template-columns:1fr;gap:36px;padding:38px 0 24px}.shelf-hero h1{font-size:clamp(36px,7vw,48px)}.shelf-intro{font-size:16px;margin-block:20px 23px}.shelf-hero-art{width:100%;max-width:380px;height:330px;justify-self:center}.shelf-cover-main{width:47%;left:9%;top:0}.shelf-cover-side{width:55%;right:4%;bottom:22px}.shelf-art-note{right:3%;top:10px}.shelf-catalogue{padding-block:24px}.shelf-grid{gap:18px}.shelf-book-copy{padding:21px 18px}.shelf-book h2{font-size:24px}.shelf-title-plate{padding:10px;gap:8px}}
@media(max-width:480px){.shelf-grid{grid-template-columns:1fr}.shelf-hero-art{height:285px}.shelf-hero h1{font-size:37px}.shelf-art-note{font-size:7px}.shelf-book-art{aspect-ratio:4/3}.shelf-title-plate{padding:18px}.shelf-title-plate strong{font-size:66px}}
@media(prefers-reduced-motion:reduce){.shelf-cover,.shelf-book-art img{transition:none}.shelf-cover:hover,.shelf-book-art:hover img{transform:none}}
