/* ==========================================================================
   飘花午夜影院 shuaxiaobai.cn
   base → layout → components → pages → responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --bg: #0F1115;
  --bg-soft: #171A21;
  --bg-raise: #1D2129;
  --text: #F2F3F5;
  --text-dim: #A8ADB8;
  --text-faint: #7C828E;
  --accent: #F5A623;
  --line: #2A2E38;
  --radius: 6px;
  --shell: 1200px;
  --gap: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

time {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==========================================================================
   layout —— 全站骨架
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

/* 页头 ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 17, 21, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--accent);
  border-radius: 2px;
}

.brand:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list > li {
  display: block;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-bottom-color: var(--line);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 1px;
}

/* 主内容 -------------------------------------------------------------- */

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px 24px 72px;
}

/* 面包屑 -------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-dim);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--text-dim);
}

/* 内页标题区 ---------------------------------------------------------- */

.page-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.page-description {
  margin-top: 12px;
  max-width: 820px;
  font-size: 16px;
  color: var(--text-dim);
}

/* 页脚 ---------------------------------------------------------------- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 32px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  display: inline-block;
  min-height: 22px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-about .footer-text {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 340px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   components
   ========================================================================== */

/* 按钮 ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #14161B;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #FFB63D;
  border-color: #FFB63D;
  color: #14161B;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* 文本链接 ------------------------------------------------------------ */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--accent);
}

.text-link::after {
  content: "→";
  font-size: 14px;
}

.text-link:hover {
  color: #FFB63D;
}

/* section 通用 -------------------------------------------------------- */

.section {
  margin-bottom: 64px;
}

.section-head {
  margin-bottom: 28px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.section-desc,
.section-intro,
.section-lead {
  margin-top: 10px;
  max-width: 860px;
  font-size: 15px;
  color: var(--text-dim);
}

.section-more {
  margin-top: 24px;
}

.section-media,
.section-figure,
.guide-figure,
.timeline-figure {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.section-media img,
.section-figure img,
.guide-figure img,
.timeline-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.section-media figcaption,
.section-figure figcaption,
.guide-figure figcaption,
.timeline-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-faint);
  border-top: 1px solid var(--line);
}

/* 表格 ---------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.data-table {
  min-width: 640px;
  font-size: 15px;
}

.table-caption {
  caption-side: top;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  padding: 14px 16px;
  text-align: left;
  font-weight: 400;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

/* 边界列表 ------------------------------------------------------------ */

.boundary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.boundary-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.boundary-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.boundary-text {
  font-size: 15px;
  color: var(--text-dim);
}

/* 相关入口 ------------------------------------------------------------ */

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.related-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 14px 18px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.related-item a {
  display: inline-block;
  min-height: 24px;
  font-size: 15px;
  color: var(--text);
}

.related-item a:hover {
  color: var(--accent);
}

.related-desc {
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   pages —— 首页
   ========================================================================== */

/* 首屏 ---------------------------------------------------------------- */

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.hero-lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 16px;
  color: var(--text-dim);
}

.hero-points {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-dim);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.hero-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* 首页各 section 容器 -------------------------------------------------- */

.channels-overview,
.specials-overview,
.fields-overview,
.guide-overview,
.sitemap-index {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.sitemap-index {
  padding-bottom: 64px;
}

/* 频道总览行 ---------------------------------------------------------- */

.channel-rows {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.2fr) 150px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.channel-cell {
  min-width: 0;
  font-size: 15px;
  color: var(--text-dim);
}

.channel-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.channel-theme {
  color: var(--text-dim);
}

.channel-scope {
  color: var(--text-faint);
}

.channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

.channel-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* 首页专题卡 ---------------------------------------------------------- */

.special-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.special-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 20px;
  overflow: hidden;
  min-width: 0;
  transition: border-color .18s ease, transform .18s ease;
}

.special-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.special-figure {
  border-bottom: 1px solid var(--line);
}

.special-figure img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.special-name {
  padding: 18px 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.special-theme,
.special-basis {
  padding: 8px 20px 0;
  font-size: 14px;
  color: var(--text-dim);
}

.special-basis {
  color: var(--text-faint);
}

/* 首页字段与边界 ------------------------------------------------------ */

.fields-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.fields-table-wrap {
  min-width: 0;
}

.subsection-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.fields-table {
  width: 100%;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.fields-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
}

.fields-table tbody th,
.fields-table tbody td {
  padding: 12px 16px;
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.fields-table tbody tr:last-child th,
.fields-table tbody tr:last-child td {
  border-bottom: 0;
}

.fields-table tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.fields-boundary {
  min-width: 0;
}

.boundary-list .boundary-item {
  display: block;
}

.boundary-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.boundary-desc {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
}

/* 首页步骤 ------------------------------------------------------------ */

.step-list {
  display: grid;
  gap: 14px;
}

.step-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-dim);
}

/* 首页站内索引 -------------------------------------------------------- */

.index-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.index-col {
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.index-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.index-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.index-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-faint);
}

/* ==========================================================================
   pages —— 频道分类
   ========================================================================== */

.page-channels .section-channels-table,
.page-channels .section-channel-special-map,
.page-channels .section-channel-boundary,
.page-channels .section-related {
  margin-bottom: 56px;
}

.page-channels .section-intro a {
  color: var(--accent);
}

.channels-table {
  min-width: 720px;
}

.channel-visual {
  margin-top: 0;
  margin-bottom: 56px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.map-col {
  min-width: 0;
}

.map-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.channel-list {
  display: grid;
  gap: 10px;
}

.channel-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 0;
}

.channel-item .channel-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.channel-note {
  font-size: 13px;
  color: var(--text-faint);
}

.special-link-list {
  display: grid;
  gap: 12px;
}

.special-link-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 0;
}

.special-link {
  display: inline-block;
  min-height: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.special-link:hover {
  color: var(--accent);
}

.special-link-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ==========================================================================
   pages —— 专题片单
   ========================================================================== */

.page-specials .section-specials,
.page-specials .section-basis,
.page-specials .section-cross,
.page-specials .section-related {
  margin-bottom: 56px;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.page-specials .special-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 22px;
}

.special-media {
  border-bottom: 1px solid var(--line);
}

.special-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.page-specials .special-name {
  padding: 18px 20px 0;
}

.special-scope,
.page-specials .special-basis {
  padding: 10px 20px 0;
  font-size: 14px;
  color: var(--text-dim);
}

.page-specials .special-basis {
  color: var(--text-faint);
}

.special-scope .label,
.special-basis .label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-raise);
}

.page-specials .special-link {
  margin: 18px 20px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.page-specials .special-link::after {
  content: "→";
  font-size: 13px;
}

.page-specials .special-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.basis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.basis-list {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.basis-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.basis-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.basis-text {
  font-size: 15px;
  color: var(--text-dim);
}

.basis-aside {
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.aside-text {
  font-size: 14px;
  color: var(--text-dim);
}

.aside-text + .aside-text {
  margin-top: 10px;
}

.cross-table {
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.cross-caption {
  caption-side: top;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
}

.cross-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
}

.cross-table tbody th,
.cross-table tbody td {
  padding: 14px 16px;
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cross-table tbody tr:last-child th,
.cross-table tbody tr:last-child td {
  border-bottom: 0;
}

.cross-table tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.cross-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.cross-note a {
  color: var(--accent);
}

/* ==========================================================================
   pages —— 条目字段说明
   ========================================================================== */

.page-fields .fields-table-section,
.page-fields .fields-boundary-section,
.page-fields .fields-feedback-section,
.page-fields .related-section {
  margin-bottom: 56px;
}

.page-fields .section-figure {
  margin-bottom: 24px;
}

.page-fields .fields-table {
  min-width: 640px;
}

.page-fields .fields-table tbody td.field-name {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.misread-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.misread-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.misread-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.misread-text {
  font-size: 14px;
  color: var(--text-dim);
}

.misread-fix {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-faint);
}

.feedback-note {
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.feedback-note-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feedback-note-text {
  font-size: 14px;
  color: var(--text-dim);
}

.feedback-note-text + .feedback-note-text {
  margin-top: 8px;
}

/* ==========================================================================
   pages —— 观看路径指引
   ========================================================================== */

.page-guide .guide-steps,
.page-guide .guide-cases,
.page-guide .guide-updates,
.page-guide .guide-related {
  margin-bottom: 56px;
}

.page-guide .guide-figure {
  margin-bottom: 24px;
}

.page-guide .step-list {
  gap: 16px;
}

.page-guide .step-item {
  grid-template-columns: 64px minmax(0, 1fr);
  background: var(--bg-soft);
}

.page-guide .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.page-guide .step-text {
  font-size: 15px;
  color: var(--text-dim);
}

.page-guide .step-text a {
  color: var(--accent);
}

.page-guide .step-check {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  color: var(--text-faint);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.case-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.case-text {
  font-size: 15px;
  color: var(--text-dim);
}

.page-guide .update-timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  padding-left: 22px;
}

.page-guide .update-item {
  position: relative;
  padding: 0 0 22px;
}

.page-guide .update-item:last-child {
  padding-bottom: 0;
}

.page-guide .update-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.page-guide .update-date {
  display: block;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.page-guide .update-text {
  font-size: 15px;
  color: var(--text-dim);
}

.guide-related {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.guide-related .section-title {
  margin-bottom: 18px;
}

/* ==========================================================================
   pages —— 收录与更正
   ========================================================================== */

.page-updates .updates-timeline,
.page-updates .updates-feedback,
.page-updates .updates-process,
.page-updates .updates-related {
  margin-bottom: 56px;
}

.page-updates .timeline-figure {
  margin-bottom: 28px;
}

.timeline-list {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  padding-bottom: 26px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-date {
  display: block;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.timeline-body {
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.timeline-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 15px;
  color: var(--text-dim);
}

.timeline-scope {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-faint);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feedback-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.feedback-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feedback-text {
  font-size: 14px;
  color: var(--text-dim);
}

.feedback-text a {
  color: var(--accent);
}

.page-updates .feedback-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-faint);
}

.page-updates .feedback-note a {
  color: var(--accent);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.process-body {
  min-width: 0;
}

.process-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.process-text {
  font-size: 14px;
  color: var(--text-dim);
}

/* ==========================================================================
   pages —— 404
   ========================================================================== */

.site-error .error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px 24px 88px;
  width: 100%;
}

.error-panel {
  max-width: 720px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.error-code {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.error-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.error-text {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-dim);
}

.error-text + .error-text {
  margin-top: 10px;
}

.error-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 48px 24px 44px;
  }

  .hero-figure img {
    height: 300px;
  }

  .channel-row {
    grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) 130px;
  }

  .special-cards,
  .special-grid,
  .misread-grid,
  .feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fields-columns,
  .basis-layout,
  .map-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about .footer-text {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    min-height: 60px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    border-left: 2px solid transparent;
  }

  .nav-link.is-current {
    border-bottom-color: var(--line);
    border-left-color: var(--accent);
  }

  .inner-main {
    padding: 20px 16px 56px;
  }

  .page-header {
    padding-bottom: 18px;
    margin-bottom: 24px;
  }

  .page-title,
  .hero-title,
  .error-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .section {
    margin-bottom: 44px;
  }

  .channels-overview,
  .specials-overview,
  .fields-overview,
  .guide-overview,
  .sitemap-index {
    padding: 40px 16px 0;
  }

  .sitemap-index {
    padding-bottom: 48px;
  }

  .hero-inner {
    padding: 36px 16px 36px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-figure img {
    height: 220px;
  }

  .section-media img,
  .section-figure img,
  .guide-figure img,
  .timeline-figure img {
    height: 200px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0;
  }

  .channel-link {
    justify-self: start;
    margin-top: 8px;
  }

  .special-cards,
  .special-grid,
  .misread-grid,
  .feedback-grid,
  .case-list,
  .process-list,
  .index-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-item,
  .page-guide .step-item,
  .process-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .step-num,
  .page-guide .step-index {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .process-index {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 16px 24px;
    gap: 26px;
  }

  .footer-copy {
    padding: 16px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 420px) {
  .page-title,
  .hero-title,
  .error-title {
    font-size: 23px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-figure img {
    height: 190px;
  }
}
