:root{color-scheme:dark;--bg:#111722;--panel:#1b2633;--text:#f2f7f3;--muted:#b9c9c7;--green:#90e4ad;--outline:#344a4a}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 system-ui,-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif}
a{color:inherit}
a:focus-visible{outline:3px solid #ffe383;outline-offset:4px}
.books-header{border-bottom:1px solid var(--outline);background:#111923}
.header-inner{max-width:1120px;margin:auto;padding:14px 24px;display:flex;gap:24px;align-items:center;min-height:72px}
.brand{font-size:1rem;font-weight:850;letter-spacing:.03em;text-decoration:none;white-space:nowrap}
.books-header nav{display:flex;gap:22px}.books-header nav a,.home-link{font-weight:650;font-size:.95rem;text-decoration:none}
.home-link{margin-left:auto;color:var(--green)}.books-header a:hover{color:var(--green)}
.intro,.shelf,footer>div{max-width:1120px;margin:auto;padding-left:24px;padding-right:24px}
.intro{padding-top:64px;padding-bottom:38px}.eyebrow{color:var(--green);font-weight:800;letter-spacing:.12em;font-size:.8rem}
h1{font-size:clamp(2.5rem,6vw,4rem);line-height:1.12;margin:14px 0}h2{font-size:1.6rem;margin:0 0 4px}h3{font-size:1.15rem;line-height:1.4;margin:10px 0}
.intro>p:not(.eyebrow){max-width:720px;color:var(--muted)}.fine-print{font-size:.9rem}
.categories{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}.categories a{background:#21352e;border:1px solid #426457;color:#ddfbe6;border-radius:5px;text-decoration:none;padding:8px 12px;min-height:44px}
.shelf>section{border-top:1px solid var(--outline);padding:32px 0}.shelf>section>p{color:var(--muted);margin-top:4px}
.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.book{background:var(--panel);border:1px solid var(--outline);border-top:4px solid #62be84;border-radius:7px;padding:22px;display:flex;flex-direction:column}
.book-cover-placeholder{width:104px;min-height:132px;margin:0 0 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#121c27;border:1px dashed #58736d;border-radius:4px;color:#b9c9c7;text-align:center}
.book-cover-placeholder span{font-size:2.3rem;line-height:1;color:#90e4ad}
.book-cover-placeholder small{font-size:.8rem;line-height:1.35}
.book:nth-child(3n+2){border-top-color:#76bce2}.book:nth-child(3n){border-top-color:#e8b662}
.book p{margin:0 0 12px;color:#d9e3dd}.book .meta{color:var(--muted);font-size:.86rem;margin-top:auto;overflow-wrap:anywhere}
.book a{color:#9eeabd;font-weight:700;display:inline-flex;align-items:center;min-height:44px;align-self:flex-start}
.tag{font-size:.78rem;color:#a8f0bf;font-weight:800;letter-spacing:.03em}
.note{border:1px solid #796638;background:#312d22;padding:20px;border-radius:6px;margin:14px 0 36px}.note p{color:#e6dcc1;margin:5px 0 0}
#comments{margin:30px 0 60px}footer{border-top:1px solid var(--outline);background:#0b1119;color:#aabbb2}footer>div{padding-top:32px;padding-bottom:32px}footer p{margin:4px 0}footer small{font-size:.75rem}
@media(max-width:850px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.header-inner{padding:12px 16px;gap:14px;flex-wrap:wrap}.books-header nav{gap:16px}.home-link{display:none}.intro,.shelf,footer>div{padding-left:16px;padding-right:16px}.intro{padding-top:42px}.book-grid{grid-template-columns:1fr}.book{padding:18px}}

.affiliate-disclosure{padding:4px 0 4px 12px;border-left:2px solid #6d9a80;color:#c5d3cf!important;font-size:.875rem;line-height:1.6}
.affiliate-widget{margin:0 0 18px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.affiliate-widget iframe{display:block;width:120px;height:240px;border:0;background:#fff}
.affiliate-label{font-size:.8rem;font-weight:700;color:#e7d39e}
.book a.affiliate-link{margin-top:8px;padding:8px 12px;background:#284b3b;border:1px solid #639d77;border-radius:5px;color:#f2fff5;text-decoration:none;gap:8px;flex-wrap:wrap}
.affiliate-link span{font-size:.75rem;font-weight:600;color:#d8e9da}
