/* ==========================================================================
   91猎奇 · 视频题材分区片单导航站
   全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base —— 变量、重置、排版基础
   ========================================================================== */

:root {
  --c-bg: #ffffff;
  --c-panel: #f4f5f6;
  --c-ink: #1d2733;
  --c-muted: #5a6572;
  --c-line: #d8dde2;
  --c-accent: #b8462f;
  --c-tag: #2f6a5f;

  --radius: 4px;
  --shadow: 0 1px 2px rgba(29, 39, 51, 0.06);

  --font-base: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-num: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --wrap: 1120px;
  --gap-edge: 24px;
  --narrow: 860px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-bg);
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--c-accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout —— 全站骨架：页头、导航、主容器、页脚
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- 页头 ---- */

.site-header {
  position: relative;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--c-line);
}

.topbar {
  background: #1d2733;
  color: #ffffff;
}

.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap-edge);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.brand-name:hover {
  color: #ffffff;
  opacity: 0.85;
}

.brand-slogan {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
}

.topbar-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.topbar-links a.is-current {
  color: #ffffff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
}

/* ---- 主导航 ---- */

.main-nav {
  background: #ffffff;
}

.nav-list {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap-edge);
  min-height: 60px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--c-muted);
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-item a:hover {
  color: var(--c-ink);
  background: var(--c-panel);
}

.nav-item.is-current a {
  color: var(--c-ink);
  font-weight: 600;
}

.nav-item.is-current a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---- 主内容 ---- */

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap-edge);
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap-edge);
}

/* ---- 页脚 ---- */

.site-footer {
  margin-top: 64px;
  background: #1d2733;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px var(--gap-edge) 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gap-edge) 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   components —— 通用组件
   ========================================================================== */

/* ---- 按钮 ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.btn-primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  background: #a03d28;
  border-color: #a03d28;
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--c-line);
  color: var(--c-ink);
}

.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--c-line);
  color: var(--c-ink);
}

.btn-ghost:hover {
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.btn-solid {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #ffffff;
}

.btn-solid:hover {
  background: #2b3947;
  border-color: #2b3947;
  color: #ffffff;
}

/* ---- 标签 ---- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag-green {
  color: var(--c-tag);
  background: rgba(47, 106, 95, 0.1);
  border: 1px solid rgba(47, 106, 95, 0.24);
}

.tag-red {
  color: var(--c-accent);
  background: rgba(184, 70, 47, 0.08);
  border: 1px solid rgba(184, 70, 47, 0.24);
}

.tag-area {
  color: var(--c-tag);
  background: rgba(47, 106, 95, 0.1);
  border: 1px solid rgba(47, 106, 95, 0.24);
}

.tag-type {
  color: var(--c-muted);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
}

.tag-plain {
  color: var(--c-muted);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
}

/* ---- 面包屑 ---- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover {
  color: var(--c-accent);
}

.breadcrumb-sep {
  color: #a3adb8;
}

.breadcrumb-current {
  color: var(--c-ink);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap-edge);
}

.breadcrumb-item {
  font-size: 12px;
  color: var(--c-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  margin-right: 6px;
  color: #a3adb8;
}

.breadcrumb-item a {
  color: var(--c-muted);
}

.breadcrumb-item a:hover {
  color: var(--c-accent);
}

.breadcrumb-item.is-current {
  color: var(--c-ink);
}

/* ---- 页面标题区 ---- */

.page-header {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--c-line);
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-ink);
}

.page-title-block {
  padding: 10px 0 0;
}

.page-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 760px;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.page-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--c-muted);
}

.tagline-text {
  font-size: 14px;
  color: var(--c-muted);
}

.section-divider {
  height: 0;
  margin: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--c-line);
}

/* ---- 通用标题与说明 ---- */

.section-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.section-title-sm {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.section-lead {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 760px;
}

.section-note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 720px;
}

.section-intro {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 720px;
}

.section-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

.section-more {
  margin-top: 18px;
  font-size: 15px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.link-more:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ---- 数据表格 ---- */

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #ffffff;
}

.data-table {
  min-width: 720px;
  font-size: 14px;
}

.data-table thead th {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--c-ink);
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.data-table tbody th {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fafbfb;
}

.area-table tbody td a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
  white-space: nowrap;
}

.area-table tbody td a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ---- 折叠问答 ---- */

.faq-list {
  margin-top: 16px;
  border-top: 1px solid var(--c-line);
}

.faq-item {
  border-bottom: 1px solid var(--c-line);
}

.faq-question {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 34px 14px 0;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}

.faq-question:hover {
  color: var(--c-accent);
}

.faq-answer {
  padding: 0 0 16px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.faq-answer a:hover {
  color: #a03d28;
}

/* ---- 相关内容条 ---- */

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}

.related-links-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
}

.related-links-item:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

/* ---- 步骤列表（首页核验三步） ---- */

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.step-item {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--c-accent);
  border-radius: 50%;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.step-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ==========================================================================
   pages —— 首页
   ========================================================================== */

/* ---- 首屏 ---- */

.hero {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--c-line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink);
}

.hero-lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 520px;
}

.hero-sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-media {
  min-width: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- 核心事实条 ---- */

.facts {
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.fact-item {
  padding: 16px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.fact-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.fact-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---- 下一屏预告带 ---- */

.upnext {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}

.upnext-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.upnext-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.upnext-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
}

.upnext-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.upnext-links a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ---- 分区对照表区块 ---- */

.area-table-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}

/* ---- 当期片单 ---- */

.picks {
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}

.pick-group {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.pick-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pick-media {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.pick-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pick-body {
  min-width: 0;
}

.pick-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.pick-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

.pick-order {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-tag);
}

.pick-body .link-more {
  margin-top: 10px;
}

/* ---- 变更摘要 ---- */

.changes {
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}

.change-list {
  margin-top: 18px;
  border-top: 1px solid var(--c-line);
}

.change-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}

.change-id {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.change-scope {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-muted);
}

.change-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-left: auto;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.change-item a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ---- 核验三步区块 ---- */

.check-steps {
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}

/* ---- 编辑分工提要 ---- */

.desk-brief {
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.desk-item {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.desk-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.desk-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.desk-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
  align-self: flex-start;
}

.desk-item a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ---- 首页问答 ---- */

.home-faq {
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line);
}

/* ---- 站内路径带 ---- */

.path-band {
  padding: 44px 0 8px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.path-item {
  padding: 18px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.path-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.path-title a {
  color: var(--c-ink);
  border-bottom: 1px solid transparent;
}

.path-title a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.path-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---- 首页底部相关链接 ---- */

.home-main .related-links {
  margin-top: 32px;
}

/* ==========================================================================
   pages —— 内页通用
   ========================================================================== */

.inner-main {
  padding-bottom: 8px;
}

.page-head {
  padding: 12px 0 22px;
}

.page-head .page-lead {
  max-width: 760px;
}

/* ---- 主内容 + 右栏布局 ---- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 300px);
  gap: 40px;
  align-items: start;
  padding: 20px 0 0;
}

.page-content {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  padding: 18px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.aside-links,
.aside-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-links li a,
.aside-nav li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}

.aside-links li:last-child a,
.aside-nav li:last-child a {
  border-bottom: 0;
}

.aside-links li a:hover,
.aside-nav li a:hover {
  color: var(--c-accent);
}

.aside-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
}

.aside-note-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.aside-note p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

.aside-note p + p {
  margin-top: 8px;
}

.aside-note-link a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.aside-note-link a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ---- 收窄单列 ---- */

.content-narrow {
  max-width: var(--narrow);
  padding: 24px 0 0;
}

.page-body {
  padding: 24px 0 0;
}

.page-body-narrow {
  max-width: var(--narrow);
}

/* ---- 内页 section 通用 ---- */

.section {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.section:last-child {
  border-bottom: 0;
}

.section-media {
  margin-top: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.section-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

/* ==========================================================================
   pages —— 题材分区
   ========================================================================== */

.section-table {
  padding-top: 20px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.area-block {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.area-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.area-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.area-tip {
  margin-top: 8px;
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-tag);
  border-left: 2px solid var(--c-tag);
}

.advice-list {
  margin-top: 14px;
}

.advice-item {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

.advice-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.advice-foot {
  margin-top: 14px;
  font-size: 15px;
}

.advice-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.advice-foot a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ==========================================================================
   pages —— 当期片单
   ========================================================================== */

.picks-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 16px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.picks-toolbar-text {
  min-width: 0;
}

.picks-toolbar-text p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.picks-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.picks-toolbar-actions .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.picks-toolbar-hint {
  flex-basis: 100%;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-tag);
  background: rgba(47, 106, 95, 0.08);
  border: 1px solid rgba(47, 106, 95, 0.24);
  border-radius: var(--radius);
}

.picks-group {
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
}

.picks-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.picks-group-head .section-title {
  font-size: 20px;
}

.picks-group-intro {
  flex-basis: 100%;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.picks-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.picks-card {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.picks-card-media {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.picks-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.picks-card-body {
  min-width: 0;
}

.picks-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pick-code {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--c-muted);
}

.picks-card-title {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.picks-card-reason {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.picks-card-order {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-tag);
}

.picks-card-link {
  margin-top: 8px;
  font-size: 14px;
}

.picks-card-link a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.picks-card-link a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

.picks-mapping {
  padding: 28px 0 0;
}

.picks-mapping > p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

.picks-mapping-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}

.picks-mapping-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.picks-mapping-links a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

.picks-mapping-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.picks-mapping-note a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.picks-mapping-note a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ==========================================================================
   pages —— 入口核验
   ========================================================================== */

.check-steps {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.check-steps h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.check-steps .step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-action {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.step-standard {
  margin-top: 8px;
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-tag);
  border-left: 2px solid var(--c-tag);
}

.check-figure {
  margin-top: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.check-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.check-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.check-fields {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.check-fields h2,
.check-anomaly h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.field-table {
  min-width: 680px;
  font-size: 14px;
}

.field-table thead th {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--c-ink);
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.field-table tbody td {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-table tbody td:first-child {
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
}

.check-anomaly {
  padding: 24px 0;
}

.anomaly-list {
  margin-top: 16px;
  border-top: 1px solid var(--c-line);
}

.anomaly-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}

.anomaly-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.anomaly-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.anomaly-handle {
  margin-top: 8px;
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-tag);
  border-left: 2px solid var(--c-tag);
}

/* ==========================================================================
   pages —— 编辑分工
   ========================================================================== */

.desk-intro {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}

.desk-figure {
  margin-top: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.desk-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure-caption {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.desk-group {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.desk-group-label {
  min-width: 0;
}

.desk-group-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.desk-group-label .tag {
  margin-top: 8px;
}

.desk-group-body {
  min-width: 0;
}

.desk-group-body .section-text {
  margin-top: 0;
}

.desk-group-body .section-text + .section-text {
  margin-top: 8px;
}

.desk-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.desk-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
  align-self: flex-start;
}

.desk-links li a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

.desk-handoff {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.handoff-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.handoff-step {
  padding: 16px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.handoff-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: var(--c-ink);
  border-radius: 50%;
}

.handoff-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.handoff-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.handoff-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.handoff-link:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

.desk-note {
  padding: 24px 0 0;
}

.desk-note-list {
  margin-top: 12px;
}

.desk-note-list li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.desk-note-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-tag);
}

/* ==========================================================================
   pages —— 变更记录
   ========================================================================== */

.module {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.module:last-child {
  border-bottom: 0;
}

.module-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.module-intro {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 720px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.type-card {
  padding: 14px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.type-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.type-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

.change-items {
  margin-top: 16px;
  border-top: 1px solid var(--c-line);
}

.change-items .change-item {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 12px 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}

.change-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.change-no {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.change-body {
  min-width: 0;
}

.change-body .change-scope {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-ink);
}

.change-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.change-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.change-link:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

.figure-block {
  margin: 24px 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.figure-block img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure-block figcaption {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.update-guide .step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.update-guide .step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: none;
}

.step-no {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: var(--c-tag);
  border-radius: 50%;
}

.update-guide .step-text {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.related-block {
  padding-bottom: 0;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}

.related-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.related-list a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ==========================================================================
   pages —— 答疑与反馈
   ========================================================================== */

.faq-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.faq-group:first-child {
  padding-top: 8px;
}

.faq-group .section-title {
  font-size: 20px;
}

.faq-group .faq-list {
  margin-top: 12px;
}

.feedback-elements {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.feedback-elements .section-title,
.feedback-process .section-title,
.related-paths .section-title {
  font-size: 20px;
}

.feedback-elements-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.element-list {
  min-width: 0;
  border-top: 1px solid var(--c-line);
}

.element-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}

.element-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.element-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}

.feedback-figure {
  min-width: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.feedback-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feedback-process {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.process-step {
  padding: 16px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.process-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}

.process-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.process-desc a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.process-desc a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

.related-paths {
  padding: 24px 0 0;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.path-list .path-item {
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.path-list .path-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid transparent;
}

.path-list .path-item a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.path-list .path-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ==========================================================================
   pages —— 404
   ========================================================================== */

.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap-edge);
}

.error-block {
  max-width: 640px;
  padding: 72px 0 56px;
}

.error-code {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-accent);
}

.error-title {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-ink);
}

.error-text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.error-note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.error-note a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(184, 70, 47, 0.35);
}

.error-note a:hover {
  color: #a03d28;
  border-bottom-color: #a03d28;
}

/* ==========================================================================
   responsive —— 断点 1024 / 768 / 520
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    gap: 28px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desk-grid,
  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desk-grid .desk-item:last-child,
  .path-grid .path-item:last-child {
    grid-column: span 2;
  }

  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --gap-edge: 16px;
  }

  /* ---- 移动端页头 ---- */

  .topbar-inner {
    min-height: 52px;
    flex-wrap: wrap;
    gap: 0;
  }

  .brand-info {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-slogan {
    display: none;
  }

  .topbar-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    border-top: 1px solid var(--c-line);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gap-edge) 12px;
    overflow: visible;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    display: block;
  }

  .nav-item a {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav-item.is-current a {
    background: var(--c-panel);
  }

  /* ---- 首页移动端 ---- */

  .hero {
    padding: 24px 0 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-media {
    order: -1;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .facts-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .pick-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .step-list,
  .check-steps .step-list,
  .update-guide .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .desk-grid,
  .path-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .desk-grid .desk-item:last-child,
  .path-grid .path-item:last-child {
    grid-column: auto;
  }

  .change-item a {
    margin-left: 0;
  }

  /* ---- 内页移动端 ---- */

  .page-title {
    font-size: 24px;
  }

  .page-lead {
    font-size: 16px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-aside {
    margin-top: 8px;
  }

  .area-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .picks-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .picks-toolbar-actions {
    flex-direction: column;
  }

  .picks-toolbar-actions .btn {
    width: 100%;
  }

  .picks-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .desk-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .handoff-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .change-items .change-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .type-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .feedback-elements-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .path-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  /* ---- 页脚移动端 ---- */

  .site-footer {
    margin-top: 48px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 32px var(--gap-edge) 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px var(--gap-edge) 24px;
  }

  /* ---- 404 移动端 ---- */

  .error-block {
    padding: 48px 0 40px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 24px;
  }

  .page-title {
    font-size: 22px;
  }

  .section-title,
  .check-steps h2,
  .check-fields h2,
  .check-anomaly h2,
  .module-title {
    font-size: 19px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .btn {
    padding: 0 16px;
    font-size: 14px;
  }

  .change-item {
    align-items: flex-start;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* 尊重用户的动效偏好 */

@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;
  }
}
