/* ==========================================================================
   糖心国产传媒 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink-900: #0b0e14;
  --ink-800: #141922;
  --ink-700: #1f2733;
  --ink-600: #2b3644;
  --paper-100: #f2efe7;
  --paper-000: #ffffff;
  --amber: #e8b64c;
  --cyan: #4fd8c4;
  --text-dark: #e7eaf0;
  --text-light: #1b1e25;
  --text-muted: #8f9aab;
  --warn: #c8553d;
  --radius: 6px;
  --radius-sm: 3px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --header-h: 68px;
  --gutter: 32px;
  --wrap: 1080px;
  --flow: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--amber);
}

p,
ul,
ol,
dl,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 60;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink-900);
  border-bottom: 1px solid var(--ink-700);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  min-height: 44px;
}

.brand:hover {
  color: var(--text-dark);
}

.brand-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--ink-600);
  flex-shrink: 0;
}

.brand-tagline {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.nav-link.is-current {
  color: var(--amber);
  border-bottom-color: var(--amber);
  font-weight: 600;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 14px;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--amber);
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.notice-pill:hover {
  color: var(--ink-900);
  background: #f0c766;
  transform: translateY(-1px);
}

.notice-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  margin-left: auto;
  border: 1px solid var(--ink-600);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  display: block;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb-sep {
  color: var(--ink-600);
}

.breadcrumb-current {
  color: var(--text-dark);
}

.breadcrumb-bar {
  background: var(--ink-800);
  border-bottom: 1px solid var(--ink-700);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: var(--text-muted);
}

.breadcrumb-home:hover {
  color: var(--amber);
}

.breadcrumb-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.page-header {
  padding: 8px 0 20px;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-dark);
}

.site-footer {
  background: var(--ink-800);
  border-top: 1px solid var(--ink-700);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.1fr 0.85fr;
  gap: 40px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-name {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-slogan {
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.7;
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-boundary-list {
  display: grid;
  gap: 10px;
}

.footer-boundary-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-boundary-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-600);
}

.locale-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.7;
}

.locale-current {
  color: var(--amber);
  font-weight: 600;
}

.locale-current::after {
  content: "当前";
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  color: var(--ink-900);
  background: var(--amber);
  border-radius: var(--radius-sm);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--ink-700);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   components · 通用元件
   -------------------------------------------------------------------------- */

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  position: relative;
  padding-left: 14px;
  font-size: 26px;
  line-height: 1.35;
}

.section-head h2::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 2px;
  background: var(--amber);
}

.section-desc {
  margin-top: 10px;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 15px;
}

.section-title {
  position: relative;
  padding-left: 14px;
  font-size: 26px;
  line-height: 1.35;
}

.section-title::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 2px;
  background: var(--amber);
}

.section-lead,
.section-intro {
  margin-top: 10px;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 216, 196, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link::after {
  content: "→";
  font-size: 13px;
}

.text-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.action-btn,
.cta-button,
.entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--amber);
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.action-btn:hover,
.cta-button:hover,
.entry-button:hover {
  color: var(--ink-900);
  background: #f0c766;
  transform: translateY(-1px);
}

.action-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 14px 18px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.action-link:hover {
  color: var(--text-dark);
  border-color: var(--amber);
  background: var(--ink-700);
}

.action-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--amber);
}

.action-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.action-link-ghost {
  background: transparent;
}

.tag,
.tag-pill,
.tag-capsule,
.pill,
.meta-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1.6;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.tag-dark,
.tag-pill-dark,
.tag-capsule-dark,
.pill-dark,
.meta-tag-dark {
  color: var(--ink-900);
  background: var(--amber);
  font-weight: 600;
}

.tag-outline,
.tag-pill-light,
.tag-capsule-light,
.pill-outline,
.meta-tag-accent {
  color: var(--cyan);
  background: rgba(79, 216, 196, 0.1);
  border: 1px solid rgba(79, 216, 196, 0.35);
}

.tag-pill-cyan {
  color: var(--ink-900);
  background: var(--cyan);
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conclusion-block {
  padding: 16px 18px;
  background: var(--paper-100);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
}

.conclusion-line {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.75;
}

.counter-line {
  margin-top: 8px;
  color: var(--warn);
  font-size: 14px;
  line-height: 1.7;
}

.conclusion-warn {
  border-left-color: var(--warn);
}

.callout {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--warn);
}

.callout-warn {
  border-left-color: var(--warn);
}

.callout-title,
.callout-lead {
  font-size: 14px;
  font-weight: 600;
  color: var(--warn);
  line-height: 1.7;
}

.callout-fix,
.callout p + p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.mono-index,
.stage-num,
.workflow-num,
.step-index,
.dimension-num,
.chapter-index,
.attr-num,
.cell-num,
.cell-index,
.mono-value,
.stage-index {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.data-table,
.attr-table,
.entry-table,
.mapping-table,
.materials-table,
.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.data-table caption,
.attr-table caption,
.table-caption,
.attr-table-caption {
  caption-side: top;
  padding-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.data-table thead th,
.attr-table thead th,
.entry-table thead th {
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--ink-700);
  border-bottom: 1px solid var(--ink-600);
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td,
.attr-table tbody th,
.attr-table tbody td,
.entry-table tbody th,
.entry-table tbody td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-700);
}

.data-table tbody tr:nth-child(even),
.attr-table tbody tr:nth-child(even),
.entry-table tbody tr:nth-child(even) {
  background: var(--ink-800);
}

.data-table tbody tr:hover,
.attr-table tbody tr:hover,
.entry-table tbody tr:hover {
  background: var(--ink-700);
}

.attr-table tbody th {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.table-wrap,
.table-scroll,
.entry-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}

.media-figure,
.module-figure,
.roadmap-figure,
.genre-visual,
.hero-visual,
.faq-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
}

.media-figure img,
.module-figure img,
.roadmap-figure img,
.genre-visual img,
.hero-visual img,
.faq-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-figure figcaption,
.module-figure figcaption,
.roadmap-figure figcaption,
.genre-visual figcaption,
.hero-visual figcaption,
.faq-media-caption,
.figure-caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid var(--ink-700);
}

.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.next-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.next-link:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: var(--ink-700);
}

.next-link-item a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 216, 196, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.next-link-item a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.next-link-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-700);
}

.related-links-label {
  font-size: 13px;
  color: var(--text-muted);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.section-note,
.section-footnote {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

.hero-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px var(--gutter) 56px;
}

.hero-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-intro h1 {
  font-size: 40px;
  line-height: 1.25;
  color: var(--text-dark);
}

.hero-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.hero-lead-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.hero-entries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.entry-btn:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: var(--ink-700);
}

.hero-visual {
  margin-top: 32px;
}

.hero-visual img {
  aspect-ratio: 16 / 8;
}

.genre-summary {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--ink-700);
}

.genre-list {
  display: grid;
  gap: 2px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}

.genre-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--ink-800);
  transition: background 0.2s ease;
}

.genre-row:hover {
  background: var(--ink-700);
}

.genre-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--amber);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.genre-tag:hover {
  color: var(--ink-900);
  background: #f0c766;
}

.genre-form {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.genre-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.genre-link:hover {
  color: var(--amber);
}

.special-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  background: var(--ink-800);
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}

.special-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-700);
}

.special-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.special-body {
  min-width: 0;
}

.special-body h2 {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.35;
}

.special-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.special-body .conclusion-block {
  margin-top: 18px;
}

.special-body .action-btn {
  margin-top: 20px;
}

.roadmap-preview {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stage-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.stage-block:hover {
  border-color: var(--amber);
  background: var(--ink-700);
}

.stage-block .stage-num {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.stage-block .stage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.stage-block .stage-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.stage-links {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-700);
}

.stage-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13px;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.stage-links a:hover {
  color: var(--amber);
}

.workflow-preview {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--ink-700);
}

.workflow-list {
  display: grid;
  gap: 2px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}

.workflow-row {
  display: grid;
  grid-template-columns: 56px 132px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 13px 18px;
  background: var(--ink-800);
  transition: background 0.2s ease;
}

.workflow-row:hover {
  background: var(--ink-700);
}

.workflow-row .workflow-num {
  font-size: 14px;
  font-weight: 600;
}

.workflow-row .workflow-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.workflow-row .workflow-out {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.workflow-preview .text-link {
  margin-top: 20px;
}

.creator-index {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  background: var(--ink-800);
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.index-card {
  min-width: 0;
  padding: 20px;
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.index-card:hover {
  border-color: var(--amber);
}

.index-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.index-def {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
}

.index-use {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.creator-index .text-link {
  margin-top: 20px;
}

.boundary-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.boundary-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}

.boundary-wrong {
  font-size: 14px;
  line-height: 1.7;
  color: var(--warn);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.boundary-right {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
}

.boundary-section .text-link {
  margin-top: 20px;
}

.contribute-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--gutter);
  background: var(--ink-800);
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}

.contribute-text {
  min-width: 0;
}

.contribute-text h2 {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-dark);
}

.contribute-text p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.contribute-bar .action-btn {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   pages · 内页通用标题区
   -------------------------------------------------------------------------- */

.page-title-area,
.page-title-section,
.page-title-block,
.page-hero,
.page-head {
  background: var(--ink-800);
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}

.page-title-inner,
.page-hero-inner,
.page-head-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--gutter) 28px;
}

.page-title-text,
.page-hero-text,
.page-head-main {
  min-width: 0;
  flex: 1 1 auto;
}

.page-title-summary,
.page-hero-summary,
.page-hero-lead,
.page-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-title-tags,
.page-hero-tags,
.page-head-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   pages · 题材图谱
   -------------------------------------------------------------------------- */

.genre-visual {
  max-width: var(--wrap);
  margin: 32px auto 0;
  margin-left: auto;
  margin-right: auto;
}

.inner-main > .genre-visual {
  margin-top: 28px;
}

.genre-visual img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--ink-700);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.section-table .section-inner {
  max-width: var(--wrap);
}

.section-genres .section-inner,
.section-compare .section-inner,
.section-next .section-inner {
  max-width: var(--flow);
}

.section-table .attr-table {
  margin-top: 22px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}

.attr-table thead th:first-child,
.attr-table tbody th:first-child {
  width: 120px;
}

.genre-group {
  padding: 26px 0;
  border-bottom: 1px solid var(--ink-700);
}

.genre-group:first-of-type {
  padding-top: 22px;
}

.genre-group:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.genre-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.genre-group-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.genre-group-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.genre-group-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.genre-group-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.genre-group-entry {
  margin-top: 14px;
}

.compare-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-700);
}

.compare-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.compare-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.compare-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.compare-block .conclusion-block {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   pages · 专题企划
   -------------------------------------------------------------------------- */

.section-wide {
  padding: 44px 0;
  border-bottom: 1px solid var(--ink-700);
}

.section-wide:last-of-type {
  border-bottom: 0;
}

.special-overview.section-wide > .section-head,
.special-detail.section-wide > .section-head {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.special-overview-list {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 2px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}

.special-overview-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.6fr) auto 64px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--ink-800);
  transition: background 0.2s ease;
}

.special-overview-row:hover {
  background: var(--ink-700);
}

.special-overview-row .mono-index {
  font-size: 14px;
  font-weight: 600;
}

.overview-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.overview-direction {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.special-overview-row > a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.special-overview-row > a:hover {
  color: var(--amber);
}

.special-block {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-700);
}

.special-block:last-of-type {
  border-bottom: 0;
}

.special-block-cover {
  min-width: 0;
}

.special-block-cover .media-figure {
  margin: 0;
}

.special-block-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.special-block-body {
  min-width: 0;
}

.special-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.special-block-head .mono-index {
  font-size: 14px;
  font-weight: 600;
}

.special-block-head h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.special-block-head .tag-row {
  margin-left: auto;
}

.special-goal {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.chapter-list {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}

.chapter-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 12px 16px;
  background: var(--ink-800);
  transition: background 0.2s ease;
}

.chapter-item:hover {
  background: var(--ink-700);
}

.chapter-index {
  font-size: 13px;
  font-weight: 600;
}

.chapter-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.chapter-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.chapter-tip {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cyan);
}

.special-cross .table-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.special-cross .section-head {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   pages · 观看路径
   -------------------------------------------------------------------------- */

.roadmap-figure {
  max-width: var(--wrap);
  margin: 28px auto 0;
}

.roadmap-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.roadmap-stages {
  border-top: 0;
}

.roadmap-stages .section-head {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.roadmap-stages .stage-grid {
  max-width: var(--wrap);
  margin: 0 auto;
}

.roadmap-stages .stage-block {
  padding: 24px 22px;
}

.roadmap-stages .stage-block .stage-index {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.roadmap-stages .stage-block .stage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.roadmap-stages .stage-block .stage-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.stage-entry-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-700);
}

.stage-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stage-entry a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.stage-entry a:hover {
  color: var(--amber);
}

.stage-entry-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}

.entry-table-section .section-head,
.error-order-section .section-head {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.entry-table-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--ink-800);
}

.entry-table thead th:first-child,
.entry-table tbody th:first-child {
  width: 150px;
}

.entry-table tbody th {
  font-weight: 600;
  color: var(--text-dark);
}

.error-list {
  display: grid;
  gap: 14px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.error-item {
  padding: 18px 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
}

.error-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.error-do {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.error-result {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--warn);
}

.error-fix {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
}

.error-fix a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 216, 196, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.error-fix a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.next-step-section {
  border-bottom: 0;
}

.next-step-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 24px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}

.next-step-text {
  min-width: 0;
}

.next-step-text h2 {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-dark);
}

.next-step-text p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.next-step-inner .cta-button {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   pages · 创作者名册
   -------------------------------------------------------------------------- */

.content-shell {
  max-width: var(--wrap);
  margin: 0 auto;
}

.content-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--ink-700);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.dimension-card {
  min-width: 0;
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.dimension-card:hover {
  border-color: var(--amber);
}

.dimension-num {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.dimension-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.dimension-def {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
}

.dimension-sort {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.dimension-sort a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(79, 216, 196, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dimension-sort a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.entry-fields {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
}

#entry-fields .table-wrap {
  margin-top: 22px;
  background: var(--ink-800);
}

.field-table thead th {
  white-space: nowrap;
}

.orientation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.orientation-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}

.orientation-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
}

.orientation-item .tag-pill {
  flex-shrink: 0;
}

#orientation-tags .callout {
  margin-top: 20px;
}

.entry-card {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
  padding: 22px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}

.entry-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ink-700);
}

.entry-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.entry-figure figcaption {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid var(--ink-700);
}

.entry-body {
  min-width: 0;
}

.entry-fields dt {
  font-size: 13px;
  color: var(--text-muted);
}

.entry-fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
  word-break: break-word;
}

.entry-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-700);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

#next-steps .next-links {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   pages · 成片之前
   -------------------------------------------------------------------------- */

.module {
  padding: 44px 0;
  border-bottom: 1px solid var(--ink-700);
}

.module:last-of-type {
  border-bottom: 0;
}

.module-inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.module-head {
  margin-bottom: 24px;
}

.flow-overview-list {
  display: grid;
  gap: 2px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-overview-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  background: var(--ink-800);
  transition: background 0.2s ease;
}

.flow-overview-item:hover {
  background: var(--ink-700);
}

.flow-overview-item .mono-index {
  font-size: 14px;
  font-weight: 600;
}

.flow-overview-body {
  min-width: 0;
}

.flow-overview-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.flow-overview-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.flow-overview-duty {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.module-overview .module-figure {
  max-width: var(--wrap);
  margin: 28px auto 0;
}

.module-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.step-block {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-700);
}

.step-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-index {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  padding-top: 4px;
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.step-problem {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.step-output {
  margin-top: 16px;
}

.step-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

.step-output-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.step-output-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.step-output-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.step-body .callout {
  margin-top: 16px;
}

.module-mapping .table-wrap {
  margin-top: 22px;
  background: var(--ink-800);
}

.mapping-table thead th {
  white-space: nowrap;
}

.module-tail {
  padding: 40px 0 0;
}

.module-cta {
  padding: 44px 0 0;
  border-bottom: 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 24px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}

.cta-text {
  min-width: 0;
}

.cta-text h2 {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-dark);
}

.cta-text p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.cta-inner .cta-button {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   pages · 投稿说明
   -------------------------------------------------------------------------- */

.content-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.module-materials .module-figure {
  margin: 0 0 24px;
}

.module-materials .module-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.table-scroll {
  margin-top: 4px;
  background: var(--ink-800);
}

.materials-table tbody th {
  width: 180px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.criteria-card {
  min-width: 0;
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.criteria-card:hover {
  border-color: var(--amber);
}

.criteria-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.criteria-question {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dark);
}

.criteria-standard {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--ink-700);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ownership-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.ownership-card:hover {
  border-color: var(--amber);
}

.ownership-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.ownership-fit {
  margin-top: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.ownership-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.reject-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.reject-item {
  min-width: 0;
  padding: 18px 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
}

.reject-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.reject-sign {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--warn);
}

.reject-fix {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
}

.next-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   pages · 内容问答
   -------------------------------------------------------------------------- */

.faq-container {
  max-width: var(--flow);
  margin: 0 auto;
  padding: 32px 0 8px;
}

.faq-media {
  margin: 0 0 32px;
}

.faq-media-img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.faq-group {
  padding: 26px 0;
  border-bottom: 1px solid var(--ink-700);
}

.faq-group:first-of-type {
  padding-top: 0;
}

.faq-group .section-title {
  font-size: 22px;
}

.faq-group .section-lead {
  margin-bottom: 18px;
}

.faq-item {
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  background: var(--ink-800);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--amber);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  background: var(--ink-700);
}

.faq-question {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-dark);
}

.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--amber);
  transition: transform 0.2s ease;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 2px 18px 16px;
  border-top: 1px solid var(--ink-700);
}

.faq-answer p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.faq-link-line {
  margin-top: 10px;
}

.faq-next {
  padding: 30px 0 12px;
}

.faq-next-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.faq-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.faq-next-actions .action-link {
  flex: 1 1 220px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  display: block;
}

.error-container {
  max-width: var(--flow);
  margin: 0 auto;
  padding: 64px var(--gutter) 72px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.error-title {
  margin-top: 16px;
  font-size: 30px;
  line-height: 1.3;
  color: var(--text-dark);
}

.error-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.entry-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.error-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-700);
}

.error-section-title {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-dark);
}

.error-section > p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.error-list {
  margin-top: 16px;
}

.error-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-700);
}

.error-list li:last-child {
  border-bottom: 0;
}

.error-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.error-list a:hover {
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  :root {
    --gutter: 24px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-tagline {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .nav-link {
    padding: 0 8px;
    font-size: 13px;
  }

  .page-title {
    font-size: 34px;
  }

  .hero-intro h1 {
    font-size: 34px;
  }

  .special-feature {
    gap: 28px;
  }

  .stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .special-block {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 24px;
  }

  .entry-card {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 22px;
  }

  .special-overview-row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: 12px;
  }

  .special-overview-row .tag-capsule {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    margin-left: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--ink-800);
    border-bottom: 1px solid var(--ink-700);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 0 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--ink-700);
  }

  .nav-link.is-current,
  .nav-link:hover {
    border-bottom-color: var(--amber);
  }

  .notice-pill {
    margin-left: 0;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .contribute-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .special-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .dimension-grid,
  .criteria-grid,
  .ownership-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .orientation-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .reject-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-step-inner,
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .chapter-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .chapter-desc,
  .chapter-tip {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
    --gutter: 18px;
  }

  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand-name {
    font-size: 16px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .page-header {
    padding: 4px 0 14px;
  }

  .page-title {
    font-size: 26px;
    line-height: 1.35;
  }

  .section-title,
  .section-head h2 {
    font-size: 20px;
  }

  .hero-section {
    padding: 28px var(--gutter) 40px;
  }

  .hero-intro {
    text-align: left;
  }

  .hero-intro h1 {
    font-size: 26px;
    line-height: 1.35;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .genre-summary,
  .roadmap-preview,
  .workflow-preview,
  .creator-index,
  .boundary-section {
    padding: 40px var(--gutter);
  }

  .special-feature {
    padding: 40px var(--gutter);
  }

  .genre-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 14px;
  }

  .genre-tag {
    justify-self: start;
  }

  .genre-form {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 13px;
  }

  .genre-link {
    grid-row: 1;
  }

  .workflow-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 12px 14px;
  }

  .workflow-row .workflow-out {
    grid-column: 2;
    font-size: 13px;
  }

  .page-title-inner,
  .page-hero-inner,
  .page-head-inner {
    flex-direction: column;
    gap: 14px;
    padding: 18px var(--gutter) 20px;
  }

  .page-title-tags,
  .page-hero-tags,
  .page-head-tags {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .section {
    padding: 32px 0;
  }

  .section-wide,
  .module {
    padding: 32px 0;
  }

  .section-table .attr-table {
    display: block;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .attr-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .attr-table tbody {
    display: grid;
    gap: 12px;
  }

  .attr-table tbody tr {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 2px 12px;
    padding: 14px;
    background: var(--ink-800);
    border: 1px solid var(--ink-700);
    border-radius: var(--radius);
  }

  .attr-table tbody tr:nth-child(even) {
    background: var(--ink-800);
  }

  .attr-table tbody tr:hover {
    background: var(--ink-700);
  }

  .attr-table tbody th,
  .attr-table tbody td {
    padding: 4px 0;
    border-bottom: 0;
    white-space: normal;
  }

  .attr-table tbody th {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .attr-table tbody th::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 6px;
    background: var(--amber);
  }

  .attr-table tbody td {
    grid-column: 2;
    font-size: 13px;
    color: var(--text-muted);
  }

  .attr-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    color: var(--cyan);
  }

  .special-overview-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 12px 14px;
  }

  .overview-direction {
    grid-column: 2 / -1;
    font-size: 13px;
  }

  .special-overview-row > a {
    grid-row: 1;
    grid-column: 3;
  }

  .special-block {
    padding: 24px 0;
  }

  .special-block-head .tag-row {
    margin-left: 0;
    width: 100%;
  }

  .chapter-item {
    padding: 12px 14px;
  }

  .entry-table-wrap {
    border: 0;
    overflow: visible;
  }

  .entry-table,
  .entry-table thead,
  .entry-table tbody,
  .entry-table tr,
  .entry-table th,
  .entry-table td {
    display: block;
    width: 100%;
  }

  .entry-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .entry-table tbody {
    display: grid;
    gap: 12px;
  }

  .entry-table tbody tr {
    padding: 14px;
    background: var(--ink-800);
    border: 1px solid var(--ink-700);
    border-radius: var(--radius);
  }

  .entry-table tbody tr:nth-child(even) {
    background: var(--ink-800);
  }

  .entry-table tbody th {
    padding: 0 0 8px;
    border-bottom: 1px solid var(--ink-700);
    font-size: 15px;
  }

  .entry-table tbody td {
    padding: 6px 0;
    border-bottom: 0;
    font-size: 13px;
    color: var(--text-muted);
  }

  .entry-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    color: var(--cyan);
  }

  .table-wrap,
  .table-scroll {
    border: 0;
    overflow: visible;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .data-table tbody {
    display: grid;
    gap: 12px;
  }

  .data-table tbody tr {
    padding: 14px;
    background: var(--ink-800);
    border: 1px solid var(--ink-700);
    border-radius: var(--radius);
  }

  .data-table tbody tr:nth-child(even) {
    background: var(--ink-800);
  }

  .data-table tbody th {
    padding: 0 0 8px;
    border-bottom: 1px solid var(--ink-700);
    font-size: 15px;
    white-space: normal;
  }

  .data-table tbody td {
    padding: 6px 0;
    border-bottom: 0;
    font-size: 13px;
    color: var(--text-muted);
  }

  .data-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    color: var(--cyan);
  }

  .materials-table tbody th {
    width: auto;
  }

  .step-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 24px 0;
  }

  .step-index {
    padding-top: 0;
    font-size: 22px;
  }

  .flow-overview-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .entry-fields {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 6px 12px;
  }

  .entry-card {
    padding: 16px;
  }

  .faq-container {
    padding-top: 24px;
  }

  .faq-media {
    margin-bottom: 24px;
  }

  .faq-group .section-title {
    font-size: 19px;
  }

  .faq-summary {
    padding: 12px 14px;
  }

  .faq-question {
    font-size: 14px;
  }

  .faq-answer {
    padding: 2px 14px 14px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px var(--gutter) 28px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 16px var(--gutter) 24px;
  }

  .error-container {
    padding: 44px var(--gutter) 56px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-title {
    font-size: 24px;
  }

  .next-step-inner,
  .cta-inner {
    padding: 22px 18px;
  }
}

@media (max-width: 520px) {
  .hero-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .entry-btn {
    min-height: 48px;
    padding: 0 8px;
    font-size: 13px;
  }

  .notice-pill {
    display: none;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-intro h1 {
    font-size: 23px;
  }

  .special-block-head h3 {
    font-size: 18px;
  }

  .chapter-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .chapter-index {
    display: inline-block;
    margin-bottom: 2px;
  }

  .chapter-desc,
  .chapter-tip {
    grid-column: 1;
  }

  .chapter-tip {
    color: var(--text-muted);
  }

  .special-overview-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .special-overview-row > a {
    grid-column: 2;
    grid-row: 3;
    justify-content: flex-start;
  }

  .overview-direction {
    grid-column: 2;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-next-actions {
    flex-direction: column;
  }

  .faq-next-actions .action-link {
    flex: 1 1 auto;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .entry-button,
  .error-actions .entry-link {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
