/* ==========================================================================
   神马光棍影院 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、基础排版
   -------------------------------------------------------------------------- */
:root {
  --bg: #f7f6f3;
  --bg-soft: #efece6;
  --ink: #1f1e1c;
  --ink-soft: #6b6862;
  --line: #e3e0da;
  --accent: #b4552f;
  --accent-soft: #f0e2da;
  --radius: 6px;
  --shell: 1080px;
  --shell-wide: 1180px;
  --gap: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: normal;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

time {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   layout：全站骨架 —— 页头、导航、主容器、页脚
   -------------------------------------------------------------------------- */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 246, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  color: var(--ink);
}

.brand-mark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  color: var(--accent);
}

/* 主导航 */
.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius);
}

.nav-list > li > a:hover,
.nav-list > li > a:focus-visible {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav-list > li > a.is-current {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
}

/* 汉堡按钮：桌面隐藏 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* 主内容容器 */
.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.home-main {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.inner-main {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 26px 24px 72px;
}

/* 内页两栏：默认主内容在前，.sidebar-left 时侧栏在前 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 44px;
  align-items: start;
}

.page-layout.sidebar-left,
.layout-shell.sidebar-left {
  grid-template-columns: 268px minmax(0, 1fr);
}

.page-content,
.page-layout > section {
  min-width: 0;
}

/* 页脚 */
.site-footer {
  margin-top: auto;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 44px 24px 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.footer-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 30ch;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-copy {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 18px 24px 26px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   components：通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #9c4626;
  border-color: #9c4626;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  padding: 4px 0;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 内页页面标题区 */
.page-header {
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.page-description {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-description a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 侧栏摘要 */
.page-aside {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 22px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.aside-block + .aside-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.aside-list li + li {
  margin-top: 6px;
}

.aside-list a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.aside-list a:hover,
.aside-list a:focus-visible {
  color: var(--accent);
}

.aside-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-note a {
  color: var(--accent);
}

/* 内页区块 */
.content-section + .content-section {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.section-intro,
.section-lead {
  margin-top: 12px;
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-more {
  margin-top: 20px;
  font-size: 15px;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
}

.section-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.section-note a {
  color: var(--accent);
}

.section-foot {
  margin-top: 22px;
  font-size: 15px;
}

.section-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 18px;
  color: var(--accent);
  font-weight: 600;
}

/* 表格 */
.table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.data-table,
.field-table,
.compare-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
  text-align: left;
}

.data-table caption,
.field-table caption,
.compare-table caption,
.table-caption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td,
.field-table th,
.field-table td,
.compare-table th,
.compare-table td {
  padding: 13px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.data-table thead th,
.field-table thead th,
.compare-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}

.field-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: #fbfaf8;
  white-space: nowrap;
}

.data-table tbody td,
.field-table tbody td,
.compare-table tbody td {
  color: var(--ink-soft);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 图片容器 */
.hero-figure,
.update-figure,
.channel-figure,
.collection-figure,
.field-figure,
.figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.hero-figure img,
.update-figure img,
.channel-figure img,
.collection-figure img,
.field-figure img,
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure figcaption,
.update-figure figcaption,
.channel-figure figcaption,
.collection-figure figcaption,
.field-figure figcaption,
.figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* 编号步骤：首页查阅路径 */
.step-list {
  margin-top: 22px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.step-no {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}

.step-body {
  min-width: 0;
}

.step-name {
  font-size: 18px;
  font-weight: 600;
}

.step-body p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 编号步骤：边界页反馈准备 */
.section-prepare .step-list {
  margin-top: 22px;
  display: grid;
  gap: 0;
}

.section-prepare .step-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.section-prepare .step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.section-prepare .step-index {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}

.section-prepare .step-title {
  font-size: 18px;
  font-weight: 600;
}

.section-prepare .step-desc {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* FAQ 折叠条目 */
.faq-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 18px 44px 18px 0;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 20px;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 术语提示气泡 */
.term-list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.term-name {
  display: inline-block;
  padding: 2px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  cursor: help;
}

.term-desc {
  margin-top: 8px;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 取值说明网格 */
.value-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.value-item {
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-title {
  font-size: 17px;
  font-weight: 600;
}

.value-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 缺失字段阅读提示 */
.missing-list {
  margin-top: 22px;
  display: grid;
  gap: 0;
}

.missing-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.missing-item:last-child {
  border-bottom: 1px solid var(--line);
}

.missing-title {
  font-size: 17px;
  font-weight: 600;
}

.missing-text {
  margin-top: 6px;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 收录 / 排除 两列 */
.scope-columns {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scope-col {
  min-width: 0;
  padding: 20px 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-heading {
  font-size: 17px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scope-col-out .scope-heading {
  color: var(--ink-soft);
}

.scope-col .scope-list {
  margin-top: 4px;
}

.scope-col .scope-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.scope-col .scope-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.scope-col-out .scope-list li::before {
  background: var(--ink-soft);
}

/* 滚动出现动画（增强，不影响初始可见） */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-up 0.5s ease-out both;
  }

  @keyframes reveal-up {
    from {
      transform: translateY(12px);
    }
    to {
      transform: translateY(0);
    }
  }
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero-col {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.hero-text h1 {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-lead {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-fact {
  min-width: 0;
}

.hero-fact dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hero-fact dd {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-visual {
  min-width: 0;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

/* 首页区块通用 */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  max-width: 66ch;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 600;
}

.section-head .section-note {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 题材频道方向总览 */
.channel-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.channel-cell {
  min-width: 0;
  font-size: 15px;
  line-height: 1.75;
}

.channel-cell.channel-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.channel-cell.channel-orient {
  color: var(--ink-soft);
}

.channel-cell.channel-audience {
  color: var(--ink-soft);
}

.channel-row:hover .channel-cell.channel-name {
  color: var(--accent);
}

/* 本期专题片单速览 */
.collection-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.collection-card:hover,
.collection-card:focus-within {
  border-color: var(--accent);
}

.collection-name {
  font-size: 19px;
  font-weight: 600;
}

.collection-scope {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.collection-channel {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.collection-channel a {
  color: var(--accent);
}

.collection-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

/* 条目字段摘要表 */
.field-summary .table-wrap {
  margin-top: 30px;
}

.field-summary .section-more a + a {
  margin-left: 22px;
}

/* 查阅路径 */
.path-overview .step-list {
  margin-top: 30px;
}

/* 站内更新记录 */
.update-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.update-list {
  border-top: 1px solid var(--line);
}

.update-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.update-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.update-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.update-side {
  min-width: 0;
}

.update-figure img {
  aspect-ratio: 16 / 10;
}

.update-note {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.update-side .btn {
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   pages：题材频道页
   -------------------------------------------------------------------------- */
.channel-directions .channel-row {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.channel-directions .channel-row:last-child {
  border-bottom: 1px solid var(--line);
}

.channel-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.channel-directions .channel-name {
  font-size: 19px;
  font-weight: 600;
}

.channel-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

.channel-row-body {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 8px 28px;
}

.channel-orientation {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.channel-fit {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.channel-audience .channel-figure {
  margin-top: 26px;
}

.channel-audience .channel-figure img {
  aspect-ratio: 16 / 9;
}

.audience-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.audience-col {
  min-width: 0;
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.audience-heading {
  font-size: 17px;
  font-weight: 600;
}

.audience-people {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.audience-tip {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.channel-compare .table-wrap {
  margin-top: 26px;
}

.channel-next .next-steps {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.channel-next .next-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.channel-next .step-index {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}

.channel-next .next-step a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages：专题片单页
   -------------------------------------------------------------------------- */
.collection-item {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.collection-item:last-child {
  border-bottom: 1px solid var(--line);
}

.collection-item .collection-figure img {
  aspect-ratio: 3 / 2;
}

.collection-body {
  min-width: 0;
}

.collection-body h3 {
  font-size: 20px;
  font-weight: 600;
}

.collection-body p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.scope-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.scope-item {
  min-width: 0;
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-item h3 {
  font-size: 17px;
  font-weight: 600;
}

.scope-item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.collection-map .field-table {
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   pages：条目字段说明页
   -------------------------------------------------------------------------- */
.field-figure {
  margin-top: 24px;
}

.field-figure img {
  aspect-ratio: 16 / 9;
}

.page-fields .content-section .field-table {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   pages：收录边界与反馈页
   -------------------------------------------------------------------------- */
.section-scope .figure-scope {
  margin-top: 26px;
}

.section-scope .figure-scope img {
  aspect-ratio: 16 / 9;
}

.section-notice .faq-list {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.error-panel {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.error-panel h1 {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 600;
}

.error-text {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.error-actions a:hover,
.error-actions a:focus-visible {
  border-color: var(--accent);
}

.error-hints {
  margin-top: 40px;
}

.error-hints h2 {
  font-size: 22px;
  font-weight: 600;
}

.error-hint-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.error-hint-list li {
  border-bottom: 1px solid var(--line);
}

.error-hint-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 15px;
  color: var(--ink-soft);
}

.error-hint-list a:hover,
.error-hint-list a:focus-visible {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   responsive：1024 / 768 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .header-inner,
  .footer-inner,
  .home-main,
  .inner-main,
  .footer-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-layout,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .page-aside {
    position: static;
    top: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 48px 0 44px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-lead {
    max-width: 60ch;
  }

  .update-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15.5px;
  }

  /* 移动导航：只收起列表本身 */
  .nav-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 16px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(31, 30, 28, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li > a {
    width: 100%;
    padding: 0 14px;
    justify-content: flex-start;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title,
  .section-head h2,
  .error-hints h2 {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 2px;
  }

  .collection-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .channel-row-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .collection-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .step-item {
    gap: 14px;
  }

  .data-table,
  .field-table,
  .compare-table {
    min-width: 520px;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .footer-inner,
  .home-main,
  .inner-main,
  .footer-copy,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 36px 0 34px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-title {
    font-size: 26px;
  }

  .section {
    padding: 40px 0;
  }

  .content-section + .content-section {
    margin-top: 38px;
    padding-top: 32px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 34px;
  }

  .error-panel h1 {
    font-size: 26px;
  }

  .audience-grid,
  .scope-list,
  .value-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
