/* ==========================================================================
   麻豆高清 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink: #17324D;
  --ink-soft: #3D5670;
  --blue: #1F6FB2;
  --blue-deep: #14507F;
  --coral: #E85D3F;
  --mustard: #F2C14E;
  --mint: #3FAE8A;
  --cream: #FFF7E8;
  --paper: #FFFFFF;
  --sky: #E7F1FA;
  --line: #C9D8E6;
  --radius: 8px;
  --radius-sm: 6px;
  --shell: 1180px;
  --gutter: 24px;
  --shadow: 0 2px 0 rgba(23, 50, 77, 0.08);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
  border-radius: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th, td {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--paper);
  border-bottom: 2px solid var(--line);
  position: relative;
  z-index: 30;
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--blue);
  border: 2px solid var(--ink);
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--mustard);
  border-radius: 2px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 10px;
  height: 3px;
  background-color: var(--paper);
  border-radius: 2px;
}

.brand-name {
  font-size: 1.125rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.primary-nav.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9375rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue-deep);
  background-color: var(--sky);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--ink);
  border-bottom-color: var(--blue);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
}

.topic-bar {
  background-color: var(--sky);
  border-bottom: 2px solid var(--line);
}

.topic-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topic-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.topic-link:hover {
  color: var(--ink);
  border-color: var(--blue);
  background-color: var(--paper);
  text-decoration: none;
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.inner-main {
  padding-top: 20px;
  padding-bottom: 56px;
}

/* 内页统一：面包屑 / 标题区 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  padding: 6px 0 14px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

.page-header {
  padding: 6px 0 22px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 30px;
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ink);
}

/* 页脚 */

.site-footer {
  background-color: var(--ink);
  color: #DCE7F1;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter) 28px;
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 0.85fr)) minmax(200px, 1fr);
  gap: 30px 28px;
  align-items: start;
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-brand .brand:hover {
  color: var(--paper);
}

.footer-brand .brand-mark {
  border-color: var(--paper);
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #C6D6E5;
}

.footer-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #9FB5C9;
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.16);
}

.footer-list li + li {
  margin-top: 2px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #C6D6E5;
  font-size: 0.875rem;
}

.footer-list a:hover {
  color: var(--mustard);
  text-decoration: none;
}

.footer-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #C6D6E5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
  font-size: 0.8125rem;
  color: #9FB5C9;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}

.btn-primary:hover {
  background-color: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--paper);
  text-decoration: none;
}

.btn-ghost {
  background-color: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background-color: var(--mustard);
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue);
}

.text-link::after {
  content: "→";
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-deep);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.section-no,
.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--mustard);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.section-title-sub {
  font-size: 1.25rem;
}

.section-text {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.section-note {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.section-desc {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.eyebrow,
.page-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--coral);
  background-color: rgba(232, 93, 63, 0.1);
  border: 2px solid rgba(232, 93, 63, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.lead,
.page-lead,
.hero-lead {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 16px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid transparent;
}

.badge-done,
.badge-ok,
.is-verified {
  background-color: rgba(63, 174, 138, 0.14);
  border-color: rgba(63, 174, 138, 0.55);
  color: #1F7A5F;
}

.badge-check,
.badge-pending,
.is-review {
  background-color: rgba(242, 193, 78, 0.24);
  border-color: rgba(196, 148, 25, 0.6);
  color: #8A6410;
}

.badge-archived,
.is-archived {
  background-color: var(--sky);
  border-color: var(--line);
  color: var(--ink-soft);
}

/* 表格通用 */

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  margin-top: 20px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--sky);
  border-bottom: 2px solid var(--line);
}

.index-table,
.log-table,
.data-table,
.slate-table,
.channel-map-table,
.legend-table,
.latest-table {
  width: 100%;
  min-width: 560px;
  font-size: 0.9375rem;
}

.index-table thead th,
.log-table thead th,
.data-table thead th,
.slate-table thead th,
.channel-map-table thead th,
.legend-table thead th,
.latest-table thead th {
  background-color: var(--sky);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 12px 14px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.index-table tbody th,
.log-table tbody th,
.data-table tbody td,
.slate-table tbody td,
.channel-map-table tbody td,
.legend-table tbody th,
.legend-table tbody td,
.latest-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.index-table tbody th,
.legend-table tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.index-table tbody tr:last-child th,
.index-table tbody tr:last-child td,
.log-table tbody tr:last-child th,
.log-table tbody tr:last-child td,
.data-table tbody tr:last-child td,
.slate-table tbody tr:last-child td,
.channel-map-table tbody tr:last-child td,
.legend-table tbody tr:last-child th,
.legend-table tbody tr:last-child td,
.latest-table tbody tr:last-child td {
  border-bottom: none;
}

.index-table tbody tr:hover,
.log-table tbody tr:hover,
.data-table tbody tr:hover,
.slate-table tbody tr:hover,
.channel-map-table tbody tr:hover,
.legend-table tbody tr:hover,
.latest-table tbody tr:hover {
  background-color: #FBFDFF;
}

/* FAQ 原生折叠 */

.faq-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  margin-top: 12px;
}

.faq-question {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 44px 10px 16px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 2px solid var(--line);
}

.faq-answer {
  padding: 14px 16px 16px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* 图片容器 */

.hero-figure,
.topic-figure,
.latest-figure,
.channel-figure,
.guide-figure,
.archive-figure,
.editorial-media {
  background-color: var(--sky);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img,
.topic-figure img,
.latest-figure img,
.channel-figure img,
.guide-figure img,
.archive-figure img,
.editorial-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-caption,
.topic-caption,
.figure-caption,
.topic-figure-cap,
.archive-figure-cap {
  padding: 10px 14px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background-color: var(--paper);
  border-top: 2px solid var(--line);
}

/* :target 高亮 */

.catalog-row:target,
.topic-row:target,
.check-item:target,
.step-item:target,
.verify-item:target,
.archive-row:target,
.channel-block:target,
.period-link:target {
  box-shadow: inset 3px 0 0 var(--coral);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 28px;
  padding-bottom: 8px;
}

/* 首屏工具面 */

.hero {
  padding-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  padding-top: 6px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ink);
}

.hero-lead {
  margin-top: 18px;
  max-width: 34em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 2px dashed var(--line);
}

.anchor-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background-color: var(--paper);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.anchor-pill:hover {
  background-color: var(--mustard);
  color: var(--ink);
  text-decoration: none;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.focus-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-top: 4px solid var(--coral);
}

.focus-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  background-color: rgba(232, 93, 63, 0.1);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.focus-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.focus-text {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 首屏更新记录 */

.hero-log {
  margin-top: 26px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 18px;
}

.log-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}

.log-line + .log-line {
  border-top: 1px solid var(--line);
}

.log-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--mustard);
  border: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.log-text {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.6;
}

.log-col {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  background-color: var(--sky);
  border-radius: 999px;
  padding: 2px 12px;
  white-space: nowrap;
}

/* 本期目录 */

.catalog {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 2px solid var(--line);
}

.catalog-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.6fr);
  gap: 36px;
  align-items: start;
}

.catalog-intro .text-link {
  margin-top: 16px;
}

.catalog-list {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
}

.catalog-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.catalog-row + .catalog-row {
  border-top: 1px solid var(--line);
}

.catalog-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.catalog-body {
  min-width: 0;
}

.catalog-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.catalog-meta {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.catalog-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

/* 专题策划 */

.topics {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 2px solid var(--line);
}

.topics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: start;
}

.topics-visual {
  position: relative;
}

.topic-figure {
  position: relative;
}

.topic-figure::before {
  content: "专题";
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--coral);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
}

.topic-rows {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.topic-row {
  position: relative;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 16px 20px;
}

.topic-corner {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--mustard);
  border: 2px solid var(--ink);
}

.topic-name {
  font-size: 1.0625rem;
  font-weight: 700;
  padding-right: 26px;
}

.topic-desc {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topics-body .text-link {
  margin-top: 18px;
}

/* 频道索引预览 */

.channels {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 2px solid var(--line);
}

.channels .section-text {
  max-width: 760px;
}

/* 入口核验 + FAQ */

.verify {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 2px solid var(--line);
}

.verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: start;
}

.check-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--sky);
  border: 2px solid var(--blue);
  color: var(--blue-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.check-body {
  min-width: 0;
}

.check-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.check-text {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.verify-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}

.faq-col .section-title {
  margin-bottom: 4px;
}

/* 更新记录 */

.updates {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 2px solid var(--line);
}

.updates .section-text {
  max-width: 760px;
}

.updates-more {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   pages · 内页通用区块
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 100%;
}

.page-intro,
.page-hero {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 30px;
}

.page-hero-inner {
  max-width: 100%;
}

.page-intro .page-lead,
.page-hero .page-lead,
.page-hero .lead {
  margin-top: 10px;
  max-width: 780px;
}

.page-hero .eyebrow,
.page-hero .page-eyebrow {
  margin-bottom: 10px;
}

.page-head {
  margin-bottom: 26px;
}

.page-head .lead {
  margin-top: 10px;
  max-width: 780px;
}

/* 内页章节通用间距 */

.summary-strip,
.latest-table-section,
.change-section,
.diff-section,
.continue-section,
.section-block,
.topic-feature,
.topic-structure,
.topic-dimensions,
.topic-slate,
.topic-channel-map,
.page-next,
.topic-index,
.channel-sections,
.status-legend,
.cross-links,
.step-nav,
.guide-steps,
.verify-list,
.mismatch,
.faq,
.continue-nav,
.section {
  margin-top: 44px;
}

.summary-strip,
.latest-table-section,
.change-section,
.diff-section,
.continue-section,
.section-block,
.topic-structure,
.topic-dimensions,
.topic-slate,
.topic-channel-map,
.page-next,
.topic-index,
.channel-sections,
.status-legend,
.cross-links,
.step-nav,
.guide-steps,
.verify-list,
.mismatch,
.faq,
.continue-nav,
.section {
  padding-top: 30px;
  border-top: 2px solid var(--line);
}

/* 继续浏览（通用） */

.continue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.continue-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.continue-link,
.continue-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
}

.continue-text,
.continue-desc {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 本期更新
   -------------------------------------------------------------------------- */

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.summary-cell {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  min-width: 0;
}

.summary-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.summary-label {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--coral);
}

.summary-text {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.latest-table .num {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.change-col {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
}

.sub-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 14px;
}

.change-types {
  display: grid;
  gap: 12px;
}

.change-type {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--mustard);
}

.change-type-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

.change-type-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.change-log {
  display: grid;
  gap: 12px;
}

.change-log-item {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}

.change-log-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-deep);
  background-color: var(--sky);
  border-radius: 999px;
  padding: 2px 10px;
  justify-self: start;
}

.change-log-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.diff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.diff-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--coral);
  padding: 18px 20px;
  min-width: 0;
}

.diff-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.latest-figure {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   pages · 往期目录
   -------------------------------------------------------------------------- */

.page-body {
  padding-bottom: 8px;
}

.hint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.hint-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.hint-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sky);
}

.hint-item p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.period-index {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.period-index-title,
.batch-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.period-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.period-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.period-link:hover {
  border-color: var(--blue);
  background-color: var(--sky);
  color: var(--blue-deep);
  text-decoration: none;
}

.archive-figure {
  margin-top: 20px;
}

.archive-rows {
  margin-top: 20px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
}

.archive-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.archive-row + .archive-row {
  border-top: 1px solid var(--line);
}

.archive-period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--mustard);
  border: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  flex: 0 0 auto;
}

.archive-entry {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.archive-channel,
.archive-topic {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  min-width: 0;
}

.archive-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.recall-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.recall-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.recall-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  color: var(--blue);
}

.recall-desc {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.batch-bar {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.batch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.batch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.batch-link:hover {
  border-color: var(--coral);
  color: var(--coral);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages · 专题策划
   -------------------------------------------------------------------------- */

.topic-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.topic-intro {
  min-width: 0;
}

.topic-intro h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
}

.topic-intro-text {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.topic-meta {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  padding: 16px 18px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
}

.topic-meta dt {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--coral);
  white-space: nowrap;
}

.topic-meta dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.structure-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.structure-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
}

.structure-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.structure-item p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.structure-link {
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

.dimension-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.dimension-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.dimension-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sky);
}

.dimension-item p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 专题页表格：手机端改为卡片式，避免横向溢出 */

.topic-slate .table-wrap,
.topic-channel-map .table-wrap {
  overflow-x: auto;
}

.page-next {
  margin-top: 44px;
}

.next-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.next-list li {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.next-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   pages · 频道索引
   -------------------------------------------------------------------------- */

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 16px;
}

.topic-index-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--sky);
  border-bottom: 2px solid var(--line);
}

.topic-index-table tbody th a {
  font-weight: 700;
}

.channel-figure {
  margin-top: 36px;
}

.channel-sections {
  margin-top: 44px;
}

.channel-block {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 16px;
}

.channel-block:first-of-type {
  margin-top: 20px;
}

.channel-head {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 12px;
}

.channel-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--paper);
  background-color: var(--blue);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 8px;
}

.channel-head h3 {
  font-size: 1.125rem;
  font-weight: 800;
}

.channel-desc {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.channel-entry-list {
  display: grid;
  gap: 0;
}

.channel-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}

.channel-entry + .channel-entry {
  border-top: 1px solid var(--line);
}

.entry-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.entry-form {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  min-width: 0;
}

.legend-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--sky);
  border-bottom: 2px solid var(--line);
}

.cross-links {
  margin-top: 44px;
}

.cross-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.cross-link-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.cross-link-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  color: var(--blue);
}

.cross-desc {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.related-links {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.related-links-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  margin: 0 8px 8px 0;
  border-radius: 999px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
}

.related-links-item:hover {
  border-color: var(--blue);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages · 观看说明
   -------------------------------------------------------------------------- */

.step-nav {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.step-nav .section-title {
  font-size: 1.125rem;
}

.step-anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.step-anchor {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
}

.step-anchor:hover {
  border-color: var(--blue);
  background-color: var(--sky);
  color: var(--blue-deep);
  text-decoration: none;
}

.section-heading {
  margin-bottom: 20px;
}

.section-num {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--coral);
  background-color: rgba(232, 93, 63, 0.1);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.section-heading .section-title {
  display: block;
  font-size: 1.5rem;
}

.section-heading .section-title .section-num {
  margin-right: 10px;
  margin-bottom: 0;
}

.guide-figure {
  margin-bottom: 24px;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  position: relative;
  border-left: 5px solid var(--blue);
}

.step-item .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.step-item .step-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item .step-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.step-item .step-done {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(63, 174, 138, 0.12);
  border-left: 3px solid var(--mint);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F7A5F;
}

.verify-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.verify-col {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.verify-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.verify-item .verify-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: var(--sky);
  border: 2px solid var(--blue);
  color: var(--blue-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.verify-item .verify-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.verify-item .verify-standard {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.mismatch-list {
  display: grid;
  gap: 14px;
}

.mismatch-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--coral);
  padding: 18px 20px;
}

.mismatch-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mismatch-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq .faq-item:first-child {
  margin-top: 0;
}

.continue-nav .continue-list {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   pages · 编选说明
   -------------------------------------------------------------------------- */

.section-head {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.section-head .section-desc {
  margin-top: 8px;
  max-width: 760px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.principle-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--mustard);
  padding: 18px 20px;
  min-width: 0;
}

.principle-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.principle-item p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.split-col {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
}

.split-col-include {
  border-top: 4px solid var(--mint);
}

.split-col-exclude {
  border-top: 4px solid var(--coral);
}

.split-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.standard-list {
  display: grid;
  gap: 14px;
}

.standard-item {
  padding-left: 14px;
  border-left: 3px solid var(--line);
}

.standard-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.standard-item p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.figure-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.figure-body {
  min-width: 0;
}

.rule-list {
  display: grid;
  gap: 14px;
}

.rule-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}

.rule-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rule-item p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.boundary-item {
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  border-left: 5px solid var(--coral);
  padding: 16px 18px;
  min-width: 0;
}

.boundary-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.boundary-item p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.correction-steps {
  display: grid;
  gap: 14px;
}

.correction-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.correction-step .step-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.correction-step .step-body {
  min-width: 0;
}

.correction-step .step-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.correction-step .step-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.continue-list .continue-item > a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 0;
  font-weight: 400;
  color: var(--ink);
}

.continue-list .continue-item > a:hover {
  text-decoration: none;
}

.continue-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.continue-list .continue-item > a:hover .continue-name {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  padding-top: 48px;
  padding-bottom: 64px;
}

.error-panel {
  max-width: 680px;
  background-color: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  border-top: 6px solid var(--coral);
  padding: 32px 30px 34px;
}

.error-code {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.error-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
}

.error-text {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.error-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 26px;
  border-radius: var(--radius);
  background-color: var(--blue);
  border: 2px solid var(--blue);
  color: var(--paper);
  font-weight: 700;
}

.error-home:hover {
  background-color: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--paper);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-feedback {
    grid-column: span 3;
  }

  .hero-grid,
  .topics-grid,
  .verify-grid {
    gap: 28px;
  }

  .catalog-grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav.site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    background-color: var(--paper);
    border-bottom: 2px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px var(--gutter) 14px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    font-size: 1rem;
  }

  .nav-link.is-current {
    border-bottom-color: var(--line);
    border-left-color: var(--blue);
    background-color: var(--sky);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: 2;
  }

  .catalog-grid,
  .topics-grid,
  .verify-grid,
  .topic-feature,
  .figure-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .topics-visual {
    order: 1;
  }

  .topics-body {
    order: 2;
  }

  .section-heading .section-title {
    font-size: 1.375rem;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 64px;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .change-grid,
  .diff-list,
  .hint-grid,
  .verify-columns,
  .split-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .archive-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 12px;
    padding: 16px 0;
  }

  .archive-period {
    grid-row: span 2;
    align-self: start;
  }

  .archive-entry {
    grid-column: 2;
  }

  .archive-channel,
  .archive-topic {
    grid-column: 2;
    display: inline;
  }

  .archive-channel::after {
    content: " · ";
    color: var(--line);
  }

  .archive-link {
    grid-column: 2;
    justify-self: start;
  }

  .channel-entry {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px 0;
  }

  .entry-title {
    grid-column: 1;
  }

  .entry-form {
    grid-column: 1;
    grid-row: 2;
  }

  .channel-entry .status-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .channel-entry .text-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-feedback {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  body.site-body {
    font-size: 16px;
  }

  .site-main {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .inner-main {
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .page-header {
    padding: 4px 0 16px;
    margin-bottom: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 1 1 160px;
  }

  .hero-focus {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-log {
    padding: 4px 14px;
  }

  .log-line {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 12px;
    padding: 12px 0;
  }

  .log-col {
    grid-column: 2;
    justify-self: start;
  }

  .catalog-list {
    padding: 4px 14px;
  }

  .catalog-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 14px 0;
  }

  .catalog-no {
    grid-row: span 2;
    align-self: start;
  }

  .catalog-body {
    grid-column: 2;
  }

  .catalog-row .badge {
    grid-column: 2;
    justify-self: start;
  }

  .catalog-link {
    grid-column: 2;
    justify-self: start;
  }

  .topic-row {
    padding: 14px 16px;
  }

  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-intro,
  .page-hero {
    padding: 18px 16px;
    margin-bottom: 24px;
  }

  .summary-strip,
  .latest-table-section,
  .change-section,
  .diff-section,
  .continue-section,
  .section-block,
  .topic-structure,
  .topic-dimensions,
  .topic-slate,
  .topic-channel-map,
  .page-next,
  .topic-index,
  .channel-sections,
  .status-legend,
  .cross-links,
  .step-nav,
  .guide-steps,
  .verify-list,
  .mismatch,
  .faq,
  .continue-nav,
  .section,
  .catalog,
  .topics,
  .channels,
  .verify,
  .updates {
    margin-top: 36px;
    padding-top: 24px;
  }

  .change-col,
  .diff-item,
  .hint-item,
  .channel-block,
  .split-col,
  .principle-item,
  .boundary-item,
  .rule-item,
  .structure-item,
  .dimension-item,
  .verify-item,
  .mismatch-item,
  .step-item {
    padding: 16px;
  }

  .step-anchor-list {
    gap: 8px;
  }

  .step-anchor {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.8125rem;
    padding: 0 12px;
  }

  .period-list,
  .batch-list {
    gap: 6px;
  }

  .period-link,
  .batch-link {
    min-width: 44px;
    padding: 0 10px;
  }

  .correction-step {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .error-panel {
    padding: 24px 18px 26px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px var(--gutter) 20px;
    gap: 24px;
  }

  .footer-brand,
  .footer-feedback {
    grid-column: auto;
  }

  .footer-copy {
    padding: 14px var(--gutter);
  }

  .topic-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topic-list {
    flex-wrap: nowrap;
    padding: 8px var(--gutter);
    width: max-content;
    min-width: 100%;
  }

  .topic-link {
    min-height: 40px;
  }

  /* 专题页表格：转为纵向卡片，彻底消除横向溢出 */

  .topic-slate .table-wrap,
  .topic-channel-map .table-wrap {
    overflow-x: visible;
    background-color: transparent;
    border: none;
    border-radius: 0;
  }

  .slate-table,
  .channel-map-table {
    min-width: 0;
    width: 100%;
    display: block;
    background-color: transparent;
  }

  .slate-table thead,
  .channel-map-table thead {
    display: none;
  }

  .slate-table tbody,
  .channel-map-table tbody {
    display: block;
    width: 100%;
  }

  .slate-table tbody tr,
  .channel-map-table tbody tr {
    display: block;
    width: 100%;
    background-color: var(--paper);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .slate-table tbody tr:last-child,
  .channel-map-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .slate-table tbody td,
  .channel-map-table tbody td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .slate-table tbody td:last-child,
  .channel-map-table tbody td:last-child {
    border-bottom: none;
  }

  .slate-table tbody td::before,
  .channel-map-table tbody td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1.9;
  }

  /* 其余数据表保持容器内滚动，不撑破页面 */

  .table-wrap {
    max-width: 100%;
  }

  .index-table,
  .log-table,
  .data-table,
  .legend-table,
  .latest-table {
    min-width: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
