*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root{--bg: #0d0d14;--surface: #151521;--surface-border: #2a2a3d;--text: #c8c8d4;--text-muted: #7a7a92;--accent: #8b7ec8;--accent-bright: #a594f9;--white: #e8e8f0}html{font-size:16px;scroll-behavior:smooth}body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;min-height:100vh;background-image:url(/purplesmoke.jpeg);background-size:cover;background-position:center top;background-repeat:no-repeat;background-attachment:fixed}body:before{content:"";position:fixed;inset:0;background:#0d0d14d9;z-index:-1}nav{padding:1.5rem;max-width:800px;margin:0 auto}.nav-home{font-family:Playfair Display,Georgia,serif;font-size:1.1rem;color:var(--text-muted);text-decoration:none;transition:color .2s}.nav-home:hover{color:var(--accent-bright)}main{max-width:800px;margin:0 auto;padding:2rem 1.5rem 5rem}.page-header{margin-bottom:3rem}.page-header h1{font-family:Playfair Display,Georgia,serif;font-size:clamp(2rem,5vw,3rem);font-weight:400;color:var(--white);margin-bottom:.5rem}.page-subtitle{font-size:.9rem;color:var(--text-muted);font-style:italic}.book-section{margin-bottom:3.5rem}.section-label{font-size:.7rem;letter-spacing:.25em;text-transform:uppercase;color:var(--accent);margin-bottom:1.25rem;font-weight:600}.book-card{display:flex;gap:2rem;padding:2rem;border:1px solid var(--surface-border);border-radius:10px;background:var(--surface);align-items:flex-start}.book-cover{flex-shrink:0;width:160px}.book-cover img{width:100%;height:auto;border-radius:4px;display:block;box-shadow:0 4px 20px #0006;cursor:zoom-in;transition:transform .2s}.book-cover img:hover{transform:scale(1.03)}.lightbox{display:none;position:fixed;inset:0;background:#000000e6;z-index:1000;justify-content:center;align-items:center;cursor:zoom-out;padding:2rem}.lightbox.active{display:flex}.lightbox img{max-width:90vw;max-height:90vh;border-radius:8px;box-shadow:0 8px 40px #0009}.book-info{flex:1;min-width:0}.book-title{font-family:Playfair Display,Georgia,serif;font-size:1.6rem;font-weight:700;color:var(--white);margin-bottom:.2rem}.book-authors{font-size:.85rem;color:var(--text-muted);margin-bottom:.75rem}.book-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.6rem}.tag{font-size:.7rem;padding:.25rem .6rem;border-radius:20px;background:#8b7ec826;color:var(--accent-bright);font-weight:500;letter-spacing:.02em}.book-tropes{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}.trope{font-size:.7rem;padding:.2rem .5rem;border-radius:20px;border:1px solid var(--surface-border);color:var(--text-muted)}.book-blurb{margin-bottom:1rem}.book-blurb p{font-size:.88rem;line-height:1.7;margin-bottom:.75rem;color:var(--text)}.book-blurb p:last-child{margin-bottom:0}.book-tone{color:var(--white)!important;font-weight:500;font-style:italic}.book-blurb em{color:var(--accent-bright)}.content-warnings{margin-bottom:1.25rem;font-size:.8rem}.content-warnings summary{color:var(--text-muted);cursor:pointer;font-weight:500;padding:.4rem 0;transition:color .2s}.content-warnings summary:hover{color:var(--accent-bright)}.content-warnings p{color:var(--text-muted);line-height:1.6;padding:.5rem 0 0;font-size:.8rem}.book-stats{display:flex;gap:1px;background:var(--surface-border);border:1px solid var(--surface-border);border-radius:8px;overflow:hidden;margin-bottom:1rem}.stat{flex:1;background:var(--bg);padding:.75rem;text-align:center}.stat-label{display:block;font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;color:var(--accent);margin-bottom:.2rem}.stat-value{display:block;font-size:.85rem;color:var(--white);font-weight:600}.status-bar-container{margin-top:.25rem}.status-label{display:flex;justify-content:space-between;font-size:.7rem;color:var(--text-muted);margin-bottom:.4rem}.status-track{height:6px;background:var(--bg);border-radius:3px;overflow:hidden;border:1px solid var(--surface-border)}.status-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-bright));border-radius:3px;transition:width .6s ease}.back-link{text-align:center;margin-top:2rem}.back-link a{font-size:.85rem;color:var(--text-muted);text-decoration:none;transition:color .2s}.back-link a:hover{color:var(--accent-bright)}@media(max-width:640px){.book-card{flex-direction:column;align-items:center;text-align:center}.book-cover{width:180px}.book-tags,.book-tropes{justify-content:center}.book-stats{flex-direction:column}}
