/* ==========================================================================
   麻花高清 d553.com — 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */
:root {
  --ink-950: #0e1116;
  --ink-900: #12171e;
  --ink-800: #171d26;
  --ink-700: #1c232d;
  --ink-600: #2a3340;
  --ink-500: #3a4554;
  --paper: #f4f1e9;
  --paper-2: #eae5d8;
  --amber: #e8a33d;
  --amber-deep: #c9852a;
  --teal: #4fb3a6;
  --text: #e9edf2;
  --text-dim: #a8b3c2;
  --text-ink: #1a1f27;
  --text-ink-dim: #4c5563;
  --line: #2a3340;
  --line-soft: #232b36;
  --radius: 4px;
  --radius-lg: 6px;
  --wrap: 1160px;
  --gap: 40px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

a:hover {
  color: var(--amber);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.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;
}

/* --------------------------------------------------------------------------
   2. layout — 全站骨架
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 页头 */
.site-header {
  background: var(--ink-800);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 6px 0;
}

.brand-mark {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}

.brand-mark::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: 4px;
}

.brand-slogan {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 14.5px;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #fff;
  border-bottom-color: var(--ink-500);
}

.nav-link.is-current {
  color: var(--amber);
  border-bottom-color: var(--amber);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* 题材索引条 */
.topic-bar {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line);
}

.topic-bar-list {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-500) transparent;
}

.topic-bar-list::-webkit-scrollbar {
  height: 4px;
}

.topic-bar-list::-webkit-scrollbar-thumb {
  background: var(--ink-500);
  border-radius: 2px;
}

.topic-bar-list > li {
  flex: 0 0 auto;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.topic-chip:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}

/* 主容器 */
.inner-main {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px 72px;
}

.home-main {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  padding: 2px 0 16px;
}

.breadcrumb a {
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-deep);
}

.breadcrumb-sep {
  color: var(--ink-500);
  font-family: var(--mono);
}

.breadcrumb-current {
  color: var(--text);
}

/* 页面标题区 */
.page-header {
  padding: 0 0 26px;
}

.page-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  color: #fff;
  max-width: 22em;
}

.page-hero {
  padding: 0 0 26px;
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-head {
  padding: 0 0 28px;
  display: grid;
  gap: 16px;
  max-width: 860px;
}

/* 内页两栏布局：默认主内容在前、侧栏在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--gap);
  align-items: start;
}

.page-layout > .content-main,
.page-layout > .layout-main,
.page-layout > .page-content {
  min-width: 0;
}

.page-layout > .content-aside,
.page-layout > .layout-aside,
.page-layout > .page-aside {
  min-width: 0;
}

/* 左栏页面：aside 在前 */
.page-layout.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
}

.page-layout.sidebar-left > .page-aside {
  grid-column: 1;
  grid-row: 1;
}

.page-layout.sidebar-left > .page-content {
  grid-column: 2;
  grid-row: 1;
}

/* 页脚 */
.site-footer {
  flex: 0 0 auto;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.footer-cta {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-cta-text {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  max-width: 30em;
}

.footer-columns {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 14px;
  text-transform: none;
}

.footer-links {
  display: grid;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 24px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.footer-desc {
  font-size: 12.5px;
  color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   3. components — 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: var(--amber);
  color: #14181f;
  border-color: var(--amber);
}

.btn-primary:hover {
  background: #f2b559;
  color: #14181f;
  border-color: #f2b559;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--ink-500);
}

.btn-ghost:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  border-bottom: 1px solid transparent;
}

.text-link::after {
  content: "→";
  font-family: var(--mono);
  font-size: 13px;
}

.text-link:hover {
  color: #f2b559;
  border-bottom-color: var(--amber-deep);
}

/* 标签胶囊 */
.tag,
.tag-pill,
.meta-tag,
.version-tag,
.field-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.tag-batch {
  color: var(--amber);
  border-color: var(--amber-deep);
}

.tag-clarity {
  color: var(--teal);
  border-color: #2f6d66;
}

.tag-count {
  color: var(--text);
  border-color: var(--ink-500);
}

.tag-amber {
  color: var(--amber);
  border-color: var(--amber-deep);
}

.tag-teal {
  color: var(--teal);
  border-color: #2f6d66;
}

.tag-outline {
  color: var(--text);
  border-color: var(--ink-500);
}

.tag-hd {
  color: var(--teal);
  border-color: #2f6d66;
}

.tag-pill-teal {
  color: var(--teal);
  border-color: #2f6d66;
}

.tag-version {
  color: var(--amber);
  border-color: var(--amber-deep);
}

.tag-strip,
.tag-row,
.meta-tags,
.field-tags,
.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* 区块标题 */
.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  max-width: 780px;
}

.section-head h2,
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.section-sub,
.section-intro,
.section-desc,
.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.section-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
}

.section-note a {
  color: var(--amber);
  border-bottom: 1px solid transparent;
}

.section-note a:hover {
  border-bottom-color: var(--amber-deep);
}

.col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* 字段表（dt/dd 两列） */
.field-table {
  margin: 0;
  display: grid;
  gap: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
  align-items: baseline;
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row dt,
.field-name {
  font-size: 13px;
  color: var(--text-dim);
}

.field-row dd,
.field-value {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  word-break: break-word;
}

/* 批次行 */
.batch-list {
  display: grid;
  gap: 0;
}

.batch-row {
  display: grid;
  grid-template-columns: 92px 92px 96px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.batch-row:last-child {
  border-bottom: 0;
}

.batch-date {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.batch-no,
.batch-code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--amber);
}

.batch-object,
.batch-type {
  font-size: 12.5px;
  color: var(--teal);
}

.batch-note {
  color: var(--text);
  line-height: 1.6;
  min-width: 0;
}

.batch-flag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 22px;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* 折叠问答 */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 0 18px;
}

.faq-item[open] {
  border-color: var(--ink-500);
  background: var(--ink-800);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--amber);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 62em;
}

/* 图片与图注 */
.hero-figure,
.featured-cover img,
.about-figure img,
.batch-figure img,
.content-figure img,
.catalog-figure img,
.media-figure img,
.archive-figure img,
.faq-figure img,
.figure-block img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.figure-caption,
.media-caption,
figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* 横向表格滚动容器 */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-500) transparent;
}

.table-scroll::-webkit-scrollbar {
  height: 6px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: var(--ink-500);
  border-radius: 3px;
}

.table-hint {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-500);
}

/* 侧栏通用 */
.aside-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 18px;
  margin-bottom: 18px;
}

.aside-block:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.aside-link-list,
.aside-links {
  display: grid;
  gap: 2px;
}

.aside-link-list a,
.aside-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--line-soft);
}

.aside-link-list li:last-child a,
.aside-links li:last-child a {
  border-bottom: 0;
}

.aside-link-list a:hover,
.aside-links a:hover {
  color: var(--amber);
}

.aside-notes {
  display: grid;
  gap: 10px;
}

.aside-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
  padding-left: 12px;
  border-left: 2px solid var(--ink-500);
}

.aside-tips {
  display: grid;
  gap: 10px;
}

.aside-tip {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
  padding-left: 12px;
  border-left: 2px solid var(--amber-deep);
}

.aside-dict {
  display: grid;
  gap: 0;
}

.aside-dict-row {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.aside-dict-row:last-child {
  border-bottom: 0;
}

.aside-dict-row dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.aside-dict-row dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* 相关链接（首页横条） */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 40px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: .04em;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
}

.related-links-item:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-deep);
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */
.home-main > section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line-soft);
}

.home-main > section:first-child {
  padding-top: 40px;
}

.home-main > section:last-of-type {
  border-bottom: 0;
}

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.hero-media {
  display: grid;
  gap: 0;
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-media .tag-strip {
  margin-top: 12px;
}

.hero-copy {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--amber);
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  color: #fff;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-facts {
  margin: 8px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hero-facts .fact-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
  align-items: baseline;
}

.hero-facts dt {
  font-size: 13px;
  color: var(--text-dim);
}

.hero-facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
}

/* 内容对象对比表 */
.compare-table {
  font-size: 14px;
  background: var(--paper);
  color: var(--text-ink);
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d9d3c4;
  line-height: 1.65;
}

.compare-table thead th {
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-ink);
  white-space: nowrap;
  border-bottom: 1px solid #cfc8b7;
}

.compare-table tbody th {
  font-weight: 700;
  color: #14181f;
  white-space: nowrap;
  background: #efeadd;
}

.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td {
  background: #e5dfd0;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td {
  color: var(--text-ink-dim);
  min-width: 132px;
}

.compare-table td:first-of-type {
  color: var(--text-ink);
}

/* 本期主推专题三栏 */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 300px);
  gap: 28px;
  align-items: start;
}

.featured-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.featured-fields,
.featured-notes {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 18px;
}

.notes-list {
  display: grid;
  gap: 12px;
  counter-reset: note;
}

.notes-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  counter-increment: note;
}

.notes-list li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
}

.featured-notes .text-link {
  margin-top: 12px;
}

/* 题材首字索引 */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.topic-card a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  min-height: 84px;
}

.topic-card a:hover {
  border-color: var(--amber-deep);
  background: var(--ink-800);
}

.topic-char {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  border-radius: var(--radius);
}

.topic-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.topic-words {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* 更新日程摘要 */
.digest-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.digest-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 18px;
}

.digest-block .batch-row {
  grid-template-columns: 88px 88px minmax(0, 1fr);
}

.digest-block .batch-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 2px;
}

.schedule-digest > .text-link {
  margin-top: 18px;
}

/* 品牌说明 */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.about-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.principle-list {
  display: grid;
  gap: 12px;
  counter-reset: principle;
}

.principle-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  counter-increment: principle;
}

.principle-list li::before {
  content: counter(principle);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  border-radius: 3px;
}

.about-boundary {
  padding: 14px 16px;
  border-left: 2px solid var(--teal);
  background: var(--ink-900);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* 入口核验三步 */
.verify-steps .step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.verify-steps .step-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 18px;
  min-width: 0;
}

.verify-steps .step-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.verify-steps .step-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.verify-steps .step-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.verify-steps > .text-link {
  margin-top: 18px;
}

/* 首页常见疑问 */
.faq-preview .faq-list {
  max-width: 860px;
}

.faq-preview > .text-link {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   5. pages — 更新日程
   -------------------------------------------------------------------------- */
.field-bar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 18px;
  margin-bottom: 26px;
}

.field-bar .section-title {
  font-size: 15px;
  margin-bottom: 14px;
}

.field-bar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.field-bar-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
}

.field-bar-name {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--amber);
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.field-bar-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.batch-figure {
  margin-bottom: 26px;
}

.batch-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.batch-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 20px;
  margin-bottom: 22px;
}

.batch-section-alt {
  background: var(--paper);
  border-color: #d9d3c4;
  color: var(--text-ink);
}

.batch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.batch-section-alt .batch-head {
  border-bottom-color: #d9d3c4;
}

.batch-count {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.batch-section-alt .batch-count {
  color: var(--text-ink-dim);
}

.batch-section-alt .batch-date {
  color: var(--text-ink-dim);
}

.batch-section-alt .batch-note {
  color: var(--text-ink);
}

.batch-section-alt .batch-row {
  border-bottom-color: #ddd6c6;
}

.batch-section-alt .batch-flag {
  color: var(--text-ink-dim);
  border-color: #cfc8b7;
}

.related-links h2 {
  margin-bottom: 14px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 16px;
  min-width: 0;
}

.related-card a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--amber);
  border-bottom: 1px solid transparent;
}

.related-card a:hover {
  border-bottom-color: var(--amber-deep);
}

.related-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   6. pages — 主题索引
   -------------------------------------------------------------------------- */
.page-aside .aside-block {
  margin-bottom: 18px;
}

.group-nav-list {
  display: grid;
  gap: 2px;
}

.group-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.group-nav-link:hover {
  background: var(--ink-800);
  color: inherit;
}

.group-nav-link:hover .group-nav-name {
  color: var(--amber);
}

.group-nav-char {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  border-radius: var(--radius);
}

.group-nav-name {
  font-size: 14px;
  color: var(--text);
}

.group-nav-link:first-child {
  border-left-color: var(--amber);
}

.field-dict {
  display: grid;
  gap: 0;
}

.field-dict .field-dict-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding-top: 9px;
}

.field-dict .field-dict-value {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-soft);
}

.field-dict .field-dict-value:last-child {
  border-bottom: 0;
}

.content-figure {
  margin-bottom: 24px;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.topic-group {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 90px;
}

.topic-group:first-of-type {
  padding-top: 0;
}

.group-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.group-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 14px;
  max-width: 60em;
}

.topic-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.topic-item {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}

.topic-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid transparent;
  justify-self: start;
}

.topic-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-deep);
}

.topic-scope {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
  min-width: 0;
}

.topic-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  white-space: nowrap;
  justify-self: end;
}

.relation-note {
  padding: 24px 0 0;
}

.relation-note .section-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.relation-note > p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 62em;
}

.relation-points {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.relation-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.relation-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.relation-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}

.relation-more a {
  color: var(--amber);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.relation-more a:hover {
  border-bottom-color: var(--amber-deep);
}

/* --------------------------------------------------------------------------
   7. pages — 专题片单
   -------------------------------------------------------------------------- */
.catalog-section {
  margin-bottom: 36px;
}

.catalog-figure {
  margin: 16px 0 22px;
}

.catalog-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.catalog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  margin-bottom: 16px;
  overflow: hidden;
}

.catalog-card:last-child {
  margin-bottom: 0;
}

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 14px 18px;
  background: var(--ink-800);
  border-bottom: 1px solid var(--line);
}

.catalog-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .04em;
}

.catalog-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.catalog-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

.entry-list {
  display: grid;
}

.entry-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 62px 74px 78px;
  gap: 10px;
  align-items: baseline;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  min-width: 0;
}

.entry-row:last-child {
  border-bottom: 0;
}

.entry-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-500);
}

.entry-title {
  color: var(--text);
  min-width: 0;
}

.entry-duration {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.entry-batch {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
}

.entry-row .tag-hd {
  justify-self: start;
}

.fields-section {
  margin-bottom: 36px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text-ink);
}

.fields-section .section-title {
  color: #14181f;
}

.fields-section .section-intro {
  color: var(--text-ink-dim);
  margin: 8px 0 16px;
}

.fields-section .field-row {
  border-bottom-color: #d9d3c4;
}

.fields-section .field-name {
  color: var(--text-ink-dim);
}

.fields-section .field-value {
  color: var(--text-ink);
}

.rules-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.rules-section .section-title {
  margin-bottom: 16px;
}

.rules-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rules-col {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
}

.rules-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.rules-list {
  display: grid;
  gap: 8px;
}

.rules-item,
.rules-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.rules-list-exclude li::before {
  background: var(--teal);
}

.rules-note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.rules-note a {
  color: var(--amber);
  border-bottom: 1px solid transparent;
}

.rules-note a:hover {
  border-bottom-color: var(--amber-deep);
}

/* --------------------------------------------------------------------------
   8. pages — 观看指南
   -------------------------------------------------------------------------- */
.section {
  margin-bottom: 38px;
}

.section-compare .media-figure {
  margin: 16px 0 22px;
}

.media-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-col {
  min-width: 0;
  padding: 18px;
  background: var(--ink-900);
}

.compare-col + .compare-col {
  border-left: 1px solid var(--line);
}

.compare-excluded {
  background: var(--ink-800);
}

.compare-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.compare-included .compare-title {
  color: var(--teal);
}

.compare-excluded .compare-title {
  color: var(--amber);
}

.compare-list {
  display: grid;
  gap: 8px;
}

.compare-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.compare-included .compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 12px;
  color: var(--teal);
}

.compare-excluded .compare-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  font-size: 13px;
  color: var(--amber);
}

.data-table {
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-900);
}

.data-table caption.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: var(--ink-800);
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.7;
}

.data-table thead th {
  background: var(--ink-800);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.data-table tbody th {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
}

.data-table td {
  color: var(--text-dim);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.label-table .cell-key {
  font-family: var(--mono);
  color: var(--teal);
}

.device-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.device-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.device-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.device-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.flow-list {
  display: grid;
  gap: 12px;
  counter-reset: flow;
}

.flow-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  counter-increment: flow;
}

.flow-num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  border-radius: var(--radius);
}

.flow-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.flow-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   9. pages — 入口核验
   -------------------------------------------------------------------------- */
.content-section {
  margin-bottom: 36px;
}

.content-section .step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.content-section .step-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.content-section .step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.content-section .step-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.content-section .step-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.content-section .table-scroll {
  margin-top: 16px;
}

.check-table {
  font-size: 13.5px;
  background: var(--paper);
  color: var(--text-ink);
}

.check-table th,
.check-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d9d3c4;
  line-height: 1.7;
  min-width: 150px;
}

.check-table thead th {
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 700;
  color: #14181f;
  white-space: nowrap;
}

.check-table tbody th {
  font-family: var(--mono);
  font-weight: 600;
  color: #14181f;
  white-space: nowrap;
  background: #efeadd;
}

.check-table td {
  color: var(--text-ink-dim);
}

.check-table tbody tr:last-child th,
.check-table tbody tr:last-child td {
  border-bottom: 0;
}

.mismatch-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mismatch-item {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--ink-900);
  min-width: 0;
}

.mismatch-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mismatch-body {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
  min-width: 0;
}

.figure-block {
  margin-top: 16px;
}

.figure-block img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.content-section .field-table {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   10. pages — 往期回顾
   -------------------------------------------------------------------------- */
.content-shell {
  display: block;
}

.archive-rules {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  padding: 20px;
  margin-bottom: 30px;
}

.archive-rules .section-title {
  margin-bottom: 10px;
}

.rule-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.rule-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.rule-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  border-radius: var(--radius);
}

.rule-body {
  min-width: 0;
}

.rule-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.rule-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.archive-batch {
  margin-bottom: 34px;
}

.archive-batch .batch-head {
  border-bottom: 1px solid var(--line);
}

.batch-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.archive-figure {
  margin: 16px 0 20px;
}

.archive-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.archive-card {
  min-width: 0;
}

.archive-card-link {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  min-height: 100%;
}

.archive-card-link:hover {
  border-color: var(--amber-deep);
  background: var(--ink-800);
}

.archive-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .04em;
}

.archive-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.archive-fields {
  margin: 2px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}

.archive-fields dt {
  font-size: 12px;
  color: var(--ink-500);
}

.archive-fields dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.archive-fields dt,
.archive-fields dd {
  min-width: 0;
}

.archive-compare {
  margin-bottom: 34px;
}

.archive-compare .section-title {
  margin-bottom: 16px;
}

.compare-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-col.compare-archive,
.compare-col.compare-active {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  min-width: 0;
}

.compare-col.compare-active {
  background: var(--ink-800);
  border-color: var(--ink-500);
}

.compare-heading {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.compare-archive .compare-heading {
  color: var(--text-dim);
}

.compare-active .compare-heading {
  color: var(--teal);
}

.compare-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.compare-text + .compare-text {
  margin-top: 8px;
}

.archive-batch .related-links {
  display: block;
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.archive-batch .related-links .section-title {
  margin-bottom: 14px;
}

.archive-batch .related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.archive-batch .related-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.archive-batch .related-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--amber);
}

.archive-batch .related-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   11. pages — 问题反馈
   -------------------------------------------------------------------------- */
.faq-section,
.checklist-section,
.related-section {
  margin-bottom: 36px;
}

.faq-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.faq-col {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.faq-section .faq-answer p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.faq-figure {
  margin: 16px 0 22px;
}

.faq-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.checklist-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  min-width: 0;
}

.checklist-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  border-radius: var(--radius);
}

.checklist-body {
  min-width: 0;
}

.checklist-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.checklist-body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.related-section .related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 0;
  margin-top: 16px;
  padding-top: 0;
}

.related-section .related-item {
  min-width: 0;
}

.related-section .related-item a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  min-height: 100%;
}

.related-section .related-item a:hover {
  border-color: var(--amber-deep);
  background: var(--ink-800);
}

.related-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.related-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   12. pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.error-title {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--amber);
  margin-bottom: 12px;
}

.error-title h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 46em;
}

.error-reasons,
.error-actions {
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}

.error-actions {
  border-bottom: 0;
}

.error-reasons h2,
.error-actions h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.error-reason-list {
  display: grid;
  gap: 8px;
  max-width: 62em;
}

.error-reason-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.error-reason-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.error-actions-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 18px;
  max-width: 62em;
}

.error-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-action-list .btn {
  min-width: 140px;
}

/* --------------------------------------------------------------------------
   13. responsive
   -------------------------------------------------------------------------- */

/* 1080px：侧栏下沉 */
@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .nav-link {
    padding: 0 8px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 32px;
  }

  .featured-grid {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  }

  .featured-notes {
    grid-column: 1 / -1;
  }

  .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout.sidebar-left > .page-aside,
  .page-layout.sidebar-left > .page-content {
    grid-column: 1;
    grid-row: auto;
  }

  .page-layout.sidebar-left > .page-aside {
    order: 2;
  }

  .page-layout.sidebar-left > .page-content {
    order: 1;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 28px;
  }

  .topic-item {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  }

  .topic-meta {
    grid-column: 2;
    justify-self: start;
  }

  .device-list,
  .content-section .step-row,
  .verify-steps .step-row,
  .related-list,
  .related-section .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-list > li:last-child:nth-child(odd),
  .related-section .related-links > li:last-child:nth-child(odd),
  .device-list > li:last-child:nth-child(odd),
  .content-section .step-row > li:last-child:nth-child(odd),
  .verify-steps .step-row > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* 900px：导航收进汉堡 */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 18px;
    min-height: 60px;
    gap: 0;
  }

  .brand {
    min-height: 60px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding: 6px 0 10px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 46px;
    padding: 0 12px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid transparent;
  }

  .nav-link:hover {
    border-bottom-color: var(--line-soft);
  }

  .nav-link.is-current {
    border-bottom-color: var(--line-soft);
    border-left-color: var(--amber);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .digest-columns,
  .compare-columns,
  .compare-cols,
  .rules-columns,
  .faq-columns,
  .archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-col + .compare-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .field-bar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-bar-list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-notes {
    grid-column: auto;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* 760px：单栏 */
@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .header-inner,
  .topic-bar-list,
  .inner-main,
  .home-main,
  .footer-cta,
  .footer-columns,
  .footer-bottom,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-slogan {
    display: none;
  }

  .inner-main,
  .home-main {
    padding-bottom: 48px;
  }

  .home-main > section {
    padding: 34px 0;
  }

  .home-main > section:first-child {
    padding-top: 24px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head h2,
  .section-title {
    font-size: 19px;
  }

  .page-header {
    padding-bottom: 20px;
  }

  .page-title {
    font-size: 27px;
    line-height: 1.28;
  }

  .page-hero {
    padding-bottom: 20px;
  }

  .page-lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 150px;
  }

  .hero-facts .fact-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  /* 对比表 → 字段卡片 */
  .table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody tr {
    background: var(--paper);
    border: 1px solid #d9d3c4;
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }

  .compare-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .compare-table tbody th {
    display: block;
    padding: 11px 14px;
    background: var(--paper-2);
    border-bottom: 1px solid #d9d3c4;
    white-space: normal;
    font-size: 14px;
  }

  .compare-table tbody td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px dashed #ddd6c6;
    min-width: 0;
    font-size: 13.5px;
  }

  .compare-table tbody td:last-child {
    border-bottom: 0;
  }

  .compare-table tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    color: #7a8391;
    font-family: var(--mono);
  }

  .table-hint {
    display: block;
  }

  /* 主题索引卡两列 */
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .topic-card a {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
    min-height: 76px;
  }

  .topic-char {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .topic-name {
    font-size: 14px;
  }

  .topic-words {
    font-size: 12px;
  }

  /* 批次行 → 纵向 */
  .batch-row,
  .digest-block .batch-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 12px 0;
  }

  .batch-date {
    grid-column: 1;
    grid-row: 1;
  }

  .batch-no,
  .batch-code {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .batch-object,
  .batch-type {
    grid-column: 1;
    grid-row: 2;
  }

  .batch-note {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .batch-flag {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  /* 三步核验纵向 */
  .verify-steps .step-row,
  .content-section .step-row,
  .device-list,
  .related-list,
  .related-section .related-links,
  .archive-batch .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .verify-steps .step-row > li:last-child:nth-child(odd),
  .content-section .step-row > li:last-child:nth-child(odd),
  .device-list > li:last-child:nth-child(odd),
  .related-list > li:last-child:nth-child(odd),
  .related-section .related-links > li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .field-bar-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-bar-list > li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  /* 主题条目 */
  .topic-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }

  .topic-link {
    font-size: 15px;
  }

  .topic-meta {
    grid-column: 1;
    justify-self: start;
  }

  /* 片单条目 → 两行卡 */
  .catalog-head {
    padding: 12px 14px;
  }

  .catalog-meta {
    margin-left: 0;
    flex-basis: 100%;
  }

  .entry-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 10px 14px;
  }

  .entry-index {
    grid-row: 1 / span 2;
  }

  .entry-title {
    grid-column: 2;
    grid-row: 1;
  }

  .entry-duration {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .entry-row .tag-hd {
    grid-column: 2;
    grid-row: 2;
  }

  .entry-batch {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .fields-section,
  .rules-section,
  .batch-section,
  .archive-rules {
    padding: 16px;
  }

  .field-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }

  /* 归档卡单列 */
  .archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .archive-batch .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 不一致情形 */
  .mismatch-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  /* 核验对照表横向滚动，不隐藏列 */
  .content-section .table-scroll {
    overflow-x: auto;
  }

  .check-table {
    min-width: 520px;
  }

  .check-table th,
  .check-table td {
    min-width: 0;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .data-table thead,
  .data-table tbody,
  .data-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .data-table th,
  .data-table td {
    white-space: normal;
    padding: 10px 12px;
    font-size: 13px;
  }

  /* 页脚 */
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .footer-cta-text {
    font-size: 16px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .footer-columns .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .error-main {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .error-action-list .btn {
    flex: 1 1 auto;
  }
}

/* 420px 以下微调 */
@media (max-width: 420px) {
  .topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    flex-basis: 100%;
  }

  .page-title {
    font-size: 25px;
  }

  .compare-table tbody td {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
