/* ==========================================================================
   午夜影视 bietiao.cn · 全站样式表
   结构：base → layout → components → pages → responsive
   ========================================================================== */

/* ==========================================================================
   base · 变量与重置
   ========================================================================== */
:root {
  --c-header: #101418;
  --c-header-soft: #1a2027;
  --c-bg: #f7f8fa;
  --c-surface: #ffffff;
  --c-text: #1c2024;
  --c-muted: #5a6169;
  --c-primary: #1f5fd6;
  --c-primary-dark: #17489f;
  --c-border: #d8dce2;
  --c-tint: #eef3fd;
  --c-tint-line: #c3d4f5;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-card: 0 1px 2px rgba(16, 20, 24, 0.06);
  --shadow-raise: 0 4px 14px rgba(16, 20, 24, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover,
a:focus-visible {
  color: var(--c-primary-dark);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  text-align: left;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout · 全站骨架
   ========================================================================== */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

/* --- 页头 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--c-header);
  color: #eef1f5;
  border-bottom: 1px solid #232b33;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0;
}

.brand:hover,
.brand:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #6f9bf0;
}

/* --- 主导航 --- */
.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: #d3d9e0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #ffffff;
  background-color: var(--c-header-soft);
  text-decoration: none;
}

.nav-list a.is-current {
  color: #ffffff;
  font-weight: 700;
  border-bottom-color: #6f9bf0;
}

/* --- 汉堡按钮（桌面隐藏） --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: transparent;
  border: 1px solid #3a434d;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background-color: var(--c-header-soft);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #e7ebf1;
  border-radius: 1px;
}

/* --- 主内容容器 --- */
.site-main {
  flex: 1 0 auto;
  width: 100%;
  background-color: var(--c-bg);
}

.inner-main {
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px 64px;
}

.home-main {
  display: block;
  padding-bottom: 0;
}

/* --- 面包屑 --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 14px;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #9aa2ab;
}

.breadcrumb-current {
  color: var(--c-muted);
}

/* --- 内页标题区 --- */
.page-header {
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 36px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 12px;
}

.page-description {
  max-width: var(--wrap-narrow);
  font-size: 16px;
  color: var(--c-muted);
}

/* --- 页脚 --- */
.site-footer {
  background-color: var(--c-header);
  color: #c8cfd7;
  margin-top: 56px;
  font-size: 15px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 20px 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  padding-right: 12px;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-desc {
  color: #a7b0ba;
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  display: inline-block;
  min-height: 24px;
  padding: 2px 0;
  color: #c1c9d2;
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #232b33;
}

.footer-bottom p {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 13px;
  color: #8f98a2;
}

/* ==========================================================================
   components · 通用模块
   ========================================================================== */
.section {
  padding: 52px 0;
  border-top: 1px solid var(--c-border);
}

.section:first-of-type {
  border-top: 0;
}

/* 首页各 section 需要统一内边距与容器宽度 */
.home-main .section {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-head {
  max-width: var(--wrap-narrow);
  margin-bottom: 28px;
}

.section-head h2,
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
}

.section-lead,
.section-desc,
.section-intro {
  color: var(--c-muted);
  font-size: 16px;
  max-width: var(--wrap-narrow);
}

.section-note {
  margin-top: 24px;
  padding: 14px 18px;
  background-color: var(--c-tint);
  border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: #2c3a52;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--c-primary);
  color: #ffffff;
  border-color: var(--c-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--c-tint);
  color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  text-decoration: none;
}

/* --- 表格 --- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background-color: var(--c-surface);
}

.fields-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.fields-table caption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--c-muted);
  text-align: left;
}

.fields-table thead th {
  background-color: var(--c-tint);
  color: #23324a;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-tint-line);
  white-space: nowrap;
}

.fields-table tbody th {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #23324a;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
  background-color: #fbfcfe;
}

.fields-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  vertical-align: top;
}

.fields-table tbody tr:last-child th,
.fields-table tbody tr:last-child td {
  border-bottom: 0;
}

.fields-table tbody tr:hover td,
.fields-table tbody tr:hover th {
  background-color: #f2f6fd;
}

/* --- FAQ 折叠项 --- */
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background-color: var(--c-surface);
  margin-bottom: 12px;
}

.faq-item[open] {
  border-color: var(--c-tint-line);
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "＋";
  flex: none;
  width: 22px;
  margin-right: 8px;
  color: var(--c-primary);
  font-weight: 700;
}

.faq-item[open] .faq-question::before {
  content: "－";
}

.faq-question:hover {
  color: var(--c-primary-dark);
}

.faq-answer {
  padding: 0 18px 16px 48px;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* --- 图片容器通用约束 --- */
.hero-media,
.content-media,
.channel-figure,
.special-group-media,
.fields-figure,
.scope-summary-figure,
.step-media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #e6e9ee;
}

.hero-media img,
.content-media img,
.channel-figure img,
.special-group-media img,
.fields-figure img,
.scope-summary-figure img,
.step-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
}

.hero-media figcaption,
.content-media figcaption,
.channel-figure figcaption,
.special-group-media figcaption,
.fields-figure figcaption,
.scope-summary-figure figcaption {
  padding: 10px 2px 0;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 20px 40px;
  border-bottom: 1px solid var(--c-border);
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-dark);
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: 999px;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}

.hero-desc {
  max-width: 560px;
  font-size: 17px;
  color: var(--c-muted);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  aspect-ratio: 16 / 10;
}

/* 首页第二张内容图 */
.content-media-primary {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 8;
  margin-top: 8px;
}

/* --- 题材频道方向总览 --- */
.channel-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-border);
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--c-border);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.channel-row:hover {
  background-color: var(--c-surface);
  border-bottom-color: var(--c-tint-line);
}

.channel-row-main {
  min-width: 0;
  flex: 1 1 auto;
}

.channel-row .channel-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.channel-brief {
  color: var(--c-muted);
  font-size: 15px;
}

.channel-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
}

.channel-link:hover,
.channel-link:focus-visible {
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  color: #ffffff;
  text-decoration: none;
}

/* --- 专题片单速览 --- */
.special-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.special-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.special-card:hover {
  border-color: var(--c-tint-line);
  box-shadow: var(--shadow-raise);
  transform: translateY(-2px);
}

.special-name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.special-scope {
  font-size: 14px;
  color: var(--c-primary-dark);
  background-color: var(--c-tint);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 12px;
}

.special-makeup {
  flex: 1 1 auto;
  font-size: 15px;
  color: var(--c-muted);
  margin-bottom: 18px;
}

.special-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: underline;
}

.special-link:hover,
.special-link:focus-visible {
  color: var(--c-primary-dark);
}

/* --- 首页查阅路径三步 --- */
.guide-steps .step-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-border);
}

.guide-steps .step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--c-border);
}

.guide-steps .step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--c-primary);
  border-radius: 50%;
}

.guide-steps .step-body {
  min-width: 0;
  flex: 1 1 auto;
}

.guide-steps .step-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.guide-steps .step-owner {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-dark);
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.guide-steps .step-desc {
  font-size: 15px;
  color: var(--c-muted);
}

/* --- 收录边界与反馈入口 --- */
.boundaries-summary {
  padding: 24px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
}

.boundaries-summary p {
  font-size: 16px;
  color: var(--c-text);
}

.boundaries-summary p + p {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 15px;
}

/* ==========================================================================
   pages · 题材频道
   ========================================================================== */
.channel-basis {
  margin-bottom: 44px;
}

.basis-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.basis-item {
  min-width: 0;
  padding: 18px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.basis-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.basis-item p {
  font-size: 15px;
  color: var(--c-muted);
}

.channel-list {
  margin-bottom: 44px;
}

.channel-item {
  padding: 26px 0;
  border-top: 1px solid var(--c-border);
}

.channel-item:last-child {
  border-bottom: 1px solid var(--c-border);
}

.channel-item .channel-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
}

.channel-item .channel-figure {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.channel-item p {
  max-width: var(--wrap-narrow);
  font-size: 15.5px;
  color: var(--c-text);
}

.channel-item p + p {
  margin-top: 10px;
}

.channel-orientation {
  color: var(--c-text);
}

.channel-audience,
.channel-feature {
  color: var(--c-muted);
}

/* --- 下一步入口 --- */
.next-step {
  margin-top: 8px;
}

.next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.next-link-item {
  min-width: 0;
}

.next-link-item a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.next-link-item a:hover,
.next-link-item a:focus-visible {
  background-color: var(--c-tint);
  border-color: var(--c-tint-line);
  color: var(--c-primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   pages · 专题片单
   ========================================================================== */
.specials-intro {
  margin-bottom: 40px;
}

.specials-intro > p {
  max-width: var(--wrap-narrow);
  color: var(--c-muted);
  margin-bottom: 16px;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-points li {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: var(--radius);
  font-size: 15px;
  color: #2c3a52;
}

.intro-points strong {
  display: block;
  margin-bottom: 6px;
  color: #1c2b45;
}

.special-groups {
  margin-bottom: 40px;
}

.special-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--c-border);
}

.special-group:last-child {
  border-bottom: 1px solid var(--c-border);
}

.special-group-body {
  min-width: 0;
}

.special-group-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
}

.special-group-scope,
.special-group-summary {
  font-size: 15.5px;
  color: var(--c-text);
}

.special-group-scope {
  margin-bottom: 10px;
}

.special-group-summary {
  color: var(--c-muted);
  margin-bottom: 16px;
}

.special-group-scope .label,
.special-group-summary .label {
  display: inline-block;
  min-width: 76px;
  padding: 2px 8px;
  margin-right: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-dark);
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: var(--radius-sm);
}

.group-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: underline;
}

.group-link:hover,
.group-link:focus-visible {
  color: var(--c-primary-dark);
}

.special-group-media {
  aspect-ratio: 4 / 3;
}

/* --- 片单字段示例表 --- */
.special-fields {
  margin-bottom: 40px;
}

.fields-example-title {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 12px;
}

.fields-example-title:first-of-type {
  margin-top: 0;
}

.fields-example-table {
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}

.fields-example-table caption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--c-muted);
  text-align: left;
}

.fields-example-table thead th {
  background-color: var(--c-tint);
  color: #23324a;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-tint-line);
  white-space: nowrap;
}

.fields-example-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}

.fields-example-table tbody td:first-child {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #23324a;
  white-space: nowrap;
}

.fields-example-table tbody tr:last-child td {
  border-bottom: 0;
}

.fields-example-table tbody tr:hover td {
  background-color: #f2f6fd;
}

/* --- 更多专题入口 --- */
.specials-more > p {
  max-width: var(--wrap-narrow);
  color: var(--c-muted);
  margin-bottom: 16px;
}

.more-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.more-links li {
  min-width: 0;
}

.more-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.more-links a:hover,
.more-links a:focus-visible {
  background-color: var(--c-tint);
  border-color: var(--c-tint-line);
  color: var(--c-primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   pages · 条目字段说明
   ========================================================================== */
.fields-overview {
  margin-bottom: 44px;
}

.fields-overview .section-head {
  max-width: var(--wrap-narrow);
  margin-bottom: 22px;
}

.fields-figure {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin-bottom: 26px;
}

.fields-group-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fields-group-item {
  min-width: 0;
  padding: 18px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.fields-group-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.fields-group-item p {
  font-size: 15px;
  color: var(--c-muted);
}

.fields-table-section {
  margin-bottom: 44px;
}

.fields-table-section .section-head {
  max-width: var(--wrap-narrow);
  margin-bottom: 22px;
}

/* --- 填写规范 --- */
.fields-rules .section-head {
  max-width: var(--wrap-narrow);
  margin-bottom: 24px;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.rules-main {
  min-width: 0;
}

.rules-subtitle {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rules-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-border);
}

.rules-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}

.rules-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rules-item p {
  font-size: 15px;
  color: var(--c-muted);
}

.rules-aside {
  min-width: 0;
  padding: 20px;
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 17px;
  font-weight: 700;
  color: #1c2b45;
  margin-bottom: 10px;
}

.aside-text {
  font-size: 15px;
  color: #2c3a52;
  margin-bottom: 14px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: underline;
}

.aside-links a:hover,
.aside-links a:focus-visible {
  color: var(--c-primary-dark);
}

/* --- FAQ 区块 --- */
.faq-block {
  margin-top: 8px;
}

.faq-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ==========================================================================
   pages · 观看指南
   ========================================================================== */
.guide-steps {
  margin-bottom: 44px;
}

.guide-steps > .section-lead {
  margin-bottom: 24px;
}

.guide-steps .step-item {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--c-border);
}

.guide-steps .step-item:last-child {
  border-bottom: 1px solid var(--c-border);
}

.step-media {
  aspect-ratio: 16 / 10;
}

.step-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--c-primary);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  margin-bottom: 10px;
}

.guide-steps .step-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-steps .step-owner {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-dark);
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.guide-steps .step-body p {
  font-size: 15.5px;
  color: var(--c-text);
}

.guide-steps .step-body p + p {
  margin-top: 8px;
}

.guide-steps .step-note {
  color: var(--c-muted);
  font-size: 14.5px;
}

/* --- 准备事项 --- */
.guide-prepare {
  margin-bottom: 44px;
}

.guide-prepare > .section-lead {
  margin-bottom: 22px;
}

.prepare-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prepare-item {
  min-width: 0;
  padding: 18px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius);
}

.prepare-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.prepare-item p {
  font-size: 15px;
  color: var(--c-muted);
}

/* --- 常见疑问 --- */
.guide-faq > .section-lead {
  margin-bottom: 22px;
}

/* ==========================================================================
   pages · 收录边界与反馈
   ========================================================================== */
.scope-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 44px;
}

.scope-summary-text {
  min-width: 0;
}

.scope-summary-text .section-title {
  margin-bottom: 14px;
}

.scope-summary-text p {
  font-size: 15.5px;
  color: var(--c-text);
}

.scope-summary-text p + p {
  margin-top: 12px;
  color: var(--c-muted);
}

.scope-summary-figure {
  aspect-ratio: 4 / 3;
}

.scope-compare {
  margin-bottom: 44px;
}

.scope-compare .section-intro {
  margin-bottom: 22px;
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-col {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background-color: var(--c-surface);
}

.compare-col-yes {
  border-top: 4px solid #1f7a4d;
}

.compare-col-no {
  border-top: 4px solid #b23b3b;
}

.compare-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.compare-col-yes .compare-title {
  color: #1f6a45;
}

.compare-col-no .compare-title {
  color: #9c3232;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--c-text);
}

.compare-col-yes .compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f7a4d;
  font-weight: 700;
}

.compare-col-no .compare-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #b23b3b;
  font-weight: 700;
}

.compare-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--c-muted);
}

/* --- 反馈路径 --- */
.feedback-path {
  margin-bottom: 44px;
}

.feedback-path > p {
  max-width: var(--wrap-narrow);
  color: var(--c-muted);
  margin-bottom: 20px;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.feedback-step {
  min-width: 0;
  padding: 18px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.feedback-step .step-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feedback-step .step-owner {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-dark);
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.feedback-step .step-desc {
  font-size: 15px;
  color: var(--c-muted);
}

.feedback-note {
  padding: 20px;
  background-color: var(--c-tint);
  border: 1px solid var(--c-tint-line);
  border-radius: var(--radius);
}

.note-title {
  font-size: 17px;
  font-weight: 700;
  color: #1c2b45;
  margin-bottom: 10px;
}

.feedback-note p {
  font-size: 15px;
  color: #2c3a52;
}

/* --- 边界 FAQ 与后续入口 --- */
.boundary-faq {
  margin-bottom: 40px;
}

.boundary-faq .section-title {
  margin-bottom: 20px;
}

.boundary-next > p {
  max-width: var(--wrap-narrow);
  color: var(--c-muted);
  font-size: 15.5px;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */
.error-main {
  display: block;
  width: 100%;
  background-color: var(--c-bg);
}

.content-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 64px;
}

.error-block {
  padding: 32px 28px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  margin-bottom: 34px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.error-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-lead {
  max-width: var(--wrap-narrow);
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 22px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hints h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.error-hint-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-hint-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 16px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.error-hint-list li:hover {
  border-color: var(--c-tint-line);
  background-color: var(--c-tint);
}

.error-hint-list a {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: underline;
}

.error-hint-list span {
  font-size: 13.5px;
  color: var(--c-muted);
  text-align: right;
}

/* ==========================================================================
   responsive · 1024 / 768 / 480
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 36px;
  }

  .hero-title {
    font-size: 32px;
  }

  .content-media-primary {
    aspect-ratio: 16 / 9;
  }

  .special-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
    gap: 22px;
  }

  .rules-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .guide-steps .step-item {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 22px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 0 100%;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 0 10px;
    border-top: 1px solid #2a333d;
    margin-top: 6px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    min-height: 48px;
    padding: 0 6px;
    border-bottom: 1px solid #232b33;
  }

  .nav-list a.is-current {
    border-bottom-color: #6f9bf0;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .home-main .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 28px 16px 26px;
  }

  .hero-title {
    font-size: 26px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-head h2,
  .section-title {
    font-size: 20px;
  }

  .section {
    padding: 38px 0;
  }

  .channel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .channel-link {
    align-self: flex-start;
  }

  .special-cards,
  .basis-list,
  .next-links,
  .intro-points,
  .fields-group-list,
  .prepare-list,
  .feedback-steps,
  .compare-columns,
  .more-links,
  .error-hint-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-group-media {
    max-width: 520px;
  }

  .guide-steps .step-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-media {
    max-width: 520px;
  }

  .fields-figure {
    max-width: 100%;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-bottom p {
    padding: 14px 16px;
  }

  .error-block {
    padding: 24px 20px;
  }

  .error-code {
    font-size: 38px;
  }

  .error-title {
    font-size: 24px;
  }

  .content-wrap {
    padding: 36px 16px 48px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15.5px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 15.5px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .page-title {
    font-size: 24px;
  }

  .guide-steps .step-num {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .faq-answer {
    padding-left: 18px;
  }

  .fields-table,
  .fields-example-table {
    min-width: 480px;
    font-size: 14px;
  }

  .fields-table thead th,
  .fields-table tbody th,
  .fields-table tbody td,
  .fields-example-table thead th,
  .fields-example-table tbody td {
    padding: 10px 12px;
  }

  .compare-col,
  .prepare-item,
  .feedback-step,
  .basis-item,
  .fields-group-item {
    padding: 16px;
  }

  .special-card {
    padding: 18px 16px;
  }
}
