.intelligence-page {
  min-height: 100vh;
  background: #ece8df;
  color: #2f2a24;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
}

.intelligence-page a {
  color: inherit;
  text-decoration: none;
}

.intelligence-page main {
  max-width: var(--fsmag-shell-max, 1400px);
  margin: 0 auto;
  background: #f5f1e8;
  border-left: 1px solid rgba(122, 104, 80, 0.14);
  border-right: 1px solid rgba(122, 104, 80, 0.14);
}

.intel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2.4rem var(--fsmag-space-read-pad, 1.5rem) 2rem;
  background:
    linear-gradient(135deg, rgba(18, 42, 72, 0.98), rgba(31, 58, 68, 0.95)),
    #122a48;
  color: #f8fafc;
}

@media (min-width: 900px) {
  .intel-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: end;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 2.6rem;
  }
}

.intel-kicker {
  margin-bottom: 0.65rem;
  color: #ecd6a8;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intel-hero h1 {
  margin: 0;
  color: #fffaf0;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0.12em;
}

.intel-hero p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.98rem;
  line-height: 1.9;
  text-align: justify;
}

.intel-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.intel-hero-actions a {
  min-height: 2.25rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(236, 214, 168, 0.52);
  color: #ecd6a8;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intel-hero-actions a:hover {
  background: rgba(236, 214, 168, 0.12);
}

.intel-hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(236, 214, 168, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.intel-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.intel-hero-visual figcaption {
  padding: 0.7rem 0.85rem 0.8rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.76rem;
  line-height: 1.6;
}

.intel-shell {
  padding: 2rem var(--fsmag-space-read-pad, 1.5rem);
  border-bottom: 1px solid rgba(129, 112, 90, 0.18);
}

.intel-shell:last-child {
  border-bottom: 0;
}

.intel-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(129, 112, 90, 0.22);
}

.intel-section-head span {
  order: 2;
  color: #8a7c6f;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.intel-section-head h2 {
  order: 1;
  margin: 0;
  color: #1c355e;
  font-size: 1.15rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
}

.overview-grid,
.system-column-grid,
.mechanism-grid,
.route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .overview-grid,
  .mechanism-grid,
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .overview-grid,
  .system-column-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

.overview-grid article,
.mechanism-grid article,
.route-grid article {
  padding: 1rem 1.05rem;
  background: #fffdf9;
  border: 1px solid rgba(129, 112, 90, 0.18);
}

.overview-grid strong,
.mechanism-grid h3,
.route-grid h3 {
  display: block;
  margin: 0 0 0.45rem;
  color: #8f2a24;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.overview-grid p,
.mechanism-grid p,
.route-grid p {
  margin: 0;
  color: #4f463c;
  font-size: 0.85rem;
  line-height: 1.8;
  text-align: justify;
}

.system-column {
  padding: 1.05rem 1.05rem 1.15rem;
  background: #fffdf9;
  border: 1px solid rgba(129, 112, 90, 0.2);
  border-top: 4px solid #8f2a24;
}

.system-column[data-tone="juntong"] {
  border-top-color: #8f2a24;
}

.system-column[data-tone="zhongtong"] {
  border-top-color: #a16207;
}

.system-column[data-tone="teke"] {
  border-top-color: #3f6b57;
}

.system-column[data-tone="jiang"] {
  border-top-color: #1c355e;
}

.column-meta {
  margin-bottom: 0.45rem;
  color: #8a7c6f;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.system-column h3 {
  margin: 0 0 0.55rem;
  color: #111;
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.system-column p {
  margin: 0 0 0.85rem;
  color: #4f463c;
  font-size: 0.84rem;
  line-height: 1.82;
  text-align: justify;
}

.system-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-column li {
  position: relative;
  padding-left: 0.9rem;
  color: #5d5347;
  font-size: 0.78rem;
  line-height: 1.75;
}

.system-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: #c5a059;
}

.intel-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .intel-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .intel-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.intel-article-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fffdf9;
  border: 1px solid rgba(129, 112, 90, 0.2);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.intel-article-card:hover {
  border-color: rgba(28, 53, 94, 0.28);
  box-shadow: 0 10px 24px rgba(28, 53, 94, 0.1);
}

.intel-article-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ddd4c7;
  overflow: hidden;
}

.intel-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intel-article-cover-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 250, 240, 0.8);
  background: linear-gradient(135deg, #122a48, #3f6b57);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.intel-article-body {
  padding: 0.9rem 1rem 1.05rem;
}

.intel-article-meta {
  margin-bottom: 0.35rem;
  color: #8a7c6f;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intel-article-body h3 {
  margin: 0 0 0.35rem;
  color: #111;
  font-size: 1.04rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.intel-article-en {
  margin: 0 0 0.45rem;
  color: #6b5b47;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.76rem;
  line-height: 1.55;
  font-style: italic;
}

.intel-article-dek {
  margin: 0;
  color: #5d5347;
  font-size: 0.82rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.intel-empty {
  padding: 1.2rem 1.25rem;
  background: #fffdf9;
  border: 1px dashed rgba(129, 112, 90, 0.3);
}

.intel-empty h3 {
  margin: 0 0 0.45rem;
  color: #1c355e;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.intel-empty p {
  margin: 0 0 0.75rem;
  color: #5d5347;
  font-size: 0.86rem;
  line-height: 1.8;
}

.intel-empty a {
  display: inline-block;
  color: #8f2a24;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(143, 42, 36, 0.35);
}

.intel-feature {
  background:
    linear-gradient(180deg, rgba(63, 107, 87, 0.08), rgba(255, 253, 249, 0)),
    #f8f3ea;
}

.teke-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .teke-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1.25rem;
  }
}

.teke-main,
.teke-aside > div {
  background: #fffdf9;
  border: 1px solid rgba(63, 107, 87, 0.24);
}

.teke-main {
  padding: 1.15rem 1.25rem;
}

.teke-main p {
  margin: 0 0 0.85rem;
  color: #3d3832;
  font-size: 0.93rem;
  line-height: 1.95;
  text-align: justify;
}

.teke-main p:last-child {
  margin-bottom: 0;
}

.teke-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.teke-aside > div {
  padding: 1rem;
}

.teke-aside span {
  display: block;
  margin-bottom: 0.4rem;
  color: #3f6b57;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.teke-aside p {
  margin: 0;
  color: #4f463c;
  font-size: 0.84rem;
  line-height: 1.8;
}

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid rgba(129, 112, 90, 0.2);
  background: #fffdf9;
}

.intel-matrix {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.intel-matrix th,
.intel-matrix td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid rgba(129, 112, 90, 0.16);
  border-right: 1px solid rgba(129, 112, 90, 0.12);
  font-size: 0.8rem;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.intel-matrix thead th {
  color: #fffaf0;
  background: #1c355e;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.intel-matrix tbody th {
  width: 120px;
  color: #8f2a24;
  background: #faf6f0;
  font-weight: 700;
}

.intel-matrix tr:last-child th,
.intel-matrix tr:last-child td {
  border-bottom: 0;
}

.intel-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intel-timeline li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 1rem;
  background: #fffdf9;
  border: 1px solid rgba(129, 112, 90, 0.18);
}

.intel-timeline time {
  display: inline-block;
  color: #1c355e;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.intel-timeline p {
  margin: 0;
  color: #4f463c;
  font-size: 0.88rem;
  line-height: 1.8;
}

.essay-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(143, 42, 36, 0.32);
  color: #8f2a24;
  background: #fffdf9;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.essay-link:hover {
  background: rgba(143, 42, 36, 0.06);
}

.source-panel p {
  max-width: 940px;
  margin: 0;
  color: #4f463c;
  font-size: 0.86rem;
  line-height: 1.9;
  text-align: justify;
}

@media (max-width: 719px) {
  .intel-hero h1 {
    font-size: 2.25rem;
    letter-spacing: 0.08em;
  }

  .intel-section-head {
    display: block;
  }

  .intel-section-head span {
    display: block;
    margin-bottom: 0.35rem;
  }

  .intel-timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* ──────────────────────────────────────────────────────────── */
/* Session 9: 隐秘战线 — 九部分骨架 + 知识图谱占位            */
/* ──────────────────────────────────────────────────────────── */

.hidden-front-page .intel-parts-lede {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #4a4137;
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: center;
  font-style: italic;
}

.hidden-front-page .part-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  counter-reset: none;
}

.hidden-front-page .part-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.5rem;
  background: #fbf7ec;
  border: 1px solid rgba(122, 104, 80, 0.18);
  border-left: 3px solid #8a6a2c;
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.04);
}

@media (min-width: 900px) {
  .hidden-front-page .part-card {
    padding: 2rem 2.2rem 1.8rem;
  }
}

.hidden-front-page .part-card-head {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hidden-front-page .part-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid #8a6a2c;
  border-radius: 50%;
  color: #8a6a2c;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  background: #fffdf6;
}

.hidden-front-page .part-card-head h3 {
  margin: 0 0 0.3rem;
  color: #2f2a24;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hidden-front-page .part-en {
  margin: 0;
  color: #8a6a2c;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hidden-front-page .part-question {
  margin: 0.5rem 0 0.8rem;
  color: #2c2620;
  font-size: 1rem;
  line-height: 1.7;
}

.hidden-front-page .part-question strong,
.hidden-front-page .part-key strong {
  color: #8a6a2c;
  margin-right: 0.3em;
  letter-spacing: 0.04em;
}

.hidden-front-page .part-intro {
  margin: 0 0 1rem;
  color: #4a4137;
  font-size: 1rem;
  line-height: 1.85;
}

.hidden-front-page .part-points {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .hidden-front-page .part-points {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.4rem;
  }
}

.hidden-front-page .part-points li {
  position: relative;
  padding-left: 1.1rem;
  color: #3a342c;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hidden-front-page .part-points li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: #8a6a2c;
  font-size: 1.4rem;
  font-weight: 700;
}

.hidden-front-page .part-key {
  margin: 0;
  padding: 0.9rem 1.1rem;
  background: #f3ead4;
  border-left: 2px solid #8a6a2c;
  color: #2c2620;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* 知识图谱占位区 */
.hidden-front-page .intel-graph {
  background: linear-gradient(180deg, #f5f1e8 0%, #ede7d6 100%);
}

.hidden-front-page .graph-lede {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  color: #4a4137;
  font-size: 1rem;
  line-height: 1.85;
}

.hidden-front-page .graph-lede code {
  padding: 0.1em 0.45em;
  background: rgba(122, 104, 80, 0.12);
  border-radius: 3px;
  font-family: "JetBrains Mono", "Menlo", monospace;
  font-size: 0.88em;
  color: #6a5230;
}

.hidden-front-page .graph-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 780px) {
  .hidden-front-page .graph-tabs {
    grid-template-columns: 1fr 1fr;
  }
}

.hidden-front-page .graph-tab {
  padding: 1.3rem 1.4rem;
  background: #fffdf6;
  border: 1px solid rgba(122, 104, 80, 0.18);
}

.hidden-front-page .graph-tab h3 {
  margin: 0 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(122, 104, 80, 0.15);
  color: #2f2a24;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.hidden-front-page .graph-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.hidden-front-page .graph-chip-list li {
  margin: 0;
}

.hidden-front-page .graph-chip-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  padding: 0.32rem 0.75rem;
  background: #f3ead4;
  border: 1px solid rgba(122, 104, 80, 0.18);
  border-radius: 2px;
  color: #2c2620;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hidden-front-page .graph-chip-list a:hover {
  background: #ede0bf;
  border-color: #8a6a2c;
}

.hidden-front-page .graph-chip-list strong {
  color: #2c2620;
  font-weight: 600;
}

.hidden-front-page .graph-chip-list span {
  color: #6a5230;
  font-size: 0.85em;
}

.hidden-front-page .graph-chip-role {
  display: block !important;
  margin-top: 0.15rem;
  color: #6a5230;
  font-size: 0.78em !important;
  font-style: italic;
  line-height: 1.5;
}

.hidden-front-page .graph-tab[data-kind="cities"] .graph-chip-list a {
  align-items: flex-start;
  flex-direction: column;
  max-width: 100%;
}

.hidden-front-page .graph-note {
  max-width: 760px;
  margin: 1.6rem auto 0;
  color: #6a5230;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.7;
  text-align: center;
}

/* 部分页面 anchor 跳转时给些 offset，避免被 topbar 遮挡 */
.hidden-front-page .part-card,
.hidden-front-page .intel-graph,
.hidden-front-page #parts,
.hidden-front-page #articles,
.hidden-front-page #columns,
.hidden-front-page #graph,
.hidden-front-page #matrix {
  scroll-margin-top: 80px;
}

/* ──────────────────────────────────────────────────────────── */
/* Session 10: 知识图谱可视化（力导向图 + 年份 slider）        */
/* ──────────────────────────────────────────────────────────── */

.hf-graph-viz {
  margin: 1.5rem 0 0;
  padding: 1.4rem 1.2rem 1.2rem;
  background: #fffdf6;
  border: 1px solid rgba(122, 104, 80, 0.22);
  border-radius: 2px;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  color: #2f2a24;
}

@media (min-width: 900px) {
  .hf-graph-viz {
    padding: 1.8rem 1.6rem 1.4rem;
  }
}

/* 控件区 */
.hf-viz-controls {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(122, 104, 80, 0.15);
}

@media (min-width: 780px) {
  .hf-viz-controls {
    grid-template-columns: minmax(280px, 1.2fr) minmax(280px, 1fr);
    align-items: end;
  }
}

.hf-year-slider {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hf-year-slider label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a5230;
}

.hf-year-slider label strong {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #2f2a24;
}

.hf-range-wrap {
  position: relative;
  display: grid;
  gap: 0.3rem;
}

.hf-range-wrap input[type="range"] {
  width: 100%;
  height: 1.2rem;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.hf-range-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(122, 104, 80, 0.3);
  border-radius: 2px;
}

.hf-range-wrap input[type="range"]::-moz-range-track {
  height: 3px;
  background: rgba(122, 104, 80, 0.3);
  border-radius: 2px;
}

.hf-range-wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -7px;
  border-radius: 50%;
  background: #8a6a2c;
  border: 2px solid #fff;
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.3);
}

.hf-range-wrap input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8a6a2c;
  border: 2px solid #fff;
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.3);
}

.hf-mini-btn {
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  background: transparent;
  border: 1px solid rgba(122, 104, 80, 0.4);
  color: #6a5230;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.hf-mini-btn:hover {
  background: #f3ead4;
  border-color: #8a6a2c;
  color: #2f2a24;
}

/* 类型切换 */
.hf-kind-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hf-kind-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32rem 0.75rem;
  border: 1.5px solid;
  border-radius: 2px;
  font-family: "Noto Serif SC", serif;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.15s;
}

.hf-kind-toggle.is-off {
  opacity: 0.55;
}

.hf-kind-toggle:hover {
  opacity: 1;
}

.hf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.hf-kind-toggle.is-on .hf-dot {
  background: rgba(255, 255, 255, 0.85) !important;
}

/* SVG */
.hf-svg-wrap {
  position: relative;
  margin: 0 -0.4rem;
  background:
    radial-gradient(circle at 50% 50%, #fbf7ec 0%, #f5f1e8 70%, #ede7d6 100%);
  border: 1px solid rgba(122, 104, 80, 0.18);
  border-radius: 2px;
  overflow: hidden;
  touch-action: none;
}

.hf-graph-svg {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
}

.hf-graph-svg text {
  user-select: none;
  -webkit-user-select: none;
}

/* Tooltip */
.hf-tooltip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: min(280px, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  background: rgba(255, 253, 246, 0.97);
  border: 1px solid #8a6a2c;
  border-left: 3px solid #8a6a2c;
  box-shadow: 0 4px 16px rgba(60, 40, 20, 0.12);
  pointer-events: auto;
  z-index: 5;
}

.hf-tt-kind {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.hf-tt-label {
  font-size: 1.1rem;
  color: #2f2a24;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.hf-tt-edges {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  max-height: 220px;
  overflow-y: auto;
}

.hf-tt-edges li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.4rem;
  align-items: baseline;
  padding: 0.2rem 0;
  border-bottom: 1px dotted rgba(122, 104, 80, 0.15);
}

.hf-tt-edges li:last-child {
  border-bottom: none;
}

.hf-tt-rel {
  color: #8a6a2c;
  font-size: 0.78rem;
  font-weight: 600;
}

.hf-tt-other {
  color: #2c2620;
  font-weight: 500;
}

.hf-tt-year {
  color: #6a5230;
  font-family: "Montserrat", monospace;
  font-size: 0.76rem;
}

.hf-tt-jump {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: #8a6a2c;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.hf-tt-jump:hover {
  color: #6a5230;
}

/* 图例底部 */
.hf-viz-legend {
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(122, 104, 80, 0.12);
  color: #8a7e6a;
  font-size: 0.78rem;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
}

@media (max-width: 600px) {
  .hf-tooltip {
    position: static;
    width: auto;
    margin-top: 0.6rem;
  }
}

.hidden-front-page .graph-tabs-heading {
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122, 104, 80, 0.18);
  color: #6a5230;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────── */
/* Session 10b: 九部分内嵌长文                                 */
/* ──────────────────────────────────────────────────────────── */

.hidden-front-page .part-essay {
  margin: 1.4rem -0.4rem 0;
  padding: 1.6rem 1.5rem 1.4rem;
  background: #fdfbf3;
  border-top: 1px solid rgba(122, 104, 80, 0.18);
  border-bottom: 1px solid rgba(122, 104, 80, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (min-width: 900px) {
  .hidden-front-page .part-essay {
    margin: 1.6rem -1rem 0;
    padding: 2.2rem 2.2rem 1.8rem;
  }
}

.hidden-front-page .part-essay-head {
  margin-bottom: 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(122, 104, 80, 0.2);
}

.hidden-front-page .part-essay-kicker {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  margin-bottom: 0.7rem;
  background: #8a6a2c;
  color: #fffdf6;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hidden-front-page .part-essay-title {
  margin: 0 0 0.3rem;
  color: #2f2a24;
  font-size: 1.55rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  font-weight: 600;
}

@media (min-width: 900px) {
  .hidden-front-page .part-essay-title {
    font-size: 1.8rem;
  }
}

.hidden-front-page .part-essay-subtitle {
  margin: 0 0 0.6rem;
  color: #8a6a2c;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.hidden-front-page .part-essay-lede {
  margin: 0.8rem 0 0;
  color: #4a4137;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.7;
  padding-left: 1rem;
  border-left: 2px solid #8a6a2c;
}

.hidden-front-page .part-essay-body {
  font-size: 1.02rem;
  line-height: 1.95;
  color: #2c2620;
  text-align: justify;
  text-justify: inter-character;
}

.hidden-front-page .part-essay-body p {
  margin: 0 0 1.2rem;
  text-indent: 2em;
}

.hidden-front-page .part-essay-body p:first-of-type::first-letter {
  font-size: 2.6em;
  float: left;
  line-height: 1;
  padding: 0.08em 0.12em 0 0;
  color: #8a6a2c;
  font-weight: 700;
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
}

.hidden-front-page .part-essay-body p:first-of-type {
  text-indent: 0;
}

.hidden-front-page .part-essay-nodes {
  margin-top: 1.4rem;
  padding: 0.8rem 1rem;
  background: rgba(122, 104, 80, 0.06);
  border-left: 2px solid rgba(122, 104, 80, 0.35);
}

.hidden-front-page .part-essay-nodes-label {
  display: block;
  color: #6a5230;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hidden-front-page .part-essay-nodes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}

.hidden-front-page .part-essay-nodes li a {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #fffdf6;
  border: 1px solid rgba(122, 104, 80, 0.3);
  color: #2c2620;
  font-size: 0.86rem;
  transition: background 0.15s, border-color 0.15s;
}

.hidden-front-page .part-essay-nodes li a:hover {
  background: #f3ead4;
  border-color: #8a6a2c;
}

.hidden-front-page .part-essay-refs {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(122, 104, 80, 0.15);
}

.hidden-front-page .part-essay-refs summary {
  cursor: pointer;
  color: #6a5230;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0;
  list-style: none;
}

.hidden-front-page .part-essay-refs summary::-webkit-details-marker { display: none; }
.hidden-front-page .part-essay-refs summary::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 0.3em;
  transition: transform 0.2s;
}
.hidden-front-page .part-essay-refs[open] summary::before {
  transform: rotate(90deg);
}

.hidden-front-page .part-essay-refs ol {
  margin: 0.6rem 0 0;
  padding-left: 1.5rem;
  color: #4a4137;
  font-size: 0.86rem;
  line-height: 1.7;
}

.hidden-front-page .part-essay-refs ol li {
  margin-bottom: 0.4rem;
}

.hidden-front-page .part-essay-pending {
  margin: 1.4rem -0.4rem 0;
  padding: 0.7rem 1.2rem;
  background: rgba(122, 104, 80, 0.04);
  border-top: 1px dotted rgba(122, 104, 80, 0.3);
  border-bottom: 1px dotted rgba(122, 104, 80, 0.3);
  color: #8a7e6a;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  font-style: italic;
}

@media (min-width: 900px) {
  .hidden-front-page .part-essay-pending {
    margin: 1.6rem -1rem 0;
  }
}

/* ──────────────────────────────────────────────────────────── */
/* Session 11: hero 配色调亮以适应彩色主图                     */
/* ──────────────────────────────────────────────────────────── */

.hidden-front-page .intel-hero {
  background:
    linear-gradient(135deg, rgba(245, 232, 204, 0.92), rgba(228, 211, 178, 0.92)),
    #efe2c3;
  color: #2c2620;
}

.hidden-front-page .intel-hero .intel-kicker {
  color: #8a6a2c;
}

.hidden-front-page .intel-hero h1 {
  color: #2f2a24;
  text-shadow: 0 1px 0 rgba(255, 253, 246, 0.4);
}

.hidden-front-page .intel-hero p {
  color: #3a342c;
}

.hidden-front-page .intel-hero-actions a {
  color: #2c2620;
  border-color: rgba(122, 104, 80, 0.45);
  background: rgba(255, 253, 246, 0.4);
}

.hidden-front-page .intel-hero-actions a:hover {
  background: rgba(255, 253, 246, 0.75);
  border-color: #8a6a2c;
}

.hidden-front-page .intel-hero-visual {
  /* 主图本身就是彩色，去掉旧的 overlay 滤镜 */
  filter: none;
  box-shadow: 0 4px 18px rgba(60, 40, 20, 0.18);
}

.hidden-front-page .intel-hero-visual img {
  filter: none;
}

.hidden-front-page .intel-hero-visual figcaption {
  color: #4a4137;
  background: rgba(255, 253, 246, 0.7);
  border-top: 1px solid rgba(122, 104, 80, 0.18);
}

/* ──────────────────────────────────────────────────────────── */
/* Session 11: 长文链接卡片（取代内嵌长文）                    */
/* ──────────────────────────────────────────────────────────── */

.hidden-front-page .part-essay-link {
  display: block;
  margin: 1.3rem -0.4rem 0;
  padding: 1.2rem 1.3rem 1rem;
  background: linear-gradient(180deg, #fdfbf3 0%, #f7efde 100%);
  border: 1px solid rgba(122, 104, 80, 0.25);
  border-left: 3px solid #8a6a2c;
  color: #2c2620;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

@media (min-width: 900px) {
  .hidden-front-page .part-essay-link {
    margin: 1.5rem -1rem 0;
    padding: 1.6rem 1.8rem 1.4rem;
  }
}

.hidden-front-page .part-essay-link:hover {
  transform: translateY(-1px);
  border-left-color: #6a5230;
  border-color: rgba(122, 104, 80, 0.5);
  box-shadow: 0 4px 14px rgba(60, 40, 20, 0.1);
}

.hidden-front-page .part-essay-link-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.16rem 0.55rem;
  background: #8a6a2c;
  color: #fffdf6;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hidden-front-page .part-essay-link-title {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #2f2a24;
  margin-bottom: 0.35rem;
}

@media (min-width: 900px) {
  .hidden-front-page .part-essay-link-title {
    font-size: 1.4rem;
  }
}

.hidden-front-page .part-essay-link-subtitle {
  color: #8a6a2c;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.hidden-front-page .part-essay-link-lede {
  margin: 0.5rem 0 0.8rem;
  color: #4a4137;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.7;
}

.hidden-front-page .part-essay-link-cta {
  display: inline-block;
  padding-top: 0.5rem;
  margin-top: 0.3rem;
  border-top: 1px solid rgba(122, 104, 80, 0.18);
  color: #8a6a2c;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  width: 100%;
}

.hidden-front-page .part-essay-link:hover .part-essay-link-cta {
  color: #6a5230;
}
