/* Scoped reading-demo additions; the original QuietPages assets stay intact. */
.novel-design {
  overflow-wrap: anywhere;
}
.novel-design a {
  min-height: 44px;
}
.novel-design a {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.work-grid article {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.work-grid h2,
.work-grid p {
  margin-block: 0.75rem;
}
.demo-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  line-height: 1.8;
}
.chapter-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.chapter-list li {
  border-top: 1px solid var(--border);
}
.chapter-list a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 0;
  gap: 0.5rem;
}
.members-boundary a {
  display: flex;
  margin-top: 1rem;
}
.novel-design .chapter-navigation span {
  display: inline-flex;
  align-items: center;
}
