.essay-reading-page .arcade-masthead .story-masthead-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 13ch;
}

.arcade-masthead .story-deck {
  margin: 1.3rem 0;
}

.arcade-figure {
  margin: 0;
  min-width: 0;
}

.arcade-figure .story-masthead-cover {
  box-shadow: none;
}

.arcade-figure figcaption {
  color: #b7ae96;
  font: .85rem/1.5 Georgia, serif;
  margin-top: .55rem;
}

.visually-hidden {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.story-prose .next-essay {
  border-left: 1px solid var(--brass-light);
  padding-left: 1rem;
}

@page {
  size: A4;
  margin: 17mm 22mm 18mm;

  @bottom-left {
    content: "Sabnock Works";
    color: #615445;
    font: 8pt Arial, sans-serif;
  }

  @bottom-right {
    content: counter(page);
    color: #615445;
    font: 8pt Arial, sans-serif;
  }
}

@media print {
  html, body.archive-page, main {
    background: white;
    color: #24211e;
    margin: 0;
    padding: 0;
  }

  .site-header, .story-links, .reader-layout .chapter-menu, footer {
    display: none;
  }

  .arcade-masthead, .reader-layout, .story-prose, .story-masthead-copy {
    border: 0;
    display: block;
    margin: 0;
    max-width: none;
    padding: 0;
    width: auto;
  }

  .essay-reading-page .arcade-masthead .story-masthead-copy h1 {
    color: #25211c;
    font: bold 26pt/1.1 Georgia, serif;
    letter-spacing: -.025em;
    margin: 0;
    max-width: none;
  }

  .arcade-masthead .eyebrow, .arcade-masthead .story-metadata {
    color: #604d31;
    font: 9pt/1.4 Arial, sans-serif;
    margin: 0 0 2mm;
  }

  .arcade-masthead .story-deck {
    color: #493c2e;
    font: 12pt/1.3 Georgia, serif;
    margin: 2mm 0 3mm;
    max-width: none;
  }

  .arcade-figure {
    break-inside: avoid;
    margin: 4mm 0 6mm;
  }

  .arcade-figure .story-masthead-cover {
    height: 90mm;
    object-fit: cover;
    width: 100%;
  }

  .arcade-figure figcaption {
    color: #615445;
    font: 8pt/1.4 Arial, sans-serif;
    margin-top: 1mm;
  }

  .story-prose section, .story-prose section + section {
    border: 0;
    margin: 0;
    padding: 0;
  }

  .story-prose #fehmarn, .story-prose #amiga {
    break-before: page;
  }

  .story-prose section h2 {
    break-after: avoid;
    color: #372d21;
    font: bold 16pt/1.2 Georgia, serif;
    margin: 0 0 3mm;
  }

  .story-prose #coast h2, .story-prose #sources h2 {
    margin-top: 6mm;
  }

  .story-prose section p {
    color: #24211e;
    font: 11pt/1.48 Georgia, serif;
    margin: 0 0 3mm;
    orphans: 3;
    widows: 3;
  }

  .story-prose .next-essay {
    border-color: #796548;
    break-inside: avoid;
    margin-top: 4mm;
    padding-left: 3mm;
  }

  .article-prose .article-citation, .article-prose .article-sources a {
    color: #403226;
    text-decoration: underline;
  }

  .article-prose .article-sources {
    color: #24211e;
    font: 9pt/1.35 Georgia, serif;
    margin: 0;
    padding-left: 1.6em;
  }

  .article-prose .article-sources li {
    break-inside: avoid;
    margin: 0 0 .8mm;
  }
}
.jacket {
  position: relative;
  container-type: inline-size;
  background: #18211f;
  color: #f5eddb;
  width: 100%;
  aspect-ratio: 210 / 297;
  display: grid;
  grid-template-rows: 29% 64% 7%;
  margin: 0;
  overflow: hidden;
  order: -1;
}

.jacket::after {
  content: "";
  position: absolute;
  inset: 3%;
  border: 1px solid #b99550;
  pointer-events: none;
}

.jacket-head {
  align-self: center;
  text-align: center;
  padding: 0 7%;
}

.jacket-series, .jacket-author {
  font: bold 1.65cqw/1.3 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jacket-series { color: #e2bd73; margin: 0 0 3cqw; }
.jacket-title { font: bold 6.4cqw/1.08 Georgia, serif; text-transform: uppercase; margin: 0; }
.jacket-sub { font: italic 2.45cqw/1.4 Georgia, serif; margin: 2.5cqw 0 0; }
.jacket-art { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.jacket-author { text-align: center; align-self: center; margin: 0; }
.print-contents { display: none; }
.arcade-masthead { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); }
@media (max-width: 840px) {
  .arcade-masthead { grid-template-columns: 1fr; }
  .jacket { max-width: 390px; margin-inline: auto; }
}
@page jacket {
  size: A4;
  margin: 0;
  @bottom-left { content: none; }
  @bottom-right { content: none; }
}
@media print {
  .arcade-masthead {
    page: jacket;
    break-after: page;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .arcade-masthead .story-masthead-copy { display: none; }
  .arcade-masthead .jacket { width: 210mm; height: 296.8mm; max-width: none; }
  .print-contents { display: block; margin-top: 10mm; }
  .print-contents a { display: block; margin: 2mm 0; }
  .story-prose #imprint a { color: #503c27; }
  .story-prose #opening, .story-prose #coast, .story-prose #sources { break-before: page; }
  .story-prose #opening h2 { position: static; clip-path: none; height: auto; width: auto; overflow: visible; }
  .story-prose #fehmarn, .story-prose #amiga { break-before: auto; margin-top: 6mm; }
}
html[lang="en"] .jacket-title { font-size: 5.2cqw; }
@media print {
  .print-contents a {
    font: 11pt/1.45 Georgia, serif;
    letter-spacing: normal;
    text-transform: none;
  }
}
.game-timeline {
  width: 100%;
  border-collapse: collapse;
  color: inherit;
  font: 1rem/1.5 Georgia, serif;
  text-align: left;
}
.game-timeline th, .game-timeline td {
  border-bottom: 1px solid #85775e;
  padding: .65em .5em;
  vertical-align: top;
}
.game-timeline thead th { color: var(--brass-light); }
.game-timeline td:first-child { white-space: nowrap; }
.game-timeline tbody th { width: 24%; font-weight: normal; }
.timeline-links { display: block; font-size: .9em; }
.timeline-links a { color: var(--brass-light); }
@media screen and (max-width: 760px) {
  .game-timeline tr { display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; }
  .game-timeline thead { position: absolute; clip-path: inset(50%); }
  .game-timeline tbody tr { padding: .8rem 0; border-top: 1px solid #85775e; }
  .game-timeline tbody th, .game-timeline td { padding: 0; border: 0; width: auto; }
  .game-timeline td:last-child { grid-column: 1 / -1; }
}
@media print {
  #timeline { break-before: page; }
  .game-timeline { color: #24211e; font: 9pt/1.26 Georgia, serif; }
  .game-timeline thead th, .timeline-links a { color: #503c27; }
  .game-timeline th, .game-timeline td { padding: 1.8mm 1.5mm; border-color: #b6aa94; }
  .game-timeline tr { break-inside: avoid; }
}
