.author-page { font-size: 16px; }
.author-page h1, .author-page h2, .author-page .author-link { font-family: Georgia, serif; }
.site-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-nav a, .library-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a { text-decoration: none; }
.category-filters a { display: inline-flex; align-items: center; min-height: 44px; border-radius: 24px; padding: 8px 15px; border: 1px solid #ffffff36; background: #ffffff08; color: #dddadd; font-size: 14px; text-decoration: none; }
.category-filters a[aria-current="page"] { color: #18191c; background: #e2d6c9; border-color: #e2d6c9; }
.library-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.home-hero { position: relative; text-align: center; padding: 52px 24px 36px; }
.home-portrait { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 1px solid #d8c8b766; margin-bottom: 18px; }
.home-hero h1 { font-size: clamp(44px, 8vw, 76px); margin: 12px 0 16px; line-height: 1.1; }
.hero-tagline { font: 22px/1.4 Georgia, serif; color: #e9ddce; }
.author-intro { color: #d5d1d1; max-width: 620px; margin: 16px auto; line-height: 1.65; }
.home-search { max-width: 620px; margin: 28px auto 0; text-align: left; }
.home-search label { display: block; margin-bottom: 10px; font-size: 14px; }
.home-search .search-field { padding-right: 5px; }
.home-search input { width: 100%; min-width: 0; min-height: 54px; border: 0; outline: none; background: transparent; color: white; font: inherit; }
.search-submit { flex-shrink: 0; min-width: 66px; min-height: 44px; border: 1px solid #b96368; background: #792c35; color: white; border-radius: 8px; cursor: pointer; font: inherit; padding: 8px 12px; }
.search-help { font-size: 13px; color: #c9bcb2; margin-top: 10px; }
.primary-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.site-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; text-decoration: none; border: 1px solid #a35359; border-radius: 8px; background: linear-gradient(120deg,#792c35,#4e202a); color: #fff; }
.site-button.secondary { background: #1b252ed9; border-color: #ffffff55; }
.featured-section { margin-top: 32px; }
.section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 20px; }
.section-heading h2 { font-size: 26px; line-height: 1.25; }
.section-heading a { font-size: 14px; padding: 12px 0; }
.home-about, .home-join { margin-top: 28px; padding: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.home-about h2, .home-join h2 { font-size: 26px; margin-bottom: 10px; }
.home-about p, .home-join p { max-width: 580px; color: #d5d1d1; }
.book-content { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.book-content > .book-cover { flex-shrink: 0; }
.book-title { margin-top: 12px; }
.status-badge { display: inline-block; padding: 3px 8px; border: 1px solid #ffffff30; border-radius: 6px; background: #ffffff09; font-size: 11px; line-height: 1.5; color: #e0d4c7; }
.book-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 13px; letter-spacing: 0; }
.back-link { display: inline-block; padding: 0 0 24px; }
.site-nav .back-link { padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.book-detail { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: 34px; align-items: start; }
.detail-cover img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #ffffff38; }
.detail-copy h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin: 12px 0 16px; overflow-wrap: anywhere; }
.byline { color: #d3c4b2; }
.book-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.synopsis p { white-space: pre-line; color: #d5d1d1; margin-top: 12px; }
.reading-options { padding: 20px; border: 1px solid #ffffff30; border-radius: 10px; background: #ffffff05; margin-top: 24px; }
.reading-options h2, .synopsis h2 { font-size: 23px; }
.reading-link { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 48px; margin-top: 12px; border: 1px solid #ffffff45; border-radius: 7px; text-decoration: none; color: #f3e7d8; background: #202b35; }
.related-books { margin-top: 40px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 36px; align-items: center; }
.about-portrait { display: block; width: 100%; height: auto; border-radius: 12px; }
.about-copy h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.about-copy p { margin: 20px 0; color: #d5d1d1; }
.about-copy .primary-actions { justify-content: flex-start; }
@media (hover: hover) { a.book-content:hover { background: #ffffff12; border-color: #decfc080; transform: translateY(-2px); } .reading-link:hover, .site-button:hover { filter: brightness(1.18); } }
@media (max-width: 640px) {
  .site-nav { gap: 12px; font-size: 14px; }
  .author-page .author-link { font-size: 24px; }
  .home-hero { padding: 30px 16px; }
  .home-hero .eyebrow { font-size: 10px; }
  .primary-actions { gap: 10px; }
  .primary-actions .site-button { flex: 1; padding: 12px; font-size: 14px; }
  .featured-section.library-panel { padding: 22px 12px; }
  .book-detail, .about-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .detail-cover { width: min(250px, 80%); margin: auto; }
  .about-portrait { width: min(240px, 100%); margin: auto; }
  .home-about, .home-join { padding: 24px 18px; }
  .section-heading h2 { font-size: 23px; }
}
@media (max-width: 359px) { .author-page .book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .author-page .book-title { font-size: 14px; } .book-code { padding: 2px 5px; font-size: 11px; } }
