/* ==========================================================================
   樱桃视频 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base —— 变量、重置、排版基线
   -------------------------------------------------------------------------- */

:root {
  --ink: #1b1a18;
  --paper: #f7f4ed;
  --cherry: #8e2434;
  --cherry-deep: #651725;
  --sage: #596b5f;
  --line: #d9d1c3;
  --stone: #6d655b;
  --white: #ffffff;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 1160px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.32;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--cherry);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--cherry-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.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;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background-color: var(--ink);
  color: var(--paper);
  font-size: 14px;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   2. layout —— 页头、主导航、主容器、面包屑、页标题区、页脚
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--shell);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  padding: 6px 0;
}

.brand:hover {
  color: var(--cherry);
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--cherry);
}

.nav-link.is-current {
  color: var(--cherry);
  font-weight: 700;
  border-bottom-color: var(--cherry);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
}

/* 主容器 */
.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.inner-main {
  padding-top: 28px;
  padding-bottom: 72px;
}

.home-main {
  padding-bottom: 80px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--stone);
}

.breadcrumb a:hover {
  color: var(--cherry);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.breadcrumb-item {
  font-size: 13px;
  color: var(--stone);
}

.breadcrumb-item a {
  color: var(--stone);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

/* 页标题区（全站统一） */
.page-header {
  margin-bottom: 22px;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: normal;
  margin: 0;
}

.page-lead,
.page-title-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--stone);
  max-width: 62ch;
  margin: 14px 0 0;
}

.title-rule {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: var(--paper);
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.8;
  color: #cfc8bc;
  margin-bottom: 10px;
}

.footer-brand-note {
  font-size: 13px;
  line-height: 1.7;
  color: #9d968a;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  color: #cfc8bc;
  padding: 2px 0;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #363430;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
}

.footer-bottom p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #9d968a;
}

/* --------------------------------------------------------------------------
   3. components —— 按钮、筛选、列表、卡片、表格、FAQ、侧栏
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--cherry);
  color: var(--white);
  border-color: var(--cherry);
}

.btn-primary:hover {
  background-color: var(--cherry-deep);
  border-color: var(--cherry-deep);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage);
}

/* 区块头部 */
.section-head {
  margin-bottom: 26px;
}

.section-head h2,
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.34;
  color: var(--ink);
  margin: 0;
}

.section-desc,
.section-intro,
.section-lead,
.section-note {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--stone);
  margin-top: 10px;
  max-width: 62ch;
}

/* 筛选按钮组 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.filter-btn.is-active {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* 结果数量 */
.result-count {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.result-count-text {
  margin: 0;
}

.result-count-num {
  color: var(--cherry);
  font-weight: 700;
}

/* 频道列表与条目 */
.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.channel-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "index figure"
    "index body";
  gap: 8px 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.channel-index {
  grid-area: index;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.6;
  margin: 0;
}

.channel-figure {
  grid-area: figure;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
}

.channel-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.channel-body {
  grid-area: body;
  min-width: 0;
}

.channel-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 6px;
}

.channel-summary {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--stone);
  margin: 0 0 6px;
}

.channel-fit,
.channel-scene {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--sage);
  margin: 0 0 8px;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cherry);
  padding: 4px 0;
}

.channel-link:hover {
  color: var(--cherry-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 表格（频道专题对应、规则、归档） */
.map-table,
.rule-table,
.archive-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.65;
  background-color: var(--white);
  border: 1px solid var(--line);
}

.map-table th,
.map-table td,
.rule-table th,
.rule-table td,
.archive-table th,
.archive-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.map-table thead th,
.rule-table thead th,
.archive-table thead th {
  background-color: #efeae0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.map-table tbody th,
.rule-table tbody th,
.archive-table tbody th {
  font-weight: 700;
  color: var(--ink);
  background-color: #faf8f3;
}

.map-table tbody tr:last-child th,
.map-table tbody tr:last-child td,
.rule-table tbody tr:last-child th,
.rule-table tbody tr:last-child td,
.archive-table tbody tr:last-child th,
.archive-table tbody tr:last-child td {
  border-bottom: 0;
}

.map-table td a,
.rule-table td a,
.archive-table td a {
  color: var(--cherry);
}

.table-caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--stone);
  padding: 0 0 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* FAQ 折叠 */
.faq-list {
  display: block;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "+";
  flex: 0 0 auto;
  width: 18px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.6;
}

.faq-item[open] .faq-question::before {
  content: "−";
}

.faq-question:hover {
  color: var(--cherry);
}

.faq-answer {
  padding: 0 0 18px 28px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--stone);
  margin: 0;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer a {
  color: var(--cherry);
}

/* 侧栏通用 */
.aside-block {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.aside-block + .aside-block {
  margin-top: 24px;
}

.aside-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* 侧栏相关链接 */
.related-list {
  display: block;
}

.related-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.related-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.related-item a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cherry);
  line-height: 1.5;
}

.related-item a:hover {
  color: var(--cherry-deep);
}

.related-desc,
.related-note {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 4px;
}

/* 侧栏编号流程 */
.process-list {
  display: block;
}

.process-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.process-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.7;
}

.process-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0;
  min-width: 0;
}

/* 文字链接 */
.text-link,
.link-primary,
.link-more {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cherry);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.text-link:hover,
.link-primary:hover,
.link-more:hover {
  color: var(--cherry-deep);
  border-bottom-color: var(--cherry-deep);
}

/* 图片说明文字 */
.figure-caption,
.collection-caption {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   4. pages —— 首页
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.26;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 22ch;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--stone);
  max-width: 34em;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-duty-list {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.hero-duty-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.hero-duty-list .duty-index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.9;
}

.hero-figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 10px;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-figure figcaption {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 10px;
  padding: 0 2px;
}

/* 首屏事实条 */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.fact-item {
  padding: 0 24px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.fact-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 6px;
}

.fact-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0;
}

/* 首页频道预览 */
.channel-preview {
  padding: 56px 0 8px;
}

/* 主推专题 */
.collections-feature {
  padding: 56px 0 8px;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.featured-figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.featured-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.featured-copy {
  min-width: 0;
}

.featured-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--sage);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px 10px;
  margin: 0 0 14px;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  margin: 0 0 12px;
}

.featured-scope {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--sage);
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--sage);
}

.featured-text {
  font-size: 15px;
  line-height: 1.78;
  color: var(--stone);
  margin: 0 0 12px;
}

.featured-copy .btn {
  margin-top: 8px;
}

/* 专题摘录 */
.collection-briefs {
  padding: 48px 0 8px;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.brief-item {
  min-width: 0;
  padding: 22px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brief-item h3,
.brief-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 10px;
}

.brief-text {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--stone);
  margin: 0 0 8px;
}

.brief-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cherry);
  padding: 4px 0;
  margin-top: 4px;
}

.brief-link:hover {
  color: var(--cherry-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 观看路径三步 */
.viewing-path {
  padding: 56px 0 8px;
}

.viewing-path .path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.viewing-path .path-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 24px 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cherry);
  border-radius: var(--radius);
}

.path-step .step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.6;
}

.path-step .step-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0;
}

.path-step .step-text {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--stone);
  margin: 0;
  min-width: 0;
  width: 100%;
}

.path-step .step-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cherry);
}

.path-step .step-link:hover {
  color: var(--cherry-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 编排职责 */
.editorial-duty {
  padding: 56px 0 8px;
}

.duty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}

.duty-brand,
.duty-process,
.duty-focus {
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.duty-brand {
  border-left: 0;
  padding-left: 0;
}

.duty-subtitle {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 10px;
}

.duty-text {
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--stone);
  margin: 0 0 12px;
}

.duty-series {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.duty-series li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}

.duty-series li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background-color: var(--cherry);
  border-radius: 50%;
}

.duty-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cherry);
  padding: 4px 0;
}

.duty-link:hover {
  color: var(--cherry-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.duty-process .process-list {
  display: grid;
  gap: 12px;
}

.duty-process .process-list li {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  padding-left: 14px;
  position: relative;
}

.duty-process .process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background-color: var(--sage);
  border-radius: 50%;
}

.focus-list {
  display: grid;
  gap: 10px;
}

.focus-list li {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.focus-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* 异常反馈摘要 */
.feedback-summary {
  padding: 56px 0 8px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.feedback-aside {
  min-width: 0;
  padding: 24px 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-family: var(--font-serif);
}

.feedback-aside .aside-title {
  margin-bottom: 14px;
}

.feedback-flow {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  counter-reset: flow;
}

.feedback-flow li {
  position: relative;
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone);
  padding-left: 26px;
}

.feedback-flow li::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.9;
}

/* 首页相关内容条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: var(--shell);
  margin: 40px auto 0;
  padding: 20px var(--gutter) 0;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--stone);
}

.related-links-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--cherry);
  padding: 4px 0;
}

.related-links-item:hover {
  color: var(--cherry-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   5. pages —— 频道总表
   -------------------------------------------------------------------------- */

.page-channels .page-title {
  margin-bottom: 0;
}

.page-channels .page-lead {
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-channels .filter-bar {
  display: block;
  padding: 28px 0 0;
  margin-bottom: 0;
}

.page-channels .filter-bar .section-title {
  margin-bottom: 14px;
}

.page-channels .result-count {
  margin-top: 20px;
}

.page-channels .channel-list {
  padding-top: 4px;
}

.page-channels .channel-item {
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "index figure"
    "index name"
    "index summary"
    "index scene"
    "index link";
  row-gap: 6px;
}

.page-channels .channel-name {
  grid-area: name;
  margin: 4px 0 0;
}

.page-channels .channel-summary {
  grid-area: summary;
}

.page-channels .channel-scene {
  grid-area: scene;
}

.page-channels .channel-link {
  grid-area: link;
}

.channel-topic-map {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.channel-topic-map .section-title {
  margin-bottom: 10px;
}

.channel-topic-map .section-intro {
  margin-bottom: 20px;
}

.map-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
  margin-top: 16px;
}

.map-note a {
  color: var(--cherry);
  margin: 0 2px;
}

/* --------------------------------------------------------------------------
   6. pages —— 主题片单
   -------------------------------------------------------------------------- */

.page-collections .page-lead {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.featured-collection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 36px 0 8px;
}

.collection-figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.collection-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.collection-copy {
  min-width: 0;
}

.collection-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  margin: 0 0 12px;
}

.collection-copy > p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--stone);
  margin: 0 0 12px;
}

.collection-meta {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 16px 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collection-meta dt {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sage);
  line-height: 1.7;
}

.collection-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  min-width: 0;
}

.secondary-collections {
  padding: 48px 0 8px;
}

.secondary-collections h2,
.playlist-entries h2,
.channel-topic-map h2,
.next-steps h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.34;
  color: var(--ink);
  margin: 0 0 10px;
}

.secondary-collections .section-lead,
.playlist-entries .section-lead,
.channel-topic-map .section-lead,
.next-steps .section-lead {
  margin-bottom: 22px;
}

.playlist-entries {
  padding: 48px 0 8px;
}

.playlist-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.playlist-entry {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.entry-index {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.7;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 6px;
}

.entry-summary {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--stone);
  margin: 0 0 6px;
}

.entry-meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sage);
  margin: 0;
}

.page-collections .channel-topic-map {
  margin-top: 48px;
}

.next-steps {
  padding: 48px 0 8px;
}

.next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.next-links li {
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.next-links a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--cherry);
  margin-bottom: 4px;
}

.next-links a:hover {
  color: var(--cherry-deep);
}

.next-links span {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
}

/* --------------------------------------------------------------------------
   7. pages —— 观看路径（主内容 + 右侧栏）
   -------------------------------------------------------------------------- */

.page-viewing-check .page-title {
  margin: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(0, 300px);
  gap: 48px;
  align-items: start;
  justify-content: space-between;
}

.layout-main {
  min-width: 0;
  display: block;
}

.layout-aside {
  min-width: 0;
  display: block;
}

.page-viewing-check .page-title-lead {
  margin: 0 0 22px;
}

.page-viewing-check .page-header {
  margin-bottom: 24px;
}

.page-viewing-check .page-header .page-title {
  margin: 0;
}

.checklist,
.path-steps,
.verify-actions {
  margin-top: 40px;
}

.checklist .section-head,
.path-steps .section-head,
.verify-actions .section-head {
  margin-bottom: 22px;
}

.checklist-figure {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.checklist-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.checklist-figure .figure-caption {
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.checklist-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.checklist-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.checklist-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.7;
}

.checklist-body {
  min-width: 0;
}

.checklist-name {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 4px;
}

.checklist-standard {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--stone);
  margin: 0;
}

.checklist-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cherry);
  margin-top: 6px;
}

.checklist-link:hover {
  color: var(--cherry-deep);
}

.page-viewing-check .path-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-viewing-check .path-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.page-viewing-check .path-no {
  grid-row: 1 / span 4;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.8;
}

.page-viewing-check .path-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.44;
  color: var(--ink);
  margin: 0 0 2px;
}

.page-viewing-check .path-do {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--ink);
  margin: 0;
}

.page-viewing-check .path-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0;
}

.page-viewing-check .path-link {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 6px 0 0;
}

.page-viewing-check .path-link a {
  font-weight: 600;
  color: var(--cherry);
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.verify-card {
  min-width: 0;
  padding: 20px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.verify-name {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 8px;
}

.verify-judge,
.verify-do {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  margin: 0 0 6px;
}

.verify-link {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 6px 0 0;
}

.verify-link a {
  font-weight: 600;
  color: var(--cherry);
}

.quick-list {
  display: grid;
  gap: 10px;
}

.quick-item a {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}

.quick-item:last-child a {
  border-bottom: 0;
}

.quick-item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 6px;
  height: 6px;
  background-color: var(--cherry);
  border-radius: 50%;
}

.quick-item a:hover {
  color: var(--cherry);
}

/* --------------------------------------------------------------------------
   8. pages —— 编排职责
   -------------------------------------------------------------------------- */

.page-editorial-role .breadcrumb {
  margin-bottom: 18px;
}

.page-editorial-role .page-title {
  margin: 0;
}

.page-editorial-role .page-lead {
  margin: 14px 0 0;
}

.page-figure {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.page-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
  border-top: 1px solid var(--line);
}

.duty-list,
.naming-rules,
.field-standards,
.update-boundary {
  margin-top: 40px;
}

.duty-list h2,
.naming-rules h2,
.field-standards h2,
.update-boundary h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.34;
  color: var(--ink);
  margin: 0 0 10px;
}

.duty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.duty-card {
  min-width: 0;
  padding: 20px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cherry);
  border-radius: var(--radius);
}

.duty-card .duty-index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  margin: 0 0 8px;
  line-height: 1.6;
}

.duty-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 8px;
}

.duty-card > p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  margin: 0 0 10px;
}

.duty-points {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.duty-points li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 12px;
  position: relative;
}

.duty-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background-color: var(--sage);
  border-radius: 50%;
}

.duty-card .text-link {
  font-size: 13.5px;
}

.rule-table {
  margin-top: 18px;
}

.field-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.field-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.field-row dt {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.7;
}

.field-row dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--stone);
  min-width: 0;
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 18px;
}

.boundary-col {
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.boundary-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.boundary-col h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 10px;
}

.boundary-list {
  display: grid;
  gap: 8px;
}

.boundary-list li {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  padding-left: 14px;
  position: relative;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background-color: var(--cherry);
  border-radius: 50%;
}

.boundary-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.boundary-note a {
  color: var(--cherry);
  margin: 0 2px;
}

.page-aside .term-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.term-row {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.term-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.term-row dt {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 2px;
}

.term-row dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--stone);
}

.term-row dd a {
  color: var(--cherry);
}

.aside-link-list {
  display: grid;
  gap: 0;
}

.aside-link-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.aside-link-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.aside-link-list a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cherry);
  line-height: 1.5;
}

.aside-link-list a:hover {
  color: var(--cherry-deep);
}

.aside-link-note {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   9. pages —— 异常反馈
   -------------------------------------------------------------------------- */

.page-feedback .page-lead {
  margin-top: 0;
  margin-bottom: 22px;
}

.page-feedback .page-header {
  margin-bottom: 24px;
}

.issue-types,
.info-prep,
.page-feedback .faq-list {
  margin-top: 40px;
}

.issue-types h2,
.info-prep h2,
.page-feedback .faq-list h2 {
  margin-bottom: 10px;
}

.issue-figure {
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.issue-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.issue-figure .figure-caption {
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.issue-item {
  min-width: 0;
  padding: 18px 18px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.issue-no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.6;
  margin: 0 0 6px;
}

.issue-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 8px;
}

.issue-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
  margin: 0 0 10px;
}

.issue-meta {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 6px 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.issue-meta dt {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sage);
  line-height: 1.7;
}

.issue-meta dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  min-width: 0;
}

.issue-meta dd a {
  color: var(--cherry);
}

.prep-steps {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.prep-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.prep-no {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.8;
}

.prep-name {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.prep-text {
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--stone);
  margin: 0;
}

.content-main {
  min-width: 0;
  display: block;
}

.content-aside {
  min-width: 0;
  display: block;
}

.page-feedback .faq-list .section-intro {
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   10. pages —— 批次归档
   -------------------------------------------------------------------------- */

.page-archive .page-title {
  margin: 0;
}

.page-title-wrap {
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-title-wrap .page-lead {
  margin: 0;
}

.batch-jump {
  padding-top: 32px;
}

.batch-jump .section-title,
.batch-summary .section-title,
.affected-columns .section-title,
.archive-guide .section-title {
  margin-bottom: 10px;
}

.batch-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.batch-jump-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.batch-jump-link:hover {
  border-color: var(--cherry);
  color: var(--cherry);
}

.batch-summary {
  padding-top: 40px;
}

.batch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.batch-card {
  min-width: 0;
  padding: 22px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 96px;
}

.batch-index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.6;
  margin: 0 0 6px;
}

.batch-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 8px;
}

.batch-scope {
  font-size: 14px;
  line-height: 1.72;
  color: var(--sage);
  margin: 0 0 8px;
}

.batch-pages {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0 0 8px;
}

.batch-pages a {
  color: var(--cherry);
  margin-right: 4px;
}

.batch-brief {
  font-size: 14px;
  line-height: 1.74;
  color: var(--stone);
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.archive-figure {
  margin: 40px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.archive-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.archive-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
  border-top: 1px solid var(--line);
}

.affected-columns {
  padding-top: 40px;
}

.affected-columns .table-wrap {
  margin-top: 18px;
}

.archive-guide {
  padding-top: 40px;
}

.archive-guide-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.archive-guide-list li {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--stone);
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.archive-guide-list li:last-child {
  border-bottom: 0;
}

.archive-guide-list strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 6px;
}

.archive-guide-list a {
  color: var(--cherry);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. pages —— 404
   -------------------------------------------------------------------------- */

.site-error .error-main {
  padding-top: 64px;
  padding-bottom: 88px;
}

.error-panel {
  max-width: 720px;
  padding: 40px 36px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cherry);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cherry);
  margin: 0 0 12px;
}

.error-panel h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
  margin: 0 0 20px;
}

.error-hints {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.error-hints li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink);
  min-width: 0;
}

.error-mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cherry);
  line-height: 1.9;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.error-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0;
}

.error-note a {
  color: var(--cherry);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. responsive —— 980 / 720 / 480 断点
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: block;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(27, 26, 24, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    border-bottom: 0;
    color: var(--cherry);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 36px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .featured-layout,
  .featured-collection {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .duty-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .duty-focus {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .feedback-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .layout-main,
  .content-main {
    order: 0;
  }

  .layout-aside,
  .content-aside,
  .page-aside {
    order: 1;
  }

  .verify-grid,
  .duty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verify-card:last-child,
  .duty-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding-top: 44px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .channel-topic-map,
  .page-collections .channel-topic-map {
    margin-top: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    font-size: 20px;
  }

  .inner-main {
    padding-top: 22px;
    padding-bottom: 56px;
  }

  .home-main {
    padding-bottom: 56px;
  }

  .page-title {
    font-size: clamp(1.7rem, 6.4vw, 2.1rem);
    line-height: 1.3;
  }

  .page-lead,
  .page-title-lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .hero-lead {
    font-size: 16.5px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 20px 0;
  }

  .fact-item {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .fact-item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .channel-preview,
  .collections-feature,
  .collection-briefs,
  .viewing-path,
  .editorial-duty,
  .feedback-summary {
    padding-top: 40px;
  }

  .filter-bar,
  .filter-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .channel-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .channel-item,
  .page-channels .channel-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .channel-name {
    font-size: 18px;
  }

  .brief-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .viewing-path .path-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .path-step .step-text {
    width: auto;
    min-width: 0;
  }

  .duty-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .duty-brand,
  .duty-process,
  .duty-focus {
    padding-left: 0;
    border-left: 0;
  }

  .duty-process,
  .duty-focus {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .feedback-aside {
    padding: 20px 18px;
  }

  .related-links {
    margin-top: 32px;
    padding-top: 16px;
  }

  .page-layout {
    gap: 30px;
  }

  .checklist,
  .path-steps,
  .verify-actions,
  .duty-list,
  .naming-rules,
  .field-standards,
  .update-boundary,
  .issue-types,
  .info-prep,
  .page-feedback .faq-list {
    margin-top: 32px;
  }

  .verify-grid,
  .duty-grid,
  .issue-grid,
  .batch-grid,
  .next-links,
  .boundary-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .verify-card:last-child,
  .duty-card:last-child {
    grid-column: auto;
  }

  .boundary-col {
    padding-left: 0;
    border-left: 0;
  }

  .boundary-col + .boundary-col {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .collection-meta {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .playlist-entry {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .map-table,
  .rule-table,
  .archive-table {
    font-size: 13.5px;
  }

  .map-table th,
  .map-table td,
  .rule-table th,
  .rule-table td,
  .archive-table th,
  .archive-table td {
    padding: 10px;
  }

  .page-channels .filter-bar {
    padding-top: 24px;
  }

  .batch-jump {
    padding-top: 26px;
  }

  .batch-jump-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .batch-jump-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .batch-summary,
  .affected-columns,
  .archive-guide {
    padding-top: 32px;
  }

  .archive-figure {
    margin-top: 32px;
  }

  .archive-figure img {
    aspect-ratio: 16 / 9;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .site-error .error-main {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 36px var(--gutter) 28px;
  }

  .footer-bottom {
    padding: 16px var(--gutter) 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  body.site-body {
    font-size: 15.5px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-duty-list li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    font-size: 14px;
  }

  .channel-item,
  .page-channels .channel-item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "index"
      "figure"
      "body";
    gap: 10px;
  }

  .channel-index {
    display: inline-block;
    font-size: 12px;
  }

  .channel-body {
    min-width: 0;
  }

  .section-head h2,
  .section-title {
    font-size: 1.35rem;
  }

  .featured-title,
  .collection-copy h2 {
    font-size: 1.3rem;
  }

  .brief-item {
    padding: 18px 16px;
  }

  .path-step .step-title {
    font-size: 17px;
  }

  .checklist-item,
  .page-viewing-check .path-step,
  .prep-step {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 10px;
  }

  .issue-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .issue-meta dt {
    margin-top: 4px;
  }

  .collection-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .collection-meta dt {
    margin-top: 6px;
  }

  .faq-question {
    font-size: 15px;
    padding: 14px 0;
  }

  .faq-answer {
    padding-left: 0;
  }

  .table-wrap {
    margin-left: -4px;
    margin-right: -4px;
  }

  .map-table,
  .rule-table,
  .archive-table {
    min-width: 520px;
  }

  .error-hints li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    font-size: 14px;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }
}

/* 尊重减少动效偏好 */
@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;
  }
}
