.recommendations .page-heading { margin-bottom: 24px; }
.feed-resume, .feed-chapter-updates { margin-bottom: 24px; }
.feed-resume h2, .feed-chapter-updates .section-head h2 { font-size: 1.16rem; font-weight: var(--weight-strong); letter-spacing: -.02em; }
.feed-resume h2 { margin-bottom: 8px; }
.resume-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.resume-card:hover { background: var(--subtle); }
.resume-card:focus-visible { outline-offset: -2px; }
.resume-cover .cover { box-shadow: none; }
.resume-cover .cover::after { display: none; }
.resume-copy { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.resume-copy strong { font-size: 1rem; font-weight: var(--weight-strong); }
.resume-copy > span { color: var(--muted); font-size: .875rem; }
.resume-meter { display: flex; align-items: center; gap: 8px; width: min(100%, 320px); color: var(--accent-ink); font-size: .78rem; font-weight: var(--weight-label); }
.resume-meter > span { white-space: nowrap; }
.resume-action { min-height: 44px; }
.book-shelf { min-width: 0; }
.book-shelf + .book-shelf {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.shelf-head h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: var(--weight-strong);
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.shelf-tools { display: flex; flex: none; align-items: center; gap: 8px; }
.shelf-all { min-height: 44px; padding-inline: 3px; white-space: nowrap; }
.shelf-arrows { display: flex; gap: 4px; }
.shelf-arrows .icon-button { width: 44px; min-height: 44px; border-color: var(--line); color: var(--ink); }
.shelf-arrows .icon-button:hover:not([aria-disabled='true']) { border-color: var(--field-line); color: var(--accent-ink); }
.shelf-arrows [aria-disabled='true'] { background: none; color: var(--muted); opacity: .5; cursor: default; }
.shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(116px, 17%, 170px);
  align-items: start;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  list-style: none;
  margin: 0 -4px;
  padding: 4px 4px 10px;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-card { min-width: 0; scroll-snap-align: start; }
.shelf-card-link { display: block; }
.shelf-card-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.shelf-track :focus-visible { outline-offset: 2px; }
.shelf-cover { position: relative; }
.shelf-cover .cover { box-shadow: none; }
.shelf-cover .cover::after { display: none; }
.shelf-age {
  position: absolute;
  z-index: 2;
  inset: 6px auto auto 6px;
  padding: 1px 4px;
  border-radius: var(--radius-detail);
  background: var(--surface);
  color: var(--ink);
  font-size: .75rem;
  font-weight: var(--weight-strong);
}
.shelf-card h3 {
  min-height: 2.6em;
  margin-top: 7px;
  font-size: .94rem;
  font-weight: var(--weight-strong);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.shelf-author, .shelf-meta { color: var(--muted); font-size: .8rem; line-height: 1.35; overflow-wrap: anywhere; }
.shelf-author { margin-top: 3px; }
.shelf-author a { display: inline-flex; align-items: center; min-height: 24px; max-width: 100%; }
.shelf-meta { display: flex; flex-wrap: wrap; column-gap: 6px; row-gap: 4px; align-items: center; margin-top: 4px; }
.shelf-empty { padding: 12px 0; color: var(--muted); font-size: .9rem; }

.feed-chapter-updates .section-head { align-items: center; }
.feed-chapter-updates .section-head a { display: inline-flex; align-items: center; min-height: 44px; }
.feed-chapter-updates ul { margin: 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.feed-chapter-updates li + li { border-top: 1px solid var(--line); }
.chapter-update {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 4px;
}
.chapter-update:hover { background: var(--subtle); }
.chapter-update:focus-visible { outline-offset: -2px; }
.chapter-update-cover .cover { box-shadow: none; }
.chapter-update-cover .cover::after { display: none; }
.chapter-update-copy { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.chapter-update-copy strong { font-size: .93rem; font-weight: var(--weight-strong); }
.chapter-update-copy small { color: var(--muted); font-size: .82rem; }
.chapter-update-action { display: flex; align-items: center; gap: 4px; color: var(--accent-ink); font-size: .82rem; font-weight: var(--weight-label); white-space: nowrap; }
.chapter-update-locked { color: var(--muted); }

@media (max-width: 570px) {
  .recommendations .page-heading { margin-bottom: 20px; }
  .resume-card { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 12px; padding: 12px; }
  .resume-action { grid-column: 1 / -1; justify-self: stretch; }
  .chapter-update { gap: 8px; }
  .book-shelf + .book-shelf { margin-top: 16px; padding-top: 18px; }
  .shelf-head { gap: 6px; margin-bottom: 8px; }
  .shelf-track { grid-auto-columns: clamp(106px, 34%, 154px); gap: 10px; }
}

@media (max-width: 570px) and (pointer: coarse) {
  .shelf-arrows { display: none; }
}

