/* ==========================================================================
   天美轻量版 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
:root {
  --bg-page: #F4F5F1;
  --bg-surface: #FFFFFF;
  --bg-muted: #ECEEE7;
  --brand: #24406B;
  --brand-deep: #1B3255;
  --accent: #E0762E;
  --ok: #2E7A5C;
  --text: #1C2027;
  --text-soft: #5B6270;
  --line: #DDE0D8;
  --line-strong: #C7CBC0;
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1120px;
  --body-col: 760px;
  --header-h: 64px;
  --shadow-row: 0 1px 0 rgba(28, 32, 39, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

h1, h2, h3, h4, p, figure, dl, dd, ul, ol, table {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  color: var(--brand-deep);
  line-height: 1.35;
  font-weight: 700;
}

h2 { font-size: 22px; }
h3 { font-size: 17px; font-weight: 600; }

p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 骨架
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-page);
}

.site-main {
  flex: 1 0 auto;
  padding-bottom: 56px;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
}

.brand:hover {
  color: var(--brand);
}

/* 导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 2px;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-item > a:hover {
  color: var(--brand);
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--brand-deep);
  font-weight: 600;
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 1px;
}

/* 内页主容器 */
.inner-main {
  padding-top: 20px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--text);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
}

.page-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--brand-deep);
}

.page-description {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-soft);
}

.page-title-block {
  padding: 22px 0 0;
}

.page-title-block .container {
  padding-bottom: 4px;
}

.page-title-block .page-lead {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 780px;
}

/* 页脚 */
.site-footer {
  flex: 0 0 auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  min-height: 22px;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: var(--bg-muted);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  color: var(--text-soft);
}

.footer-brand {
  font-weight: 600;
  color: var(--brand-deep);
}

.footer-slogan {
  color: var(--text-soft);
}

.footer-note {
  margin-left: auto;
  color: var(--text-soft);
}

/* 内页双栏布局 */
.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-layout.sidebar-right {
  grid-template-columns: minmax(0, 1fr) 264px;
}

.page-layout.sidebar-left {
  grid-template-columns: 264px minmax(0, 1fr);
}

.page-content {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

/* 单栏正文流 */
.inner-main > .container,
.inner-main > .page-header,
.inner-main > .breadcrumb {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.inner-main > .page-header,
.inner-main > .breadcrumb {
  max-width: var(--body-col);
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */
.section {
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 22px;
  color: var(--brand-deep);
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  line-height: 1.3;
}

.section-lead,
.section-desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 760px;
}

.section-title {
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  font-size: 22px;
  color: var(--brand-deep);
  line-height: 1.3;
}

.section-intro {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 720px;
}

.section-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-soft);
}

.content-section {
  margin-bottom: 40px;
}

.content-section:last-child {
  margin-bottom: 0;
}

/* 图片容器 */
.section-figure,
.content-figure,
.media-figure,
.glossary-figure {
  margin: 0 0 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-figure img,
.content-figure img,
.media-figure img,
.glossary-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-muted);
}

.section-figure figcaption,
.content-figure figcaption,
.media-figure figcaption,
.glossary-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
}

/* 状态标签 */
.status-tags,
.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.status-tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brand);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.status-tag:first-child,
.tag-accent {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* 页内导语块 */
.page-hero {
  max-width: var(--body-col);
  margin: 0 auto 32px;
  padding: 0 24px;
}

.page-hero .page-lead {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
}

.page-hero-inner {
  max-width: var(--body-col);
  margin: 0 auto;
  padding: 0 24px;
}

/* 侧栏块 */
.aside-block {
  padding: 18px 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  letter-spacing: 0.02em;
}

.aside-anchor-list,
.aside-link-list,
.aside-links,
.aside-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.aside-anchor-list a,
.aside-link-list a,
.aside-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px dashed var(--line);
}

.aside-anchor-list li:last-child a,
.aside-link-list li:last-child a,
.aside-links li:last-child a {
  border-bottom: 0;
}

.aside-anchor-list a:hover,
.aside-link-list a:hover,
.aside-links a:hover {
  color: var(--brand);
}

.aside-point {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

.aside-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.data-table {
  min-width: 560px;
  font-size: 14px;
  line-height: 1.6;
}

.table-caption {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.04em;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  background: var(--bg-muted);
  white-space: nowrap;
}

.data-table tbody th {
  width: 26%;
  font-weight: 600;
  color: var(--brand-deep);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #FAFBF8;
}

/* 折叠问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-deep);
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 200ms ease;
}

.faq-item[open] .faq-q::after {
  content: "−";
}

.faq-a {
  padding: 0 18px 16px;
  font-size: 15px;
  color: var(--text-soft);
}

.faq-a p + p {
  margin-top: 8px;
}

/* 文本链接 */
.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 步骤通用（作用域限定：home step / inner step） */
.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  position: relative;
  min-width: 0;
  padding: 20px 18px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.flow-steps .step-name {
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--brand-deep);
}

.flow-steps .step-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.flow-steps .step-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
}

.flow-steps .step-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  padding-bottom: 0;
}

/* 首屏控制台 */
.hero-console {
  background: var(--bg-page);
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.hero-main {
  min-width: 0;
}

.hero-figure {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.hero-main h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--brand-deep);
}

.hero-lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  color: #fff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.btn-ghost {
  color: var(--brand);
  background: var(--bg-surface);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
  background: var(--bg-muted);
}

/* 任务入口面板 */
.hero-tasks {
  min-width: 0;
  padding: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel-title {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-row {
  min-width: 0;
}

.task-row > a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  color: var(--text);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.task-row > a:hover {
  background: var(--bg-muted);
  border-color: var(--line);
  transform: translateX(2px);
  color: var(--text);
}

.task-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: #FBEADF;
  border-radius: 50%;
}

.task-body {
  flex: 1 1 auto;
  min-width: 0;
}

.task-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-deep);
  line-height: 1.5;
}

.task-desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

.task-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 16px;
  color: var(--line-strong);
  transition: transform 160ms ease, color 160ms ease;
}

.task-row > a:hover .task-arrow {
  color: var(--brand);
  transform: translateX(2px);
}

/* 站内性质说明条 */
.notice-bar {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
}

.notice-bar .container {
  padding-top: 14px;
  padding-bottom: 14px;
}

.notice-text {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.notice-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
}

/* 频道分类矩阵 */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 18px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.channel-cell:hover {
  background: #FAFBF8;
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.channel-cell .channel-name {
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--brand-deep);
}

.channel-cell .channel-desc {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.channel-cell .channel-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.channel-cell .channel-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 专题片单索引行列表 */
.index-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
}

.index-row + .index-row {
  border-top: 1px solid var(--line);
}

.index-row > a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  color: var(--text);
  transition: background 160ms ease, transform 160ms ease;
}

.index-row > a:hover {
  background: var(--bg-muted);
  transform: translateX(2px);
  color: var(--text);
}

.index-thumb {
  display: block;
  width: 96px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.index-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-thumb--text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.index-body {
  display: block;
  min-width: 0;
}

.index-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-deep);
  line-height: 1.5;
}

.index-summary {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.index-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: right;
}

.index-channel {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  color: var(--brand);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.index-no {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* 术语速查 */
.term-table {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.term-table thead th {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  background: var(--bg-muted);
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.term-table tbody th,
.term-table tbody td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.term-table tbody th {
  width: 180px;
  font-weight: 600;
  color: var(--brand-deep);
  white-space: nowrap;
}

.term-table tbody th a {
  color: var(--brand-deep);
}

.term-table tbody th a:hover {
  color: var(--accent);
}

.term-table tbody td {
  color: var(--text-soft);
  line-height: 1.7;
}

.term-table tbody tr:last-child th,
.term-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 说明范围提示块 */
.scope-hint .scope-box {
  padding: 26px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}

.scope-box h2 {
  font-size: 20px;
  color: var(--brand-deep);
  margin-bottom: 10px;
}

.scope-box p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 760px;
}

/* --------------------------------------------------------------------------
   pages · 频道分类 channel-map
   -------------------------------------------------------------------------- */
.page-channel-map .page-layout {
  padding-top: 4px;
}

.channel-entry {
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.channel-entry:last-of-type {
  margin-bottom: 0;
}

.channel-entry .channel-name {
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--brand-deep);
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}

.channel-entry .channel-feature {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.channel-detail {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.channel-detail dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.7;
}

.channel-detail dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  min-width: 0;
}

/* 分区判断依据 */
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: criteria;
}

.criteria-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: criteria;
}

.criteria-item::before {
  content: counter(criteria);
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: #FBEADF;
  border-radius: 50%;
}

.criteria-name {
  font-size: 16px;
  color: var(--brand-deep);
  line-height: 1.5;
}

.criteria-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 频道与专题对应 */
.mapping-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
}

.mapping-row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

.mapping-row + .mapping-row {
  border-top: 1px solid var(--line);
}

.mapping-cell {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  min-width: 0;
}

.mapping-channel {
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--bg-muted);
  border-right: 1px solid var(--line);
}

.mapping-topic {
  color: var(--text-soft);
}

.mapping-name {
  font-weight: 600;
  color: var(--brand-deep);
}

/* --------------------------------------------------------------------------
   pages · 观看入门 viewing-basics
   -------------------------------------------------------------------------- */
.page-viewing-basics .section {
  padding: 36px 0;
}

.page-viewing-basics .section-head h2 {
  font-size: 22px;
}

.confirm-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.confirm-layout .media-figure {
  margin: 0;
}

.confirm-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.confirm-item {
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.confirm-name {
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--brand-deep);
}

.confirm-standard {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.confirm-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

.confirm-note a {
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
}

.confirm-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 内页步骤列表（纵向） */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: innerstep;
}

.step-list > .step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: innerstep;
}

.step-list > .step-item .step-index,
.step-list > .step-item > .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  grid-row: 1 / span 3;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}

.step-body {
  min-width: 0;
  grid-column: 2;
}

.step-body .step-title,
.step-body .step-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.step-body .step-text,
.step-body .step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.step-body .step-criteria,
.step-body .step-fallback {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.step-body .step-fallback {
  color: var(--text-soft);
}

.step-body .step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
}

.step-body .step-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 观看入门页表格与说明脚注 */
.page-viewing-basics .table-wrap {
  margin-top: 4px;
}

.section-foot {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   pages · 入口核验 access-flow
   -------------------------------------------------------------------------- */
.page-access-flow .page-hero {
  max-width: var(--container);
  padding: 0;
  margin-bottom: 24px;
}

.page-access-flow .page-hero-inner {
  max-width: var(--container);
  padding-left: 24px;
  padding-right: 24px;
}

.page-access-flow .page-hero .page-lead {
  max-width: 780px;
}

.page-access-flow .page-layout {
  padding-top: 4px;
}

.page-access-flow .page-aside {
  position: sticky;
}

.page-access-flow .aside-points {
  gap: 10px;
}

/* 自查清单 */
.checklist {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.checklist-item + .checklist-item {
  border-top: 1px solid var(--line);
}

.checklist-box {
  flex: 0 0 auto;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  background: var(--bg-surface);
}

.checklist-item:hover .checklist-box {
  border-color: var(--ok);
}

.checklist-text {
  min-width: 0;
}

.fallback-label {
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   pages · 常见误区 misconceptions
   -------------------------------------------------------------------------- */
.page-misconceptions .page-hero {
  max-width: var(--body-col);
  margin-bottom: 28px;
  padding-left: 24px;
  padding-right: 24px;
}

.section-block {
  max-width: var(--body-col);
  margin: 0 auto 40px;
  padding: 0 24px;
}

.section-block h2 {
  font-size: 22px;
  color: var(--brand-deep);
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  line-height: 1.3;
}

.section-block .section-intro {
  margin-top: 12px;
  margin-bottom: 18px;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qa-item {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qa-question {
  min-width: 0;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.qa-question h3 {
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-deep);
  font-weight: 600;
}

.qa-body {
  min-width: 0;
}

.qa-cause {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.qa-action {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.qa-action a {
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
}

.qa-action a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.page-misconceptions .table-wrap {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   pages · 说明边界 scope
   -------------------------------------------------------------------------- */
.page-scope .page-hero {
  max-width: var(--body-col);
  margin-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}

.page-scope .content-section {
  max-width: var(--body-col);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-scope .content-section h2 {
  font-size: 22px;
  color: var(--brand-deep);
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  line-height: 1.3;
}

.page-scope .content-section > p {
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--text-soft);
}

/* 能回答的问题 */
.scope-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: scopeq;
}

.scope-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: scopeq;
}

.scope-item::before {
  content: counter(scopeq);
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scope-item h3 {
  font-size: 15px;
  color: var(--brand-deep);
  line-height: 1.5;
}

.scope-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.scope-item p a {
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
}

.scope-item p a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 不提供的内容 */
.outscope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.outscope-item {
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius);
}

.outscope-item h3 {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.outscope-item h3::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--line-strong);
}

.outscope-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 自查顺序 */
.check-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-step .step-num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}

.check-step .step-body {
  grid-column: 2;
  min-width: 0;
}

.check-step .step-body h3 {
  font-size: 15px;
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.check-step .step-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 纠错原则 */
.principle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-item {
  padding: 14px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius);
}

.principle-item h3 {
  font-size: 15px;
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.principle-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 相关链接 */
.related-section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-links li {
  min-width: 0;
}

.related-links a {
  display: block;
  padding: 14px 16px;
  min-height: 44px;
  font-size: 14px;
  color: var(--brand-deep);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 160ms ease, border-color 160ms ease;
}

.related-links a:hover {
  background: var(--bg-muted);
  border-color: var(--line-strong);
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   pages · 术语表 glossary
   -------------------------------------------------------------------------- */
.page-glossary .page-hero {
  max-width: var(--body-col);
  margin-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}

.glossary-section {
  max-width: var(--body-col);
  margin: 0 auto 40px;
  padding: 0 24px;
}

.glossary-section + .glossary-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.glossary-section .section-title {
  font-size: 22px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  color: var(--brand-deep);
  line-height: 1.3;
}

.term-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
}

.term-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 14px 18px;
}

.term-item + .term-item {
  border-top: 1px solid var(--line);
}

.term-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-deep);
  line-height: 1.7;
}

.term-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
  min-width: 0;
}

/* 易混淆说法 */
.confusion-block {
  padding: 18px;
  margin-bottom: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.confusion-block:last-of-type {
  margin-bottom: 0;
}

.confusion-title {
  font-size: 16px;
  color: var(--brand-deep);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.confusion-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.confusion-col {
  min-width: 0;
  padding: 12px 14px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
}

.confusion-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.confusion-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.glossary-tail {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.glossary-tail a {
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
}

.glossary-tail a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 64px;
}

.error-inner {
  max-width: 640px;
  text-align: left;
}

.error-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.error-title {
  font-size: 32px;
  line-height: 1.3;
  color: var(--brand-deep);
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-sm);
}

.error-button:hover {
  color: #fff;
  background: var(--brand-deep);
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  color: var(--brand);
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.error-link:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
  background: var(--bg-muted);
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.error-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--brand);
  padding: 4px 0;
  min-height: 32px;
}

.error-list a:hover {
  color: var(--accent);
}

.error-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 跳过链接 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  padding: 8px 14px;
  font-size: 14px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-sm);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 10px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout.sidebar-right {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-note {
    margin-left: 0;
    flex-basis: 100%;
  }

  .qa-item {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
    min-height: var(--header-h);
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(28, 32, 39, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 8px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }

  .nav-item.is-current > a,
  .nav-item > a.is-current {
    border-bottom-color: var(--line);
    border-left-color: var(--brand);
    padding-left: 12px;
  }

  .nav-item:last-child > a {
    border-bottom: 0;
  }

  .inner-main {
    padding-top: 16px;
  }

  .inner-main > .container,
  .inner-main > .page-header,
  .inner-main > .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title,
  .hero-main h1,
  .error-title {
    font-size: 26px;
  }

  .page-header {
    margin-bottom: 22px;
  }

  .page-title-block {
    padding-top: 16px;
  }

  .page-layout.sidebar-right,
  .page-layout.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .page-layout.sidebar-right .page-content,
  .page-layout.sidebar-left .page-content {
    order: 1;
    width: 100%;
  }

  .page-layout.sidebar-right .page-aside,
  .page-layout.sidebar-left .page-aside {
    order: 2;
    width: 100%;
    position: static;
  }

  .page-aside .aside-anchor-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .page-aside .aside-anchor-list li {
    flex: 0 0 auto;
  }

  .page-aside .aside-anchor-list a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 12px;
    white-space: nowrap;
    background: var(--bg-muted);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  /* 首屏 */
  .hero-console {
    padding: 20px 0 28px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-main {
    display: flex;
    flex-direction: column;
  }

  .hero-figure {
    order: 2;
    margin: 18px 0 0;
  }

  .hero-eyebrow {
    order: 1;
  }

  .hero-main h1 {
    order: 1;
  }

  .hero-lead {
    order: 3;
    margin-top: 14px;
  }

  .hero-actions {
    order: 4;
    margin-top: 18px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .hero-tasks {
    padding: 18px;
  }

  .task-row > a {
    padding: 12px 10px;
  }

  .channel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .index-row > a {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "thumb meta";
    gap: 4px 14px;
    padding: 14px;
  }

  .index-thumb {
    grid-area: thumb;
    width: 72px;
    height: 54px;
  }

  .index-body {
    grid-area: body;
  }

  .index-meta {
    grid-area: meta;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
  }

  .step-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .section {
    padding: 28px 0;
  }

  .section-head h2,
  .section-title,
  .section-block h2,
  .page-scope .content-section h2,
  .glossary-section .section-title {
    font-size: 20px;
  }

  /* 术语速查转纵向 */
  .term-table,
  .term-table tbody,
  .term-table tbody tr,
  .term-table tbody th,
  .term-table tbody td {
    display: block;
    width: 100%;
  }

  .term-table thead {
    display: none;
  }

  .term-table {
    border: 1px solid var(--line);
  }

  .term-table tbody tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .term-table tbody tr:last-child {
    border-bottom: 0;
  }

  .term-table tbody th,
  .term-table tbody td {
    padding: 0;
    border: 0;
    white-space: normal;
  }

  .term-table tbody th {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .term-table tbody td {
    font-size: 14px;
  }

  /* 频道分类内页 */
  .channel-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding-top: 12px;
  }

  .channel-detail dt {
    margin-top: 8px;
    color: var(--brand);
  }

  .channel-detail dt:first-child {
    margin-top: 0;
  }

  .channel-entry {
    padding: 18px 16px;
  }

  .criteria-item {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 14px;
  }

  .mapping-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .mapping-channel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  /* 观看入门 */
  .confirm-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .confirm-layout .media-figure {
    order: -1;
  }

  .page-viewing-basics .section {
    padding: 24px 0;
  }

  .step-list > .step-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px;
  }

  .step-list > .step-item .step-index,
  .step-list > .step-item > .step-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  /* 入口核验 */
  .page-access-flow .page-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 常见误区 */
  .page-misconceptions .page-hero,
  .section-block,
  .page-scope .page-hero,
  .page-scope .content-section,
  .page-glossary .page-hero,
  .glossary-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-block {
    margin-bottom: 28px;
  }

  .qa-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .qa-question {
    padding-right: 0;
    padding-bottom: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  /* 说明边界 */
  .outscope-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .related-links {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 术语表 */
  .term-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 14px 16px;
  }

  .confusion-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  /* 404 */
  .error-main {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .error-actions .error-button,
  .error-actions .error-link {
    flex: 1 1 140px;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .footer-note {
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .page-title,
  .hero-main h1,
  .error-title {
    font-size: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .index-row > a {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 12px;
  }

  .index-thumb {
    width: 64px;
    height: 48px;
  }

  .data-table {
    min-width: 480px;
  }

  .channel-entry .channel-name {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
