/* v64 — A synopsis preview on book-detail cover pages only.
   Chapter ranges, book/arc shortcuts, tags, and reading actions are never clipped. */
.book-feature .feature-copy .synopsis.rw64-synopsis-collapsed,
.book-feature .feature-copy .synopsis.rw64-synopsis-measuring {
  max-height: 18rem;
  overflow: hidden;
}
.book-feature .feature-copy .synopsis.rw64-synopsis-collapsed {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}
.book-feature .feature-copy .rw64-synopsis-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .65rem 0 1.1rem;
  padding: .4rem .1rem;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--accent, #c9a2eb);
  font: inherit;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.book-feature .feature-copy .rw64-synopsis-toggle::after {
  content: '';
  display: inline-block;
  width: .42em;
  height: .42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.12em) rotate(45deg);
}
.book-feature .feature-copy .rw64-synopsis-toggle[aria-expanded="true"]::after {
  transform: translateY(.12em) rotate(225deg);
}
.book-feature .feature-copy .rw64-synopsis-toggle:hover { color: var(--accent-hover, #dfc0f4); }
.book-feature .feature-copy .rw64-synopsis-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.book-feature .feature-copy .rw64-synopsis-toggle[hidden] { display: none !important; }
@media (max-width: 650px) {
  .book-feature .feature-copy .synopsis.rw64-synopsis-collapsed,
  .book-feature .feature-copy .synopsis.rw64-synopsis-measuring { max-height: 14rem; }
}
