/* ==========================================================================
   麻花传剧原创 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
:root {
  --bg: #F4F7F8;
  --surface: #FFFFFF;
  --ink: #14202B;
  --ink-soft: #3D4F5C;
  --ink-mute: #64798A;
  --brand: #2C6F78;
  --brand-deep: #22585F;
  --brand-soft: #EAF1F2;
  --accent: #D95F45;
  --line: #D8E2E6;
  --line-soft: #E7EEF0;
  --radius: 6px;
  --container: 1120px;
  --read: 760px;
  --gap: 24px;
  --shadow: 0 1px 2px rgba(20, 32, 43, .06);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans GB", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--brand-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

button {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   layout · 骨架
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  padding: 10px 0;
}

.brand:hover {
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 10px 11px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link.is-current {
  color: var(--brand);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.site-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.breadcrumb a {
  color: var(--ink-mute);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 18px 0 0;
}

.page-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  max-width: 900px;
}

.page-head {
  max-width: var(--read);
  padding: 20px 0 8px;
}

.page-head .eyebrow,
.page-head .page-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  line-height: 1.6;
}

.page-lead,
.page-lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.inner-main > section {
  padding: 40px 0 0;
}

/* 页脚 */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.footer-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.footer-slogan {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.footer-lists {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-group {
  min-width: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-group li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.footer-group a {
  color: var(--ink-mute);
}

.footer-group a:hover {
  color: var(--brand);
}

.footer-bottom {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.back-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.back-top:hover {
  border-color: var(--brand);
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */
.section-head {
  max-width: var(--read);
  margin-bottom: 24px;
}

.section-head .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  line-height: 1.6;
}

.section-head h2,
.section-title {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}

.section-lead,
.section-sub,
.section-intro,
.section-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-title {
  margin-bottom: 12px;
}

.section-intro,
.section-desc {
  max-width: var(--read);
  margin-bottom: 24px;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.text-link:hover {
  border-bottom-color: var(--brand);
}

/* 首屏按钮 */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #FFFFFF;
}

.btn-ghost {
  background: rgba(255, 255, 255, .92);
  color: var(--brand-deep);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: #FFFFFF;
  border-color: var(--brand);
  color: var(--brand-deep);
}

/* 频道账本（首页与频道目录共用基础行） */
.channel-ledger {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr) 132px;
  gap: 20px;
  align-items: start;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.channel-row:hover {
  background: var(--brand-soft);
}

.channel-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.channel-form,
.channel-scene {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.channel-link,
.channel-entry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  white-space: nowrap;
}

.channel-link:hover,
.channel-entry a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

/* 范围说明块 */
.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scope-includes,
.scope-excludes {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
  min-width: 0;
}

.scope-includes h3,
.scope-excludes h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.scope-excludes h3 {
  color: var(--accent);
}

.scope-list {
  display: grid;
  gap: 10px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.scope-excludes .scope-list li::before {
  background: var(--accent);
}

/* 文字入口带 */
.link-strip,
.link-strip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.strip-item,
.strip-link {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}

.strip-item:hover,
.strip-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.strip-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.strip-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.link-strip-item {
  min-width: 0;
}

.link-strip-item a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.5;
  padding: 4px 0;
}

.link-strip-item p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

/* 相关入口（页脚前） */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 0 0;
}

.related-links-label {
  font-size: 13px;
  color: var(--ink-mute);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.related-links-item:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* 折叠问答 */
.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.faq-item summary {
  display: block;
  position: relative;
  padding: 16px 40px 16px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item > p,
.faq-answer {
  padding: 0 4px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  padding-bottom: 8px;
}

/* 首屏 */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas:
    "copy media"
    "rail media";
  gap: 0 40px;
  align-items: start;
}

.hero-media {
  grid-area: media;
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero-copy {
  grid-area: copy;
  padding: 56px 0 24px;
  min-width: 0;
}

.hero-copy .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  line-height: 1.6;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--ink);
}

.hero-lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-rail {
  grid-area: rail;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.rail-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num desc";
  gap: 2px 10px;
  padding: 14px 16px;
  background: var(--surface);
  min-width: 0;
}

.rail-item:hover {
  background: var(--brand-soft);
}

.rail-num {
  grid-area: num;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.6;
  padding-top: 2px;
}

.rail-name {
  grid-area: name;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.rail-desc {
  grid-area: desc;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* 首页各区块容器 */
.channel-overview,
.topic-ledger-section,
.viewing-prep,
.faq-center,
.editorial-note {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

/* 专题编排台 */
.topic-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: start;
}

.topic-index {
  border-top: 1px solid var(--line);
  min-width: 0;
}

.topic-index .topic-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 120px;
  grid-template-areas:
    "num name link"
    "num desc link";
  gap: 4px 14px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.topic-index .topic-row:hover {
  background: var(--brand-soft);
}

.topic-num {
  grid-area: num;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
}

.topic-index .topic-name {
  grid-area: name;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-index .topic-desc {
  grid-area: desc;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.topic-link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  white-space: nowrap;
}

.topic-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.topic-visual {
  margin: 0;
  min-width: 0;
}

.topic-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.topic-visual figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 观看准备流程 */
.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-item .step-copy {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  gap: 2px 12px;
  min-width: 0;
}

.process-item .step-num {
  grid-area: num;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.6;
}

.process-item .step-title {
  grid-area: title;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.process-item .step-copy > p {
  grid-area: text;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.process-item .step-scope {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  min-width: 0;
}

.process-item .scope-standard,
.process-item .scope-exclude {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.process-item .scope-exclude {
  color: var(--ink-mute);
}

/* 首页 FAQ 中心 */
.faq-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.faq-index {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 18px 6px;
  min-width: 0;
}

.faq-index-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
}

.faq-index-group {
  margin-bottom: 14px;
}

.faq-index-group h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 6px;
  line-height: 1.5;
}

.faq-index-group li {
  margin-bottom: 4px;
}

.faq-index-group a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.faq-index-group a:hover {
  color: var(--brand);
}

.faq-list {
  border-top: 1px solid var(--line);
  min-width: 0;
}

/* 编辑原则摘要 */
.editorial-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.editorial-copy {
  min-width: 0;
}

.editorial-copy .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  line-height: 1.6;
}

.editorial-copy h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.editorial-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.principle-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.principle-row {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.principle-row h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.5;
}

.principle-row p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 首页页脚前入口带 */
.link-strip[aria-label] {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 48px;
}

.link-strip[aria-label] .strip-item {
  border-left: 3px solid var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 频道目录
   -------------------------------------------------------------------------- */
.channel-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

.summary-copy {
  min-width: 0;
}

.summary-copy h2 {
  margin-bottom: 12px;
}

.summary-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.summary-copy p + p {
  margin-top: 12px;
}

.summary-figure {
  margin: 0;
  min-width: 0;
}

.summary-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.channel-catalog .channel-row {
  grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr) 120px;
}

.channel-catalog .channel-name h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.field-label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  line-height: 1.6;
}

.channel-catalog .channel-form p,
.channel-catalog .channel-scene p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.channel-criteria .criteria-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.criteria-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}

.criteria-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.criteria-item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.channel-boundary .scope-columns {
  margin-top: 4px;
}

.next-topics .link-strip-list {
  margin-top: 4px;
}

.next-topics .link-strip-list a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.5;
  min-height: 44px;
}

.next-topics .link-strip-list a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */
.topic-lead {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

.topic-lead-media {
  margin: 0;
  min-width: 0;
}

.topic-lead-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.topic-lead-copy {
  min-width: 0;
}

.topic-lead-copy h2 {
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.topic-lead-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.topic-lead-copy > p + p {
  margin-top: 10px;
}

.topic-lead-points {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.topic-lead-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topic-lead-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.topic-set .topic-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 300px) 120px;
  gap: 16px;
  align-items: start;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.topic-set .topic-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.topic-set .topic-row:hover {
  background: var(--brand-soft);
}

.topic-no {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.7;
}

.topic-set .topic-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-set .topic-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topic-meta {
  margin: 0;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.topic-meta-item {
  min-width: 0;
}

.topic-meta-item dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  line-height: 1.6;
}

.topic-meta-item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.topic-set .topic-link {
  align-self: start;
  justify-self: end;
}

.reading-order .order-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.order-step {
  border-top: 2px solid var(--brand);
  padding: 16px 4px 0;
  min-width: 0;
}

.order-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.6;
  margin-bottom: 6px;
}

.order-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.order-step > p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.editorial-principles .principle-list {
  border-top: 1px solid var(--line);
}

.related-channels .channel-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-links a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.5;
  min-height: 44px;
}

.channel-links a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   pages · 观看指南
   -------------------------------------------------------------------------- */
.prep-checklist .process-list {
  max-width: 100%;
}

.prep-checklist .process-item {
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
}

.prep-checklist .process-item .scope-label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.6;
}

.prep-checklist .process-item .scope-notin .scope-label {
  color: var(--accent);
}

.prep-checklist .process-item .scope-notin {
  color: var(--ink-mute);
}

.reading-path .path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.path-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}

.path-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--brand);
  border-radius: 3px;
  padding: 1px 8px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.path-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.path-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.path-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.path-link:hover {
  border-bottom-color: var(--brand);
}

.troubleshoot .troubleshoot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--line);
}

.troubleshoot-item {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.troubleshoot-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.troubleshoot-item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.scope-note-body {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.scope-figure {
  margin: 0;
  min-width: 0;
}

.scope-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.scope-note .scope-list {
  gap: 16px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.scope-item {
  min-width: 0;
}

.scope-item-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.5;
}

.scope-item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.viewing-guide .related-links .link-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* --------------------------------------------------------------------------
   pages · 入口核验
   -------------------------------------------------------------------------- */
.ledger-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 56px 160px minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  align-items: start;
}

.ledger-head {
  background: var(--brand-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.ledger-row {
  border-bottom: 1px solid var(--line-soft);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row:hover {
  background: #FAFCFC;
}

.ledger-cell {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  min-width: 0;
  overflow-wrap: break-word;
}

.ledger-head .ledger-cell {
  color: var(--ink);
  font-weight: 600;
}

.ledger-cell.cell-no {
  font-weight: 700;
  color: var(--accent);
}

.ledger-cell.cell-object {
  font-weight: 600;
  color: var(--ink);
}

.signals-layout {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.signals-figure {
  margin: 0;
  min-width: 0;
}

.signals-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.signals-examples {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.signal-item {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.signal-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.5;
}

.signal-path {
  font-size: 13px;
  color: var(--brand);
  line-height: 1.7;
  word-break: break-all;
}

.signal-note {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.signal-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.signal-link:hover {
  border-bottom-color: var(--brand);
}

.mismatch-steps .step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}

.step-item .step-copy {
  min-width: 0;
}

.step-item .step-no {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent);
  border-radius: 3px;
  padding: 1px 8px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.step-item .step-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.step-item .step-copy p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.step-item .step-scope {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.step-item .step-scope .scope-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.6;
  margin-bottom: 2px;
}

.step-item .step-scope p:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.boundary-item {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  min-width: 0;
}

.boundary-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.boundary-item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.access-check .related-links .link-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* --------------------------------------------------------------------------
   pages · 编辑说明
   -------------------------------------------------------------------------- */
.positioning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

.positioning-copy {
  min-width: 0;
}

.positioning-copy h2 {
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.positioning-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.positioning-copy p + p {
  margin-top: 10px;
}

.positioning-media {
  margin: 0;
  min-width: 0;
}

.positioning-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.workflow-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  min-width: 0;
}

.step-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.6;
  margin-bottom: 6px;
}

.workflow-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.step-input,
.step-output {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.step-input {
  margin-bottom: 6px;
}

.step-body {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.step-output {
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.principles .principle-list {
  border-top: 1px solid var(--line);
}

.boundaries .boundary-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.boundary-row {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  min-width: 0;
}

.boundary-row h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.boundary-row p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.relation-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.relation-links li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 20px;
  min-width: 0;
}

.relation-links a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.5;
  min-height: 24px;
}

.relation-links span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   pages · 常见问答
   -------------------------------------------------------------------------- */
.faq-head {
  max-width: 100%;
}

.faq-head .page-lede {
  max-width: var(--read);
}

.faq-figure {
  margin: 20px 0 0;
  max-width: var(--read);
}

.faq-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-layout.faq-center {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 40px;
}

.faq-center .faq-index {
  position: sticky;
  top: 84px;
  padding: 18px 18px 8px;
}

.faq-index-heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.faq-index-heading a {
  color: var(--ink);
}

.faq-index-heading a:hover {
  color: var(--brand);
}

.faq-index-list {
  margin-bottom: 12px;
}

.faq-index-list li {
  margin-bottom: 2px;
}

.faq-index-list a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.faq-index-list a:hover {
  color: var(--brand);
}

.faq-main {
  min-width: 0;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
}

.faq-group-desc {
  margin: 10px 0 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.faq-main .faq-item summary.faq-question {
  padding: 15px 40px 15px 0;
  font-size: 16px;
}

.still-help {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.still-help-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.still-help-desc {
  max-width: var(--read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.still-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.help-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.help-link:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   pages · 反馈说明
   -------------------------------------------------------------------------- */
.feedback-figure {
  margin: 0 0 24px;
  max-width: 100%;
}

.feedback-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.feedback-type-list {
  border-top: 1px solid var(--line);
}

.feedback-type-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  min-width: 0;
}

.type-no {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.7;
}

.type-body {
  min-width: 0;
}

.type-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.5;
}

.type-body p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.prep-checklist {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.prep-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  min-width: 0;
}

.prep-mark {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  background: var(--brand-soft);
}

.prep-body {
  min-width: 0;
}

.prep-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.5;
}

.prep-body p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.out-of-scope .scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.out-of-scope .scope-item {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}

.out-of-scope .scope-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.out-of-scope .scope-item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.order-steps .order-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 0;
}

.order-steps .order-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  border-top: 2px solid var(--brand);
}

.order-steps .order-step .step-no {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--brand);
  border-radius: 3px;
  padding: 1px 8px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.order-steps .order-step .step-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.order-steps .order-step .step-body p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.feedback .related-links .link-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feedback .related-links h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  display: block;
}

.error-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  line-height: 1.6;
  margin-bottom: 10px;
}

.error-inner h1 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 620px;
}

.error-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.error-paths a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.error-paths a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-home,
.error-guide {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
}

.error-home {
  background: var(--brand);
  color: #FFFFFF;
}

.error-home:hover {
  background: var(--brand-deep);
  color: #FFFFFF;
}

.error-guide {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
}

.error-guide:hover {
  border-color: var(--brand);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    gap: 0 28px;
  }

  .hero-media img {
    height: 420px;
  }

  .topic-ledger {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 24px;
  }

  .channel-row,
  .channel-catalog .channel-row {
    grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr) 110px;
    gap: 16px;
  }

  .topic-set .topic-row {
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 240px) 110px;
    gap: 14px;
  }

  .footer-inner {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-link.is-current {
    border-bottom-color: var(--line-soft);
  }

  .header-inner {
    position: relative;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "actions"
      "rail"
      "media";
    gap: 0;
  }

  .hero-copy {
    padding: 36px 0 0;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-actions {
    margin-top: 18px;
    padding-bottom: 20px;
  }

  .hero-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
  }

  .hero-media {
    margin-bottom: 8px;
  }

  .hero-media img {
    height: 260px;
    border-radius: var(--radius);
  }

  .channel-row,
  .channel-catalog .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px 4px;
  }

  .channel-link,
  .channel-entry a {
    justify-self: start;
    margin-top: 6px;
  }

  .topic-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-visual {
    order: -1;
  }

  .topic-visual img {
    height: 240px;
  }

  .topic-index .topic-row {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
      "num name"
      "num desc"
      "num link";
    gap: 4px 12px;
    align-items: start;
  }

  .topic-link {
    justify-self: start;
    margin-top: 6px;
  }

  .process-item,
  .prep-checklist .process-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .faq-layout,
  .page-layout.faq-center {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .faq-center .faq-index {
    position: static;
  }

  .faq-index {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 14px 16px;
  }

  .faq-index-title {
    flex: 0 0 auto;
    margin-bottom: 0;
    align-self: center;
    white-space: nowrap;
  }

  .faq-index-group {
    flex: 0 0 auto;
    margin-bottom: 0;
    min-width: 150px;
  }

  .editorial-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .channel-summary,
  .topic-lead,
  .positioning,
  .scope-note-body,
  .signals-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .summary-figure img,
  .topic-lead-media img,
  .positioning-media img,
  .scope-figure img,
  .signals-figure img {
    height: 240px;
  }

  .channel-criteria .criteria-list,
  .reading-order .order-list,
  .reading-path .path-steps,
  .mismatch-steps .step-list,
  .boundary-list,
  .boundaries .boundary-list,
  .related-channels .channel-links,
  .relation-links,
  .order-steps .order-list,
  .viewing-guide .related-links .link-strip,
  .access-check .related-links .link-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-set .topic-row {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: none;
    gap: 4px 12px;
  }

  .topic-set .topic-row > * {
    grid-area: auto;
  }

  .topic-set .topic-link {
    justify-self: start;
    margin-top: 6px;
  }

  .troubleshoot .troubleshoot-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-head,
  .ledger-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 14px 16px;
  }

  .ledger-head {
    display: none;
  }

  .ledger-row .cell-object {
    font-size: 16px;
  }

  .ledger-row .cell-what,
  .ledger-row .cell-why {
    grid-column: 2;
  }

  .ledger-row .cell-what::before {
    content: "检查内容 · ";
    color: var(--ink-mute);
    font-weight: 600;
  }

  .ledger-row .cell-why::before {
    content: "判断理由 · ";
    color: var(--ink-mute);
    font-weight: 600;
  }

  .out-of-scope .scope-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback .related-links .link-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 24px 20px;
  }

  .footer-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .error-inner {
    padding: 56px 24px 64px;
  }

  .error-inner h1 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
    line-height: 1.75;
  }

  .header-inner {
    padding: 0 16px;
    min-height: 60px;
  }

  .brand {
    font-size: 17px;
  }

  .inner-main {
    padding: 0 16px 56px;
  }

  .breadcrumb {
    padding: 16px 0 2px;
    font-size: 12px;
  }

  .page-header {
    padding: 14px 0 0;
  }

  .page-title {
    font-size: 30px;
  }

  .page-head {
    padding: 16px 0 4px;
  }

  .inner-main > section {
    padding: 32px 0 0;
  }

  .section-head h2,
  .section-title {
    font-size: 23px;
  }

  .hero {
    padding: 0 16px;
  }

  .hero-copy {
    padding: 28px 0 0;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .hero-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media img {
    height: 210px;
  }

  .channel-overview,
  .topic-ledger-section,
  .viewing-prep,
  .faq-center,
  .editorial-note {
    padding: 40px 16px 0;
  }

  .link-strip[aria-label] {
    padding: 40px 16px 36px;
  }

  .faq-index {
    gap: 16px;
  }

  .faq-index-group {
    min-width: 140px;
  }

  .faq-group-title,
  .still-help-title {
    font-size: 20px;
  }

  .faq-item summary,
  .faq-main .faq-item summary.faq-question {
    font-size: 15px;
    padding: 14px 36px 14px 0;
  }

  .channel-criteria .criteria-list,
  .reading-order .order-list,
  .reading-path .path-steps,
  .mismatch-steps .step-list,
  .boundary-list,
  .boundaries .boundary-list,
  .related-channels .channel-links,
  .relation-links,
  .order-steps .order-list,
  .viewing-guide .related-links .link-strip,
  .access-check .related-links .link-strip,
  .workflow-list,
  .error-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .scope-includes,
  .scope-excludes {
    padding: 18px 18px;
  }

  .topic-index .topic-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .topic-visual img {
    height: 200px;
  }

  .summary-figure img,
  .topic-lead-media img,
  .positioning-media img,
  .scope-figure img,
  .signals-figure img,
  .faq-figure img,
  .feedback-figure img {
    height: 200px;
  }

  .process-item .step-copy {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 10px;
  }

  .process-item .step-title,
  .step-item .step-title,
  .path-title,
  .troubleshoot-title,
  .criteria-item h3,
  .workflow-step h3,
  .type-body h3,
  .prep-body h3,
  .boundary-title,
  .boundary-row h3,
  .scope-item-title,
  .signal-title,
  .order-step h3,
  .order-steps .order-step .step-body h3 {
    font-size: 16px;
  }

  .feedback-type-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .prep-item {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .ledger-head,
  .ledger-row {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 12px 14px;
  }

  .out-of-scope .scope-item,
  .boundary-item,
  .boundary-row {
    padding: 14px 16px;
  }

  .footer-inner {
    padding: 28px 16px 16px;
  }

  .footer-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-bottom {
    padding: 14px 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .back-top {
    width: 100%;
    justify-content: center;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
  }

  .error-inner {
    padding: 44px 16px 56px;
  }

  .error-inner h1 {
    font-size: 26px;
  }

  .error-home,
  .error-guide {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
