:root {
  --paper: #F4F1EA;
  --ink: #14110F;
  --signal: #D9411E;
  --muted: #5C564E;
  --line: #DCD6C8;
  --surface: #FFFFFF;
  --radius: 2px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --container: 1180px;
  --gutter: 24px;
}

/* ============================================================
   base
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
figcaption,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================================================
   layout — 全站骨架
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand-sub {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.nav-item {
  display: flex;
}

.nav-item > a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius);
  position: relative;
}

.nav-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: currentColor;
  opacity: 0.5;
}

.nav-label {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-item > a:hover {
  background: rgba(20, 17, 15, 0.05);
  color: var(--ink);
}

.nav-item > a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--ink);
  font-weight: 600;
}

.nav-item.is-current > a::after,
.nav-item > a.is-current::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--signal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--paper);
  padding: 20px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius);
}

.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.drawer-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-list li {
  border-bottom: 1px solid var(--line);
}

.drawer-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 17px;
  color: var(--ink);
}

.drawer-list a.is-current {
  color: var(--signal);
  font-weight: 600;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.site-main > .container {
  max-width: var(--container);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-title {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  max-width: 900px;
}

.page-summary {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
  margin-top: 12px;
}

.page-index-mark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.page-title-area {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-title-text {
  flex: 1;
  min-width: 0;
}

/* ============================================================
   components — 通用模块
   ============================================================ */

.section-head {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0;
}

.section-note {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
}

.section-lead {
  margin: 8px 0 20px;
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
}

.section-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.text-link::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 160ms ease;
}

.text-link:hover {
  border-bottom-color: var(--signal);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.field-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: none;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--signal);
  color: #FFFFFF;
  border: 1px solid var(--signal);
}

.btn-primary:hover {
  background: #B93517;
  border-color: #B93517;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* 表格 */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  font-size: 14px;
  min-width: 640px;
}

.data-table caption,
.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
  line-height: 1.6;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td {
  background: var(--paper);
}

/* 规则/字段 dl */

.rule-list {
  display: grid;
  gap: 0;
}

.rule-list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 12px;
}

.rule-list dd {
  font-size: 14px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.rule-list dt:first-child {
  padding-top: 0;
}

.rule-list dd:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rule-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.rule-row:last-child {
  border-bottom: 0;
}

.rule-row dt {
  padding-top: 0;
}

.rule-row dd {
  padding-bottom: 0;
  border-bottom: 0;
}

/* 步骤清单 */

.step-list {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--signal);
  font-weight: 600;
  line-height: 1.6;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 6px;
  grid-column: 2;
}

.step-item > p {
  grid-column: 2;
  font-size: 15px;
  color: var(--ink);
  max-width: 640px;
}

.step-item .step-text {
  margin-bottom: 6px;
}

.step-item .step-text:last-child {
  margin-bottom: 0;
}

/* 反馈说明块 */

.feedback-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}

.feedback-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feedback-text {
  font-size: 15px;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 12px;
}

.feedback-text:last-of-type {
  margin-bottom: 16px;
}

.feedback-subtitle {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}

.feedback-list {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  list-style: disc;
}

.feedback-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
}

/* 关联入口 */

.related-entry {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.related-col h3,
.related-col-title {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.related-list {
  display: grid;
  gap: 8px;
}

.related-list li a {
  display: inline-block;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.related-list li a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.related-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* 页脚 */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  flex: 1;
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-slogan {
  margin-top: 6px;
  font-size: 14px;
  color: var(--signal);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.footer-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.footer-home:hover {
  background: var(--ink);
  color: var(--paper);
}

.footer-cols {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-col-title {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col ul a {
  display: inline-block;
  font-size: 15px;
  color: var(--ink);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.footer-col ul a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-boundary {
  font-size: 13px;
  color: var(--muted);
  flex: 1 1 100%;
  max-width: 720px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.back-top {
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}

.back-top:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

/* ============================================================
   pages — 首页
   ============================================================ */

.hero {
  padding: 40px 0 0;
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-figure {
  min-width: 0;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.overview-table-wrap {
  padding: 48px 0 0;
}

.overview-table {
  width: 100%;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.overview-table thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.overview-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color 160ms ease;
  vertical-align: top;
  white-space: nowrap;
}

.overview-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.6;
  vertical-align: top;
}

.overview-table tbody tr:last-child th,
.overview-table tbody tr:last-child td {
  border-bottom: 0;
}

.overview-table tbody tr:hover th {
  border-left-color: var(--signal);
}

.overview-table tbody tr:hover td {
  background: var(--paper);
}

/* 频道索引区 */

.channel-section {
  padding: 72px 0 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 160ms ease;
}

.channel-card:hover {
  border-color: var(--ink);
}

.card-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin-bottom: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.card-title a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.channel-card:hover .card-title a {
  border-bottom-color: var(--ink);
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.card-fields {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 14px;
}

.card-fields dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.card-fields dd {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 160ms ease;
}

.card-link:hover {
  border-bottom-color: var(--signal);
}

.channel-figure {
  margin: 32px 0 0;
}

.channel-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.channel-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* 专题片单区 */

.topic-section {
  padding: 72px 0 0;
}

.topic-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.topic-aside {
  min-width: 0;
}

.topic-aside .text-link {
  margin-top: 20px;
}

.topic-list {
  min-width: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.topic-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.topic-row:hover {
  background: rgba(20, 17, 15, 0.03);
}

.topic-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--signal);
  font-weight: 600;
  line-height: 1.6;
}

.topic-body {
  min-width: 0;
}

.topic-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.topic-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.topic-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  transition: transform 160ms ease, color 160ms ease;
}

.topic-row:hover .topic-arrow {
  transform: translateX(4px);
  color: var(--signal);
}

.topic-figure {
  margin: 32px 0 0;
}

.topic-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.topic-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* 观看指南摘要 */

.guide-section {
  padding: 72px 0 0;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: start;
}

.guide-main {
  min-width: 0;
}

.guide-main .text-link {
  margin-top: 20px;
}

.guide-aside {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

/* 入口核验清单 */

.verify-section {
  padding: 72px 0 0;
}

.verify-list {
  display: grid;
  gap: 0;
  counter-reset: verify;
  border-top: 1px solid var(--line);
}

.verify-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.verify-item::before {
  counter-increment: verify;
  content: counter(verify, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--signal);
  font-weight: 600;
  line-height: 1.6;
}

.verify-title {
  grid-column: 2;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.verify-item > p {
  grid-column: 2;
  font-size: 15px;
  color: var(--ink);
  max-width: 640px;
}

/* 编排说明摘要 */

.notes-section {
  padding: 72px 0 0;
}

.notes-list {
  display: grid;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.notes-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.notes-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.7;
}

.notes-row dd {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}

/* 栏目地图 */

.sitemap-section {
  padding: 72px 0 0;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.sitemap-col {
  min-width: 0;
}

.sitemap-col a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  margin-bottom: 8px;
  transition: color 160ms ease, border-color 160ms ease;
}

.sitemap-col a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.sitemap-col p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   pages — 频道索引 channels.html
   ============================================================ */

.page-layout {
  display: grid;
  gap: 60px;
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
}

.page-layout.layout-main-aside {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.page-aside {
  min-width: 0;
  position: sticky;
  top: 88px;
}

.aside-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.aside-block + .aside-block {
  margin-top: 20px;
}

.anchor-list {
  display: grid;
  gap: 4px;
}

.anchor-list li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease, border-color 160ms ease;
}

.anchor-list li:last-child a {
  border-bottom: 0;
}

.anchor-list li a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.page-content {
  min-width: 0;
}

.page-content .breadcrumb {
  padding-top: 0;
}

.content-section {
  margin-bottom: 48px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-figure {
  margin: 0 0 20px;
}

.section-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.channel-detail {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.channel-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.channel-detail h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.channel-detail > p {
  font-size: 15px;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 10px;
  line-height: 1.75;
}

.field-block {
  display: grid;
  gap: 0;
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.7;
}

.field-row dd {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  min-width: 0;
  word-break: break-word;
}

.channel-table {
  min-width: 720px;
}

.topic-map-table {
  min-width: 560px;
}

/* ============================================================
   pages — 专题片单 topics.html
   ============================================================ */

.page-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.page-hero-text {
  flex: 1;
  min-width: 0;
}

.page-hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin-bottom: 10px;
}

.page-hero-summary {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.75;
}

.page-hero-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.index-num {
  color: var(--signal);
  font-weight: 600;
}

.topic-catalog {
  margin-bottom: 56px;
}

.topic-catalog .topic-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-catalog .topic-row + .topic-row {
  border-top: 0;
}

.topic-row-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--signal);
  font-weight: 600;
  line-height: 1.6;
}

.topic-row-body {
  min-width: 0;
}

.topic-row-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.topic-row-title a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.topic-row-title a:hover {
  border-bottom-color: var(--ink);
}

.topic-row-theme,
.topic-row-structure {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 6px;
}

.topic-row-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.topic-row-link:hover {
  border-bottom-color: var(--signal);
}

.topic-structure {
  margin-bottom: 56px;
}

.topic-structure .topic-figure {
  margin: 0 0 28px;
}

.structure-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.structure-col {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.structure-col .field-label {
  display: block;
  margin-bottom: 8px;
}

.structure-col h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.structure-col p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 8px;
}

.structure-col p:last-child {
  margin-bottom: 0;
}

.topic-cross {
  margin-bottom: 0;
}

.related-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.related-cols .related-col {
  min-width: 0;
}

.related-cols .related-col h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.related-cols .related-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.entry-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.entry-link:hover {
  border-bottom-color: var(--signal);
}

/* ============================================================
   pages — 观看指南 guide.html
   ============================================================ */

.guide-steps,
.guide-fields,
.guide-faq {
  margin-bottom: 48px;
}

.guide-steps h2,
.guide-fields h2,
.guide-faq h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.guide-figure {
  margin: 0 0 48px;
}

.guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.guide-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.field-table {
  min-width: 520px;
}

.field-table tbody th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: 180px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--signal);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--signal);
}

.faq-answer {
  padding: 0 0 16px;
  max-width: 720px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
}

.content-aside {
  min-width: 0;
}

.field-quickref ul {
  display: grid;
  gap: 0;
}

.quickref-list {
  display: grid;
}

.quickref-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.quickref-item:last-child {
  border-bottom: 0;
}

.quickref-item .field-label {
  line-height: 1.7;
}

.field-note {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
  min-width: 0;
}

/* ============================================================
   pages — 入口核验 verification.html
   ============================================================ */

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-head-main {
  flex: 1;
  min-width: 0;
}

.section-block {
  margin-bottom: 56px;
}

.section-block:last-of-type {
  margin-bottom: 0;
}

.media-figure {
  margin: 0 0 28px;
}

.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.media-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.section-block .step-list {
  border-top: 1px solid var(--line);
}

.step-criteria {
  font-weight: 600;
  color: var(--ink);
}

.step-how {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.feature-text:last-child {
  margin-bottom: 0;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 160ms ease;
}

.related-card:hover {
  border-color: var(--ink);
}

.related-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.related-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   pages — 编排说明 editorial-notes.html
   ============================================================ */

.record-range,
.change-types,
.reading-notes {
  margin-bottom: 56px;
}

.record-range h2,
.change-types h2,
.reading-notes h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}

.record-figure {
  margin: 0 0 28px;
}

.record-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.record-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.field-spec {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
}

.field-spec .field-row {
  grid-template-columns: 140px minmax(0, 1fr);
  padding: 14px 0;
}

.change-table {
  min-width: 560px;
}

.change-table tbody th {
  width: 200px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.reading-col {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.reading-col h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.reading-col p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

/* ============================================================
   pages — 404
   ============================================================ */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 88px;
}

.error-inner {
  max-width: 720px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin-bottom: 12px;
}

.error-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--signal);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background-color 160ms ease;
}

.error-home-link:hover {
  background: #B93517;
}

.error-section {
  margin-top: 48px;
}

.error-section-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}

.error-way-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.error-way-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.error-way-item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.error-way-item a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.error-way-note {
  font-size: 14px;
  color: var(--muted);
}

.error-tip-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  max-width: 640px;
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 32px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }

  .page-layout.layout-main-aside {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .structure-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .field-row {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .field-spec .field-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-item > a {
    min-width: 64px;
    padding: 8px 6px;
  }

  .nav-label {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .brand {
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .home-main,
  .inner-main {
    padding-bottom: 56px;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .page-header {
    padding: 12px 0 20px;
    margin-bottom: 28px;
  }

  .page-title-area,
  .page-hero,
  .page-head {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 20px;
    margin-bottom: 28px;
  }

  .page-hero-inner {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .page-summary,
  .page-hero-summary {
    font-size: 15px;
  }

  .section-title,
  .guide-steps h2,
  .guide-fields h2,
  .guide-faq h2,
  .record-range h2,
  .change-types h2,
  .reading-notes h2 {
    font-size: 20px;
  }

  /* 首页：单列 */

  .hero {
    padding-top: 24px;
  }

  .hero-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
  }

  .hero-text h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero-actions {
    margin-top: 18px;
  }

  .btn-primary,
  .btn-ghost {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .overview-table-wrap {
    padding-top: 32px;
  }

  .overview-table,
  .overview-table thead,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table thead {
    display: none;
  }

  .overview-table {
    border: 0;
    background: transparent;
  }

  .overview-table tbody tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 4px 0;
  }

  .overview-table tbody th {
    border-bottom: 1px solid var(--line);
    border-left: 2px solid var(--signal);
    padding: 10px 14px;
    font-size: 15px;
    white-space: normal;
  }

  .overview-table tbody td {
    padding: 8px 14px;
    font-size: 14px;
    border-bottom: 1px dashed var(--line);
  }

  .overview-table tbody tr td:last-child {
    border-bottom: 0;
  }

  .overview-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 2px;
  }

  .channel-section,
  .topic-section,
  .guide-section,
  .verify-section,
  .notes-section,
  .sitemap-section {
    padding-top: 48px;
  }

  .channel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .channel-figure img,
  .topic-figure img,
  .section-figure img,
  .record-figure img {
    aspect-ratio: 16 / 9;
  }

  .topic-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .topic-row {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 16px 0;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .notes-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .feedback-block {
    padding: 20px;
    margin-top: 24px;
  }

  /* 内页：侧栏并入正文之后 */

  .page-layout,
  .page-layout.sidebar-left,
  .page-layout.layout-main-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-aside {
    position: static;
    order: 2;
  }

  .page-layout.sidebar-left .page-content,
  .page-layout.layout-main-aside .content-main {
    order: 1;
  }

  .page-layout.layout-main-aside .content-aside {
    order: 2;
  }

  .content-section {
    margin-bottom: 32px;
  }

  /* 表格：转为字段块 */

  .data-table {
    min-width: 0;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .table-wrap {
    border: 0;
    background: transparent;
    overflow-x: visible;
  }

  .data-table caption,
  .table-caption {
    padding: 0 0 10px;
    border-bottom: 0;
  }

  .data-table tbody tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 4px 0;
  }

  .data-table tbody th {
    padding: 10px 14px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    border-left: 2px solid var(--signal);
    white-space: normal;
    width: auto;
  }

  .data-table tbody td {
    padding: 8px 14px;
    font-size: 14px;
    border-bottom: 1px dashed var(--line);
  }

  .data-table tbody tr td:last-child {
    border-bottom: 0;
  }

  .data-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 2px;
  }

  .field-table tbody th {
    width: auto;
  }

  .change-table tbody th {
    width: auto;
  }

  .channel-table,
  .topic-map-table,
  .field-table,
  .change-table {
    min-width: 0;
  }

  /* 字段块 */

  .field-row,
  .field-spec .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
  }

  .rule-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .field-block,
  .field-spec {
    padding: 0 14px;
  }

  /* 步骤 */

  .step-item,
  .verify-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }

  .step-title,
  .verify-title {
    font-size: 16px;
  }

  .step-item > p,
  .verify-item > p {
    font-size: 14px;
  }

  /* 专题结构 */

  .structure-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .related-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .reading-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .quickref-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .faq-question {
    font-size: 15px;
  }

  /* 页脚 */

  .site-footer {
    padding-top: 32px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 24px;
  }

  .footer-home {
    align-self: flex-start;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px var(--gutter);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-boundary {
    flex: 1 1 auto;
  }

  /* 404 */

  .error-main {
    padding: 40px var(--gutter) 64px;
  }
}

@media (max-width: 420px) {
  .sitemap-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    min-width: 0;
    width: 100%;
  }

  .topic-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .topic-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
