.planet-chapter-panel {
  position: fixed;
  z-index: 21;
  inset: 0;
  color: var(--chapter-ink, #fff6e8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-align: center;
  will-change: opacity;
}
.chapter-copy {
  position: absolute;
  top: 11.5vh;
  left: 50%;
  width: min(940px, calc(100% - 2 * var(--edge, 32px) - 80px));
  transform: translateX(-50%);
}
.chapter-title {
  margin: 0;
  color: var(--chapter-ink, #fff6e8);
  font-family: "Caprasimo", "Cooper Black", Georgia, serif;
  font-size: clamp(46px, 5.15vw, 76px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.chapter-line {
  width: min(100%, 43ch);
  margin: 21px auto 0;
  color: var(--chapter-muted, #d6d4d3);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.chapter-actions {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 3.2vw, 48px);
  transform: translateX(-50%);
  color: var(--chapter-control, #fff8ec);
  white-space: nowrap;
}
.chapter-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 2px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: none;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -.01em;
  text-shadow: 0 1px 10px rgba(26, 13, 10, .38);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: opacity .2s ease, text-decoration-color .2s ease;
}
.chapter-actions button:hover { text-decoration-color: currentColor; }
.chapter-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.planet-chapter-panel[aria-hidden="true"] .chapter-actions button { pointer-events: none; }
@media (max-width: 760px) {
  .chapter-copy { top: 12vh; width: calc(100% - 48px); }
  .chapter-title { font-size: clamp(34px, 8.5vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
  .chapter-line { max-width: 34ch; margin-top: 17px; font-size: 13px; line-height: 1.5; }
  .chapter-actions { bottom: 61px; gap: 29px; }
  .chapter-actions button { font-size: 11px; }
}
@media (max-height: 650px) and (min-width: 761px) {
  .chapter-copy { top: 10vh; }
  .chapter-title { font-size: clamp(39px, 4.2vw, 58px); }
  .chapter-line { margin-top: 14px; font-size: 14px; line-height: 1.45; }
  .chapter-actions { bottom: 15px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .chapter-copy { top: 11.5vh; }
  .chapter-title { font-size: clamp(32px, 7.8vw, 45px); }
  .chapter-line { margin-top: 12px; max-width: 33ch; font-size: 12px; line-height: 1.45; }
  .chapter-actions { bottom: 57px; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-actions button { transition: none; }
}
.chapter-scroll-guide{display:flex;justify-content:center;gap:33px;margin:45px auto 0;color:var(--chapter-muted);font:400 13px/1.4 Arial,Helvetica,sans-serif;letter-spacing:0}
.chapter-scroll-guide[hidden]{display:none}.chapter-scroll-instruction{display:inline-flex;align-items:center;gap:9px}.chapter-scroll-instruction svg{opacity:.8}
@media(max-width:760px){.chapter-scroll-guide{gap:17px;margin-top:28px;font-size:11px}.chapter-scroll-instruction{gap:6px}.chapter-scroll-instruction svg{width:17px;height:17px}}
