.story-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding-block: 10px;
  margin: 24px 0 32px;
  border-block: 1px solid var(--line);
}

.story-jump a { padding: 6px 0; }
.story-archive [id] { scroll-margin-top: 120px; }
.story-archive .story-cover-title {
  text-align: center;
  margin: 16px 0 2px;
}

.story-archive .story-cover-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 28px;
}

.story-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}

.story-illustration {
  margin: 22px 0 28px;
}

.story-illustration img {
  display: block;
  width: min(100%, var(--story-art-width));
  height: auto;
  margin-inline: auto;
  image-rendering: pixelated;
}

.story-group > summary { font-weight: 650; }
.story-entry {
  padding: 10px 0;
  margin: 0;
  border-block-start: 1px solid var(--line);
}

.story-entry > summary {
  font-weight: 550;
  cursor: pointer;
}

.story-entry[open] > summary { margin-bottom: 15px; }
.story-record-code {
  display: inline-block;
  margin-inline-end: 8px;
  color: var(--accent);
  font: 0.85em ui-monospace, Consolas, monospace;
}

.story-attribution, .story-fragment { color: var(--muted); }

.story-fragment {
  margin: 18px 0 6px;
  font-size: 0.9em;
}
