:root {
  --ink: #332822;
  --muted: #605247;
  --green: #3f5b49;
  --paper: #fffcf5;
  --line: #decfc0;
  --clay: #8d3f31;
  --clay-pale: #f4e4da;
  --sage: #eaf0e6;
  --sage-border: #b4c2ad;
  background: #f3eae0;
}

.visual > .eyebrow,
h1 em {
  color: var(--clay);
}

h1 {
  font-size: clamp(2.7rem, 4.6vw, 3.9rem);
}

.preview-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 10px;
  border-radius: 3px;
  background: var(--clay-pale);
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.image-note,
.reading-note {
  color: var(--muted);
  font-size: 12px;
}

.reading > .eyebrow,
.ending-label,
.ending-book-eyebrow,
.ending-share-feedback {
  color: var(--green);
}

.speech,
.clue-notice,
.ending-summary,
.ending-book,
.ending-share-note {
  background: var(--sage);
  border-color: var(--sage-border);
}

.speech .speaker,
.requirement {
  color: var(--green);
}

.tools button,
.choice,
.ending-share textarea {
  border-color: #857969;
}

.tools button:hover,
.choice:hover:not(:disabled) {
  background: var(--sage);
  border-color: var(--green);
}

.action:hover,
.ending-book-link:hover,
.ending-share-link:hover {
  background: #304638;
}

.action.secondary:hover {
  background: #dbe7d7;
}

.route-tools button,
.modal-head button {
  min-height: 44px;
}

.modal-head button {
  min-width: 44px;
}

.ending-book-cover img {
  aspect-ratio: 640 / 960;
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.5rem, 9.4vw, 3.6rem);
  }

  .route-tools {
    gap: 8px 18px;
  }
}
