/* ==========================================================================
   蜜桃视频 · 站点样式
   1. base        基础与变量
   2. layout      外壳、容器、页头、页脚
   3. components  通用组件（按钮、表格、标签、FAQ、步骤）
   4. pages       各页业务模块
   5. responsive  响应式断点
   ========================================================================== */

/* ==========================================================================
   1. base
   ========================================================================== */

:root {
  --bg-page: #f3f0ea;
  --bg-panel: #ffffff;
  --bg-soft: #e9e3da;
  --ink: #1d1f21;
  --ink-soft: #5f6468;
  --line: #cfc8bd;
  --accent: #d95f45;
  --stable: #2f6a56;
  --review: #9a5a32;
  --focus: #1f5da8;
  --radius: 6px;
  --shell: 1180px;
  --gutter: 24px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
figcaption {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--focus);
  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;
}

/* --- 页头 --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.brand:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.18s ease;
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-toggle::after {
  bottom: 16px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  bottom: 21px;
  transform: rotate(-45deg);
}

.primary-nav {
  flex: 1 1 auto;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  justify-content: flex-end;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  white-space: nowrap;
}

.primary-nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.primary-nav a.is-current {
  color: var(--accent);
  font-weight: 700;
  background: #fbeae5;
}

/* --- 内页外壳 --- */

.inner-main {
  padding-bottom: 8px;
}

.breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gutter) 26px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 650;
  line-height: 1.22;
  color: var(--ink);
  max-width: 22em;
}

.container,
.page-container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- 页脚 --- */

.site-footer {
  margin-top: 56px;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter) 26px;
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 28px 32px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.footer-slogan {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.footer-desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  max-width: 34em;
}

.footer-col {
  min-width: 0;
}

.footer-col h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ==========================================================================
   3. components
   ========================================================================== */

/* --- 小标与说明 --- */

.eyebrow,
.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead,
.page-lead,
.page-lede,
.hero-lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  max-width: 46em;
}

/* --- 区块标题 --- */

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.section-head p,
.section-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52em;
}

/* --- 按钮与文字链接 --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-primary:hover {
  background: #bd4a33;
  border-color: #bd4a33;
  color: #ffffff;
}

.btn-ghost {
  background: var(--bg-panel);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.link-more::after {
  content: "→";
  margin-left: 6px;
  font-family: var(--font-mono);
  transition: transform 0.16s ease;
}

.link-more:hover {
  color: #bd4a33;
}

.link-more:hover::after {
  transform: translateX(3px);
}

/* --- 状态标签 --- */

.tag,
.status-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

.tag-stable {
  background: #e3efe9;
  color: var(--stable);
}

.tag-review {
  background: #f6e8dd;
  color: var(--review);
}

.status-note {
  background: var(--bg-soft);
  color: var(--ink-soft);
}

.status-ok {
  background: #e3efe9;
  color: var(--stable);
}

.status-warn {
  background: #f6e8dd;
  color: var(--review);
}

.status-review {
  background: #f6e8dd;
  color: var(--review);
}

.status-line,
.page-status {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* --- 表格 --- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table,
.channel-table,
.term-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.data-table caption,
.channel-table caption,
.term-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.data-table thead th,
.channel-table thead th,
.term-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody th,
.channel-table tbody th,
.term-table tbody th {
  text-align: left;
  font-weight: 650;
  color: var(--ink);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tbody td,
.channel-table tbody td,
.term-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td,
.term-table tbody tr:last-child th,
.term-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.channel-table tbody tr:hover,
.term-table tbody tr:hover {
  background: #faf7f2;
}

.data-table a,
.channel-table a,
.term-table a {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.data-table a:hover,
.channel-table a:hover,
.term-table a:hover {
  color: #bd4a33;
  text-decoration: underline;
}

/* --- 排序控件 --- */

.sort-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sort-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.sort-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.sort-btn.is-active {
  border-color: var(--accent);
  background: #fbeae5;
  color: var(--accent);
  font-weight: 600;
}

.sort-hint {
  font-size: 13px;
  color: var(--ink-soft);
}

/* --- FAQ --- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 14px 32px 14px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62em;
}

/* --- 步骤与编号 --- */

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fbeae5;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* --- 图片容器 --- */

.media-frame,
.inline-figure,
.intro-figure,
.feature-figure,
.guide-figure,
.verify-figure,
.faq-figure,
.boundary-figure {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame img,
.inline-figure img,
.intro-figure img,
.feature-figure img,
.guide-figure img,
.verify-figure img,
.faq-figure img,
.boundary-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-soft);
}

.media-frame figcaption,
.inline-figure figcaption,
.intro-figure figcaption,
.feature-figure figcaption,
.guide-figure figcaption,
.verify-figure figcaption,
.faq-figure figcaption,
.boundary-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* --- 下一步卡片 --- */

.next-grid,
.next-step-grid,
.next-step-list,
.next-links {
  display: grid;
  gap: 14px;
}

.next-card,
.next-link,
.next-step-item {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-height: 44px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.next-card:hover,
.next-link:hover,
.next-step-item:hover {
  border-color: var(--accent);
  background: #fffaf8;
}

.next-card-title,
.next-link-title,
.next-label {
  display: block;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.5;
}

.next-card-desc,
.next-link-desc,
.next-text {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.next-step-item h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.next-step-item h3 a {
  color: var(--ink);
}

.next-step-item h3 a:hover {
  color: var(--accent);
}

.next-step-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 相关内容条 --- */

.related-links {
  max-width: var(--shell);
  margin: 40px auto 0;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.related-links-item:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   4. pages
   ========================================================================== */

/* --- 首页 --- */

.home-main {
  padding-top: 8px;
}

.hero-console {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--gutter) 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 650;
  line-height: 1.22;
  color: var(--ink);
}

.hero-lead {
  margin-top: 14px;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.console-status {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.console-status li {
  min-width: 0;
}

.status-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.status-value {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-media {
  min-width: 0;
}

.channel-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.channel-tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.usage-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.usage-link::after {
  content: "→";
  margin-left: 6px;
  font-family: var(--font-mono);
}

.usage-link:hover {
  color: #bd4a33;
}

/* 首页通用 section 间距 */

.channel-index,
.feature-track,
.dual-check,
.faq-summary,
.next-steps {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter) 0;
}

.channel-index .table-wrap {
  margin-top: 4px;
}

.inline-figure {
  margin-top: 20px;
  max-width: 100%;
}

/* 专题轨道 */

.feature-rail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.feature-lead {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.feature-lead h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.feature-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 40em;
}

.feature-track .feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-track .feature-list li {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color 0.16s ease;
}

.feature-track .feature-list li:hover {
  border-color: var(--accent);
}

.feature-track .feature-list h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.feature-track .feature-list p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feature-track .feature-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.feature-track .feature-list a:hover {
  color: #bd4a33;
  text-decoration: underline;
}

/* 双栏检查 */

.dual-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.prep-column,
.verify-column {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prep-column h3,
.verify-column h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.prep-column > p,
.verify-column > p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.check-list {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}

.prep-column .link-more,
.verify-column .link-more {
  margin-top: 14px;
}

/* 首页 FAQ 摘要 */

.faq-summary .faq-list {
  margin-bottom: 8px;
}

/* 首页下一步 */

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-list > li {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: border-color 0.16s ease;
}

.step-list > li:hover {
  border-color: var(--accent);
}

.step-list > li h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.step-list > li p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.step-list > li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.step-list > li a:hover {
  color: #bd4a33;
  text-decoration: underline;
}

/* --- 频道目录页 --- */

.inner-main .page-heading {
  padding-top: 4px;
}

.page-heading .lead {
  margin-top: 10px;
}

.section {
  padding-top: 36px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.intro-copy {
  min-width: 0;
}

.intro-copy h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.intro-copy > p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.fact-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.fact-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.fact-list strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
}

.intro-figure {
  margin: 0;
}

.channel-table-section .section-head {
  margin-bottom: 14px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dimension-item {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.dimension-item h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
}

.dimension-item p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.dimension-hint {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--review);
  line-height: 1.6;
}

.scene-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.scene-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.scene-name {
  font-weight: 650;
  color: var(--ink);
}

.scene-channel {
  color: var(--ink-soft);
}

.scene-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.scene-link:hover {
  border-color: var(--accent);
  background: #fbeae5;
}

.next-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- 专题片单页 --- */

.page-features .page-head {
  padding-top: 4px;
}

.page-head .page-lead,
.page-head .page-lede {
  margin-top: 10px;
}

.feature-hero {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.feature-figure {
  margin: 0;
}

.feature-copy {
  min-width: 0;
}

.feature-copy h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.feature-copy > p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.feature-fields {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.feature-fields > div {
  display: grid;
  grid-template-columns: minmax(96px, 140px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}

.feature-fields dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.feature-fields dd {
  color: var(--ink);
}

.feature-catalog {
  margin-top: 40px;
}

.feature-catalog .feature-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row-main {
  min-width: 0;
}

.feature-row-main h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
}

.feature-tags {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.feature-compose {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.feature-link:hover {
  border-color: var(--accent);
  background: #fbeae5;
}

.feature-pair {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.editorial-notes,
.browse-notes {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.feature-pair h2 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.feature-pair > div > p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.note-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-list li {
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.note-list h3 {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.note-list p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.browse-notes .step-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.browse-notes .step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.browse-notes .step-body {
  min-width: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feature-pair .faq-block,
.faq-block {
  margin-top: 40px;
}

.page-features .next-steps {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.page-features .next-steps h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-features .next-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- 观看指南页 --- */

.guide-overview {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.guide-copy {
  min-width: 0;
}

.guide-copy h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.guide-copy p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.guide-facts {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.guide-facts li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.fact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  min-width: 84px;
}

.guide-figure {
  margin: 0;
}

.precheck,
.prep-path,
.device-network,
.guide-faq,
.next-step {
  margin-top: 40px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist-item {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.checklist-item h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.checklist-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.checklist-note {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--review);
  line-height: 1.6;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.path-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.path-step .step-index {
  grid-row: span 2;
  margin-top: 2px;
}

.path-step h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.path-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62em;
}

.path-step a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(217, 95, 69, 0.35);
}

.path-step a:hover {
  color: #bd4a33;
  border-bottom-color: #bd4a33;
}

.device-network-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.device-column,
.network-column {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.device-column h3,
.network-column h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.device-column p,
.network-column p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.device-column ul,
.network-column ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-column li,
.network-column li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.device-column li::before,
.network-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--line);
}

.next-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- 入口核验页 --- */

.verify-overview {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.verify-copy {
  min-width: 0;
}

.verify-copy h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.verify-copy > p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.plain-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}

.inline-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-left: 2px solid var(--review);
  background: #fbf4ee;
  font-size: 13px;
  line-height: 1.7;
  color: var(--review);
}

.verify-figure {
  margin: 0;
}

.verify-list-section,
.status-fields-section,
.exception-section,
.faq-section,
.next-step-section {
  margin-top: 40px;
}

.verify-table th[scope="col"],
.status-table th[scope="col"] {
  white-space: nowrap;
}

.status-table tbody th {
  white-space: nowrap;
}

.step-list:not(.browse-notes .step-list) {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exception-section .step-list {
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-item .step-index {
  margin-top: 2px;
}

.step-item .step-body {
  min-width: 0;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.step-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62em;
}

.next-step-section > h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 16px;
}

.next-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.next-step-grid .next-card h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.next-step-grid .next-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 常见疑问页 --- */

.page-faq .page-heading {
  padding-top: 4px;
}

.faq-overview {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.faq-copy {
  min-width: 0;
}

.faq-copy h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.faq-copy p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.faq-note {
  padding: 10px 14px;
  border-left: 2px solid var(--accent);
  background: #fbf4ee;
  font-size: 13px;
  color: var(--ink-soft);
}

.faq-figure {
  margin: 0;
}

.faq-index {
  margin-top: 30px;
  padding: 16px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-index h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-index ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.faq-index a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-group,
.faq-boundaries {
  margin-top: 36px;
}

.group-head {
  margin-bottom: 14px;
}

.group-head h2 {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.group-head p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.group-next {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.group-next a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
}

.group-next a:hover {
  color: #bd4a33;
  text-decoration: underline;
}

.boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.boundary-list li {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.boundary-list h3 {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.boundary-list p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.next-step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-faq .next-step > h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 16px;
}

/* --- 内容边界页 --- */

.page-boundaries .page-title {
  margin-bottom: 0;
}

.boundary-overview {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.boundary-copy {
  min-width: 0;
}

.boundary-copy h2 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.boundary-copy p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.boundary-note {
  padding: 10px 14px;
  border-left: 2px solid var(--review);
  background: #fbf4ee;
  font-size: 13px;
  color: var(--review);
}

.boundary-figure {
  margin: 0;
}

.boundary-compare,
.boundary-terms,
.boundary-principles {
  margin-top: 40px;
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.provides,
.limits {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.provides {
  border-top: 3px solid var(--stable);
}

.limits {
  border-top: 3px solid var(--review);
}

.provides h3,
.limits h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.provides > p,
.limits > p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.provides ul,
.limits ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.provides li,
.limits li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.provides li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--stable);
}

.limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--review);
}

.term-table th[scope="col"] {
  white-space: nowrap;
}

.term-table tbody td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-item {
  min-width: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.principle-item h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.principle-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 404 --- */

.error-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px var(--gutter) 24px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.error-panel h1 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 650;
  line-height: 1.25;
  color: var(--ink);
}

.error-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.error-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.error-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--line);
}

.error-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   5. responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-console {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    row-gap: 8px;
  }

  .feature-row .feature-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .scene-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 8px;
  }

  .scene-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .dimension-grid,
  .boundary-list,
  .principle-list,
  .next-step-list,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .brand {
    border-right: 0;
    padding-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    flex: 1 0 100%;
    order: 3;
  }

  .primary-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--line);
  }

  .primary-nav ul.is-open {
    display: flex;
  }

  .primary-nav a {
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 4px;
  }

  .breadcrumb {
    padding-top: 14px;
  }

  .page-header {
    padding: 10px var(--gutter) 20px;
  }

  .page-title {
    font-size: 28px;
  }

  .hero-console {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 24px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .console-status {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .console-status li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: baseline;
  }

  .status-value {
    margin-top: 0;
  }

  .feature-rail,
  .dual-columns,
  .overview-grid,
  .feature-hero,
  .guide-overview,
  .verify-overview,
  .faq-overview,
  .boundary-overview,
  .feature-pair,
  .device-network-columns,
  .compare-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .checklist,
  .dimension-grid,
  .boundary-list,
  .principle-list,
  .next-step-list,
  .next-grid,
  .next-step-grid,
  .next-links,
  .step-list,
  .page-features .next-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-list > li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .scene-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 0;
  }

  .scene-link {
    justify-self: start;
    margin-top: 4px;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .feature-row .feature-link {
    grid-column: auto;
    justify-self: start;
  }

  .feature-fields > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .path-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .step-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .step-index {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .related-links {
    margin-top: 32px;
  }

  .error-panel {
    padding: 24px 20px;
  }

  /* 表格转纵向数据块 */

  .table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  .data-table,
  .channel-table,
  .term-table {
    display: block;
    width: 100%;
    border-collapse: separate;
  }

  .data-table caption,
  .channel-table caption,
  .term-table caption {
    padding: 0 0 10px;
  }

  .data-table thead,
  .channel-table thead,
  .term-table thead {
    display: none;
  }

  .data-table tbody,
  .channel-table tbody,
  .term-table tbody {
    display: block;
  }

  .data-table tbody tr,
  .channel-table tbody tr,
  .term-table tbody tr {
    display: block;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 4px 14px;
  }

  .data-table tbody th,
  .channel-table tbody th,
  .term-table tbody th {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    font-size: 15px;
  }

  .data-table tbody td,
  .channel-table tbody td,
  .term-table tbody td {
    display: block;
    border-bottom: 1px dashed var(--line);
    padding: 8px 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .data-table tbody td:last-child,
  .channel-table tbody td:last-child,
  .term-table tbody td:last-child {
    border-bottom: 0;
  }

  .data-table tbody tr:hover,
  .channel-table tbody tr:hover,
  .term-table tbody tr:hover {
    background: var(--bg-panel);
  }

  .data-table tbody td::before,
  .channel-table tbody td::before,
  .term-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 2px;
  }

  .data-table tbody td:empty {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 26px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .section-head h2,
  .intro-copy h2,
  .feature-copy h2,
  .guide-copy h2,
  .verify-copy h2,
  .faq-copy h2,
  .boundary-copy h2,
  .page-features .next-steps h2,
  .next-step-section > h2,
  .page-faq .next-step > h2 {
    font-size: 21px;
  }

  .group-head h2 {
    font-size: 19px;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .channel-tags a {
    padding: 0 12px;
  }

  .prep-column,
  .verify-column,
  .editorial-notes,
  .browse-notes,
  .device-column,
  .network-column,
  .provides,
  .limits {
    padding: 16px;
  }

  .faq-item {
    padding: 0 14px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
