.site-header__title,
h1,
h2,
h3,
.book-card__title,
.search-result-card__title {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

:root {
  --base-bg: #f3efe8;
  --base-surface: #fffaf3;
  --base-text: #22303a;
  --base-text-muted: #5e675f;
  --base-border: #d8ccb8;
  --base-link: #8a3f2d;
  --base-link-hover: #6b2f22;
  --base-link-visited: #6a4d87;
  --base-focus: #8a3f2d;
  --base-max-width: 76rem;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(163, 109, 68, 0.15), transparent 42%),
    radial-gradient(circle at 88% 2%, rgba(100, 128, 97, 0.12), transparent 36%),
    linear-gradient(180deg, #f6f2ea 0%, #f2eee5 52%, #ece8de 100%);
}

.site-header {
  background:
    linear-gradient(120deg, rgba(138, 63, 45, 0.08), rgba(113, 143, 105, 0.08)),
    linear-gradient(180deg, #fffaf3 0%, #f7f1e7 100%);
  border-bottom: 1px solid rgba(34, 48, 58, 0.12);
  box-shadow: 0 6px 24px rgba(43, 37, 27, 0.06);
}

.site-header__inner--nav-only {
  justify-content: center;
}

.site-nav--centered {
  width: 100%;
}

.site-nav--centered ul {
  justify-content: center;
}

.site-header__title a {
  color: #6f3124;
}

.site-nav a {
  border-color: rgba(138, 63, 45, 0.14);
  background: rgba(255, 250, 243, 0.78);
  color: #4f392f;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(138, 63, 45, 0.11);
  border-color: rgba(138, 63, 45, 0.34);
  color: #5c271b;
}

.site-nav a[aria-current="page"],
.site-nav a.is-current {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.18), rgba(138, 63, 45, 0.1));
  border-color: rgba(138, 63, 45, 0.38);
  color: #5b261a;
}

.site-main > .container {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding: clamp(1rem, 1.6vw, 1.7rem);
  border: 1px solid rgba(91, 71, 53, 0.14);
  border-radius: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 252, 246, 0.97), rgba(250, 245, 236, 0.94)),
    #fffaf3;
  box-shadow: 0 16px 36px rgba(55, 44, 34, 0.08);
}

.section {
  border-radius: 0.85rem;
}

.home-landing-page .page-header {
  background: linear-gradient(135deg, rgba(138, 63, 45, 0.08), rgba(113, 143, 105, 0.08) 56%, rgba(255, 250, 243, 0.95));
  border-color: rgba(112, 88, 63, 0.18);
}

.home-landing-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(16.6rem, 0.88fr);
  gap: 0.48rem 0.95rem;
  align-items: center;
}

.home-landing-page__welcome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  justify-items: start;
  text-align: left;
  gap: 0.64rem;
}

.home-landing-page__welcome-logo {
  width: clamp(6.2rem, 8vw, 7.6rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(43, 37, 27, 0.12));
}

.home-landing-page__welcome-copy {
  min-width: 0;
}

.home-landing-page__search-form {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: min(100%, 56rem);
  margin-top: 0.45rem;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.home-landing-page__search-form p {
  width: min(100%, 42rem);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.home-landing-page__search-form .book-card__meta {
  text-align: center;
}

.home-landing-page__search-form input[type="search"] {
  display: block;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.78rem 0.95rem;
  font-size: 1rem;
}

.home-landing-page__search-form button,
.home-landing-page__search-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  min-height: 2.8rem;
  padding-inline: 1.25rem;
}

.home-landing-page__search-form p:last-child {
  display: flex;
  justify-content: center;
}

.home-landing-page__welcome-copy h1 {
  margin-bottom: 0.08rem;
  font-size: clamp(1.94rem, 2.2vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.032em;
  color: #5b261a;
  white-space: nowrap;
}

.home-landing-page__tagline {
  max-width: 30rem;
  margin: 0 0 0.08rem;
  color: #6b2f22;
  font-size: clamp(0.98rem, 0.8vw + 0.88rem, 1.12rem);
  font-weight: 650;
  line-height: 1.2;
}

.home-landing-page__subcopy {
  max-width: 27rem;
  margin: 0;
  color: #58645d;
  font-size: 0.79rem;
  line-height: 1.3;
}

.home-landing-page__welcome-copy > :last-child {
  margin-bottom: 0;
}

.home-landing-page {
  display: grid;
  gap: 0.95rem;
}

.home-landing-page > .page-header,
.home-landing-page > .section {
  margin: 0;
}

.home-landing-page > .section > h2 {
  margin-bottom: 0.38rem;
}

.home-landing-page > .section > p {
  margin-top: 0;
  margin-bottom: 0.78rem;
}

.home-landing-page__author-list {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.browse-index-page__compact-list {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.home-landing-page__more-recommended {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.home-landing-page .search-results-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19.5rem), 1fr));
  gap: 1rem;
}


.home-landing-page__accordion {
  display: grid;
  gap: 0;
}

.home-landing-page__accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  list-style: none;
}

.home-landing-page__accordion-summary::-webkit-details-marker {
  display: none;
}

.home-landing-page__accordion-title {
  color: #4e251a;
  font-size: clamp(1.08rem, 0.95vw + 0.96rem, 1.28rem);
  font-weight: 700;
  line-height: 1.2;
}

.home-landing-page__accordion-summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #6b2f22;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

  line-height: 1;
}

.home-landing-page__accordion[open] .home-landing-page__accordion-summary::after {
  content: "\2212";
}

.home-landing-page__accordion-panel {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.7rem;
}

.home-landing-page__accordion-panel > :last-child {
  margin-bottom: 0;
}

.home-landing-page__more-link {
  font-size: 1.08rem;
  font-weight: 700;
}

.browse-index-page__welcome {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
}

.browse-index-page__welcome-logo {
  width: clamp(5rem, 8.6vw, 6.8rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(43, 37, 27, 0.12));
}

.browse-index-page__welcome-copy h1 {
  margin-bottom: 0.35rem;
  color: #5b261a;
}

.browse-index-page__welcome-copy p {
  max-width: 36rem;
  margin-inline: auto;
  color: #58645d;
}

.home-landing-page__snapshot {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 17.35rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(138, 63, 45, 0.14);
  border-radius: 0.64rem;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(246, 238, 226, 0.92));
  box-shadow: 0 5px 14px rgba(65, 50, 34, 0.05);
}

.home-landing-page__snapshot-title {
  margin: 0 0 0.2rem;
  color: #6b4b3a;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-landing-page__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.26rem;
  align-items: start;
}

.home-landing-page__eyebrow {
  margin-bottom: 0.5rem;
  color: #8a3f2d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-landing-page__story {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.95fr);
  gap: 1.15rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid rgba(138, 63, 45, 0.14);
  background: linear-gradient(140deg, rgba(255, 251, 245, 0.98), rgba(243, 233, 218, 0.92));
  box-shadow: 0 14px 32px rgba(65, 50, 34, 0.07);
}

.home-landing-page__story-copy h2 {
  margin-bottom: 0.7rem;
  color: #4e251a;
}

.home-landing-page__story-copy p {
  color: #55615c;
}

.home-landing-page__story-note {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.09), rgba(255, 250, 243, 0.95));
}

.home-landing-page__story-note p {
  margin: 0;
  color: #4e3c33;
  font-size: 1rem;
  line-height: 1.7;
}

.home-landing-page__stat {
  display: grid;
  gap: 0.08rem;
  padding: 0.24rem 0.28rem;
  border: 1px solid rgba(138, 63, 45, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.home-landing-page__stat:first-child {
  grid-column: 1 / -1;
}

.home-landing-page__stat-value {
  display: block;
  margin-bottom: 0;
  font-size: clamp(0.82rem, 0.28vw + 0.78rem, 0.94rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #5d2d20;
}

.home-landing-page__stat-label {
  display: block;
  color: #646759;
  font-size: 0.58rem;
  line-height: 1.12;
}

.browse-page__lead {
  max-width: 58ch;
}

.browse-letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.browse-letter-nav__link,
.browse-letter-nav__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 2.7rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 63, 45, 0.18);
  background: rgba(255, 250, 243, 0.88);
  color: #5b3125;
  text-decoration: none;
  font-weight: 650;
}

.browse-letter-nav__link:hover,
.browse-letter-nav__link:focus-visible {
  background: rgba(138, 63, 45, 0.14);
  border-color: rgba(138, 63, 45, 0.34);
  color: #55281d;
}

.browse-letter-nav__current {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.2), rgba(138, 63, 45, 0.1));
  border-color: rgba(138, 63, 45, 0.38);
}

.book-alpha-index-page .browse-letter-nav {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 0.65rem;
  justify-items: center;
  max-width: 48rem;
  margin-inline: auto;
}

.book-alpha-index-page .browse-letter-nav__link,
.book-alpha-index-page .browse-letter-nav__current {
  width: 100%;
  max-width: 3rem;
}

.book-alpha-index-page .search-results-list {
  grid-template-columns: repeat(auto-fit, minmax(20rem, 24rem));
  justify-content: center;
}

.book-alpha-index-page .search-results-list > li {
  width: min(100%, 24rem);
  justify-self: center;
}

.book-alpha-index-page #book-alpha-list-heading {
  text-align: center;
}

@media (max-width: 58rem) {
  .book-alpha-index-page .browse-letter-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    max-width: 28rem;
  }
}

@media (max-width: 36rem) {
  .book-alpha-index-page .browse-letter-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 18rem;
  }
}

.home-landing-page .search-result-card {
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.home-landing-page .search-result-card .book-card__media {
  width: 6rem;
}


.book-card__content {
  min-width: 0;
}

.book-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.book-card__media-link:focus-visible {
  outline: 2px solid rgba(138, 63, 45, 0.42);
  outline-offset: 0.22rem;
  border-radius: 0.72rem;
}

.home-landing-page .search-result-card .book-card__content {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.book-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 241, 231, 0.93)),
    #fffaf3;
  border-color: rgba(138, 63, 45, 0.15);
}

.book-card:hover,
.book-card:focus-within {
  border-color: rgba(138, 63, 45, 0.38);
  box-shadow: 0 16px 28px rgba(63, 45, 28, 0.12);
}

.book-card__title,
.search-result-card__title {
  display: block;
  max-width: 100%;
  color: #2f3a41;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.home-landing-page .search-result-card .book-card__title {
  margin-bottom: 0;
  line-height: 1.18;
  font-size: clamp(0.9rem, 0.58vw + 0.82rem, 0.96rem);
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.search-results-page .search-result-card {
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.search-results-page .search-result-card .book-card__media {
  width: 7rem;
}

.search-results-page .search-result-card .book-card__content {
  display: grid;
  gap: 0.3rem;
  align-content: start;
}

.search-results-page .search-result-card .book-card__title {
  font-size: clamp(1.04rem, 0.96vw + 0.92rem, 1.18rem);
  line-height: 1.23;
  letter-spacing: -0.012em;
  color: #26323a;
}

.search-results-page__header {
  display: grid;
  gap: 0.35rem;
}

.search-results-page__results > h2 {
  margin-bottom: 0.95rem;
}

.search-results-page .search-results-list {
  gap: 1rem;
}

.search-results-page .search-result-card {
  padding: 1.05rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
}

.search-results-page .search-result-card .book-card__media {
  border-color: rgba(138, 63, 45, 0.2);
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.08);
}

.search-results-page .search-result-card .book-card__meta {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5d6458;
}

.book-card__title:hover,
.search-result-card__title:hover {
  color: #6b2f22;
}

.book-card__meta,
.search-result-card__meta,
.search-results-page__query,
.search-results-page__count,
.search-results-page__page {
  color: #626658;
}

input[type="search"],
input[type="text"],
input[type="email"],
select,
textarea {
  border: 1px solid rgba(101, 77, 57, 0.25);
  border-radius: 0.55rem;
  background: rgba(255, 253, 248, 0.95);
  color: var(--base-text);
}

button,
input[type="submit"],
input[type="button"] {
  border: 1px solid rgba(138, 63, 45, 0.3);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.18), rgba(138, 63, 45, 0.1));
  color: #54261b;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.26), rgba(138, 63, 45, 0.14));
  border-color: rgba(138, 63, 45, 0.44);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(235, 225, 210, 0.82), rgba(245, 239, 229, 0.95)),
    #f0e7db;
  border-top: 1px solid rgba(84, 62, 45, 0.18);
}

.site-footer .container.section {
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
}

.site-footer__logo-wrap {
  display: grid;
  justify-items: center;
}

.site-footer__logo {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(43, 37, 27, 0.12));
}

.site-footer__brand {
  color: #5d4332;
  letter-spacing: var(--type-meta-track);
  text-transform: uppercase;
}

.site-footer__intro {
  color: #5f675f;
  max-width: 42rem;
  margin-inline: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 0.9rem;
  margin: 0 auto;
  max-width: 54rem;
}

.site-footer__nav a,
.site-footer__nav a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  min-height: 2.95rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(138, 63, 45, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(245, 236, 224, 0.95));
  box-shadow: 0 5px 14px rgba(74, 55, 35, 0.08);
  color: #3f3028;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.18), rgba(138, 63, 45, 0.1));
  border-color: rgba(138, 63, 45, 0.4);
  color: #55281d;
  transform: translateY(-1px);
}

.site-footer__contact,
.site-footer__network {
  margin: 0;
  text-align: center;
}

.site-footer__contact a,
.site-footer__contact a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  min-height: 2.8rem;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(138, 63, 45, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(245, 236, 224, 0.95));
  box-shadow: 0 5px 14px rgba(74, 55, 35, 0.08);
  color: #3f3028;
  font-weight: 650;
  text-decoration: none;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.18), rgba(138, 63, 45, 0.1));
  border-color: rgba(138, 63, 45, 0.4);
  color: #55281d;
}

.site-footer__network {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.5rem;
  color: #7a7a70;
  font-size: 0.76rem;
  line-height: 1.45;
}

.site-footer__network a,
.site-footer__network a:visited {
  color: #7a7a70;
  text-decoration: none;
}

.site-footer__network a:hover,
.site-footer__network a:focus-visible {
  color: #5b261a;
  text-decoration: underline;
}

.back-to-top a,
.back-to-top a:visited,
.affiliate-disclosure {
  color: #65655a;
}

@media (max-width: 640px) {
  .site-main > .container {
    border-radius: 0.8rem;
    padding: 0.95rem;
  }

  .site-nav--centered ul {
    justify-content: center;
  }

  .home-landing-page__hero {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .home-landing-page__welcome {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .home-landing-page__welcome-logo {
    width: 5.4rem;
  }

  .home-landing-page__search-form {
    grid-template-columns: 1fr;
    justify-self: stretch;
  }

  .home-landing-page__snapshot {
    justify-self: stretch;
    max-width: none;
    padding: 0.46rem 0.6rem;
  }

  .home-landing-page__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.24rem;
  }

  .home-landing-page__story {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .browse-index-page__welcome-logo {
    width: 5.2rem;
  }

  .search-results-page .search-result-card {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.9rem;
  }

  .search-results-page .search-result-card .book-card__media {
    width: 5.2rem;
  }

  .site-footer__nav a,
  .site-footer__nav a:visited {
    width: 100%;
  }
}


.search-results-page__scope-summary {
  display: grid;
  gap: 0.45rem;
}

.search-results-page .search-results-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.search-results-page__page-link,
.search-results-page__pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(138, 63, 45, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(245, 236, 224, 0.95));
  box-shadow: 0 5px 14px rgba(74, 55, 35, 0.08);
  color: #3f3028;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.search-results-page__page-link:hover,
.search-results-page__page-link:focus-visible,
.search-results-page__pagination a:hover,
.search-results-page__pagination a:focus-visible {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.18), rgba(138, 63, 45, 0.1));
  border-color: rgba(138, 63, 45, 0.4);
  color: #55281d;
  transform: translateY(-1px);
}

.search-results-page__pagination p:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

@media (max-width: 900px) {
  .search-results-page .search-results-list {
    grid-template-columns: 1fr;
  }
}

.book-detail__section-heading-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

.book-detail__section-heading-wrap > * {
  min-width: 0;
}

.book-detail__section-note,
.book-detail__summary-note,
.book-detail__preview-note,
.book-detail__stat-detail {
  color: #626658;
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.book-detail__summary-note,
.book-detail__preview-note {
  margin-top: 0.7rem;
}

.book-detail__stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.book-detail__stat-pill {
  display: grid;
  gap: 0.12rem;
  min-width: 8.4rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.9));
  box-shadow: 0 8px 18px rgba(55, 44, 34, 0.06);
}

.book-detail__stat-label {
  color: #7b5e4e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-detail__stat-value {
  color: #4b251b;
  font-size: 1rem;
  line-height: 1.2;
}

.book-detail__hook {
  margin: 0;
  max-width: min(34ch, 100%);
  color: #4e251a;
  font-size: clamp(1.04rem, 1.15vw + 0.92rem, 1.28rem);
  line-height: 1.58;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.book-preview {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  border-radius: 1rem;
  background: linear-gradient(155deg, rgba(255, 251, 245, 0.98), rgba(242, 233, 220, 0.92));
  box-shadow: 0 14px 30px rgba(55, 44, 34, 0.07);
}

.book-preview__viewport {
  min-height: 13rem;
}

.book-preview__slide {
  display: grid;
  gap: 0.45rem;
}

.book-preview__slide[hidden] {
  display: none;
}

.book-preview__eyebrow {
  margin: 0;
  color: #8a3f2d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-preview__title {
  margin: 0;
  color: #4d281d;
  font-size: clamp(1.08rem, 1vw + 0.96rem, 1.24rem);
}

.book-preview__body {
  margin: 0;
  max-width: min(58ch, 100%);
  color: #4a5048;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.book-preview__controls {
  display: grid;
  gap: 0.55rem;
}

.book-preview__button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.book-preview__button {
  min-height: 2.4rem;
  padding-inline: 0.95rem;
}

.book-preview__button--audio {
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.24), rgba(113, 143, 105, 0.12));
  border-color: rgba(83, 111, 76, 0.34);
  color: #294232;
}

.book-preview__button--audio:hover {
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.32), rgba(113, 143, 105, 0.16));
}

.book-preview__status {
  margin: 0;
  color: #626658;
  font-size: 0.88rem;
}

.book-detail__fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  align-items: start;
}

.book-fit-card {
  min-width: 0;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  box-shadow: 0 10px 22px rgba(55, 44, 34, 0.05);
}

.book-fit-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.book-fit-card ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.book-fit-card li {
  max-width: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.book-fit-card--yes {
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.14), rgba(255, 250, 243, 0.95));
}

.book-fit-card--no {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.12), rgba(255, 250, 243, 0.95));
}

.book-detail__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.book-detail__section--reader-guide {
  padding: 1rem 1.08rem 1.1rem;
  border: 1px solid rgba(138, 63, 45, 0.14);
  border-radius: 1.05rem;
  background:
    radial-gradient(circle at top right, rgba(177, 119, 71, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(246, 238, 227, 0.95));
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.05);
}

.book-detail__section--reader-guide .book-detail__section-heading-wrap {
  margin-bottom: 0.55rem;
}

.book-detail__section--reader-guide .book-detail__section-note {
  max-width: 34rem;
}

.book-detail__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem 1.05rem;
}

.book-detail__guide-card {
  display: grid;
  align-content: start;
  gap: 0.62rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 1.05rem 1rem 1rem 1.16rem;
  border: 1px solid rgba(138, 63, 45, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(55, 44, 34, 0.045);
}

.book-detail__guide-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.3rem;
  border-radius: 1rem 0 0 1rem;
  background: rgba(138, 63, 45, 0.25);
}

.book-detail__guide-card::after {
  content: "";
  position: absolute;
  inset: -2.2rem -1.4rem auto auto;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.book-detail__guide-card h3 {
  margin-top: 0;
  margin-bottom: 0;
  color: #4b251b;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.book-detail__guide-card--commitment {
  background: linear-gradient(180deg, rgba(201, 146, 54, 0.14), rgba(255, 252, 247, 0.98));
}

.book-detail__guide-card--commitment::before {
  background: rgba(176, 124, 40, 0.72);
}

.book-detail__commitment-meter {
  --commitment-value: 50%;
  --commitment-fill-start: rgba(210, 168, 79, 0.88);
  --commitment-fill-end: rgba(168, 108, 39, 0.92);
  --commitment-marker-border: rgba(168, 108, 39, 0.82);
  --commitment-track-shadow: rgba(176, 124, 40, 0.16);
  position: relative;
  display: block;
  margin-top: 0.12rem;
}

.book-detail__commitment-meter--low {
  --commitment-fill-start: rgba(116, 164, 92, 0.9);
  --commitment-fill-end: rgba(71, 131, 67, 0.94);
  --commitment-marker-border: rgba(56, 111, 53, 0.82);
  --commitment-track-shadow: rgba(72, 118, 60, 0.18);
}

.book-detail__commitment-meter--mid {
  --commitment-fill-start: rgba(210, 168, 79, 0.88);
  --commitment-fill-end: rgba(168, 108, 39, 0.92);
  --commitment-marker-border: rgba(168, 108, 39, 0.82);
  --commitment-track-shadow: rgba(176, 124, 40, 0.16);
}

.book-detail__commitment-meter--high {
  --commitment-fill-start: rgba(209, 128, 72, 0.92);
  --commitment-fill-end: rgba(155, 72, 44, 0.96);
  --commitment-marker-border: rgba(139, 56, 32, 0.82);
  --commitment-track-shadow: rgba(160, 85, 50, 0.18);
}

.book-detail__commitment-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
}

.book-detail__commitment-track span {
  display: block;
  height: 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px var(--commitment-track-shadow);
}

.book-detail__commitment-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--commitment-value);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--commitment-fill-start), var(--commitment-fill-end));
  box-shadow: 0 8px 18px rgba(138, 95, 26, 0.18);
  pointer-events: none;
}

.book-detail__commitment-marker {
  position: absolute;
  top: 50%;
  left: var(--commitment-value);
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 999px;
  background: #fff8eb;
  border: 2px solid var(--commitment-marker-border);
  box-shadow: 0 8px 18px rgba(138, 95, 26, 0.2);
  transform: translate(-50%, -50%);
}

.book-detail__commitment-scale {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.45rem 0 0;
  color: #7a5d41;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.book-detail__commitment-label {
  margin: 0.28rem 0 0;
  color: #5b3721;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.book-detail__commitment-label span {
  color: #7c685a;
  font-weight: 600;
}

.book-detail__guide-card--signal {
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.16), rgba(255, 252, 247, 0.98));
}

.book-detail__guide-card--signal::before {
  background: rgba(83, 111, 76, 0.72);
}

.book-detail__guide-card--shelf {
  background: linear-gradient(180deg, rgba(96, 120, 146, 0.14), rgba(255, 252, 247, 0.98));
}

.book-detail__guide-card--shelf::before {
  background: rgba(91, 109, 130, 0.72);
}

.book-detail__guide-card--tone {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.12), rgba(255, 252, 247, 0.98));
}

.book-detail__guide-card--tone::before {
  background: rgba(138, 63, 45, 0.72);
}

.book-detail__guide-copy {
  margin: 0;
  color: #4b4f48;
  font-size: 0.96rem;
  line-height: 1.66;
}

.book-detail__guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
  color: #4b4f48;
}

.book-detail__guide-list li {
  position: relative;
  padding-left: 0.95rem;
  line-height: 1.55;
}

.book-detail__guide-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(138, 63, 45, 0.62);
}

.book-detail__tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.38rem 0.82rem;
  border: 1px solid rgba(138, 63, 45, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(247, 239, 228, 0.94));
  box-shadow: 0 6px 14px rgba(55, 44, 34, 0.05);
  color: #5a3125;
  font-size: 0.88rem;
  font-weight: 650;
}

.book-detail__tag:nth-child(4n + 1) {
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.2), rgba(255, 250, 243, 0.96));
  border-color: rgba(83, 111, 76, 0.28);
  color: #2f4a36;
}

.book-detail__tag:nth-child(4n + 2) {
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.16), rgba(255, 250, 243, 0.96));
  border-color: rgba(138, 63, 45, 0.24);
  color: #6a2e21;
}

.book-detail__tag:nth-child(4n + 3) {
  background: linear-gradient(180deg, rgba(201, 146, 54, 0.2), rgba(255, 250, 243, 0.96));
  border-color: rgba(176, 124, 40, 0.26);
  color: #6a4a12;
}

.book-detail__tag:nth-child(4n + 4) {
  background: linear-gradient(180deg, rgba(96, 120, 146, 0.18), rgba(255, 250, 243, 0.96));
  border-color: rgba(91, 109, 130, 0.24);
  color: #32485f;
}

.book-detail__section--summary,
.book-detail__section--preview-links {
  padding: 1rem 1.08rem;
  border: 1px solid rgba(138, 63, 45, 0.15);
  border-radius: 1rem;
  border-top: 1px solid rgba(138, 63, 45, 0.15);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.05);
}

.book-detail__section--summary h2,
.book-detail__section--preview-links h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.book-detail__section--summary > :last-child,
.book-detail__section--preview-links > :last-child {
  margin-bottom: 0;
}

.book-detail__feedback {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.08rem;
  border: 1px solid rgba(138, 63, 45, 0.15);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.05);
}

.book-detail__feedback-copy h2 {
  margin: 0 0 0.3rem;
}

.book-detail__feedback-copy p {
  margin: 0;
  color: #626658;
}

.book-detail__feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.book-detail__feedback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(83, 111, 76, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.22), rgba(255, 250, 243, 0.96));
  color: #294232;
  font-weight: 700;
  cursor: pointer;
}

.book-detail__feedback-button--down {
  border-color: rgba(138, 63, 45, 0.28);
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.16), rgba(255, 250, 243, 0.96));
  color: #6a2e21;
}

.book-detail__feedback-button[data-active="1"] {
  box-shadow: inset 0 0 0 1px rgba(37, 63, 46, 0.28), 0 8px 16px rgba(55, 44, 34, 0.08);
  transform: translateY(-1px);
}

.book-detail__feedback-status {
  margin: 0;
  color: #626658;
  font-size: 0.92rem;
}

.book-detail__preview-links {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0;
}

.book-quick-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  align-items: stretch;
}

.book-quick-picks__card {
  display: grid;
  grid-template-columns: 5.3rem minmax(0, 1fr);
  gap: 0.82rem;
  align-items: start;
  min-width: 0;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 26px rgba(55, 44, 34, 0.06);
}

.book-quick-picks__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.book-quick-picks__media-link:focus-visible {
  outline: 2px solid rgba(138, 63, 45, 0.42);
  outline-offset: 0.22rem;
  border-radius: 0.82rem;
}

.book-quick-picks__cover-frame {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(138, 63, 45, 0.18);
  border-radius: 0.82rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 10px 22px rgba(55, 44, 34, 0.08);
}

.book-quick-picks__cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fffaf3;
}

.book-quick-picks__cover-image--placeholder {
  object-fit: contain;
  padding: 0.35rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
}

.book-quick-picks__content {
  display: grid;
  gap: 0.34rem;
  align-content: start;
  min-width: 0;
}

.book-quick-picks__title {
  display: block;
  color: #2f3a41;
  font-size: 1.04rem;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.book-quick-picks__title:hover {
  color: #6b2f22;
}

.book-quick-picks__author,
.book-quick-picks__vibe,
.book-quick-picks__hook {
  margin: 0;
  max-width: none;
  color: #5c645a;
  font-size: 0.91rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.book-quick-picks__vibe {
  color: #7a503f;
  font-weight: 650;
}

.money-page,
.money-page-index {
  display: grid;
  gap: 1.4rem;
  width: min(100%, 96rem);
  max-width: 96rem;
  margin-inline: auto;
}

.money-page__hero,
.money-page-index__hero {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(138, 63, 45, 0.14);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.98), rgba(244, 235, 223, 0.94));
  box-shadow: 0 18px 34px rgba(55, 44, 34, 0.07);
  text-align: center;
}

.money-page__eyebrow,
.money-page-index__eyebrow,
.money-page-index__card-kicker {
  margin: 0;
  color: #8a3f2d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.money-page__hero h1,
.money-page-index__hero h1 {
  margin: 0;
}

.money-page__intro,
.money-page-index__hero p:last-child {
  margin: 0;
  max-width: 72ch;
  color: #4c514a;
  margin-inline: auto;
}

.money-page__section-heading {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
}

.money-page__section-heading h2,
.money-page__section-heading p {
  margin: 0;
}

.money-page__section-heading p {
  color: #626658;
  max-width: 70ch;
  margin-inline: auto;
}

.money-page__body {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.money-page__list {
  display: grid;
  gap: 1.2rem;
  padding-left: 0;
  list-style: none;
  margin: 0;
  justify-items: center;
}

.money-page__card {
  display: grid;
  grid-template-columns: minmax(10.5rem, 13rem) minmax(0, 1fr);
  gap: 1.6rem;
  width: 100%;
  max-width: 88rem;
  padding: 1.28rem 1.45rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 26px rgba(55, 44, 34, 0.06);
}

.money-page__card-media {
  width: 100%;
  max-width: 13rem;
}

.money-page__card-copy {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.money-page__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(138, 63, 45, 0.18);
  border-radius: 0.9rem;
  box-shadow: 0 10px 22px rgba(55, 44, 34, 0.08);
  background: #fffaf3;
}

.money-page__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.money-page__rank {
  margin: 0;
  color: #7b5e4e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.money-page__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.money-page__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.24rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201, 146, 54, 0.2), rgba(255, 250, 243, 0.96));
  border: 1px solid rgba(176, 124, 40, 0.22);
  color: #6a4a12;
  font-size: 0.82rem;
  font-weight: 700;
}

.money-page__title,
.money-page__title a {
  margin: 0;
  color: #3c1f17;
  font-size: clamp(1.16rem, 0.9vw + 1.02rem, 1.42rem);
  line-height: 1.16;
  text-decoration: none;
}

.money-page__title a:hover,
.money-page__title a:focus-visible {
  color: #8a3f2d;
}

.money-page__meta,
.money-page__description,
.money-page__reason-list,
.money-page__reason-list li {
  margin: 0;
  color: #4b4f48;
}

.money-page__description {
  font-size: 0.99rem;
  line-height: 1.68;
}

.money-page__reason-block {
  display: grid;
  gap: 0.4rem;
}

.money-page__reason-title {
  margin: 0;
  color: #4b251b;
  font-weight: 700;
}

.money-page__reason-list {
  padding-left: 1.1rem;
}

.money-page__reason-list li + li {
  margin-top: 0.3rem;
}

.money-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.money-page__amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 12.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 154, 31, 0.98), rgba(225, 118, 11, 0.98));
  box-shadow: 0 12px 22px rgba(138, 79, 18, 0.2);
  color: #fff8ef;
  font-weight: 800;
  text-decoration: none;
}

.money-page__amazon-button:hover,
.money-page__amazon-button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.money-page__internal-link {
  color: #5b261a;
  font-weight: 650;
  text-decoration: none;
}

.money-page__internal-link:hover,
.money-page__internal-link:focus-visible {
  text-decoration: underline;
}

.money-page-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.money-page-index__card {
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 72rem) {
  .money-page__card {
    grid-template-columns: minmax(10.5rem, 12.75rem) minmax(0, 1fr);
    gap: 1.6rem;
    padding: 1.25rem 1.45rem;
  }

  .money-page__card-media {
    max-width: 12.75rem;
  }
}

@media (max-width: 42rem) {
  .book-detail__stat-pill {
    min-width: 7.2rem;
  }

  .book-preview__viewport {
    min-height: 0;
  }

  .book-detail__fit-grid,
  .book-quick-picks {
    grid-template-columns: 1fr;
  }

  .book-quick-picks__card {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.9rem;
  }

  .money-page__card {
    grid-template-columns: 1fr;
  }
}
.book-detail--reader-enhanced {
  gap: 0.8rem;
}

.book-detail--reader-enhanced .book-detail__header,
.book-detail--reader-enhanced .book-detail__body {
  gap: 0.8rem;
}

.book-detail__hero {
  gap: 0.85rem 1.05rem;
  align-items: start;
}

.book-detail__hero-copy {
  min-width: 0;
  padding-inline-start: 0.15rem;
}

.book-detail__purchase--hero {
  display: grid;
  gap: 0.9rem 1.1rem;
  margin-top: 0.45rem;
  padding: 1.05rem 1.3rem;
  border-top: 1px solid rgba(138, 63, 45, 0.12);
}

.book-detail__purchase-title {
  margin: 0;
  color: #4b251b;
  font-size: clamp(1.12rem, 0.95vw + 0.98rem, 1.34rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.book-detail__purchase-note {
  display: none;
}

.book-detail__purchase--hero p,
.book-detail__purchase-copy,
.book-detail__purchase-actions {
  margin: 0;
  max-width: none;
}

.book-detail__purchase-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.book-detail__purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.book-detail__purchase-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.book-detail__amazon-button,
.book-detail__amazon-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 12.75rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 84, 0, 0.38);
  background: linear-gradient(180deg, #ffd056 0%, #ffad14 44%, #ff9200 72%, #f57f00 100%);
  box-shadow: 0 16px 28px rgba(169, 82, 0, 0.3);
  color: #4a1d00;
  font-weight: 820;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 244, 214, 0.35);
}

.book-detail__amazon-button:hover,
.book-detail__amazon-button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.16) brightness(1.04);
}

.book-detail__purchase--hero .book-detail__affiliate-disclosure {
  grid-column: 1 / -1;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(138, 63, 45, 0.1);
  font-size: 0.76rem;
  line-height: 1.45;
}

.book-detail__purchase-secondary,
.book-detail__purchase-secondary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 0.9rem;
  border: 1px solid rgba(138, 63, 45, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
  color: #5c2d20;
  font-weight: 620;
  text-decoration: none;
}

.book-detail__purchase-secondary:hover {
  color: #6b2f22;
}

@media (max-width: 59.9375rem) {
  .book-detail__purchase--hero .book-detail__purchase-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 60rem) {
  .book-detail__cover {
    grid-column: 1;
    grid-row: 1;
  }

  .book-detail__hero-copy {
    grid-column: 2;
    grid-row: 1;
    padding-inline-start: 0.2rem;
  }

  .book-detail__rail {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .book-detail__purchase--hero {
    grid-column: 1 / 3;
    grid-row: 2;
    grid-template-columns: fit-content(10.75rem) minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    margin-top: 0.55rem;
  }

  .book-detail__purchase-copy {
    justify-self: start;
    text-align: center;
  }

  .book-detail__purchase-actions {
    justify-self: start;
    padding-inline-start: 0;
    flex-wrap: wrap;
  }
}

/* Homepage nav spacing and centered browse/search landing layouts */
.site-nav ul {
  gap: 0.7rem 0.85rem;
}

.site-nav a {
  min-height: 3rem;
  padding: 0.72rem 1.24rem;
}

.browse-index-page,
.search-landing-page {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.browse-index-page > .section,
.search-landing-page > .section {
  width: min(100%, 72rem);
}

.browse-index-page .section > h2,
.browse-index-page .section > p,
.search-landing-page .section > h2,
.search-landing-page .section > p {
  text-align: center;
}

.browse-index-page .book-list,
.search-landing-page .book-list {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 20rem));
  justify-content: center;
}

.browse-index-page .book-list > li,
.search-landing-page .book-list > li {
  width: min(100%, 20rem);
  justify-self: center;
}

.search-landing-page form.book-card {
  width: min(100%, 38rem);
  margin-inline: auto;
}

.search-landing-page form.book-card p {
  margin-left: 0;
  margin-right: 0;
}

.site-footer__utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem 0.55rem;
  margin: 0;
  max-width: 58rem;
  color: #7a7a70;
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer__utility a,
.site-footer__utility a:visited {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #7a7a70;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
}

.site-footer__utility a:hover,
.site-footer__utility a:focus-visible {
  background: transparent;
  border: 0;
  color: #5b261a;
  text-decoration: underline;
  transform: none;
}

.html-sitemap-page {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.html-sitemap-page > .page-header,
.html-sitemap-page > .section {
  width: min(100%, 72rem);
}

.html-sitemap-page .page-header,
.html-sitemap-page .section > h2,
.html-sitemap-page .section > p {
  text-align: center;
}

.html-sitemap-page .section > p {
  max-width: 48rem;
  margin-inline: auto;
}

.html-sitemap-page .book-list {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 16rem));
  justify-content: center;
}

.html-sitemap-page .book-list > li {
  width: min(100%, 16rem);
  justify-self: center;
}

@media

.search-landing-page {
  gap: 0.72rem;
}

.search-landing-page .page-header {
  margin-bottom: 0;
}

.search-landing-page .page-header p,
.search-landing-page > .section > h2,
.search-landing-page > .section > p,
.search-landing-page form.book-card p {
  margin-top: 0;
}

.search-landing-page .section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.search-landing-page form.book-card {
  width: min(100%, 42rem);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.search-landing-page form.book-card p {
  width: 100%;
  margin-bottom: 0;
  text-align: center;
}

.search-landing-page form.book-card label {
  display: block;
  margin-bottom: 0.32rem;
}

.search-landing-page input[type="search"] {
  display: block;
  width: min(100%, 34rem);
  min-height: 3.35rem;
  margin-inline: auto;
  padding: 0.82rem 1rem;
  font-size: 1.04rem;
  text-align: center;
}

.search-landing-page button,
.search-landing-page input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  min-height: 3rem;
  margin-inline: auto;
  padding-inline: 1.4rem;
}

.search-landing-page input[type="search"]::placeholder {
  color: #66695f;
  font-size: 1.06rem;
  opacity: 1;
}

.search-landing-page form.book-card p:last-child {
  margin-top: 0.18rem;
}

/* Reader detail layout preview-approved overrides */
.book-detail--reader-enhanced {
  gap: 0.9rem;
}

.book-detail--reader-enhanced .book-detail__header,
.book-detail--reader-enhanced .book-detail__body {
  gap: 0.9rem;
}

.book-detail--reader-enhanced .book-detail__hero {
  gap: 0.85rem 1.05rem;
  align-items: start;
}

.book-detail--reader-enhanced .book-detail__hero-copy {
  min-width: 0;
  padding-inline-start: 0.2rem;
}

.book-detail--reader-enhanced .book-detail__hero-summary {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.22rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.book-detail--reader-enhanced .book-detail__hero-summary h2 {
  margin: 0;
  color: #7a503f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-detail--reader-enhanced .book-detail__hero-summary p {
  margin: 0;
  color: #4a5048;
  font-size: 0.95rem;
  line-height: 1.55;
}

.book-detail--reader-enhanced .book-detail__body {
  row-gap: 1.15rem;
}

.book-detail--reader-enhanced .book-detail__primary {
  display: grid;
  gap: 1.18rem;
  min-width: 0;
}


.book-detail--reader-enhanced .book-detail__section--summary {
  margin-bottom: 1.12rem;
  padding: 1rem 1.08rem;
  border: 1px solid rgba(138, 63, 45, 0.15);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.05);
}

.book-detail--reader-enhanced .book-detail__section--summary h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.book-detail--reader-enhanced .book-detail__section--summary > :last-child {
  margin-bottom: 0;
}

.book-detail--reader-enhanced .book-detail__section-heading-wrap {
  align-items: end;
  margin-bottom: -0.28rem;
}

.book-detail--reader-enhanced .book-detail__section--preview .book-detail__section-heading-wrap > h2 {
  margin-left: 0.12rem;
}

.book-detail--reader-enhanced .book-detail__section--preview .book-detail__section-note {
  margin-bottom: 0.05rem;
}

.book-detail--reader-enhanced .book-detail__section--preview .book-preview {
  margin-top: 0;
}

.book-detail--reader-enhanced .book-detail__purchase--hero {
  display: grid;
  gap: 0.9rem 1.1rem;
  margin-top: 0.55rem;
  margin-bottom: 1.72rem;
  padding: 2.32rem 1.8rem;
  border-top: 1px solid rgba(138, 63, 45, 0.12);
}

.book-detail--reader-enhanced .book-detail__purchase-copy,
.book-detail--reader-enhanced .book-detail__purchase-actions,
.book-detail--reader-enhanced .book-detail__purchase--hero p {
  margin: 0;
  max-width: none;
}

.book-detail--reader-enhanced .book-detail__purchase-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.book-detail--reader-enhanced .book-detail__purchase-title {
  margin: 0;
  color: #4b251b;
  font-size: clamp(1.12rem, 0.95vw + 0.98rem, 1.34rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.book-detail--reader-enhanced .book-detail__purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  max-width: 100%;
}

.book-detail--reader-enhanced .book-detail__purchase-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.book-detail--reader-enhanced .book-detail__amazon-button,
.book-detail--reader-enhanced .book-detail__amazon-button:visited {
  min-width: clamp(12.75rem, 34vw, 16.5rem);
  white-space: normal;
}

.book-detail--reader-enhanced .book-detail__purchase--hero .book-detail__affiliate-disclosure {
  grid-column: 1 / -1;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(138, 63, 45, 0.1);
  font-size: 0.68rem;
  line-height: 1.38;
}

.book-detail--reader-enhanced .book-detail__side-stack {
  display: grid;
  gap: 1.18rem;
}

.book-detail--reader-enhanced .book-detail__side-fit,
.book-detail--reader-enhanced .book-detail__rail-tags,
.book-detail--reader-enhanced .book-detail__side-preview {
  padding: 0.9rem 0.96rem;
  border: 1px solid rgba(138, 63, 45, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.05);
}

.book-detail--reader-enhanced .book-detail__side-fit h2,
.book-detail--reader-enhanced .book-detail__rail-tags h2,
.book-detail--reader-enhanced .book-detail__side-preview h2 {
  margin-top: 0;
  margin-bottom: 0.62rem;
  font-size: 0.96rem;
}

.book-detail--reader-enhanced .book-detail__fit-bubbles {
  display: grid;
  gap: 0.58rem;
}

.book-detail--reader-enhanced .book-detail__fit-bubble {
  display: grid;
  gap: 0.34rem;
  padding: 0.72rem 0.76rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(138, 63, 45, 0.14);
  background: rgba(255, 250, 243, 0.9);
}

.book-detail--reader-enhanced .book-detail__fit-bubble--yes {
  border-color: rgba(83, 111, 76, 0.24);
  background: linear-gradient(180deg, rgba(113, 143, 105, 0.16), rgba(255, 250, 243, 0.96));
}

.book-detail--reader-enhanced .book-detail__fit-bubble--no {
  border-color: rgba(138, 63, 45, 0.22);
  background: linear-gradient(180deg, rgba(138, 63, 45, 0.14), rgba(255, 250, 243, 0.96));
}

.book-detail--reader-enhanced .book-detail__fit-bubble-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #4d281d;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.book-detail--reader-enhanced .book-detail__fit-bubble-text {
  margin: 0;
  color: #4a5048;
  font-size: 0.89rem;
  line-height: 1.5;
}

.book-detail--reader-enhanced .book-detail__fit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(77, 40, 29, 0.12);
}

.book-detail--reader-enhanced .book-detail__fit-bubble--yes .book-detail__fit-icon {
  background: linear-gradient(180deg, #4eb866, #2f7a3f);
  color: #fffdf8;
}

.book-detail--reader-enhanced .book-detail__fit-bubble--no .book-detail__fit-icon {
  background: linear-gradient(180deg, #de6656, #a12a22);
  color: #fff8f6;
}

.book-detail--reader-enhanced .book-detail__rail-tags .book-detail__tag-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.5rem 0.6rem;
}

.book-detail--reader-enhanced .book-detail__rail-tags .book-detail__tag {
  width: auto;
  min-height: 1.86rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  justify-content: flex-start;
  justify-self: start;
  max-width: 100%;
}

.book-detail--reader-enhanced .book-detail__side-preview p {
  margin-top: 0;
  font-size: 0.86rem;
  line-height: 1.44;
}

.book-detail--reader-enhanced .book-detail__side-preview .book-detail__preview-note,
.book-detail--reader-enhanced .book-detail__side-preview .book-detail__preview-links,
.book-detail--reader-enhanced .book-detail__side-preview .book-detail__preview-links a {
  font-size: 0.82rem;
  line-height: 1.42;
}

.book-detail--reader-enhanced .book-detail__preview-links {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0;
}

@media (max-width: 59.9375rem) {
  .book-detail--reader-enhanced .book-detail__purchase-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 42rem) {
  .book-detail--reader-enhanced .book-detail__rail-tags .book-detail__tag-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 60rem) {
  .book-detail--reader-enhanced .book-detail__cover {
    grid-column: 1;
    grid-row: 1;
  }

  .book-detail--reader-enhanced .book-detail__hero-copy {
    grid-column: 2;
    grid-row: 1;
    padding-inline-start: 0.2rem;
  }

  .book-detail--reader-enhanced .book-detail__rail {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .book-detail--reader-enhanced .book-detail__purchase--hero {
    grid-column: 1 / 3;
    grid-row: 2;
    grid-template-columns: fit-content(10.75rem) minmax(0, 1fr);
    align-items: center;
    justify-content: start;
  }

  .book-detail--reader-enhanced .book-detail__purchase-copy {
    justify-self: start;
    text-align: center;
  }

  .book-detail--reader-enhanced .book-detail__purchase-actions {
    justify-self: start;
    padding-inline-start: 0;
    flex-wrap: wrap;
  }

  .book-detail--reader-enhanced .book-detail__side-stack {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
  }

  .book-detail--reader-enhanced .book-detail__body {
    display: grid;
    align-items: start;
  }
}

.site-footer__logo-wrap,
.site-footer__logo {
  display: none !important;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  margin: 0;
}

.back-to-top a,
.back-to-top a:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  padding: 0.68rem 0.95rem;
  border: 1px solid rgba(138, 63, 45, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 10px 24px rgba(55, 44, 34, 0.12);
  color: #4f2a1f;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.back-to-top a::before {
  content: "\2191";
  font-size: 1rem;
  line-height: 1;
}

.back-to-top a:hover,
.back-to-top a:focus-visible {
  background: rgba(138, 63, 45, 0.14);
  border-color: rgba(138, 63, 45, 0.44);
  color: #55281d;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .back-to-top a,
  .back-to-top a:visited {
    min-height: 2.55rem;
    padding: 0.62rem 0.82rem;
    font-size: 0.82rem;
  }
}

/* Genre shelf cover cards */
.genre-book-list {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 22rem));
}

.genre-book-card {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 1rem 1.02rem;
}

.genre-book-card__cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.genre-book-card__cover-link:focus-visible {
  outline: 2px solid rgba(138, 63, 45, 0.42);
  outline-offset: 0.22rem;
  border-radius: 0.85rem;
}

.genre-book-card__cover-frame {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(138, 63, 45, 0.18);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
  box-shadow: 0 12px 24px rgba(55, 44, 34, 0.08);
}

.genre-book-card__cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fffaf3;
}

.genre-book-card__cover-image--placeholder {
  object-fit: contain;
  padding: 0.45rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 228, 0.92));
}

.genre-book-card__content {
  display: grid;
  gap: 0.38rem;
  align-content: start;
}

.genre-book-card__title {
  margin-bottom: 0;
  line-height: 1.24;
  font-size: clamp(1rem, 1vw + 0.88rem, 1.12rem);
}

.genre-book-card__meta {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .genre-book-card {
    grid-template-columns: 5.4rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.9rem;
  }
}

.home-landing-page__refresh-note {
  margin-top: 0.32rem;
  padding-top: 0.32rem;
  border-top: 1px solid rgba(138, 63, 45, 0.12);
  font-family: "Arial Narrow", "Liberation Sans Narrow", "Nimbus Sans Narrow", Arial, sans-serif;
  font-size: 0.32rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #6a584d;
}

.home-landing-page__refresh-note p {
  margin: 0;
}

.home-landing-page__refresh-note p + p {
  margin-top: 0.08rem;
}
