/* Generated by build.mjs. Noto Serif SC (Source Han Serif) and Source Serif 4, SIL Open Font License 1.1. */
@font-face { font-family: "IGO Han"; src: url("../fonts/han-400.226ff19e.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IGO Han"; src: url("../fonts/han-600.92c7c5cd.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IGO Han"; src: url("../fonts/han-900.3615d0be.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IGO Latin"; src: url("../fonts/latin.538b8750.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; size-adjust: 108.2%; unicode-range: U+20-7E, U+A0-17F, U+2BB-2BC, U+2C6, U+2DA-2DC, U+2010-2013, U+2015-2017, U+201A-201B, U+201E-2025, U+2027, U+2030-203A, U+2044, U+20AC, U+2122, U+2190-2193, U+2196-2199, U+2212; }
@font-face { font-family: "IGO Latin"; src: url("../fonts/latin-italic.5171b48b.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; size-adjust: 108.2%; unicode-range: U+20-7E, U+A0-17F, U+2BB-2BC, U+2C6, U+2DA-2DC, U+2010-2013, U+2015-2017, U+201A-201B, U+201E-2025, U+2027, U+2030-203A, U+2044, U+20AC, U+2122, U+2190-2193, U+2196-2199, U+2212; }
@font-face { font-family: "IGO Latin Quotes"; src: url("../fonts/latin-quotes.bb599dfe.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; size-adjust: 108.2%; unicode-range: U+2018-2019, U+201C-201D; }

/* System sans faces draw “ ” ‘ ’ — … as narrow Latin glyphs. In Chinese UI text
   they must be full-width, so route those code points to a local CJK sans first. */
@font-face {
  font-family: "IGO Sans Punct";
  src: local("PingFang SC"), local("PingFangSC-Regular"), local("Hiragino Sans GB"),
    local("Microsoft YaHei"), local("Noto Sans CJK SC"), local("Noto Sans SC");
  unicode-range: U+2014, U+2018-2019, U+201C-201D, U+2026;
}

/* IndieGameOrigins reading site
   Direction: a printed documentary magazine on screen. Warm paper, ink, one vermilion seal.
   Fonts: Source Han Serif (Noto Serif SC) for Hanzi, Source Serif 4 for Latin, system sans for chrome. */

:root {
  color-scheme: light dark;

  --paper: light-dark(oklch(0.972 0.009 82), oklch(0.205 0.008 62));
  --paper-raised: light-dark(oklch(0.992 0.005 85), oklch(0.25 0.009 62));
  --paper-sunk: light-dark(oklch(0.938 0.013 80), oklch(0.245 0.009 62));
  --ink: light-dark(oklch(0.255 0.014 55), oklch(0.875 0.013 80));
  --ink-2: light-dark(oklch(0.43 0.014 58), oklch(0.73 0.012 76));
  --ink-3: light-dark(oklch(0.57 0.012 62), oklch(0.6 0.011 70));
  --rule: light-dark(oklch(0.855 0.013 75), oklch(0.335 0.01 62));
  --rule-soft: light-dark(oklch(0.905 0.011 78), oklch(0.285 0.009 62));
  --accent: light-dark(oklch(0.53 0.16 33), oklch(0.72 0.13 38));
  --seal: light-dark(oklch(0.545 0.165 32), oklch(0.6 0.15 33));
  --seal-ink: light-dark(oklch(0.975 0.012 80), oklch(0.97 0.012 80));
  --mark: light-dark(oklch(0.62 0.15 40 / 0.18), oklch(0.62 0.13 38 / 0.32));
  --link-line: light-dark(oklch(0.53 0.16 33 / 0.4), oklch(0.72 0.13 38 / 0.45));
  --control: light-dark(oklch(0.935 0.012 80), oklch(0.305 0.009 62));
  --control-hover: light-dark(oklch(0.905 0.013 78), oklch(0.35 0.01 62));
  --control-on: light-dark(oklch(0.995 0.004 85), oklch(0.43 0.012 62));
  --pop-shadow: 0 1px 2px oklch(0.2 0.02 55 / 0.08), 0 14px 36px -10px oklch(0.2 0.02 55 / 0.22);

  --font-serif: "IGO Latin", "IGO Han", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "IGO Sans Punct", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --base: 17px;
  --scale: 1;
  --measure: 34em;
  --gutter: 1.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

@media (min-width: 720px) {
  :root { --base: 18px; --gutter: 2rem; }
}
@media (min-width: 1100px) {
  :root { --base: 19px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 4.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

/* Light ink on dark paper blooms; thin the strokes back. On paper keep the default
   stem darkening so Song-style hairlines stay solid. */
:root[data-theme="dark"] body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
}

::selection { background: var(--mark); color: inherit; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.5rem;
  z-index: 50;
  padding: 0.5rem 0.875rem;
  background: var(--ink);
  color: var(--paper);
  font: 500 0.875rem/1.4 var(--font-sans);
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

/* Shared typographic pieces ------------------------------------------------ */

/* Vermilion seal: the series mark. Opens each section, closes each story. */
.seal {
  display: inline-grid;
  place-items: center;
  background: var(--seal);
  color: var(--seal-ink);
  font-family: "IGO Han", var(--font-serif);
  font-weight: 900;
  line-height: 1;
  border-radius: 3px 4px 3px 5px / 4px 3px 5px 3px;
}

/* Curly quotes that belong to English text keep their narrow Latin shapes. */
.lq { font-family: "IGO Latin Quotes", var(--font-serif); }

/* Opening 《 or “ at the start of a display line: drop its blank half. */
.halt { font-feature-settings: "halt"; }

/* The Chinese two-em dash stays on one line and is drawn by the CJK face. */
.dash {
  font-family: "IGO Han", var(--font-serif);
  white-space: nowrap;
}

.press {
  transition: transform 120ms var(--ease-out), background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.press:active:not(:disabled) { transform: scale(0.96); }

/* Progress and header ------------------------------------------------------- */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.page-home .progress { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  transition: transform 240ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.site-header[data-scrolled] { box-shadow: 0 1px 0 var(--rule-soft); }
.site-header[data-hidden] { transform: translateY(-100%); }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.5rem;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(calc(var(--gutter) - 0.5rem), env(safe-area-inset-right));
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-han { font-size: 1rem; font-weight: 900; letter-spacing: 0.02em; }
.wordmark-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-3);
}
@media (hover: hover) {
  .wordmark:hover .wordmark-han { color: var(--accent); }
}
@media (max-width: 380px) {
  .wordmark .wordmark-en { display: none; }
}

.settings-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 600 1.0625rem/1 var(--font-serif);
  cursor: pointer;
}
@media (hover: hover) {
  .settings-toggle:hover { background: var(--paper-sunk); color: var(--ink); }
}
.settings-toggle[aria-expanded="true"] { background: var(--paper-sunk); color: var(--ink); }

/* Reader settings popover --------------------------------------------------- */

.settings {
  inset: 3.25rem max(calc(var(--gutter) - 0.5rem), env(safe-area-inset-right)) auto auto;
  margin: 0;
  width: 17rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: var(--pop-shadow);
  font: 400 0.875rem/1.4 var(--font-sans);
  transform-origin: top right;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
@starting-style {
  .settings:popover-open { opacity: 0; transform: translateY(-4px) scale(0.97); }
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
}
.settings-row + .settings-row { border-top: 1px solid var(--rule-soft); }
.settings-label { color: var(--ink-2); }

.stepper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.stepper button {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 8px;
  background: var(--control);
  color: var(--ink);
  font-family: var(--font-serif);
  cursor: pointer;
}
.stepper button:disabled { color: var(--ink-3); opacity: 0.5; cursor: default; }
@media (hover: hover) {
  .stepper button:not(:disabled):hover { background: var(--control-hover); }
}
.a-small { font-size: 0.8125rem; }
.a-large { font-size: 1.1875rem; }
.stepper-value {
  min-width: 3.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.segmented {
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: var(--control);
}
.segmented button {
  min-width: 2.75rem;
  height: 2.125rem;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  cursor: pointer;
}
@media (hover: hover) {
  .segmented button:not([aria-checked="true"]):hover { color: var(--ink); }
}
.segmented button[aria-checked="true"] {
  background: var(--control-on);
  color: var(--ink);
  box-shadow: 0 1px 2px oklch(0.2 0.02 55 / 0.14);
}

/* Article ------------------------------------------------------------------- */

.article-shell {
  display: grid;
  grid-template-columns: 1fr min(var(--measure), 100% - 2 * var(--gutter)) 1fr;
  font-size: calc(var(--base) * var(--scale));
}

.article-head {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(2.5rem, 8vw, 6.5rem) 0 clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.article-head h1 { margin: 0; font-weight: 900; }

.kicker {
  display: block;
  margin-bottom: 0.7em;
  color: var(--accent);
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
}
.headline {
  display: block;
  font-size: clamp(2.375rem, 1.45rem + 3.7vw, 4.25rem);
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.byline {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font: 400 0.875rem/1.7 var(--font-sans);
  color: var(--ink-2);
}
.byline p { margin: 0; }
.byline-work {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
}
.byline-game {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--ink);
}
.byline-facts { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.byline-facts span + span::before,
.issue-facts span + span::before {
  content: "·";
  margin-inline: 0.5em;
}

.article-body {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

/* Prose */

.prose {
  line-height: 1.86;
  text-align: justify;
  overflow-wrap: break-word;
  hanging-punctuation: allow-end;
}
.prose p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
/* The lede: the first paragraph sets the scene a size up. */
.prose > p:first-child {
  font-size: 1.1em;
  line-height: 1.82;
}

.prose h2,
.prose h3,
.prose h4 {
  text-align: start;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
  scroll-margin-top: 4.5rem;
}
.prose h2 {
  margin: 3.4em 0 1.35em;
  font-size: 1.5em;
  font-weight: 900;
  line-height: 1.45;
}
.section-seal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.55em;
  height: 1.55em;
  margin-bottom: 0.8em;
  font-size: 0.82em;
}
.prose h3 {
  margin: 2.4em 0 0.9em;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
}

.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
/* 着重号 for emphasised Hanzi instead of a fake oblique. */
.prose em.dots,
.refs em.dots {
  font-style: normal;
  -webkit-text-emphasis: filled dot var(--accent);
  text-emphasis: filled dot var(--accent);
  -webkit-text-emphasis-position: under right;
  text-emphasis-position: under right;
}

.prose a,
.refs a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--link-line);
  transition: color 150ms var(--ease-out), text-decoration-color 150ms var(--ease-out);
}
@media (hover: hover) {
  .prose a:hover,
  .refs a:hover { color: var(--accent); text-decoration-color: currentColor; }
}

code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  padding: 0.12em 0.36em;
  border-radius: 4px;
  background: var(--paper-sunk);
  overflow-wrap: anywhere;
}
h2 code,
h3 code { font-size: 0.78em; font-weight: 600; }
.prose pre {
  margin: 1.75em 0;
  padding: 1em 1.25em;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--paper-sunk);
  font-size: 0.86em;
  line-height: 1.6;
  text-align: start;
}
.prose pre code { padding: 0; background: none; font-size: inherit; }

.prose blockquote {
  position: relative;
  margin: 2em 0;
  padding-left: 1.6em;
  color: var(--ink-2);
}
.prose blockquote::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.72em;
  width: 0.5em;
  height: 0.5em;
  background: var(--seal);
  border-radius: 1px;
}

.prose ul,
.prose ol { margin: 0 0 1em; padding-left: 1.6em; }
.prose li { margin: 0.3em 0; }

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2em auto;
  border-radius: 2px;
  outline: 1px solid oklch(0.2 0.02 55 / 0.1);
  outline-offset: -1px;
}

.prose table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  font-size: 0.9em;
  text-align: start;
}
.prose th,
.prose td { padding: 0.55em 0.75em; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; border-bottom-color: var(--ink-3); }

.prose hr {
  width: 3em;
  height: 1px;
  margin: 3em auto;
  border: 0;
  background: var(--rule);
}

.end-seal {
  width: 1.35em;
  height: 1.35em;
  margin-left: 0.5em;
  font-size: 0.78em;
  vertical-align: 0.06em;
}

/* References */

.refs {
  margin-top: clamp(3.5rem, 8vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
  scroll-margin-top: 4.5rem;
}
.refs-title {
  margin: 0;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1.4;
}
.refs-body {
  font-size: 0.86em;
  line-height: 1.75;
  color: var(--ink-2);
}
.refs-body h3 {
  margin: 2.25em 0 0.5em;
  font: 600 0.9375rem/1.5 var(--font-sans);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.refs-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.refs-body li {
  padding: 0.8em 0;
  border-top: 1px solid var(--rule-soft);
  overflow-wrap: anywhere;
}
.refs-body a { color: var(--ink); }

.article-foot {
  margin: clamp(3rem, 7vw, 4.5rem) 0 clamp(4rem, 9vw, 6rem);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.5rem;
  font: 500 0.9375rem/1.4 var(--font-sans);
  color: var(--ink-2);
  text-decoration: none;
}
@media (hover: hover) {
  .back-link:hover { color: var(--accent); }
}

/* Table of contents --------------------------------------------------------- */

.toc {
  font: 400 0.875rem/1.6 var(--font-serif);
}
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  align-items: start;
  gap: 0.35rem;
  padding: 0.4rem 0;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 150ms var(--ease-out);
}
.toc-num {
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.05rem;
  border-radius: 2px 3px 2px 3px;
  font-family: "IGO Han", var(--font-serif);
  font-weight: 900;
  font-size: 0.75rem;
  line-height: 1;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.toc-text { word-break: keep-all; overflow-wrap: anywhere; }
.toc code { font-size: 0.92em; padding: 0.05em 0.3em; }
.toc a[aria-current="true"] { color: var(--ink); }
.toc a[aria-current="true"] .toc-num {
  background: var(--seal);
  color: var(--seal-ink);
}
.toc-refs a[aria-current="true"] .toc-num { background: none; }
@media (hover: hover) {
  .toc a:hover { color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .toc a[aria-current="true"] .toc-num { animation: stamp 260ms var(--ease-out); }
}
@keyframes stamp {
  from { transform: scale(1.22); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

.toc-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.toc-rail { display: none; }

.toc-inline {
  margin: 0 0 2.5rem;
  border-block: 1px solid var(--rule);
  font-family: var(--font-sans);
}
.toc-inline summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--ease-out);
}
.toc-inline[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.toc-inline-count { margin-left: auto; margin-right: 1rem; color: var(--ink-3); font-size: 0.8125rem; }
.toc-inline .toc { padding-bottom: 0.75rem; font-size: 0.875rem; }

/* Below the rail breakpoint the inline contents box supplies the rule under the head. */
@media (max-width: 1199px) {
  .article-head { border-bottom: 0; margin-bottom: 0; }
}

@media (min-width: 1200px) {
  .toc-rail {
    display: block;
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: start;
    position: sticky;
    top: 5rem;
    width: min(13.5rem, 100% - 3rem);
    max-height: calc(100vh - 7rem);
    margin-right: 3rem;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .toc-inline { display: none; }
}

/* Home ---------------------------------------------------------------------- */

.home {
  --axis: 0rem;
  width: min(64rem, 100% - 2 * var(--gutter));
  margin: 0 auto;
}
@media (min-width: 800px) {
  .home { --axis: 7rem; }
}

.hero {
  padding: clamp(2.25rem, 6vw, 4.75rem) 0 clamp(2.75rem, 6vw, 4.5rem);
}
.hero-title {
  margin: 0;
  font-size: clamp(3.25rem, 1rem + 9vw, 7.75rem);
  font-weight: 900;
  line-height: 1.08;
  word-break: keep-all;
}
.hero-motto,
.hero-intro { margin-left: var(--axis); }
.hero-motto {
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: 0;
  font-style: italic;
  font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.625rem);
  line-height: 1.4;
  color: var(--ink-2);
}
.hero-intro {
  max-width: 31em;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.86;
  color: var(--ink-2);
  text-align: justify;
}
.hero-intro p { margin: 0 0 0.9em; text-wrap: pretty; }
.hero-intro p:first-child { color: var(--ink); }

.contents {
  margin-bottom: clamp(4rem, 10vw, 7rem);
  border-top: 1px solid var(--ink);
}
.contents-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.875rem 0;
  font: 400 0.8125rem/1.4 var(--font-sans);
  color: var(--ink-3);
}
.contents-title {
  margin: 0;
  font: inherit;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}
.contents-count { margin: 0; }

.issues { margin: 0; padding: 0; list-style: none; }
.issue { border-top: 1px solid var(--rule); }

.issue-link {
  display: grid;
  grid-template-columns: var(--axis) minmax(0, 1fr);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  color: inherit;
  text-decoration: none;
}
.issue-no {
  font-family: "IGO Latin", var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
  line-height: 0.9;
  font-variant-numeric: lining-nums;
  color: var(--accent);
}
.issue-main {
  display: flex;
  flex-direction: column;
  max-width: 36rem;
}
@media (max-width: 799px) {
  .issue-link { grid-template-columns: minmax(0, 1fr); }
  .issue-no { margin-bottom: 1rem; }
}

.issue-work {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
  font: 400 0.875rem/1.6 var(--font-sans);
  color: var(--ink-3);
}
.issue-game {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--ink);
}
.issue-kicker {
  margin-top: 1.1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--accent);
  word-break: keep-all;
}
.issue-title {
  margin-top: 0.3rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.375rem);
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
  transition: color 150ms var(--ease-out), transform 120ms var(--ease-out);
}
.issue-dek {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink-2);
  text-align: justify;
  text-wrap: pretty;
}
.issue-facts {
  margin-top: 1.25rem;
  font: 400 0.8125rem/1.6 var(--font-sans);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  .issue-link:hover .issue-title { color: var(--accent); }
}
.issue-link:active .issue-title { transform: translateY(1px); }

/* Not found ----------------------------------------------------------------- */

.not-found {
  width: min(34rem, 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(4rem, 14vw, 9rem) 0;
}
.not-found h1 { margin: 1.5rem 0 1rem; font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); line-height: 1.25; }
.not-found-seal { width: 3rem; height: 3rem; margin: 0; font-size: 1.6rem; }

/* Colophon ------------------------------------------------------------------ */

.colophon {
  border-top: 1px solid var(--rule);
  padding: 2.25rem max(var(--gutter), env(safe-area-inset-left)) calc(2.75rem + env(safe-area-inset-bottom));
  font: 400 0.8125rem/1.7 var(--font-sans);
  color: var(--ink-3);
}
.colophon-inner { width: min(64rem, 100%); margin: 0 auto; }
.colophon p { margin: 0; }
.colophon-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.6rem;
  margin-bottom: 0.25rem !important;
}
.colophon-name .x-display {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
}
.colophon-name [lang="en"],
.colophon-motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
}
.colophon-note { margin-top: 1rem !important; max-width: 40rem; }

/* Motion preferences -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Print --------------------------------------------------------------------- */

@media print {
  :root { color-scheme: light; --paper: #fff; --ink: #000; --ink-2: #222; --ink-3: #555; }
  .site-header,
  .progress,
  .settings,
  .toc-rail,
  .toc-inline,
  .article-foot,
  .colophon,
  .skip-link { display: none !important; }
  .article-shell { display: block; font-size: 11pt; }
  .article-head { padding-top: 0; }
  .prose a,
  .refs a { text-decoration: none; }
  .prose h2 { break-after: avoid; }
}
