

.i-chs-page,
.i-chs-leaf,
.i-chs-chapter{
  --chs-ink: var(--color-text);
  --chs-paper: var(--color-bg);
  --chs-card: var(--color-bg-elevated);
  --chs-green: var(--color-primary);
  --chs-green-soft: var(--color-secondary);
  --chs-red: var(--color-accent);
  --chs-muted: var(--color-text-muted);
  --chs-rule: color-mix(in oklab, var(--color-text) 15%, var(--color-bg));
  --chs-rule-soft: color-mix(in oklab, var(--color-text) 8%, var(--color-bg));
  --chs-dots: color-mix(in oklab, var(--color-primary) 45%, transparent);
  --chs-wash: color-mix(in oklab, var(--color-primary) 5%, var(--color-bg));
  --chs-display: var(--font-fraunces, 'Fraunces'), Georgia, 'Times New Roman', serif;
  --chs-read: var(--font-pt-serif, 'PT Serif'), Georgia, 'Times New Roman', serif;
  --chs-sans: var(--font-inter, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;

  background: var(--chs-paper);
  color: var(--chs-ink);
  font-family: var(--chs-sans);
}
.i-chs-page a:focus-visible,
.i-chs-leaf a:focus-visible,
.i-chs-chapter a:focus-visible{
  outline: 2px solid var(--chs-green);
  outline-offset: 2px;
}
.i-chs-page a.hover-title,
.i-chs-leaf a.hover-title,
.i-chs-chapter a.hover-title{
  background-image: none;
}
.i-chs-page time,
.i-chs-leaf time,
.i-chs-chapter time{
  font-variant-numeric: tabular-nums;
}


.i-chs-chapter{
  padding-block: 2rem 3.5rem;
}
.i-chs-chapter-head{
  padding-top: 0.5rem;
}
.i-chs-chapter-kick{
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--chs-green);
}
.i-chs-chapter-title{
  margin: 0;
  font-family: var(--chs-display);
  font-size: clamp(1.9rem, 2.2vw + 1.2rem, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.i-chs-chapter-count{
  margin: 0.6rem 0 0.9rem;
  font-size: 0.78rem;
  color: var(--chs-muted);
  font-variant-numeric: tabular-nums;
}
.i-chs-chapter-desc{
  margin: 1.4rem 0 0;
  max-width: 64ch;
  font-family: var(--chs-read);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--chs-muted);
}
.i-chs-chapter .i-chs-close{
  margin-top: 3rem;
}
.i-chs-chapter .ad-label{
  color: var(--chs-muted);
}