/* ==========================================================================
   看山七问 · 七站引导
   一套新的主路径：一页一站，先看画，再回答一个问题。
   ========================================================================== */

body[data-page="home"],
body[data-page="timeline"],
body[data-page="compare-eras"] {
  background-color: var(--paper);
}

.gd-home,
.gd-stations,
.gd-compare-page {
  padding-top: 76px;
}

.gd-home__inner,
.gd-stations__inner,
.gd-compare-page__inner {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   首页 / 入口
   -------------------------------------------------------------------------- */

.gd-cover {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 5.6fr) minmax(0, 6.4fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem) 0 3rem;
}

.gd-cover__copy {
  max-width: 620px;
}

.gd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.gd-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--cinnabar);
}

.gd-cover__title {
  margin: 1.3rem 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.2vw, 5.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.gd-cover__title em { display: block; white-space: nowrap;
  font-style: normal;
  color: var(--cinnabar);
}

.gd-cover__lede {
  max-width: 32ch;
  text-wrap: balance;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.gd-cover__note {
  max-width: 38ch;
  text-wrap: balance;
  margin: 1rem 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 2rem;
}

.gd-actions .btn {
  background: var(--ink);
  color: var(--paper-deep);
  border-color: var(--ink);
  min-height: 44px;
}

.gd-actions .btn:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #17130f;
}

.gd-actions__link {
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.gd-actions__link:hover { color: var(--cinnabar); }

.gd-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.gd-cover__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.gd-cover__meta .icon { width: 13px; height: 13px; color: var(--cinnabar); }

.gd-cover__figure {
  position: relative;
  margin: 0;
  height: min(76vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gd-cover__figure::before {
  content: "";
  position: absolute;
  inset: 6% 8%;
  border: 1px solid var(--line);
  pointer-events: none;
}

.gd-cover__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 3.4rem);
  object-fit: contain;
}

.gd-cover__caption {
  position: static;
  z-index: 2;
  width: 100%;
  max-width: 34rem;
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.gd-route {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gd-route__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.gd-route__label .icon { width: 14px; height: 14px; color: var(--cinnabar); }

.gd-route__dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.gd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.gd-dot:hover { border-color: var(--cinnabar); }
.gd-dot.is-on { background: var(--cinnabar); border-color: var(--cinnabar); }
.gd-dot.is-done { background: var(--celadon); border-color: var(--celadon); position: relative; }
.gd-dot.is-done::after { content: "✓"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 9px; color: #17130f; font-weight: 600; }
.gd-dot.is-part { background: linear-gradient(90deg, var(--cinnabar) 50%, transparent 50%); border-color: var(--cinnabar); }

/* 首页：两个入口 */
.gd-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
  max-width: 600px;
}

.gd-entry span { word-break: keep-all; }

.gd-entry {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.gd-entry b { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.gd-entry span { font-size: 13px; line-height: 1.6; color: var(--muted); }
.gd-entry:hover { border-color: var(--cinnabar); }
.gd-entry--primary { background: var(--ink); border-color: var(--ink); }
.gd-entry--primary b { color: var(--paper-deep); }
.gd-entry--primary span { color: var(--paper-deep); opacity: 0.8; }
.gd-entry--primary:hover { background: var(--cinnabar); border-color: var(--cinnabar); }
.gd-entry--primary:hover b,
.gd-entry--primary:hover span { color: #17130f; }

.gd-cover__trust { margin-top: 1.2rem; max-width: 46ch; }

.gd-route { scroll-margin-top: 90px; }
.gd-route__chips { gap: 0.5rem; }

.gd-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-soft);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

.gd-chip i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  color: var(--cinnabar);
}

.gd-chip:hover { border-color: var(--cinnabar); color: var(--ink); }

.gd-route__link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
}

/* --------------------------------------------------------------------------
   七站 / 单站
   -------------------------------------------------------------------------- */

.gd-stations__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.gd-stations__count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.gd-stations__dots { flex: 1; justify-content: center; }

.gd-station {
  min-height: calc(100svh - 190px);
  display: grid;
  grid-template-columns: minmax(0, 6.35fr) minmax(0, 5.65fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
  padding: 2.4rem 0 1.6rem;
}

.gd-station__figure {
  margin: 0;
  min-height: 0;
  height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gd-station__figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 2.2rem);
  object-fit: contain;
}

.gd-station__figure.is-wide img {
  width: 100%;
  max-height: min(56vh, 480px);
}

.gd-station__caption {
  width: 100%;
  margin-top: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
}

.gd-station__caption a { color: var(--muted); }

.gd-station__copy {
  max-width: 560px;
  padding-bottom: 1rem;
}

.gd-station__no {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cinnabar);
}

.gd-station__no span { color: var(--faint); }

.gd-station__title {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.2vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.gd-station__years {
  margin: 0.5rem 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.gd-station__question {
  margin: 1.5rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--cinnabar);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  line-height: 1.55;
  color: var(--ink);
}

.gd-station__intro {
  max-width: 38ch;
  margin: 1rem 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.gd-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.gd-focus__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.gd-focus__item .icon { width: 18px; height: 18px; color: var(--cinnabar); }

.gd-focus__item strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.gd-focus__item span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.gd-station__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.gd-station__actions .btn { min-height: 42px; }

.gd-station__actions .gd-actions__link { margin-left: auto; }

.gd-notes {
  margin-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.gd-notes summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.gd-notes summary::-webkit-details-marker { display: none; }
.gd-notes summary::after { content: "+"; color: var(--cinnabar); }
.gd-notes[open] summary::after { content: "−"; }

.gd-notes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  padding: 0.6rem 0 1.2rem;
}

.gd-notes__grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.gd-notes__grid ul { margin: 0; padding: 0; list-style: none; }
.gd-notes__grid li { font-size: 13px; line-height: 1.7; color: var(--muted); }
.gd-notes__grid li + li { margin-top: 0.35rem; }
.gd-notes__grid li b { color: var(--ink-soft); font-weight: 500; }

.gd-notes__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.gd-notes__quote footer { margin-top: 0.4rem; font-family: var(--mono); font-size: 12px; color: var(--faint); }

.gd-notes__sources { grid-column: 1 / -1; }
.gd-notes__sources a { display: block; font-size: 13px; line-height: 1.8; color: var(--muted); }
.gd-notes__sources a:hover { color: var(--cinnabar); }

/* --------------------------------------------------------------------------
   跨时代对照
   -------------------------------------------------------------------------- */

.gd-compare-page__head {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.gd-compare-page__head h1 {
  margin: 0.8rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.gd-compare-page__head p {
  max-width: 44ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.gd-compare-tabs {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.gd-compare-tab {
  border: 0;
  padding: 0.2rem 0;
  background: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.gd-compare-tab[aria-selected="true"] { color: var(--ink); border-color: var(--cinnabar); }

.gd-compare {
  padding: 2rem 0 2.5rem;
}

.gd-compare__title {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
}

.gd-compare__tokens {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.gd-token {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.gd-token .icon { width: 12px; height: 12px; color: var(--cinnabar); }

.gd-compare__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gd-compare__pair figure {
  margin: 0;
  min-height: 260px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #100f0b;
  border: 1px solid var(--line);
}

.gd-compare__pair img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(52vh, 480px);
  object-fit: contain;
}

.gd-compare__pair figcaption {
  width: 100%;
  margin-top: 0.6rem;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.gd-compare__pair figcaption b { display: block; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; font-weight: 500; }
.gd-compare__pair figcaption span { display: block; font-family: var(--mono); font-size: 12px; color: var(--faint); }

.gd-compare__note {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.gd-compare__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.gd-compare__note .gd-actions { margin-top: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .gd-cover {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }
  .gd-cover__copy { max-width: 720px; }
  .gd-cover__figure { height: min(62vh, 620px); }
  .gd-station { grid-template-columns: 1fr; min-height: auto; padding-top: 2rem; }
  .gd-station__figure { height: min(58vh, 600px); }
  .gd-station__copy { max-width: 760px; }
}

@media (max-width: 720px) {
  .gd-home,
  .gd-stations,
  .gd-compare-page { padding-top: 64px; }
  .gd-home__inner,
  .gd-stations__inner,
  .gd-compare-page__inner { width: calc(100% - 32px); }
  .gd-cover { padding-top: 1.6rem; gap: 2rem; }
  .gd-cover__title { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .gd-cover__lede { font-size: 1.15rem; }
  .gd-cover__figure { height: 58vh; min-height: 360px; }
  .gd-cover__figure::before { inset: 4%; }
  .gd-entries { grid-template-columns: 1fr; }
  .gd-route { flex-wrap: wrap; }
  .gd-route__dots { order: 3; width: 100%; justify-content: flex-start; }
  .gd-stations__top { flex-wrap: wrap; gap: 0.65rem; }
  .gd-stations__dots { order: 3; width: 100%; justify-content: flex-start; }
  .gd-station { padding: 1.4rem 0 1.8rem; gap: 1.6rem; }
  .gd-station__figure { height: 44vh; min-height: 300px; }
  .gd-station__figure img { max-height: calc(100% - 1.8rem); }
  .gd-station__title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .gd-station__question { margin-top: 1.1rem; }
  .gd-focus { grid-template-columns: 1fr; gap: 0.8rem; }
  .gd-focus__item { flex-direction: row; align-items: baseline; gap: 0.55rem; }
  .gd-focus__item span { font-size: 12px; }
  .gd-station__actions { flex-wrap: wrap; }
  .gd-station__actions .gd-actions__link { margin-left: 0; }
  .gd-notes__grid { grid-template-columns: 1fr; }
  .gd-notes__sources { grid-column: auto; }
  .gd-compare-page__head { padding-top: 2.4rem; }
  .gd-compare-tabs { overflow-x: auto; gap: 1.1rem; padding-bottom: 0.9rem; }
  .gd-compare-tab { white-space: nowrap; }
  .gd-compare__pair { grid-template-columns: 1fr; }
  .gd-compare__pair figure { min-height: 0; }
  .gd-compare__note { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gd-dot, .gd-actions .btn { transition: none; }
}

.work-head__practice:empty { display: none; }

/* 对照页：三项选择做成可扫读的入口，而不是一行小字 */
.gd-compare-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2.4rem 0 2.6rem;
  border: 1px solid var(--line);
  background: var(--line);
}
.gd-compare-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  row-gap: 0.18rem;
  padding: 1rem 1.1rem;
  background: rgba(25, 24, 18, 0.86);
  color: var(--muted);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.gd-compare-tab:hover { background: rgba(238, 229, 211, 0.06); color: var(--ink); }
.gd-compare-tab[aria-current="page"] { background: rgba(238, 229, 211, 0.08); color: var(--ink); box-shadow: inset 0 -2px var(--cinnabar); }
.gd-compare-tab__no { grid-row: 1 / 3; align-self: center; font: 12px/1 var(--mono); color: var(--cinnabar); letter-spacing: 0.08em; }
.gd-compare-tab b { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.2; }
.gd-compare-tab small { font-size: 12px; line-height: 1.4; color: var(--faint); }
.gd-compare-tab[aria-current="page"] small { color: var(--text-secondary); }

@media (max-width: 720px) {
  .gd-compare-tabs { grid-template-columns: 1fr; margin-top: 1.6rem; }
  .gd-compare-tab { padding: 0.9rem 1rem; }
}

.gd-compare-tab[aria-current="page"] b { color: var(--ink); }
.gd-compare-tab[aria-current="page"] .gd-compare-tab__no { color: var(--cinnabar); }
.gd-compare-tab:not([aria-current="page"]) b { color: var(--text-secondary); }


.gd-compare-tab[aria-current="page"] b { color: var(--cinnabar) !important; }
.gd-compare-tab[aria-current="page"] small { color: var(--text-secondary) !important; }

/* 站点图版信息、对照来源 */
.gd-station__figure { height: auto; justify-content: flex-start; }
.gd-station__figure img { max-height: min(64vh, 660px); }
.gd-station__figure.is-wide img { max-height: min(52vh, 460px); }

.gd-plate-meta {
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.gd-plate-meta a { margin-left: auto; color: var(--cinnabar); text-decoration: none; }
.gd-plate-meta a:hover { color: var(--ink); }

.gd-compare__era {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cinnabar) !important;
  text-decoration: none;
}
.gd-compare__plate-note {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--faint);
}
.gd-compare__plate-note a { color: var(--cinnabar); text-decoration: none; }

@media (max-width: 900px) {
  .gd-station__figure { height: auto; }
  .gd-station__figure img { max-height: 52vh; }
}
@media (max-width: 720px) {
  .gd-station__figure { height: auto; min-height: 0; }
  .gd-station__figure img { max-height: 42vh; }
  .gd-station__figure.is-wide img { max-height: 36vh; }
}

.gd-station__evidence {
  margin: 0.9rem 0 0;
  padding: 0.5rem 0.65rem;
  border-left: 1px solid var(--cinnabar);
  background: rgba(25, 24, 18, 0.35);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.gd-station__evidence span {
  margin-right: 0.45rem;
  color: var(--celadon);
}
.gd-station__evidence a {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--cinnabar);
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 720px) {
  .gd-station__evidence,
  .gd-plate-meta {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* ===== 图版放大 + 浅色衬纸 + 原典摘出 (2026-11-10) ===== */
.gd-station__zoom {
  position: relative;
  display: block;
  max-width: 100%;
  margin: 0;
  padding: clamp(0.5rem, 1.2vw, 0.9rem);
  border: 0;
  background: #d8cdb4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
  line-height: 0;
}
.gd-station__zoom:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 3px; }
.gd-station__figure .gd-station__zoom img { max-height: min(74vh, 800px); }
.gd-station__figure.is-wide .gd-station__zoom img { max-height: min(60vh, 520px); }
.gd-station__zoomhint {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.25rem 0.6rem;
  background: rgba(25, 24, 18, 0.82);
  color: #e8dfc8;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.2s;
}
.gd-station__zoom:hover .gd-station__zoomhint,
.gd-station__zoom:focus-visible .gd-station__zoomhint { opacity: 1; }
@media (hover: none) { .gd-station__zoomhint { opacity: 1; } }

.gd-pull {
  margin: 1.5rem 0 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--cinnabar);
}
.gd-pull p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.gd-pull footer { margin-top: 0.5rem; font-family: var(--mono); font-size: 13px; color: var(--text-secondary); }
.gd-pull small { display: block; margin-top: 0.35rem; font-size: 13px; line-height: 1.7; color: var(--muted); }

.gd-lightbox {
  width: min(96vw, 1400px);
  max-width: none;
  max-height: 96vh;
  padding: 0;
  border: 0;
  background: #14130e;
  color: var(--ink);
}
.gd-lightbox::backdrop { background: rgba(8, 8, 6, 0.88); }
.gd-lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  background: rgba(25, 24, 18, 0.9);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
}
.gd-lightbox__scroll { max-height: calc(96vh - 3rem); overflow: auto; display: flex; justify-content: center; padding: 1rem; }
.gd-lightbox__scroll img { display: block; max-width: 100%; max-height: calc(96vh - 6.5rem); width: auto; height: auto; object-fit: contain; cursor: zoom-in; }
.gd-lightbox__scroll img.is-full { max-height: none; width: 100%; cursor: zoom-out; }
.gd-lightbox__cap { margin: 0; padding: 0.5rem 1rem 0.8rem; font-family: var(--mono); font-size: 12px; color: var(--faint); }

@media (max-width: 900px) {
  .gd-station__figure .gd-station__zoom img { max-height: 62vh; }
}
@media (max-width: 720px) {
  .gd-station__figure .gd-station__zoom img { max-height: 52vh; }
  .gd-station__figure.is-wide .gd-station__zoom img { max-height: 40vh; }
}

/* ===== 问题 → 学者回答（带出处）→ 画上定位 (2026-11-10 样板：五代) ===== */
.gd-pinwrap { position: relative; display: inline-block; max-width: 100%; }
.gd-pins {
  position: absolute;
  inset: clamp(0.5rem, 1.2vw, 0.9rem);  /* 与 .gd-station__zoom 的内边距一致，使百分比坐标对准画心 */
  pointer-events: none;
}
.gd-pin {
  position: absolute;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  padding: 0;
  border: 1.5px solid #f2ecdf;
  border-radius: 50%;
  background: rgba(166, 94, 73, 0.92);
  color: #f2ecdf;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s, background 0.15s;
}
.gd-pin:hover, .gd-pin:focus-visible { transform: scale(1.15); outline: 2px solid #f2ecdf; outline-offset: 2px; }
.gd-pin.is-on { background: #f2ecdf; color: #7a3f2f; transform: scale(1.2); }

.gd-station__asklabel {
  margin: 1.4rem 0 0.5rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--celadon);
}
.gd-answers { display: grid; gap: 0.8rem; }
.gd-answer {
  padding: 0.9rem 1rem 0.8rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--celadon);
  background: rgba(25, 24, 18, 0.28);
}
.gd-answer__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem; }
.gd-answer__who strong { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink); }
.gd-answer__who span { font-size: 12px; color: var(--muted); }
.gd-answer__claim {
  margin: 0.6rem 0 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.gd-answer__src {
  margin: 0.7rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.gd-answer__src span { margin-right: 0.45rem; color: var(--celadon); }
.gd-answer__src a { color: var(--cinnabar); text-decoration: none; }
.gd-answer__src a:hover { text-decoration: underline; }
.gd-answer__src em { display: block; font-style: normal; color: var(--faint); }

.gd-locate { margin-top: 1.2rem; }
.gd-locate__h {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--celadon);
}
.gd-locate__tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gd-locate__tab {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.gd-locate__tab:hover { color: var(--ink); }
.gd-locate__tab[aria-selected="true"] { border-color: var(--cinnabar); color: var(--ink); }
.gd-locate__note {
  margin: 0.7rem 0 0;
  min-height: 3.6em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.gd-locate__note b { display: block; font-weight: 500; color: var(--ink); }
.gd-locate__note small { display: block; margin-top: 0.3rem; font-size: 12px; color: var(--faint); }

.gd-notes__more { padding: 0.8rem 0 0.2rem; font-size: 13px; line-height: 1.85; color: var(--muted); }
.gd-notes__more p { margin: 0 0 0.6rem; }
.gd-notes__focus { margin: 0 0 0.8rem; padding: 0; list-style: none; }
.gd-notes__focus li + li { margin-top: 0.3rem; }
.gd-notes__focus b { color: var(--ink-soft); font-weight: 500; }

@media (max-width: 720px) {
  .gd-pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
}

/* ---------- 问答：先选后揭晓 ---------- */
.gd-quizzes { display: grid; gap: 1rem; margin-top: 1.2rem; }
.gd-quiz {
  padding: 1rem 1.05rem 0.95rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--celadon);
  background: rgba(25, 24, 18, 0.28);
  scroll-margin-top: 96px;
}
.gd-quiz[hidden] { display: none; }
.gd-quiz__no {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--celadon);
}
.gd-quiz__q {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.gd-quiz__opts { display: grid; gap: 0.45rem; }
.gd-quiz__opt {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.gd-quiz__opt b { flex: none; font-family: var(--mono); font-weight: 400; color: var(--celadon); }
.gd-quiz__opt:hover:not(:disabled),
.gd-quiz__opt:focus-visible { border-color: var(--cinnabar); color: var(--ink); outline: none; }
.gd-quiz__opt:disabled { cursor: default; }
.gd-quiz__opt.is-answer { border-color: var(--celadon); background: rgba(120, 150, 130, 0.12); color: var(--ink); }
.gd-quiz__opt.is-chosen:not(.is-answer) { border-color: var(--cinnabar); color: var(--ink); }
.gd-quiz__opt.is-chosen::after { content: "你的选择"; margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.gd-quiz__opt.is-correct-flash { border-color: var(--celadon); background: rgba(120, 150, 130, 0.2); animation: flashGreen 0.5s ease; }
.gd-quiz__opt.is-wrong-flash { border-color: #e8a87c; background: rgba(232, 168, 124, 0.15); animation: flashOrange 0.5s ease; }
.gd-quiz__feedback { position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 500; white-space: nowrap; }
.gd-quiz__opt.is-correct-flash .gd-quiz__feedback { color: var(--celadon); }
.gd-quiz__opt.is-wrong-flash .gd-quiz__feedback { color: #e8a87c; }
@keyframes flashGreen { 0%, 100% { background: rgba(120, 150, 130, 0.12); } 50% { background: rgba(120, 150, 130, 0.25); } }
@keyframes flashOrange { 0%, 100% { background: rgba(232, 168, 124, 0.12); } 50% { background: rgba(232, 168, 124, 0.22); } }
.gd-quiz__hint { margin: 0.7rem 0 0; font-size: 12px; color: var(--faint); }
.gd-quiz__reveal { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px dashed var(--line); }
.gd-quiz__reveal[hidden], .gd-quiz__hint[hidden], .gd-quiz__next[hidden] { display: none; }
.gd-quiz__verdict { margin: 0 0 0.4rem; font-size: 13px; font-weight: 500; color: var(--ink); }
.gd-quiz__verdict.is-diff { color: var(--cinnabar); }
.gd-quiz__text { margin: 0; font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.gd-quiz__src {
  margin: 0.7rem 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.gd-quiz__src span { margin-right: 0.45rem; color: var(--celadon); }
.gd-quiz__src a { color: var(--cinnabar); text-decoration: none; }
.gd-quiz__src a:hover { text-decoration: underline; }
.gd-quiz__src em { display: block; font-style: normal; color: var(--faint); }
.gd-quiz__next {
  margin-top: 0.8rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--cinnabar);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.gd-quiz__next:hover { background: var(--cinnabar); color: #17130f; }

/* 问答版式：右侧文案随答题变高，左侧图版顶部对齐并吸顶，避免被推着下移 */
@media (min-width: 901px) {
  .gd-station:has(.is-guided) { align-items: start; }
  .gd-station__figure.is-guided { position: sticky; top: 92px; }
}

/* ===== 深度缩放查看器 (deepzoom.js) ===== */
.dz {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #14130e; color: #f2ecdf; overflow: hidden;
}
.dz[open] { display: block; }
.dz::backdrop { background: #14130e; }
.dz__stage { position: absolute; inset: 0 0 0 0; overflow: hidden; cursor: grab; touch-action: none; outline: none; }
.dz__stage.is-drag { cursor: grabbing; }
.dz__stage:focus-visible { box-shadow: inset 0 0 0 2px rgba(215, 161, 143, 0.7); }
.dz__world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.dz__world.is-anim { transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1); }
.dz__base { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; image-rendering: auto; }
.dz__tiles, .dz__pins { position: absolute; inset: 0; pointer-events: none; }
.dz__tile { position: absolute; opacity: 0; transition: opacity 0.25s; user-select: none; }
.dz__tile.is-ready { opacity: 1; }
.dz__pin {
  position: absolute; pointer-events: auto;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 2px solid #f2ecdf; border-radius: 50%;
  background: #874735; color: #f2ecdf;
  font: 600 13px/1 var(--mono); cursor: pointer;
  transform: scale(calc(1 / var(--s, 1)));   /* 随缩放保持固定大小 */
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.dz__pin:hover, .dz__pin:focus-visible { outline: 2px solid #f2ecdf; outline-offset: 2px; }
.dz__pin.is-on { background: #f2ecdf; color: #7a3f2f; }
.dz__bar {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(25, 24, 18, 0.92); border: 1px solid rgba(242, 236, 223, 0.22);
  max-width: calc(100vw - 16px); flex-wrap: wrap; justify-content: center;
}
.dz__bar button {
  min-width: 40px; min-height: 40px; padding: 0 12px;
  border: 1px solid rgba(242, 236, 223, 0.2); background: transparent; color: #f2ecdf;
  font: 14px var(--mono); cursor: pointer;
}
.dz__bar button:hover, .dz__bar button:focus-visible { background: rgba(242, 236, 223, 0.14); outline: none; border-color: #d7a18f; }
.dz__zoom { min-width: 54px; text-align: center; font: 13px var(--mono); color: rgba(242, 236, 223, 0.8); }
.dz__close { margin-left: 6px; }
.dz__mini {
  position: absolute; right: 14px; top: 14px; z-index: 3; width: 128px;
  border: 1px solid rgba(242, 236, 223, 0.3); background: #000; cursor: pointer; touch-action: none;
}
.dz__mini img { display: block; width: 100%; height: 100%; object-fit: fill; opacity: 0.8; pointer-events: none; }
.dz__view { position: absolute; border: 2px solid #d7a18f; background: rgba(215, 161, 143, 0.16); pointer-events: none; box-sizing: border-box; }
.dz__info {
  position: absolute; left: 14px; top: 14px; z-index: 3; max-width: min(360px, calc(100vw - 190px));
  display: grid; gap: 6px; pointer-events: none;
}
.dz__note, .dz__res, .dz__cap {
  margin: 0; padding: 6px 10px; background: rgba(25, 24, 18, 0.86);
  font-size: 13px; line-height: 1.65; color: rgba(242, 236, 223, 0.9);
}
.dz__note b { display: block; margin-bottom: 2px; color: #d7a18f; }
.dz__res { font: 12px/1.6 var(--mono); color: rgba(242, 236, 223, 0.7); }
.dz__res.is-warn { color: #e8c07a; }
.dz__cap { font: 12px var(--mono); color: rgba(242, 236, 223, 0.6); }
@media (max-width: 720px) {
  .dz__mini { width: 88px; }
  .dz__info { max-width: calc(100vw - 120px); }
  .dz__note { max-height: 28vh; overflow: auto; }
  .dz__bar { bottom: 8px; gap: 3px; padding: 3px; }
  .dz__bar button { min-width: 38px; min-height: 38px; padding: 0 9px; font-size: 13px; }
  .dz__bar [data-dz="one"] { display: none; }
  .dz__close { margin-left: 0; }
}
.gd-locate__open {
  display: inline-block; margin-top: 0.5rem; padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  font: 13px var(--mono); cursor: pointer;
}
.gd-locate__open:hover, .gd-locate__open:focus-visible { border-color: var(--cinnabar); color: var(--cinnabar-deep); }
@media (prefers-reduced-motion: reduce) {
  .dz__world.is-anim, .dz__tile { transition: none; }
}

/* ===== 总结页样式 ===== */
.summary-page { padding-top: 76px; }
.summary-page__inner { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 2rem 0 4rem; }
.summary-page__head { margin-bottom: 2.2rem; }
.summary-page__head h1 { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin: 1rem 0 0.5rem; color: var(--ink); }
.summary-page__head p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.summary-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 2rem 0; }
.summary-metric { padding: 1rem 1.1rem; border: 1px solid var(--line); background: rgba(25, 24, 18, 0.35); display: flex; flex-direction: column; gap: 6px; }
.summary-metric__label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.summary-metric__val { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.summary-metric__val span { font-size: 0.9rem; color: var(--muted); }
.summary-metric__sub { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.summary-metric.is-jade { border-color: rgba(154, 179, 166, 0.48); }
.summary-metric.is-jade .summary-metric__val { color: #9ab3a6; }
.summary-metric.is-cinnabar { border-color: rgba(207, 136, 115, 0.45); }
.summary-metric.is-cinnabar .summary-metric__val { color: var(--cinnabar); }
.summary-living { margin: 2.5rem 0; padding: 1.8rem; border: 1px solid var(--line); background: rgba(25, 24, 18, 0.25); }
.summary-living__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 1.3rem; }
.summary-living__head h2 { margin: 0; font-size: 1.3rem; color: var(--ink); }
.summary-living__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.summary-living__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.summary-living__card { padding: 1rem 1.1rem; border: 1px solid var(--line); background: rgba(17, 16, 12, 0.55); display: flex; flex-direction: column; gap: 12px; }
.summary-living__card.is-awakened { border-color: rgba(154, 179, 166, 0.42); }
.summary-living__card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.summary-living__era { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.summary-living__card h3 { margin: 0; font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--ink); }
.summary-living__status { font-size: 11px; padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.summary-living__status.is-done { border-color: rgba(154, 179, 166, 0.55); color: #9ab3a6; background: rgba(154, 179, 166, 0.1); }
.summary-living__spots { display: flex; flex-wrap: wrap; gap: 6px; }
.summary-spot-chip { font-size: 11.5px; padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.summary-spot-chip.is-done { border-color: rgba(207, 136, 115, 0.55); color: var(--ink); background: rgba(207, 136, 115, 0.14); }
.summary-spot-chip.is-awaken.is-done { border-color: rgba(154, 179, 166, 0.6); color: var(--ink); background: rgba(154, 179, 166, 0.14); }
.summary-living__links { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid rgba(238, 229, 211, 0.08); }
.summary-living__links a { font-size: 11.5px; color: var(--cinnabar); text-decoration: none; }
.summary-living__links a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .summary-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .summary-living__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .summary-page__inner { width: calc(100% - 28px); }
  .summary-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-living { padding: 1.2rem; }
  .summary-living__grid { grid-template-columns: 1fr; }
  .summary-timeline, .summary-skills, .summary-share { padding: 1.2rem; }
}
.summary-timeline, .summary-skills, .summary-share { margin: 2.5rem 0; padding: 2rem; border: 1px solid var(--line); background: rgba(25, 24, 18, 0.25); }
.summary-timeline h2, .summary-skills h2, .summary-share h2 { margin: 0 0 1.5rem; font-size: 1.3rem; color: var(--ink); }
.summary-timeline__track { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0; }
.summary-timeline__era { flex: none; width: 120px; text-align: center; }
.summary-timeline__dot { width: 12px; height: 12px; margin: 0 auto 0.5rem; border-radius: 50%; border: 2px solid var(--line-strong); background: transparent; }
.summary-timeline__dot.is-done { background: var(--celadon); border-color: var(--celadon); }
.summary-timeline__dot.is-part { background: linear-gradient(90deg, var(--cinnabar) 50%, transparent 50%); border-color: var(--cinnabar); }
.summary-timeline__era h3 { font-size: 13px; margin: 0.3rem 0; color: var(--ink-soft); }
.summary-timeline__key { font-family: var(--serif); font-size: 14px; margin: 0.2rem 0; color: var(--ink); }
.summary-timeline__stat { font-family: var(--mono); font-size: 12px; margin: 0.3rem 0 0; color: var(--muted); }
.summary-skills__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.summary-skills__list li { padding: 0.6rem 0.9rem; border-left: 2px solid var(--celadon); background: rgba(120, 150, 130, 0.08); font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.summary-share__preview { margin: 1.5rem 0; min-height: 200px; border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; }
.summary-actions { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== 延伸阅读样式 ===== */
.gd-further { margin-top: 1rem; border: 1px solid var(--line); background: rgba(25, 24, 18, 0.15); }
.gd-further summary { padding: 0.8rem 1rem; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.gd-further summary:hover { background: rgba(25, 24, 18, 0.3); }
.gd-further__content { padding: 1rem 1.2rem 1.2rem; }
.gd-further__section { margin-bottom: 1.5rem; }
.gd-further__section:last-child { margin-bottom: 0; }
.gd-further__section h3 { margin: 0 0 0.5rem; font-size: 13px; font-weight: 600; color: var(--celadon); text-transform: uppercase; letter-spacing: 0.05em; }
.gd-further__section p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.gd-further__museums { list-style: none; padding: 0; margin: 0; }
.gd-further__museums li { padding: 0.4rem 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.gd-further__museums li:last-child { border-bottom: none; }
.gd-further__museums b { color: var(--ink); }

/* ===== 皴法对照表样式 ===== */
.cun-page { padding-top: 76px; }
.cun-page__inner { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 2rem 0 4rem; }
.cun-page__head { margin-bottom: 3rem; }
.cun-page__head h1 { font-family: var(--serif); font-size: 2.5rem; margin: 1rem 0 0.5rem; color: var(--ink); }
.cun-page__head p { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 42em; }
.cun-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin: 3rem 0; }
.cun-item { border: 1px solid var(--line); background: rgba(25, 24, 18, 0.2); padding: 1.5rem; }
.cun-item h2 { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.5rem; color: var(--cinnabar); }
.cun-item__img { margin-bottom: 1rem; background: rgba(0, 0, 0, 0.1); min-height: 200px; display: flex; align-items: center; justify-content: center; }
.cun-item__img img { max-width: 100%; height: auto; display: block; }
.cun-item__meta { margin: 0; font-size: 14px; line-height: 1.7; }
.cun-item__meta dt { margin: 0.8rem 0 0.3rem; font-weight: 600; color: var(--celadon); text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.cun-item__meta dd { margin: 0; color: var(--ink-soft); }
.cun-page__foot { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: center; }
.cun-page__foot p { margin: 0 0 1.5rem; font-size: 15px; line-height: 1.8; color: var(--muted); }
.cun-page__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (max-width: 720px) {
  .cun-grid { grid-template-columns: 1fr; }
}

/* ===== 猜朝代游戏样式 ===== */
.quiz-game { padding-top: 76px; }
.quiz-game__inner { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: 2rem 0 4rem; }
.quiz-game__head { margin-bottom: 3rem; text-align: center; }
.quiz-game__head h1 { font-family: var(--serif); font-size: 2.5rem; margin: 1rem 0 0.5rem; color: var(--ink); }
.quiz-game__head p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.quiz-game__body { min-height: 400px; display: flex; align-items: center; justify-content: center; }
.quiz-game__q, .quiz-game__result, .quiz-game__final { width: 100%; text-align: center; }
.quiz-game__no { margin: 0 0 1rem; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.quiz-game__img { margin: 1.5rem 0; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.1); min-height: 300px; display: flex; align-items: center; justify-content: center; }
.quiz-game__img img { max-width: 100%; max-height: 400px; display: block; margin: 0 auto; }
.quiz-game__prompt { margin: 1.5rem 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.quiz-game__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 2rem 0; }
.quiz-game__opt { padding: 0.8rem 1rem; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font: inherit; font-size: 15px; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.quiz-game__opt:hover, .quiz-game__opt:focus-visible { border-color: var(--cinnabar); color: var(--ink); outline: none; }
.quiz-game__verdict { margin: 0 0 1rem; font-size: 20px; font-weight: 600; }
.quiz-game__verdict.is-correct { color: var(--celadon); }
.quiz-game__verdict.is-wrong { color: #e8a87c; }
.quiz-game__explain { margin: 1.5rem 0; font-size: 15px; line-height: 1.8; color: var(--ink-soft); text-align: left; }
.quiz-game__explain b { color: var(--ink); }
.quiz-game__score { margin: 1rem 0; font-family: var(--serif); font-size: 4rem; font-weight: 600; color: var(--cinnabar); }
.quiz-game__msg { margin: 1.5rem 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.quiz-game__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.quiz-game__progress { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.quiz-game__progressbar { flex: 1; align-self: center; max-width: 200px; height: 2px; overflow: hidden; background: var(--line); }
.quiz-game__progressbar i { display: block; height: 100%; background: var(--cinnabar); transition: width 220ms var(--ease); }
.quiz-game__img { flex-direction: column; margin: 1.2rem 0; padding: 0.65rem; }
.quiz-game__img img { width: 100%; max-height: min(48vh, 440px); object-fit: contain; }
.quiz-game__img figcaption, .quiz-game__compare figcaption { padding-top: 0.6rem; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }
.quiz-game__prompt { max-width: 620px; margin: 1.4rem auto; font-family: var(--serif); font-size: 19px; line-height: 1.7; }
.quiz-game__opts { margin: 1.2rem 0; }
.quiz-game__opt { min-height: 58px; text-align: left; line-height: 1.65; }
.quiz-game__opt.is-answer { border-color: var(--celadon); background: rgba(120, 150, 130, 0.12); color: var(--ink); }
.quiz-game__opt.is-chosen { border-color: var(--cinnabar); color: var(--ink); }
.quiz-game__opt:disabled { cursor: default; }
.quiz-game__hint { margin: 0; color: var(--faint); font-size: 12px; line-height: 1.7; }
.quiz-game__compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin: 1.2rem 0; }
.quiz-game__compare figure { min-width: 0; margin: 0; padding: 0.6rem; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.1); }
.quiz-game__compare img { display: block; width: 100%; height: min(34vh, 300px); object-fit: contain; }
.quiz-game__feedback { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-top: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.08); text-align: left; }
.quiz-game__feedback .quiz-game__verdict { margin-bottom: 0.5rem; }
.quiz-game__work { margin: 0 0 0.45rem; color: var(--ink); font-family: var(--serif); font-size: 16px; }
.quiz-game__explain { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.quiz-game__source { margin: 0.8rem 0 1rem; color: var(--muted); font-size: 11px; line-height: 1.8; }
.quiz-game__source span { display: block; margin-bottom: 0.2rem; color: var(--celadon); }
.quiz-game__source a { color: var(--cinnabar); text-decoration: underline; text-underline-offset: 3px; }
.quiz-game__feedback .btn { margin-top: 0.15rem; }
.quiz-game__score-big { margin: 0; color: var(--cinnabar); font-family: var(--serif); font-size: 5rem; line-height: 1.1; }
.quiz-game__score-big span { color: var(--muted); font-size: 1.5rem; }
.quiz-game__final h2 { margin: 0.6rem 0; font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
.quiz-game__rating-desc { max-width: 520px; margin: 0.6rem auto 1.4rem; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.quiz-game__breakdown { max-width: 420px; margin: 1.2rem auto; padding: 0; list-style: none; border-top: 1px solid var(--line); text-align: left; }
.quiz-game__breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.quiz-game__breakdown b { color: var(--ink); font-family: var(--mono); font-weight: 400; }
.quiz-lobby { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.quiz-lobby__summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; border: 1px solid var(--line); background: rgba(25, 24, 18, 0.38); }
.quiz-lobby__kicker { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--cinnabar); margin-bottom: 0.25rem; }
.quiz-lobby__stat { margin: 0; font-size: 14px; color: var(--ink-soft); }
.quiz-lobby__stat b { color: var(--ink); font-weight: 500; }
.quiz-lobby__link { font-size: 12.5px; color: var(--celadon); text-decoration: none; border-bottom: 1px solid rgba(154, 179, 166, 0.4); padding-bottom: 2px; }
.quiz-lobby__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.quiz-lobby__eras-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.quiz-lobby__eras-head h2 { margin: 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--ink); }
.quiz-lobby__eras-head a { font-size: 12px; color: var(--cinnabar); text-decoration: none; }
.quiz-era-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.quiz-era-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1rem; border: 1px solid var(--line); background: rgba(25, 24, 18, 0.28); color: var(--ink-soft); text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.quiz-era-card:hover, .quiz-era-card:focus-visible { border-color: var(--cinnabar); background: rgba(207, 136, 115, 0.08); outline: none; }
.quiz-era-card.is-jade { border-color: rgba(154, 179, 166, 0.55); }
.quiz-era-card.is-cinnabar { border-color: rgba(207, 136, 115, 0.45); }
.quiz-era-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.quiz-era-card__top b { color: var(--celadon); font-weight: 400; }
.quiz-era-card__name { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.quiz-era-card__sub { font-size: 11.5px; color: var(--muted); }
.summary-timeline__link { display: inline-block; margin-top: 0.45rem; font-size: 11.5px; color: var(--cinnabar); text-decoration: none; }
.summary-timeline__link:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .quiz-era-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-game__opts { grid-template-columns: 1fr; }
  .quiz-game__inner { width: min(720px, calc(100% - 32px)); }
  .quiz-game__head { margin-bottom: 2rem; }
  .quiz-game__head h1 { font-size: 2rem; }
  .quiz-game__compare { gap: 0.5rem; }
  .quiz-game__compare figure { padding: 0.35rem; }
  .quiz-game__compare img { height: 26vh; }
  .quiz-game__compare figcaption { font-size: 9px; line-height: 1.5; }
  .quiz-game__feedback { padding: 0.9rem 0; }
}


/* --------------------------------------------------------------------------
   点击画面编号：就地出现放大局部图
   -------------------------------------------------------------------------- */
.gd-pin-detail {
  margin: 0.9rem 0 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  background: #100f0b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  animation: gdDetailIn 420ms var(--ease) both;
}

.gd-pin-detail[hidden] { display: none; }

.gd-pin-detail__head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.gd-pin-detail__head b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}

.gd-pin-detail__head button {
  margin-left: auto;
  border: 0;
  padding: 0.15rem 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.gd-pin-detail img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background: #0b0a08;
  border: 1px solid rgba(238, 229, 211, 0.08);
}

.gd-pin-detail p {
  margin: 0.6rem 0 0;
  font-size: 12px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.gd-pin-detail__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
}

.gd-pin-detail__open {
  border: 0;
  padding: 0.2rem 0;
  background: transparent;
  color: var(--cinnabar);
  font: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(207, 136, 115, 0.45);
}

@keyframes gdDetailIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .gd-pin-detail { margin-top: 0.65rem; padding: 0.55rem; }
  .gd-pin-detail img { max-height: none; }
  .gd-pin-detail__foot { font-size: 8px; }
}

/* --------------------------------------------------------------------------
   Pin detail aside: local crop stays in page context
   -------------------------------------------------------------------------- */
.gd-pin-aside {
  position: fixed;
  top: 96px;
  right: 24px;
  width: min(420px, 34vw);
  max-height: calc(100vh - 128px);
  z-index: 90;
  overflow: auto;
  overscroll-behavior: contain;
  background: #100f0b;
  border: 1px solid rgba(238, 229, 211, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 240ms var(--ease), transform 420ms var(--ease), visibility 240ms;
}

.gd-pin-aside.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.gd-pin-aside__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(238, 229, 211, 0.16);
  color: rgba(238, 229, 211, 0.62);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.gd-pin-aside__head::after {
  content: '⠿ 拖动';
  order: 1;
  margin-inline: auto;
  color: rgba(238, 229, 211, 0.38);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.gd-pin-aside__head:active { cursor: grabbing; }
.gd-pin-aside__head:focus-visible { outline: 1px solid rgba(238, 229, 211, 0.5); outline-offset: -3px; }

.gd-pin-aside__close {
  order: 2;
  border: 0;
  background: transparent;
  color: #eee5d3;
  font: inherit;
  cursor: pointer;
  padding: 0.2rem 0;
  touch-action: manipulation;
}

.gd-pin-aside__figure {
  margin: 0;
  background: #17150f;
  border-bottom: 1px solid rgba(238, 229, 211, 0.12);
}

.gd-pin-aside__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gd-pin-aside__figure figcaption {
  padding: 0.55rem 0.9rem 0.65rem;
  color: rgba(238, 229, 211, 0.48);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.gd-pin-aside__body {
  padding: 0.9rem;
}

.gd-pin-aside__body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  color: #eee5d3;
}

.gd-pin-aside__body p {
  margin: 0;
  color: rgba(238, 229, 211, 0.78);
  font-size: 13px;
  line-height: 1.9;
}

.gd-pin-aside__body small {
  display: block;
  margin-top: 0.7rem;
  color: rgba(238, 229, 211, 0.42);
  font-size: 9px;
  line-height: 1.7;
}

.gd-pin-aside__actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .gd-pin-aside {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 72vh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    transform: translateY(22px);
    transition: opacity 220ms var(--ease), transform 380ms var(--ease), visibility 220ms;
  }

  .gd-pin-aside.is-open { transform: translateY(0); }

  .gd-pin-aside__body { padding: 0.9rem 1rem 1.2rem; }
}


/* Curated pin evidence */
.gd-pin-aside__basis {
  margin: 0.9rem 0 0.35rem;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.gd-pin-aside__basis a {
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gd-pin-aside__note {
  display: block;
  margin-top: 0.5rem;
  font-size: 10px;
  line-height: 1.7;
  color: var(--faint);
}

.gd-pin-aside.is-dragged {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  transform: none;
  transition: opacity 240ms var(--ease), visibility 240ms;
}

/* A single, evidence-led motion invitation for the Five Dynasties station. */
.gd-motion-invite {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  margin: 1.6rem 0;
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gd-motion-invite__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 15px;
}
.gd-motion-invite h2 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.gd-motion-invite p { max-width: 31rem; margin: 0 0 .8rem; color: var(--text-secondary); font-size: .78rem; line-height: 1.8; }
.gd-motion-invite .btn { display: inline-flex; font-size: .72rem; }
