/* ==========================================================================
   黑料大瓜 · 作品档案与改编合作资料站
   全站样式表
   ========================================================================== */

/* ==========================================================================
   base · 变量、重置、排版基调
   ========================================================================== */

:root {
  --ink-green: #1f3b2c;
  --ink-green-deep: #16291f;
  --ink-green-soft: #2f5340;
  --wheat: #d8a33f;
  --wheat-soft: #e8c78a;
  --paper: #f4efe2;
  --paper-light: #fffaf0;
  --paper-line: #ddd3bd;
  --paper-line-soft: #e8e0cd;
  --ink: #26231d;
  --ink-muted: #5d584c;
  --rust: #8c4a2f;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "Noto Sans Mono", "SFMono-Regular", "Menlo", "Consolas", monospace;

  --container: 1120px;
  --container-narrow: 760px;
  --aside-width: 300px;
  --gap-layout: 60px;

  --radius-sm: 3px;
  --radius-md: 6px;

  --shadow-soft: 0 1px 0 rgba(31, 59, 44, 0.06), 0 6px 18px -12px rgba(31, 59, 44, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(0deg, rgba(31, 59, 44, 0.035) 1px, transparent 1px);
  background-size: 100% 32px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--ink-green);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--rust);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  line-height: 1.35;
}

strong {
  font-weight: 700;
  color: var(--ink-green);
}

summary {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--wheat);
  outline-offset: 2px;
}

/* ==========================================================================
   layout · 全站骨架：页头、导航、主容器、页脚
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--ink-green);
  border-bottom: 3px solid var(--wheat);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  color: var(--paper-light);
}

.brand:hover,
.brand:focus-visible {
  color: var(--paper-light);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--paper-light);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wheat-soft);
  padding: 2px 6px;
  border: 1px solid rgba(232, 199, 138, 0.45);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav {
  display: block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav li {
  display: block;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.82);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper-light);
  border-bottom-color: rgba(216, 163, 63, 0.55);
}

.site-nav a.is-current {
  color: var(--paper-light);
  border-bottom-color: var(--wheat);
  font-weight: 500;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--paper-light);
  border: 1px solid rgba(232, 199, 138, 0.5);
  border-radius: var(--radius-sm);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::before {
  content: "";
  width: 16px;
  height: 2px;
  background-color: var(--wheat);
  box-shadow: 0 5px 0 var(--wheat), 0 -5px 0 var(--wheat);
}

.mobile-nav[open] summary {
  background-color: var(--ink-green-deep);
}

.mobile-nav ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 200px;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 6px 0;
  z-index: 70;
}

.mobile-nav li {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 11px 18px;
  font-size: 15px;
  color: var(--ink-green);
  border-left: 3px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background-color: var(--paper);
}

.mobile-nav a.is-current {
  border-left-color: var(--wheat);
  font-weight: 500;
}

.site-main {
  display: block;
}

.home-main {
  max-width: none;
  padding: 0;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

/* 内页面包屑与标题区 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.breadcrumb a {
  color: var(--ink-green-soft);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--rust);
}

.breadcrumb-sep {
  color: var(--paper-line);
}

.breadcrumb-current {
  color: var(--ink-muted);
}

.page-header {
  padding: 14px 0 0;
}

.page-title {
  font-size: 38px;
  line-height: 1.3;
  color: var(--ink-green);
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink-green);
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 96px;
  height: 2px;
  background-color: var(--wheat);
}

/* 页脚 */

.site-footer {
  margin-top: 72px;
  background-color: var(--ink-green);
  color: rgba(255, 250, 240, 0.78);
  border-top: 3px solid var(--wheat);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 28px;
}

.footer-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--wheat-soft);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 199, 138, 0.28);
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 250, 240, 0.78);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--wheat-soft);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 199, 138, 0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--paper-light);
}

.footer-note {
  margin: 0;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 250, 240, 0.62);
}

/* ==========================================================================
   components · 通用组件：按钮、图说、表格、标签、目录、清单
   ========================================================================== */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--ink-green);
  color: var(--paper-light);
  border-color: var(--ink-green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--ink-green-deep);
  color: var(--paper-light);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink-green);
  border-color: var(--ink-green);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--paper-light);
  color: var(--rust);
  border-color: var(--rust);
}

/* 图说容器 */

figure {
  margin: 0;
}

.hero-figure,
.story-figure,
.archive-figure,
.col-figure,
.media-figure,
.media-banner,
.page-hero-media {
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-figure img,
.story-figure img,
.archive-figure img,
.col-figure img,
.media-figure img,
.media-banner img,
.page-hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: var(--paper);
}

.hero-figure figcaption,
.story-figure figcaption,
.archive-figure figcaption,
.col-figure figcaption,
.media-figure figcaption,
.media-banner figcaption,
.page-hero-media figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  border-top: 1px solid var(--paper-line-soft);
  background-color: var(--paper-light);
}

/* 通用表格 */

.overview-table,
.index-table,
.archive-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
}

.overview-table caption,
.index-table caption,
.archive-table caption,
.data-table caption {
  caption-side: top;
  padding: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-align: left;
}

.overview-table th,
.overview-table td,
.index-table th,
.index-table td,
.archive-table th,
.archive-table td,
.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--paper-line-soft);
  vertical-align: top;
}

.overview-table th,
.archive-table th[scope="row"],
.data-table th[scope="row"] {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-green-soft);
  background-color: rgba(216, 163, 63, 0.08);
  white-space: nowrap;
}

.index-table thead th,
.archive-table thead th,
.data-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--paper-light);
  background-color: var(--ink-green);
  border-bottom-color: var(--ink-green);
  white-space: nowrap;
}

.index-table tbody tr:hover,
.archive-table tbody tr:hover,
.data-table tbody tr:hover {
  background-color: rgba(216, 163, 63, 0.07);
}

/* 字段标签 */

.field-tags,
.title-tags,
.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-tags li,
.title-tags li,
.page-tags li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink-green-soft);
  padding: 3px 10px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background-color: var(--paper-light);
}

/* 章节通用间距 */

.section {
  margin-top: 52px;
}

.section-intro,
.section-lead {
  margin: 10px 0 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
  max-width: 720px;
}

.section-more,
.section-foot,
.section-tail,
.table-more,
.section-note {
  margin: 20px 0 0;
  font-size: 14px;
}

.section-more a,
.section-foot a,
.table-more a,
.section-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink-green);
  border-bottom: 1px solid var(--wheat);
  padding-bottom: 1px;
}

.section-more a::after,
.section-foot a::after,
.table-more a::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--wheat);
}

.section-more a:hover,
.section-foot a:hover,
.table-more a:hover,
.section-note a:hover {
  color: var(--rust);
}

/* 清单 */

.check-list {
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px dashed var(--paper-line-soft);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 7px;
  height: 7px;
  background-color: var(--wheat);
  border-radius: 1px;
}

/* 原生 details 问答 */

details summary {
  padding: 14px 40px 14px 16px;
  position: relative;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink-green);
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--wheat);
}

details[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

details[open] summary::after {
  content: "–";
}

details > p {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-top: 0;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

details > p a {
  color: var(--ink-green);
  border-bottom: 1px solid var(--wheat);
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

/* 首屏作品速览台 */

.hero {
  background-color: var(--paper-light);
  border-bottom: 1px solid var(--paper-line);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.hero-intro {
  min-width: 0;
  padding-top: 6px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--rust);
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background-color: var(--rust);
}

.hero h1 {
  font-size: 44px;
  line-height: 1.25;
  color: var(--ink-green);
  margin-bottom: 18px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  background-color: var(--wheat);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-muted);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-figure img {
  aspect-ratio: 16 / 10;
}

.overview-table {
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.overview-table th {
  width: 34%;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: 0;
}

.hero-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
}

.hero-links a {
  font-weight: 500;
  border-bottom: 1px solid var(--wheat);
  padding-bottom: 1px;
}

/* 字段索引锚点条 */

.field-index {
  background-color: var(--ink-green);
  border-top: 3px solid var(--wheat);
}

.field-index ul {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.field-index li {
  flex: 1 1 auto;
}

.field-index a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 250, 240, 0.82);
  border-left: 1px solid rgba(232, 199, 138, 0.2);
  text-align: center;
}

.field-index li:first-child a {
  border-left: 0;
}

.field-index a:hover,
.field-index a:focus-visible {
  color: var(--ink-green-deep);
  background-color: var(--wheat);
}

/* 首页各内容区块统一容器 */

.story-section,
.characters-preview,
.adaptation-section,
.process-section,
.boundary-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.story-section h2,
.characters-preview h2,
.adaptation-section h2,
.process-section h2,
.boundary-section h2 {
  font-size: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.story-section h2::before,
.characters-preview h2::before,
.adaptation-section h2::before,
.process-section h2::before,
.boundary-section h2::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background-color: var(--wheat);
  border-radius: 1px;
  transform: translateY(-2px);
}

/* 故事骨架与调查线 */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  margin-top: 26px;
  align-items: start;
}

.story-text {
  min-width: 0;
}

.story-text p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
}

.story-stages {
  margin-top: 22px;
  border-top: 2px solid var(--ink-green);
  counter-reset: stage;
}

.story-stages li {
  counter-increment: stage;
  position: relative;
  padding: 12px 0 12px 46px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line);
}

.story-stages li::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--wheat);
}

.story-stages li strong {
  margin-right: 8px;
}

.story-figure img {
  aspect-ratio: 4 / 3;
}

/* 角色索引预览表 */

.index-table {
  margin-top: 26px;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
}

.index-table tbody th {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-green);
  background-color: transparent;
  white-space: normal;
  width: 20%;
}

.index-table tbody td {
  font-size: 15px;
  color: var(--ink-muted);
}

/* 改编适配观察三列 */

.adaptation-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.adaptation-col {
  min-width: 0;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--ink-green);
  border-radius: var(--radius-sm);
  padding: 22px 20px 18px;
}

.adaptation-col h3 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--paper-line);
}

.adaptation-col ul {
  margin: 0;
}

.adaptation-col li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.adaptation-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  background-color: var(--wheat);
  border-radius: 1px;
}

/* 合作流程预览条带 */

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-top: 2px solid var(--ink-green);
  border-bottom: 1px solid var(--paper-line);
}

.process-strip li {
  min-width: 0;
  padding: 20px 20px 22px;
  border-left: 1px solid var(--paper-line);
  background-color: var(--paper-light);
}

.process-strip li:first-child {
  border-left: 0;
}

.process-strip .step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-bottom: 8px;
}

.process-strip h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

/* 资料边界与常见问题 */

.boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 26px;
  align-items: start;
}

.boundary-notes,
.boundary-faq {
  min-width: 0;
}

.boundary-notes h3,
.boundary-faq h3 {
  font-size: 17px;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--rust);
}

.boundary-notes ul {
  margin: 0;
}

.boundary-notes li {
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line);
}

.boundary-notes li:last-child {
  border-bottom: 0;
}

.boundary-faq details {
  margin-bottom: 10px;
}

.boundary-faq details:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages · 内页外壳与右侧目录
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-width);
  gap: var(--gap-layout);
  align-items: start;
  padding: 26px 0 0;
}

.layout-main,
.layout-aside,
.page-body,
.page-aside {
  min-width: 0;
}

/* 右侧目录 */

.layout-aside,
.page-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: 14px;
}

.aside-block,
.aside-links,
.aside-toc {
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 18px 18px 14px;
  margin-bottom: 18px;
}

.aside-block:last-child,
.aside-links:last-child {
  margin-bottom: 0;
}

.aside-title,
.aside-block h2,
.aside-links h2,
.toc h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-green-soft);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--paper-line);
}

.aside-toc li,
.aside-links li,
.toc li {
  margin-bottom: 6px;
}

.aside-toc a,
.aside-links a,
.toc a {
  display: block;
  padding: 4px 0 4px 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
  border-left: 2px solid transparent;
}

.aside-toc a:hover,
.aside-toc a:focus-visible,
.aside-links a:hover,
.aside-links a:focus-visible,
.toc a:hover,
.toc a:focus-visible {
  color: var(--ink-green);
  border-left-color: var(--wheat);
  background-color: rgba(216, 163, 63, 0.08);
}

.aside-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.aside-note a {
  color: var(--ink-green);
  border-bottom: 1px solid var(--wheat);
}

/* 内页标题区（导语 + 标签） */

.page-title-block,
.page-head {
  padding: 18px 0 0;
  margin-bottom: 8px;
}

.page-lead,
.title-lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-muted);
  max-width: 720px;
  margin: 0 0 16px;
}

.title-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rust);
}

.page-title-block .field-tags,
.page-head .field-tags,
.page-title-block .title-tags,
.page-title-block .page-tags {
  margin-top: 4px;
}

/* ==========================================================================
   pages · 作品档案
   ========================================================================== */

.archive-section {
  margin-top: 44px;
}

.archive-section:first-child {
  margin-top: 26px;
}

.archive-section h2 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 4px;
}

.archive-section h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background-color: var(--wheat);
  border-radius: 1px;
  transform: translateY(-2px);
}

.archive-table {
  margin-top: 20px;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
}

.archive-table th[scope="row"] {
  width: 26%;
  white-space: normal;
}

.archive-table tr:last-child th,
.archive-table tr:last-child td {
  border-bottom: 0;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  margin-top: 22px;
  align-items: start;
}

.skeleton-text {
  min-width: 0;
}

.skeleton-text p {
  font-size: 16px;
  line-height: 1.95;
}

.stage-list {
  margin-top: 18px;
  border-top: 2px solid var(--ink-green);
  counter-reset: stageItem;
}

.stage-list li {
  counter-increment: stageItem;
  position: relative;
  padding: 11px 0 11px 44px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line);
}

.stage-list li::before {
  content: counter(stageItem, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--wheat);
}

.archive-figure img {
  aspect-ratio: 4 / 3;
}

.timeline-list {
  margin-top: 22px;
  border-top: 2px solid var(--ink-green);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line-soft);
  font-size: 15px;
  line-height: 1.8;
}

.timeline-item:hover {
  background-color: rgba(216, 163, 63, 0.07);
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--rust);
}

.timeline-scene {
  font-weight: 500;
  color: var(--ink-green);
}

.timeline-role {
  color: var(--ink-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 22px;
  align-items: start;
}

.catalog-list,
.catalog-note {
  min-width: 0;
}

.catalog-list h3,
.catalog-note h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--wheat);
}

.catalog-list ul {
  margin: 0;
}

.catalog-list li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line);
}

.catalog-list li:last-child {
  border-bottom: 0;
}

.catalog-note p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
}

/* ==========================================================================
   pages · 角色索引
   ========================================================================== */

.section-head {
  margin-bottom: 4px;
}

.section-head h2 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
}

.section-head h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background-color: var(--wheat);
  border-radius: 1px;
  transform: translateY(-2px);
}

.section-head p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
  max-width: 720px;
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.data-table {
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
}

.character-table {
  min-width: 620px;
}

.character-table tbody th {
  width: 18%;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-green);
  background-color: transparent;
  white-space: normal;
}

.character-table tbody td {
  font-size: 15px;
  color: var(--ink-muted);
}

.table-note {
  margin: 14px 0 0;
  font-size: 14px;
}

.table-note a {
  border-bottom: 1px solid var(--wheat);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  margin-top: 22px;
  align-items: start;
}

.col-main,
.col-side {
  min-width: 0;
}

.relation-list {
  margin: 0;
  border-top: 2px solid var(--ink-green);
}

.relation-list li {
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line);
}

.relation-reading {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.relation-reading a {
  border-bottom: 1px solid var(--wheat);
}

.col-figure img {
  aspect-ratio: 4 / 3;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.field-col {
  min-width: 0;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--ink-green);
  border-radius: var(--radius-sm);
  padding: 20px 18px 16px;
}

.field-col h3 {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--paper-line);
}

.field-col p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.field-col ul {
  margin: 0;
}

.field-col li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.field-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  background-color: var(--wheat);
  border-radius: 1px;
}

.stage-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.stage-group {
  min-width: 0;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 20px 18px 16px;
}

.stage-group h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--rust);
}

.stage-group ul {
  margin: 0;
}

.stage-group li {
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line-soft);
}

.stage-group li:last-child {
  border-bottom: 0;
}

.related-links {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.related-links-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.related-links-item {
  font-size: 14px;
  border-bottom: 1px solid var(--wheat);
  padding-bottom: 1px;
}

/* ==========================================================================
   pages · 改编方向
   ========================================================================== */

.media-figure {
  margin-top: 22px;
}

.media-figure img {
  aspect-ratio: 21 / 9;
}

.col-main h3,
.col-side h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--wheat);
}

.col-main p,
.col-side p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-muted);
}

.limit-note {
  margin-top: 14px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--rust);
  background-color: rgba(140, 74, 47, 0.07);
  border-left: 3px solid var(--rust);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.note a {
  border-bottom: 1px solid var(--wheat);
  margin-right: 12px;
}

/* ==========================================================================
   pages · 合作流程
   ========================================================================== */

.steps-section .media-banner {
  margin-top: 22px;
}

.media-banner img {
  aspect-ratio: 24 / 9;
}

.step-list {
  margin-top: 24px;
  border-top: 2px solid var(--ink-green);
  counter-reset: flowStep;
}

.step-item {
  counter-increment: flowStep;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num action"
    "num output";
  column-gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--paper-line-soft);
}

.step-item:hover {
  background-color: rgba(216, 163, 63, 0.06);
}

.step-num {
  grid-area: num;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--wheat);
  padding-top: 2px;
}

.step-item h3 {
  grid-area: title;
  font-size: 18px;
  margin-bottom: 6px;
}

.step-action {
  grid-area: action;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.step-output {
  grid-area: output;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
  padding-left: 12px;
  border-left: 2px solid var(--paper-line);
}

.checklist-table th[scope="row"] {
  width: 30%;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-green);
  background-color: transparent;
  white-space: normal;
}

.checklist-table tbody td {
  font-size: 15px;
  color: var(--ink-muted);
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.confirm-col {
  min-width: 0;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--ink-green);
  border-radius: var(--radius-sm);
  padding: 20px 18px 16px;
}

.confirm-col h3 {
  font-size: 17px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--paper-line);
}

.confirm-col p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

.confirm-col ul {
  margin: 0;
}

.confirm-col li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.confirm-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  background-color: var(--wheat);
  border-radius: 1px;
}

.handover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 22px;
  align-items: start;
}

.handover-col {
  min-width: 0;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 20px 18px 16px;
}

.handover-col h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--wheat);
}

.handover-col ul {
  margin: 0;
}

.handover-col li {
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--paper-line-soft);
}

.handover-col li:last-child {
  border-bottom: 0;
}

/* ==========================================================================
   pages · 常见问题
   ========================================================================== */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
  padding: 20px 0 0;
}

.page-hero-text {
  min-width: 0;
}

.page-hero-media {
  min-width: 0;
}

.page-hero-media img {
  aspect-ratio: 4 / 3;
}

.faq-block {
  margin-top: 44px;
}

.faq-block h2 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 4px;
}

.faq-block h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background-color: var(--wheat);
  border-radius: 1px;
  transform: translateY(-2px);
}

.faq-item {
  margin-top: 10px;
}

.faq-item:first-of-type {
  margin-top: 0;
}

.boundary-block {
  margin-top: 44px;
}

.boundary-block h2 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 4px;
}

.boundary-block h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background-color: var(--wheat);
  border-radius: 1px;
  transform: translateY(-2px);
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 22px;
  align-items: start;
}

.boundary-col {
  min-width: 0;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 20px 18px 16px;
}

.boundary-col h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--paper-line);
}

.boundary-allow {
  border-top: 3px solid var(--ink-green);
}

.boundary-deny {
  border-top: 3px solid var(--rust);
}

.boundary-col ul {
  margin: 0;
}

.boundary-col li {
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
}

.boundary-allow li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  background-color: var(--ink-green-soft);
  border-radius: 1px;
}

.boundary-deny li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  background-color: var(--rust);
  border-radius: 1px;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.error-panel {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--paper-line);
  max-width: 720px;
}

.error-code {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--rust);
}

.error-panel h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-muted);
  max-width: 560px;
  margin-bottom: 26px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-links {
  padding: 44px 0 0;
}

.error-links h2 {
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 18px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
}

.error-link-list a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  background-color: var(--paper-light);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--wheat);
  border-radius: var(--radius-sm);
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  background-color: rgba(216, 163, 63, 0.1);
  color: var(--rust);
}

.error-note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-muted);
}

/* ==========================================================================
   responsive · 断点 1040 / 860 / 560
   ========================================================================== */

@media (max-width: 1040px) {
  :root {
    --gap-layout: 40px;
    --aside-width: 260px;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero-inner {
    gap: 36px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .story-grid,
  .skeleton-grid,
  .two-col,
  .catalog-grid {
    gap: 32px;
  }

  .timeline-item {
    grid-template-columns: 104px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .header-inner {
    height: 64px;
    padding: 0 18px;
  }

  .inner-main,
  .hero-inner,
  .story-section,
  .characters-preview,
  .adaptation-section,
  .process-section,
  .boundary-section,
  .error-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-inner {
    padding: 40px 18px 24px;
  }

  .breadcrumb {
    padding-top: 18px;
  }

  .page-title {
    font-size: 30px;
    padding-bottom: 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 34px;
    padding-bottom: 34px;
    gap: 28px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lead {
    max-width: none;
  }

  .field-index ul {
    padding: 0 18px;
  }

  .field-index li {
    flex: 1 1 33.333%;
    border-top: 1px solid rgba(232, 199, 138, 0.2);
  }

  .field-index a {
    min-height: 46px;
    font-size: 12px;
    padding: 8px 6px;
  }

  .story-grid,
  .skeleton-grid,
  .two-col,
  .catalog-grid,
  .boundary-grid,
  .handover-grid,
  .boundary-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .story-grid .story-figure,
  .skeleton-grid .archive-figure,
  .two-col .col-figure {
    order: 2;
  }

  .adaptation-columns,
  .three-col,
  .stage-groups,
  .confirm-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .process-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-strip li {
    border-left: 0;
    border-top: 1px solid var(--paper-line);
    padding: 16px 18px 18px;
  }

  .process-strip li:first-child {
    border-top: 0;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 22px;
  }

  .layout-aside,
  .page-aside {
    position: static;
    top: auto;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .page-hero-media {
    order: 2;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .timeline-time {
    display: block;
  }

  .footer-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .footer-bottom {
    margin-top: 28px;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body.site-body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tag {
    font-size: 10px;
    padding: 1px 5px;
  }

  .header-inner {
    padding: 0 14px;
    gap: 12px;
  }

  .inner-main,
  .hero-inner,
  .story-section,
  .characters-preview,
  .adaptation-section,
  .process-section,
  .boundary-section,
  .error-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-inner {
    padding: 34px 14px 22px;
  }

  .field-index ul {
    padding: 0 14px;
  }

  .field-index li {
    flex: 1 1 50%;
  }

  .page-title {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .story-section h2,
  .characters-preview h2,
  .adaptation-section h2,
  .process-section h2,
  .boundary-section h2,
  .archive-section h2,
  .section-head h2,
  .faq-block h2,
  .boundary-block h2 {
    font-size: 21px;
  }

  .overview-table,
  .index-table,
  .archive-table,
  .data-table {
    font-size: 14px;
  }

  .overview-table th,
  .overview-table td,
  .index-table th,
  .index-table td,
  .archive-table th,
  .archive-table td,
  .data-table th,
  .data-table td {
    padding: 10px 10px;
  }

  .overview-table th,
  .archive-table th[scope="row"],
  .checklist-table th[scope="row"] {
    width: 32%;
    white-space: normal;
  }

  /* 角色索引表移动端字段堆叠 */

  .table-wrap {
    overflow-x: visible;
  }

  .character-table {
    min-width: 0;
    border: 0;
    background-color: transparent;
  }

  .character-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .character-table tbody,
  .character-table tr,
  .character-table th,
  .character-table td {
    display: block;
    width: 100%;
  }

  .character-table tr {
    margin-bottom: 14px;
    background-color: var(--paper-light);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .character-table tbody th {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(216, 163, 63, 0.12);
    border-bottom: 1px solid var(--paper-line);
    font-size: 15px;
  }

  .character-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px dashed var(--paper-line-soft);
  }

  .character-table tbody td:last-child {
    border-bottom: 0;
  }

  .character-table tbody td::before {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ink-green-soft);
    margin-bottom: 2px;
  }

  .character-table tbody td:nth-child(2)::before {
    content: "身份与动机";
  }

  .character-table tbody td:nth-child(3)::before {
    content: "关键关系";
  }

  .character-table tbody td:nth-child(4)::before {
    content: "出场线索";
  }

  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px 0;
  }

  .step-num {
    font-size: 16px;
  }

  .step-item h3 {
    font-size: 16px;
  }

  .footer-index {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .error-panel {
    padding: 48px 0 36px;
  }

  .error-panel h1 {
    font-size: 26px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn-primary,
  .error-actions .btn-ghost {
    width: 100%;
  }

  details summary {
    font-size: 15px;
    padding: 12px 36px 12px 14px;
  }

  .media-banner img {
    aspect-ratio: 16 / 9;
  }

  .media-figure img {
    aspect-ratio: 16 / 9;
  }
}

/* 动效增强：不依赖脚本，初始即完整可见 */

@media (prefers-reduced-motion: no-preference) {
  .adaptation-col,
  .field-col,
  .confirm-col,
  .stage-group,
  .handover-col,
  .boundary-col,
  .error-link-list a {
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  }

  .adaptation-col:hover,
  .field-col:hover,
  .confirm-col:hover,
  .stage-group:hover,
  .handover-col:hover {
    border-color: var(--wheat);
  }

  .error-link-list a:hover {
    transform: translateX(2px);
  }
}
