/* ==========================================================================
   西瓜影院 izyren.com — 全站样式
   base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base — 变量、重置、排版
   -------------------------------------------------------------------------- */
:root {
  --paper: #F6F1E7;
  --ink: #16110E;
  --red: #D93A3A;
  --green: #1C6B46;
  --yellow: #F0C24B;
  --line: #B9AE9E;
  --ink-soft: #4A4038;
  --ink-mute: #6E6357;
  --white: #FFFFFF;
  --font-sans: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-soft: 3px 3px 0 var(--ink);
  --radius: 2px;
  --container: 1180px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: 40px; line-height: 1.15; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 120ms ease;
}

a:hover {
  color: var(--red);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

button {
  font-family: inherit;
  cursor: pointer;
}

.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;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   layout — 全站骨架：容器、页头、导航、主区、页脚
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.brand-mark:hover {
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-item > a {
  display: inline-block;
  padding: 8px 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-item > a:hover {
  background: rgba(240, 194, 75, 0.35);
  color: var(--ink);
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  background: var(--yellow);
  border-bottom-color: var(--green);
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.header-cta:hover {
  color: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle::before { top: 16px; }
.nav-toggle::after { bottom: 16px; }

.nav-toggle[aria-expanded="true"]::before {
  top: 50%;
  transform: translateY(-1px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  bottom: 50%;
  transform: translateY(1px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter) 16px;
}

.mobile-nav-list li + li {
  border-top: 1px solid var(--line);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav-list a:hover {
  color: var(--red);
}

.site-main {
  display: block;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  padding: 16px 0 4px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list a {
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-list a:hover {
  color: var(--red);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.inner-main > .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 6px;
}

.inner-main > .breadcrumb a {
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inner-main > .breadcrumb a:hover {
  color: var(--red);
}

/* 页面标题区（内页统一） */
.page-header {
  margin: 0 0 32px;
}

.page-title {
  display: block;
  padding: 22px 0 24px;
  border-bottom: 2px solid var(--ink);
}

h1.page-title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.page-title-inner,
.page-title-main,
.page-title-text {
  display: block;
}

.page-title-inner,
.page-title-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  justify-content: space-between;
}

.page-title-main {
  align-items: flex-start;
}

.page-title-text,
.page-title-main > .page-lead {
  flex: 1 1 420px;
  min-width: 0;
}

.page-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.page-lead,
.page-title-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 8px;
  max-width: 62ch;
}

.page-title-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

.page-title-meta p {
  margin: 0;
}

.meta-label {
  display: inline-block;
  padding: 2px 8px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.meta-value {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.meta-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.page-title-side {
  flex: 0 0 260px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.title-side-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.title-side-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 4px;
}

.title-side-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.page-title-aside {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-node {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-left: 3px solid var(--green);
  background: rgba(28, 107, 70, 0.06);
}

.page-title-figure {
  margin-top: 20px;
  max-width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.page-title-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-title-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.75);
  max-width: 32ch;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--paper);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(246, 241, 231, 0.28);
}

.footer-col ul li + li {
  margin-top: 4px;
}

.footer-col a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(246, 241, 231, 0.82);
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid rgba(246, 241, 231, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.62);
}

/* --------------------------------------------------------------------------
   components — 通用按钮、标题组、卡片、徽标、表格、手风琴、相关内容
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  color: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
}

.btn-outline:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--yellow);
}

/* 区块标题组 */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}

.section-head h2 {
  font-size: 26px;
  line-height: 1.2;
  flex: 0 1 auto;
}

.section-head p,
.section-note,
.section-lead,
.section-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1 1 320px;
  max-width: 62ch;
}

.section-note a,
.section-lead a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 徽标 */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
}

.badge-add { background: var(--green); color: var(--white); }
.badge-revise { background: var(--yellow); color: var(--ink); }
.badge-off { background: var(--red); color: var(--white); }
.badge-note { background: var(--white); color: var(--ink); }

/* 通用相关内容条 */
.related-strip {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.related-strip > h2,
.related-strip > .section-head h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-item,
.related-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.related-item {
  padding: 14px 16px;
}

.related-item a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.related-item a:hover {
  color: var(--red);
}

.related-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-mute);
}

.related-card a {
  display: block;
  padding: 16px;
  color: var(--ink);
}

.related-card a:hover {
  color: var(--ink);
}

.related-card:hover,
.related-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.related-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.related-desc {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-mute);
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.map-table,
.index-table,
.check-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.map-table th,
.map-table td,
.index-table th,
.index-table td,
.check-table th,
.check-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.map-table thead th,
.index-table thead th,
.check-table thead th {
  background: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.map-table tbody th,
.check-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 26%;
}

.map-table tbody tr:last-child th,
.map-table tbody tr:last-child td,
.index-table tbody tr:last-child td,
.check-table tbody tr:last-child th,
.check-table tbody tr:last-child td {
  border-bottom: 0;
}

.map-table a,
.index-table a,
.check-table a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.check-table caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}

/* 手风琴问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.faq-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.faq-item[open] summary::before {
  content: "–";
  background: var(--green);
  color: var(--white);
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-answer,
.faq-item > p {
  padding: 0 16px 16px 48px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a,
.faq-item > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* 通用页面布局容器 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}

.page-layout > aside {
  position: sticky;
  top: 92px;
}

.page-layout.sidebar-left {
  grid-template-columns: 300px minmax(0, 1fr);
}

.page-layout.sidebar-left > aside {
  order: -1;
}

.page-layout.single-column {
  display: block;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */
/* 首屏 */
.hero-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 44px 0 40px;
  border-bottom: 2px solid var(--ink);
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  min-width: 0;
}

.hero-figure {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-hard);
}

.hero-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 10px 14px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

.status-strip {
  margin-top: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.status-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.status-item + .status-item {
  border-top: 1px solid var(--line);
}

.status-label {
  display: inline-block;
  padding: 1px 8px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  min-width: 0;
}

.status-link {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status-link:hover {
  color: var(--red);
}

.content-media {
  margin-top: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.content-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.content-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

/* 题材索引横条 */
.topic-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 2px solid var(--ink);
}

.topic-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background 120ms ease, color 120ms ease;
}

.topic-tag:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.topic-strip-more {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.topic-strip-more:hover {
  background: var(--ink);
  color: var(--yellow);
}

/* 频道目录与摘要 */
.channel-board {
  padding: 44px 0 8px;
}

.channel-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.channel-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.channel-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.channel-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.channel-body {
  min-width: 0;
}

.channel-body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.channel-body h3 a {
  color: var(--ink);
}

.channel-body h3 a:hover {
  color: var(--red);
}

.channel-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-summary {
  position: sticky;
  top: 92px;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.channel-summary h3 {
  font-size: 18px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.summary-block + .summary-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-block h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.summary-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 专题片单横排 */
.topic-row {
  padding: 44px 0 8px;
}

.topic-row-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  display: block;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
  min-width: 0;
}

.topic-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.topic-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  margin-bottom: 12px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.topic-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.topic-card h3 a {
  color: var(--ink);
}

.topic-card h3 a:hover {
  color: var(--red);
}

.topic-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.topic-channels {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-channels a {
  display: inline-block;
  padding: 2px 9px;
  background: rgba(28, 107, 70, 0.1);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.topic-channels a:hover {
  background: var(--green);
  color: var(--white);
}

/* 三步流程条 */
.step-band {
  padding: 44px 0 8px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  padding: 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.step-item .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.step-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.step-band-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.step-band-link:hover {
  background: var(--red);
  color: var(--white);
}

/* 收录与核验标准 */
.standard-band {
  padding: 44px 0 8px;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.standard-card {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  min-width: 0;
}

.standard-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.standard-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.standard-card p + p {
  margin-top: 6px;
}

.standard-band-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.standard-band-link:hover {
  color: var(--red);
}

/* 更新批次条 */
.update-strip {
  padding: 44px 0 8px;
}

.batch-list {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.batch-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.batch-item + .batch-item {
  border-top: 1px solid var(--line);
}

.batch-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.batch-type {
  display: inline-block;
  padding: 1px 8px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.batch-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  min-width: 0;
}

.batch-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.batch-link:hover {
  color: var(--red);
}

.update-strip-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.update-strip-link:hover {
  color: var(--red);
}

/* 常见问题摘要 */
.faq-teaser {
  padding: 44px 0 8px;
}

.faq-teaser-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-teaser-link:hover {
  color: var(--red);
}

/* 首页底部相关内容 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.related-links-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.related-links-item:hover {
  background: var(--yellow);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 频道目录
   -------------------------------------------------------------------------- */
.channel-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.channel-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-items .channel-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.channel-items .channel-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.item-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.item-body {
  min-width: 0;
}

.item-body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.item-tags {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.item-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-summary .summary-hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.channel-summary h2 {
  font-size: 18px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.channel-summary .summary-block h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.channel-summary .summary-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-topic-map,
.scope-note {
  margin-top: 44px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.scope-card {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-top: 6px solid var(--yellow);
  border-radius: var(--radius);
  min-width: 0;
}

.scope-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.scope-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scope-card p + p {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   pages — 专题片单
   -------------------------------------------------------------------------- */
.topic-cross-index {
  margin-top: 8px;
}

.topic-grid {
  margin-top: 44px;
}

.topic-figure {
  margin-bottom: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.topic-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.topic-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.topic-grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.topic-grid .topic-card {
  padding: 22px;
}

.topic-code {
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 10px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.topic-grid .topic-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.topic-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.topic-desc + .topic-desc {
  margin-top: 8px;
}

.topic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.topic-meta a {
  display: inline-block;
  padding: 2px 9px;
  background: rgba(28, 107, 70, 0.1);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.topic-meta a:hover {
  background: var(--green);
  color: var(--white);
}

.batch-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-left: auto;
}

.retire-note {
  margin-top: 44px;
}

.retire-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.retire-list li {
  padding: 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  min-width: 0;
}

.retire-list h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.retire-list p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages — 观看指南
   -------------------------------------------------------------------------- */
.step-progress {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.aside-title {
  font-size: 17px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.progress-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  color: var(--ink);
}

.progress-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.progress-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.progress-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
}

.progress-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius);
  white-space: nowrap;
  border: 1px solid var(--ink);
}

.progress-item.is-done {
  background: var(--yellow);
  border-color: var(--ink);
}

.progress-item.is-done .progress-state {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.progress-item.is-done .progress-state::before {
  content: "✓";
}

.progress-item.is-done .progress-tag {
  background: var(--white);
  color: var(--ink);
}

.progress-item.is-current {
  background: var(--red);
  border-color: var(--ink);
}

.progress-item.is-current .progress-name,
.progress-item.is-current .progress-desc {
  color: var(--white);
}

.progress-item.is-current .progress-state {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.progress-item.is-current .progress-tag {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.progress-item.is-todo {
  background: var(--paper);
  border-color: var(--line);
}

.progress-item.is-todo .progress-state {
  background: var(--paper);
  color: var(--ink-mute);
  border-color: var(--line);
}

.progress-item.is-todo .progress-tag {
  background: transparent;
  color: var(--ink-mute);
  border-color: var(--line);
}

.progress-figure {
  margin-top: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.progress-figure img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.progress-figure figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.guide-body {
  min-width: 0;
}

.guide-section + .guide-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}

.guide-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.guide-section > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 68ch;
}

.check-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  flex: 0 0 auto;
}

.check-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.step-block {
  padding: 18px 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.step-block .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  margin-bottom: 10px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.step-block h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.step-goal {
  font-weight: 600;
  color: var(--ink);
}

.step-done {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.resume-card {
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.resume-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.resume-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.result-item {
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.result-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--green);
}

.result-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.inline-links a:hover {
  background: var(--yellow);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages — 入口核验
   -------------------------------------------------------------------------- */
.check-figure {
  margin-bottom: 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.check-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.check-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.check-list h2,
.symptom-table h2,
.handling-note h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.check-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.check-items .check-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.check-body {
  min-width: 0;
}

.check-body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.check-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.symptom-table {
  margin-top: 40px;
}

.handling-note {
  margin-top: 40px;
}

.handling-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.handling-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
}

.handling-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.handling-body {
  min-width: 0;
}

.handling-body h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.handling-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages — 更新记录
   -------------------------------------------------------------------------- */
.batch-rows {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  margin-top: 20px;
}

.batch-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.batch-row + .batch-row {
  border-top: 1px solid var(--line);
}

.batch-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.batch-summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.type-legend {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.type-legend h2 {
  font-size: 17px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.aside-lead {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.legend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.legend-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legend-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  min-width: 0;
}

.affected-map {
  margin-top: 44px;
}

.affected-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.affected-col {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.affected-col h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.affected-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.affected-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.affected-list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.affected-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.affected-link:hover {
  color: var(--red);
}

.batch-rule {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.batch-rule h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.rule-figure {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 18px;
}

.rule-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.rule-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.rule-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 72ch;
}

.rule-body p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   pages — 常见问题
   -------------------------------------------------------------------------- */
.faq-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.faq-nav {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.faq-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-nav-item {
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-nav-item a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-nav-item a:hover {
  color: var(--red);
}

.faq-nav-count {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin-top: 2px;
}

.faq-figure {
  margin-top: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.faq-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.faq-figure figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.faq-groups {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.faq-group {
  min-width: 0;
}

.group-head {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.group-head h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.group-head p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq-group .faq-item + .faq-item {
  margin-top: 10px;
}

.faq-footnote {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding: 16px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
}

.faq-footnote a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-footnote a + a {
  margin-left: 10px;
}

/* --------------------------------------------------------------------------
   pages — 编审说明
   -------------------------------------------------------------------------- */
.sidebar-right {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.layout-main {
  min-width: 0;
}

.role-split h2,
.workflow h2,
.boundary-note h2,
.feedback-note h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.role-card {
  padding: 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-top: 6px solid var(--green);
  border-radius: var(--radius);
  min-width: 0;
}

.role-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.role-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.role-card p + p {
  margin-top: 6px;
}

.workflow {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.workflow-figure {
  margin: 18px 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.workflow-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.workflow-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.workflow-step {
  padding: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  margin-bottom: 8px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.workflow-step h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.workflow-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.boundary-item {
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  min-width: 0;
}

.boundary-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.boundary-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.feedback-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feedback-card {
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.feedback-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 1px;
}

.feedback-tail {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feedback-tail a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feedback-tail a + a {
  margin-left: 10px;
}

.standard-digest {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.standard-digest h2 {
  font-size: 17px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.digest-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.digest-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.digest-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.digest-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.digest-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  min-width: 0;
}

.digest-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.digest-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  background: var(--ink);
  color: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.digest-link:hover {
  background: var(--red);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 88px;
}

.error-panel {
  max-width: 640px;
  padding: 36px 32px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-hints {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-hints li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.error-hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 1px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   responsive — 960px 与 680px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .header-inner {
    gap: 14px;
  }

  .nav-item > a {
    padding: 8px 8px;
    font-size: 14px;
  }

  .channel-board-layout,
  .page-layout {
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .hero-focus {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 0 32px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-figure img {
    height: 240px;
  }

  .channel-board-layout,
  .channel-layout,
  .page-layout,
  .page-layout.sidebar-left,
  .page-layout.sidebar-right,
  .sidebar-right,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout > aside,
  .channel-summary,
  .type-legend,
  .standard-digest,
  .faq-nav,
  .step-progress {
    position: static;
    top: auto;
  }

  .page-layout.sidebar-left > aside {
    order: 0;
  }

  .topic-row-grid,
  .step-list,
  .standard-grid,
  .scope-grid,
  .retire-list,
  .affected-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .role-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .page-title-main,
  .page-title-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-title-side,
  .page-title-aside {
    flex: 1 1 auto;
    width: 100%;
  }

  /* 指南页进度导航转横向滑动 */
  .step-progress {
    padding: 14px;
  }

  .progress-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .progress-item {
    flex: 0 0 auto;
    min-width: 220px;
  }

  .progress-figure {
    display: none;
  }

  .faq-nav-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }

  .faq-nav-item {
    flex: 0 0 auto;
    min-width: 180px;
  }

  .faq-figure {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 16px;
  }

  h1,
  h1.page-title {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 22px;
  }

  .header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .brand-mark {
    font-size: 16px;
    padding: 7px 11px;
  }

  .hero-focus {
    padding: 24px 0 24px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-figure img {
    height: 200px;
  }

  .status-item {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 4px;
  }

  .status-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .content-media img {
    height: 130px;
  }

  .topic-strip {
    padding: 16px 0;
  }

  .topic-tag {
    min-height: 40px;
    font-size: 13px;
    padding: 0 12px;
  }

  .topic-strip-more {
    min-height: 40px;
    width: 100%;
    justify-content: center;
  }

  .channel-board,
  .topic-row,
  .step-band,
  .standard-band,
  .update-strip,
  .faq-teaser {
    padding-top: 32px;
  }

  .topic-row-grid,
  .step-list,
  .standard-grid,
  .scope-grid,
  .retire-list,
  .affected-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-item {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  .batch-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .batch-row {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  .batch-row .batch-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .batch-row .batch-summary {
    grid-column: 1 / -1;
  }

  .topic-card {
    padding: 16px;
  }

  .topic-grid .topic-card h3 {
    font-size: 18px;
  }

  .page-title {
    padding: 16px 0 18px;
  }

  .page-title-figure img,
  .topic-figure img,
  .check-figure img,
  .rule-figure img,
  .workflow-figure img {
    height: 180px;
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px var(--gutter) 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .error-panel {
    padding: 24px 20px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .error-code {
    font-size: 44px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  /* 表格转行式 */
  .map-table,
  .index-table,
  .check-table {
    display: block;
    border: 0;
  }

  .map-table thead,
  .index-table thead,
  .check-table thead {
    display: none;
  }

  .map-table tbody,
  .index-table tbody,
  .check-table tbody {
    display: block;
  }

  .map-table tr,
  .index-table tr,
  .check-table tr {
    display: block;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--white);
    padding: 10px 14px;
    margin-bottom: 10px;
  }

  .map-table tbody th,
  .map-table tbody td,
  .index-table tbody td,
  .check-table tbody th,
  .check-table tbody td {
    display: block;
    width: auto;
    padding: 4px 0;
    border-bottom: 0;
  }

  .map-table tbody th,
  .check-table tbody th {
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
    padding-bottom: 6px;
  }

  .table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .index-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-mute);
    margin-bottom: 2px;
  }

  .check-figure {
    margin-bottom: 20px;
  }

  .check-items .check-item,
  .handling-item {
    padding: 14px;
    gap: 10px;
  }

  .faq-item summary {
    font-size: 15px;
    padding: 12px 14px;
  }

  .faq-answer,
  .faq-item > p {
    padding: 0 14px 14px 40px;
    font-size: 14px;
  }

  .workflow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .resume-grid,
  .feedback-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-block {
    padding: 14px 16px;
  }

  .progress-item {
    min-width: 200px;
  }

  .faq-nav-item {
    min-width: 160px;
  }

  .inline-links {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-links a {
    justify-content: center;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    flex: 1 1 100%;
    justify-content: center;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions a {
    width: 100%;
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
