:root {
  --night-ink: #07111c;
  --ink-deep: #0b0d0f;
  --gold-soft: #c7a66a;
  --paper-warm: #e9ddc5;
  --mist-gray: #9a9388;
  --line-strong: rgba(199, 166, 106, 0.42);
  --line-soft: rgba(199, 166, 106, 0.22);
  --surface: rgba(7, 17, 28, 0.94);
  --surface-raised: rgba(11, 13, 15, 0.92);
  --font-display: "Iansui", "Noto Serif TC", "PMingLiU", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --space-2: 16px;
  --space-3: 24px;
  --space-5: 40px;
  --space-8: 64px;
  --space-12: 96px;
  --radius-image: 4px;
  --radius-block: 2px;
  --container: 1180px;
  color-scheme: dark;
}

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

html {
  background: var(--night-ink);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper-warm);
  background:
    linear-gradient(180deg, rgba(199, 166, 106, 0.08), transparent 14%),
    linear-gradient(180deg, #060f19 0%, #09131f 36%, #07111c 100%);
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
  overflow-wrap: anywhere;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

/* `<figure>` 的 UA 預設是 `margin: 1em 40px`。在 375px 的欄位裡那 80px 讓 banner 只剩
   263px（欄寬 343px），桌機也一路少 80px。框線與內距由 .feature-visual／.editorial-frame
   自己給，垂直間距由 grid gap 給，所以這裡歸零。 */
figure {
  margin: 0;
}

p,
li,
dd,
figcaption {
  text-wrap: pretty;
}

.page-shell {
  min-height: 100dvh;
}

.site-header,
.site-footer,
.main {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  padding-top: var(--space-2);
}

.main {
  padding-bottom: var(--space-12);
}

.site-footer {
  padding-bottom: var(--space-8);
}

.nav {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) 0 18px;
  border-bottom: 1px solid var(--line-strong);
}

.brand-mark {
  display: grid;
  gap: 6px;
  padding: 4px 0;
}

.brand-kicker,
.section-kicker,
.issue-meta,
.nav-links a,
.inline-ledger dt,
.signal-ledger dt,
.issue-side p,
.footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-kicker,
.section-kicker,
.issue-meta,
.inline-ledger dt,
.signal-ledger dt,
.issue-side p {
  color: var(--gold-soft);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.2rem + 0.6vw, 1.75rem);
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
  color: rgba(233, 221, 197, 0.82);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a:active,
.issue-row a:hover,
.issue-row a:focus-visible,
.issue-row a:active,
.compact-ledger a:hover,
.compact-ledger a:focus-visible,
.compact-ledger a:active {
  color: var(--paper-warm);
}

.nav-links a[aria-current="page"] {
  color: var(--paper-warm);
  border-bottom-color: var(--gold-soft);
}

.main > * + * {
  margin-top: var(--space-8);
}

.feature,
.salon-grid,
.lead-grid,
.closing-band,
.editorial-columns,
.about-layout {
  display: grid;
  gap: var(--space-3);
}

.feature {
  align-items: start;
  padding: var(--space-5) 0;
}

.feature-copy {
  max-width: 34rem;
}

.feature-copy > * + * {
  margin-top: 16px;
}

.feature-title,
.page-intro h1,
.about-copy h1,
.lead-card h2,
.about-guide h2,
.story-column h2,
.analysis-column h2,
.ledger-card h2,
.cycle-note h2,
.issue-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
}

.feature-title {
  font-size: clamp(2.8rem, 2rem + 3vw, 5.25rem);
  max-width: 10ch;
}

.feature-dek,
.page-intro p,
.about-copy p,
.ledger-card p,
.story-copy p,
.article-copy p,
.source-list p,
.footer-copy,
.cycle-note p {
  margin: 0;
  color: rgba(233, 221, 197, 0.8);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 62ch;
}

.feature-dek {
  max-width: 34ch;
}

.section-kicker {
  margin: 0 0 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: rgba(199, 166, 106, 0.08);
  color: var(--paper-warm);
}

.cta-link:hover,
.cta-link:focus-visible,
.cta-link:active {
  background: rgba(199, 166, 106, 0.16);
  border-color: var(--gold-soft);
}

.cta-link-secondary {
  background: transparent;
}

.feature-visual,
.editorial-frame,
.ledger-card,
.issue-row,
.story-column,
.analysis-column,
.about-copy {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 13, 15, 0.38), rgba(11, 13, 15, 0.18));
}

.feature-visual,
.editorial-frame {
  padding: var(--space-2);
}

.feature-visual img,
.editorial-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-image);
}

.feature-visual figcaption,
.editorial-frame figcaption {
  margin-top: 12px;
  color: rgba(154, 147, 136, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
  /* was 54ch: `1ch` is the width of "0", about half a CJK glyph, so this capped
     Chinese captions at ~27 characters. Same bug the P2 pass fixed elsewhere. */
  max-width: 34em;
}

.salon-grid,
.lead-grid,
.closing-band {
  grid-template-columns: 1fr;
}

.ledger-card,
.lead-card,
.story-column,
.analysis-column,
.about-copy,
.issue-row,
.about-guide,
.empty-state {
  padding: var(--space-3) 0;
}

.ledger-card-primary,
.ledger-card-secondary {
  align-self: start;
}

.slot-copy {
  margin-top: 12px;
}

.digest-title,
.issue-focus,
.issue-summary {
  margin: 0;
}

.digest-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem);
  line-height: 1.35;
}

.digest-actions {
  margin-top: var(--space-3);
}

.inline-ledger,
.signal-ledger {
  margin: var(--space-3) 0 0;
}

.inline-ledger,
.signal-ledger,
.conditions-list {
  padding: 0;
}

.inline-ledger {
  display: grid;
  gap: 12px;
}

.inline-ledger div {
  display: grid;
  gap: 4px;
}

.inline-ledger dd,
.signal-ledger dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
}

.signal-ledger {
  display: grid;
  gap: 18px;
}

.signal-ledger div {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.compact-ledger dd {
  font-size: 1rem;
}

.notice-strip {
  padding: 14px 18px;
  border-top: 1px solid rgba(199, 166, 106, 0.72);
  border-bottom: 1px solid rgba(199, 166, 106, 0.4);
  color: var(--paper-warm);
  background: rgba(199, 166, 106, 0.08);
}

.reference-banner {
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(199, 166, 106, 0.72);
  border-bottom: 1px solid rgba(199, 166, 106, 0.4);
  background: rgba(233, 221, 197, 0.05);
}

.reference-banner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem);
  line-height: 1.15;
}

.reference-banner p {
  margin: 0;
  max-width: 60ch;
  color: rgba(233, 221, 197, 0.84);
  line-height: 1.8;
}

.reference-banner > * + * {
  margin-top: 14px;
}

.lead-card,
.about-guide,
.empty-state {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 13, 15, 0.22);
}

.lead-card h2,
.about-guide h2,
.empty-state h2 {
  font-size: clamp(1.45rem, 1.15rem + 0.9vw, 2.1rem);
}

.lead-card p,
.about-guide p,
.empty-state p {
  margin: 0;
  color: rgba(233, 221, 197, 0.82);
  line-height: 1.8;
}

.lead-card > * + *,
.about-guide > * + *,
.empty-state > * + * {
  margin-top: 14px;
}

.conditions-list {
  display: grid;
  gap: 10px;
  margin: var(--space-3) 0 0;
  list-style: none;
}

.conditions-list li {
  padding-left: 16px;
  position: relative;
  color: rgba(233, 221, 197, 0.8);
  line-height: 1.8;
}

.conditions-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  background: var(--gold-soft);
  border-radius: 999px;
}

.cycle-note {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-soft);
}

.story-column,
.analysis-column {
  max-width: 100%;
}

.story-column h2,
.analysis-column h2,
.page-intro h1,
.about-copy h1 {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem);
}

.story-copy,
.article-copy,
.source-list {
  margin-top: var(--space-3);
  display: grid;
  gap: 16px;
}

.story-copy > :first-child,
.article-copy > :first-child,
.source-list > :first-child {
  margin-top: 0;
}

.story-copy > :last-child,
.article-copy > :last-child,
.source-list > :last-child {
  margin-bottom: 0;
}

.story-copy p,
.article-copy p,
.source-list p,
.story-copy li,
.article-copy li,
.source-list li {
  color: rgba(233, 221, 197, 0.84);
}

.story-copy ul,
.article-copy ul,
.source-list ul {
  margin: 0;
  padding-left: 1.2rem;
}

.story-copy blockquote,
.article-copy blockquote {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line-strong);
  color: var(--paper-warm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.7;
}

.source-rule,
.about-rule {
  width: 100%;
  height: 1px;
  background: var(--line-soft);
  margin: var(--space-5) 0;
}

.page-intro {
  max-width: 36rem;
  padding-top: var(--space-5);
}

.issues-list {
  display: grid;
  gap: 0;
}

.issue-row {
  display: grid;
  gap: var(--space-2);
}

.issue-row + .issue-row {
  margin-top: -1px;
}

.issue-number {
  color: rgba(199, 166, 106, 0.64);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.8rem);
  line-height: 1;
}

.issue-meta {
  margin: 0 0 8px;
}

.issue-focus {
  color: var(--paper-warm);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.65;
}

.issue-summary,
.issue-side span {
  color: rgba(233, 221, 197, 0.76);
}

.issue-summary {
  max-width: 62ch;
}

.issue-side {
  display: grid;
  align-content: start;
  gap: 6px;
}

.issue-side strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.issue-note {
  display: inline-flex;
  margin-left: 8px;
  color: var(--paper-warm);
}

.issue-note-block {
  margin: 12px 0 0;
  max-width: 34ch;
  color: rgba(233, 221, 197, 0.82);
  line-height: 1.75;
}

.about-layout {
  padding-top: var(--space-5);
}

.about-guides {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.about-frame img {
  aspect-ratio: auto;
}

.footer-copy {
  display: block;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-strong);
  color: rgba(154, 147, 136, 0.92);
  text-transform: none;
  letter-spacing: 0.04em;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

@media (min-width: 390px) {
  .feature,
  .salon-grid,
  .lead-grid,
  .closing-band,
  .editorial-columns,
  .about-layout,
  .issue-row {
    gap: var(--space-3);
  }
}

@media (min-width: 768px) {
  .feature-home,
  .feature-detail,
  .about-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: var(--space-5);
  }

  .salon-grid,
  .lead-grid,
  .closing-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-5);
  }

  .lead-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* two lead cards, not three: 本期問題 and 下個驗證點. A third column would
     leave a gap now that 失效條件 closes the page instead of opening it. */
  .lead-grid.lead-grid-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-columns {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    column-gap: var(--space-5);
  }

  .story-column {
    max-width: 28rem;
  }

  .issue-row {
    grid-template-columns: 88px minmax(0, 1fr) 160px;
    align-items: start;
    column-gap: var(--space-3);
  }

  .about-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-note-block {
    max-width: 54ch;
  }
}

@media (min-width: 1180px) {
  .feature-title {
    max-width: 9ch;
  }

  .story-column {
    max-width: 30rem;
  }

  .feature-visual,
  .editorial-frame {
    padding: var(--space-3);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .feature-visual img,
  .editorial-frame img,
  .ledger-card,
  .issue-row,
  .story-column,
  .analysis-column,
  .about-copy,
  .cta-link,
  .nav-links a,
  .issue-row a,
  .compact-ledger a,
  .brand-mark {
    transition:
      transform 260ms ease,
      opacity 260ms ease,
      border-color 260ms ease,
      background-color 260ms ease,
      color 260ms ease;
  }

  .feature-visual:hover img,
  .editorial-frame:hover img {
    transform: scale(1.012);
  }

  .ledger-card:hover,
  .issue-row:hover,
  .story-column:hover,
  .analysis-column:hover,
  .about-copy:hover {
    border-top-color: rgba(233, 221, 197, 0.52);
  }

  .cta-link:active,
  .nav-links a:active,
  .issue-row a:active,
  .compact-ledger a:active,
  .brand-mark:active {
    transform: translateY(1px);
  }
}

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

/* ---------------------------------------------------------------------------
   Landscape hero band.

   .feature-visual img is locked to 4/5 for the v1 Facebook card family; the v2
   web banners are 21:9, so a shared rule would centre-crop away ~80% of the
   frame. .feature-banner drops the two-column split and puts the full-width
   banner above the copy instead.
   Compound selectors (.feature.feature-banner) so these win regardless of the
   768px block earlier in this file.
--------------------------------------------------------------------------- */
.feature-visual-wide img {
  /* Each landscape banner keeps its own ratio (21:9 hero, 16:9 method desk);
     the width/height attributes on the <img> supply it. A fixed value here
     would crop whichever banner did not match. */
  aspect-ratio: auto;
}

.feature.feature-banner {
  grid-template-columns: minmax(0, 1fr);
}

.feature.feature-banner .feature-visual {
  order: -1;
}

@media (min-width: 768px) {
  .feature.feature-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* the copy column is already bounded by its width; a `ch` cap here silently
     halved the measure for Chinese and forced the slogan onto three lines */
  .feature.feature-banner .feature-copy {
    max-width: none;
  }
}

@media (min-width: 1180px) {
  /* the 9ch cap exists for the narrow side column, not for a full-width band */
  .feature.feature-banner .feature-title {
    max-width: 20ch;
  }
}

/* ---------------------------------------------------------------------------
   Homepage hero overlay.

   The v2 banner is composed with its left two-thirds as calm negative space,
   so from 768px up the copy is stacked over the image in a single grid area
   rather than sitting above it. Stacking (not absolute positioning) keeps the
   row height at max(image, copy), so a longer headline grows the band instead
   of overflowing it.

   Detail pages keep the banner-above-copy form: their inline ledger makes the
   copy column far taller than the image.
--------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .feature.feature-home.feature-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero";
    align-items: center;
  }

  .feature.feature-home.feature-banner > .feature-visual,
  .feature.feature-home.feature-banner > .feature-copy {
    grid-area: hero;
  }

  .feature.feature-home.feature-banner > .feature-visual {
    padding: 0;
    border-top: 0;
    border-bottom: 0;
    background: none;
  }

  .feature.feature-home.feature-banner > .feature-copy {
    z-index: 1;
    width: min(58%, 42rem);
    padding: var(--space-5);
  }
}

/* ---------------------------------------------------------------------------
   P2 typography and responsive corrections.

   Two systemic bugs this undoes:

   1. `ch` is the advance width of "0" -- roughly half a CJK glyph. Every `ch`
      max-width was therefore capping Chinese text at half its intended measure,
      which is why the hero slogan broke onto three lines at ~6 glyphs each.
   2. `letter-spacing: .16em` + `text-transform: uppercase` were applied to the
      Chinese kickers, nav and footer as well as the Latin brand line. Uppercase
      is a no-op on Chinese; the tracking just pulls the glyphs apart.
--------------------------------------------------------------------------- */
.section-kicker,
.issue-meta,
.nav-links a,
.inline-ledger dt,
.signal-ledger dt,
.issue-side p,
.footer-copy {
  letter-spacing: 0.04em;
  text-transform: none;
}

.brand-kicker {
  white-space: nowrap;
}

.feature-title {
  max-width: 11em;
}

.feature-dek {
  max-width: 26em;
}

/* An article headline is not a standing slogan: the hero scale makes weekly
   titles wrap into an unreadable stack. */
.feature-detail .feature-title {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  line-height: 1.25;
  max-width: 20em;
}

@media (max-width: 639px) {
  .nav {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (min-width: 1180px) {
  .feature-title {
    max-width: 9em;
  }

  .feature.feature-banner .feature-title {
    max-width: 9em;
  }

  .feature.feature-detail .feature-title {
    max-width: 20em;
  }
}

/* ---------------------------------------------------------------------------
   P2 chart band and the /method/egg/ explainer.

   The SVG is authored in a 400-unit viewBox because text inside an SVG scales
   with the viewBox: a desktop-sized coordinate system rendered into a 343px
   phone column would shrink the axis labels to ~4px. So the coordinate system
   is mobile-first and `max-width` caps the desktop scale factor instead. Every
   Chinese string sits in the HTML around the chart, where it reflows.

   No `ch` units anywhere in this block: `1ch` is the advance width of "0",
   roughly half a CJK glyph.
--------------------------------------------------------------------------- */
.chart-band {
  display: grid;
  gap: var(--space-3);
}

.chart-head h2,
.method-block h2,
.stage-card .stage-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem);
}

.stage-card .stage-name {
  font-size: 1.12rem;
  line-height: 1.5;
}

.chart-figure {
  margin: 0;
  /* tighter than the other framed blocks: on a 343px column every 6px of
     padding is 6px the chart's own labels lose to downscaling */
  padding: 10px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 13, 15, 0.38), rgba(11, 13, 15, 0.18));
}

.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  /* Keeps the viewBox-to-pixel scale near 1 on wide screens, so the 12-unit
     axis labels land at a normal reading size instead of being blown up. */
  max-width: 30rem;
  margin-inline: auto;
}

.chart-figure figcaption {
  margin-top: 12px;
  color: rgba(154, 147, 136, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 34em;
}

.chart-side {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(233, 221, 197, 0.82);
  font-size: 0.95rem;
}

.chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-legend li::before {
  content: "";
  display: block;
  width: 22px;
  height: 0;
  border-top-width: 2px;
  border-top-style: solid;
}

.chart-legend-close::before {
  border-top-color: var(--paper-warm);
}

.chart-legend-ma-short::before {
  border-top-color: var(--gold-soft);
}

.chart-legend-ma-long::before {
  border-top-color: var(--mist-gray);
  border-top-style: dashed;
}

.chart-note {
  margin: 0;
  color: rgba(233, 221, 197, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 34em;
}

.chart-note a,
.method-block a,
.about-copy a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper-warm);
}

.chart-note a:hover,
.method-block a:hover,
.about-copy a:hover,
.chart-note a:focus-visible,
.method-block a:focus-visible,
.about-copy a:focus-visible {
  border-bottom-color: var(--gold-soft);
}

.method-block {
  display: grid;
  gap: var(--space-3);
}

.method-block p {
  margin: 0;
  color: rgba(233, 221, 197, 0.8);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 40em;
}

.method-priority {
  color: var(--paper-warm);
  font-family: var(--font-display);
  line-height: 1.9;
}

.stage-cycle {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}

.stage-card {
  display: grid;
  gap: 10px;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 13, 15, 0.38), rgba(11, 13, 15, 0.18));
}

.stage-card .stage-rule,
.stage-card .stage-meaning {
  margin: 0;
  color: rgba(233, 221, 197, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

.stage-card .stage-meaning {
  color: rgba(154, 147, 136, 0.92);
}

@media (min-width: 768px) {
  .chart-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-5);
    /* stretch would give the figure the height of the taller ledger column and
       leave a bordered box half full of nothing */
    align-items: start;
  }

  .chart-head {
    grid-column: 1 / -1;
  }

  /* two columns keeps the reading ledger about as tall as the chart beside it */
  .chart-side .signal-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-3);
  }

  .stage-cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-5);
  }
}

@media (min-width: 1180px) {
  .chart-figure {
    padding: var(--space-2);
  }

  .stage-cycle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------------------
   P2 reading order (Richmond, 2026-09-01).

   The page used to open with three governance blocks -- reference banner,
   manual-score notice, research ledger -- so a reader hit disclosure before
   ever reaching the story. Governance now closes the page as a "you can check
   this" ending, with two exceptions Richmond kept up top: the reference banner
   (a page that is not a formal archive says so before it is read) and the data
   as-of date in the hero ledger.
--------------------------------------------------------------------------- */
.disclosure-band {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 13, 15, 0.38), rgba(11, 13, 15, 0.18));
}

.disclosure-band h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem);
}

.chart-issue {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.chart-issue a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper-warm);
}

.chart-issue a:hover,
.chart-issue a:focus-visible {
  border-bottom-color: var(--gold-soft);
}

@media (min-width: 1180px) {
  /* auto-fit, not a fixed count: the band carries three cards on a plain issue
     and four when the issue declares an analysis contract. A hard `repeat(3)`
     left the fourth card alone on a second row. */
  .closing-band {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
}

/* ---------------------------------------------------------------------------
   Unbreakable-word blowout (found 2026-09-01 by measuring the built page at
   375px; predates the reading-order change).

   The disclosure list carries 64-character digests and repo paths. With no
   wrapping rule those grew the <ul> to 856px inside a 343px column, the grid
   item grew with it, and the whole detail page scrolled sideways on a phone.
   `min-width: 0` on the column items stops the next one of these from
   propagating out of its track.
--------------------------------------------------------------------------- */
.source-list li,
.conditions-list li {
  overflow-wrap: anywhere;
}

.story-column,
.analysis-column,
.ledger-card,
.lead-card,
.chart-side,
.chart-figure {
  min-width: 0;
}

/* 本期引用數值：把 data-tier 宣告攤給讀者看，而不是只存在 build 的允許集裡 */
.figures-block {
  margin: 0 0 var(--space-3);
}

.figures-block h3 {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.figures-ledger {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.figures-ledger div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.figures-ledger dt {
  color: rgba(233, 221, 197, 0.82);
  font-size: 0.95rem;
}

.figures-ledger dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
}

.figure-provenance {
  color: rgba(154, 147, 136, 0.92);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .figures-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-5);
  }
}

@media (min-width: 1180px) {
  .figures-ledger {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 六欄位契約的讀者向部分：未知／反面證據／失效條件逐條列出 */
.contract-groups {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.contract-group h3 {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.contract-card .conditions-list {
  display: grid;
  gap: 8px;
  margin: 0;
  list-style: none;
}

/* 近幾個交易日的醉度：數字串，最新一筆加粗 */
.tipsy-trail {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.tipsy-trail strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.trail-scale {
  color: rgba(154, 147, 136, 0.92);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* 訂閱與社群：footer 一行，不搶版位 */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 12px;
}

.footer-links a {
  color: rgba(154, 147, 136, 0.92);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper-warm);
  border-bottom-color: var(--gold-soft);
}
