/* ==========================================================================
   飘花影院免费电影 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础重置
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #1f6feb;
  --color-primary-dark: #1a5ac4;
  --color-accent: #f97316;
  --color-accent-soft: #fff3e8;
  --color-bg: #f7f9fc;
  --color-surface: #ffffff;
  --color-text: #1f2933;
  --color-muted: #64748b;
  --color-line: #e2e8f0;
  --color-line-strong: #cbd5e1;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --container: 1180px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 6px 18px rgba(15, 23, 42, 0.09);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

time {
  display: block;
}

.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-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--color-text);
  font-weight: 700;
}

.brand:hover,
.brand:focus-visible {
  color: var(--color-primary);
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
  box-shadow: inset 0 0 0 5px var(--color-surface);
}

.brand-name {
  font-size: 18px;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 10px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.4;
}

.nav-link:hover,
.nav-link:focus-visible {
  background-color: var(--color-bg);
  color: var(--color-primary);
  text-decoration: none;
}

.nav-link.is-current {
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
}

.site-main {
  display: block;
  width: 100%;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* 内页统一面包屑与标题区 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-primary);
}

.breadcrumb-sep {
  color: var(--color-line-strong);
}

.breadcrumb-current {
  color: var(--color-text);
}

.page-header {
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
}

.page-description {
  max-width: 900px;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 16px;
}

.page-layout {
  display: block;
}

.layout-shell {
  display: block;
}

.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-line);
}

.footer-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  display: inline-block;
  padding: 3px 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-primary);
}

.footer-about {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}

.footer-brand {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}

.footer-note,
.footer-copy {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   components · 通用按钮、区块标题、表格、标签、FAQ
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  color: var(--color-text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
}

.section-desc,
.section-intro {
  margin-top: 10px;
  max-width: 900px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
}

.sub-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.field-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

/* 通用数据表 */
.field-table,
.map-table,
.bridge-table {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  font-size: 15px;
}

.field-table th,
.field-table td,
.map-table th,
.map-table td,
.bridge-table th,
.bridge-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.field-table thead th,
.map-table thead th,
.bridge-table thead th {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.map-table tbody tr:last-child td,
.bridge-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-table tbody th {
  width: 22%;
  color: var(--color-text);
  font-weight: 700;
}

.field-table-caption,
.map-caption,
.bridge-caption {
  padding: 12px 14px;
  color: var(--color-muted);
  font-size: 14px;
  text-align: left;
}

/* 通用图片容器约束 */
.channel-thumb,
.channel-media,
.list-media,
.playlist-figure,
.section-media,
.section-figure,
.map-figure,
.hero-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
}

.channel-thumb img,
.channel-media img,
.list-media img,
.playlist-figure img,
.section-media img,
.section-figure img,
.map-figure img,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.hero {
  padding: 36px 0 8px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.hero-lead {
  margin-top: 14px;
  max-width: 620px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-media {
  aspect-ratio: 16 / 10;
}

.hero-paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.path-column {
  padding: 22px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.path-column:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
}

.path-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
}

.path-steps {
  display: grid;
  gap: 12px;
}

.path-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.path-step .step-index,
.path-steps .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.path-step p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

.quick-links {
  display: grid;
  gap: 10px;
}

.quick-link a {
  display: block;
  padding: 12px 14px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.quick-link a:hover,
.quick-link a:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.quick-name {
  display: block;
}

.quick-desc {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* 首页区块统一间距 */
.channel-overview,
.featured-lists,
.field-summary,
.path-overview,
.adjust-log,
.site-index {
  margin-top: 44px;
}

/* 题材频道总览（首页行列表） */
.channel-rows {
  display: grid;
  gap: 14px;
}

.channel-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.channel-row:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-lift);
}

.channel-thumb {
  aspect-ratio: 4 / 3;
}

.channel-info {
  min-width: 0;
}

.channel-name {
  font-size: 18px;
  font-weight: 700;
}

.channel-taste {
  margin-top: 6px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.channel-scope {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.channel-link:hover,
.channel-link:focus-visible {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
}

/* 本期专题片单速览 */
.list-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.list-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.list-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-lift);
}

.list-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.list-name {
  font-size: 18px;
  font-weight: 700;
}

.list-theme {
  margin-top: 8px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.list-cover {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.list-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}

.list-link:hover,
.list-link:focus-visible {
  background-color: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
}

/* 条目字段与收录边界摘要 */
.field-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.field-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.boundary-notes {
  min-width: 0;
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.boundary-list {
  display: grid;
  gap: 14px;
}

.boundary-item h4 {
  font-size: 16px;
  font-weight: 700;
}

.boundary-item p {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.boundary-more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

/* 观看路径三步概览 */
.overview-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.overview-step {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.overview-step:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
}

.overview-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.overview-step .step-name {
  font-size: 17px;
  font-weight: 700;
}

.overview-step p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.overview-more {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
}

/* 收录范围调整记录 */
.log-list {
  display: grid;
  gap: 14px;
}

.log-item {
  padding: 18px 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.log-date {
  color: var(--color-muted);
  font-size: 14px;
}

.log-title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
}

.log-text {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* 站内页面索引 */
.index-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.index-column {
  padding: 18px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.index-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.index-links li + li {
  margin-top: 8px;
}

.index-links a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   pages · 题材频道（pindao）
   -------------------------------------------------------------------------- */
.channel-list {
  display: grid;
  gap: 16px;
}

.channel-list .channel-row {
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
}

.channel-list .channel-media {
  aspect-ratio: 4 / 3;
}

.channel-body {
  min-width: 0;
}

.channel-body .channel-name {
  font-size: 18px;
}

.channel-orientation,
.channel-scope,
.channel-audience {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.channel-map {
  margin-top: 44px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.map-item {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.map-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
}

.map-title {
  font-size: 17px;
  font-weight: 700;
}

.map-text {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.map-link {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.map-note,
.log-note {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.map-note a,
.log-note a {
  font-weight: 700;
}

.channel-log {
  margin-top: 44px;
}

/* --------------------------------------------------------------------------
   pages · 专题片单（zhuanti）
   -------------------------------------------------------------------------- */
.section-zhuanti-overview,
.section-zhuanti-reason,
.section-zhuanti-map {
  margin-top: 44px;
}

.section-zhuanti-overview {
  margin-top: 0;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.playlist-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.playlist-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-lift);
}

.playlist-figure {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.playlist-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px;
}

.playlist-name {
  font-size: 18px;
  font-weight: 700;
}

.playlist-theme {
  margin-top: 8px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.playlist-cover {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.playlist-cover a {
  font-weight: 700;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.reason-item {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.reason-name {
  font-size: 17px;
  font-weight: 700;
}

.reason-theme {
  margin-top: 8px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.reason-rule {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.map-figure {
  aspect-ratio: 21 / 9;
  margin-bottom: 20px;
}

.map-table-wrap {
  overflow-x: auto;
}

.map-table th:first-child,
.map-table td:first-child {
  width: 24%;
}

/* --------------------------------------------------------------------------
   pages · 条目字段说明（zidian）
   -------------------------------------------------------------------------- */
.section-fields,
.section-boundary,
.section-mapping {
  margin-top: 44px;
}

.section-fields {
  margin-top: 0;
}

.section-media {
  aspect-ratio: 21 / 9;
  margin-bottom: 20px;
}

.section-media figcaption {
  padding: 10px 14px;
}

.section-boundary .boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.boundary-item {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.boundary-title {
  font-size: 17px;
  font-weight: 700;
}

.boundary-text {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.mapping-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mapping-item {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.mapping-title {
  font-size: 17px;
  font-weight: 700;
}

.mapping-text {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-footnote {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   pages · 观看路径指引（zhiyin）
   -------------------------------------------------------------------------- */
.path-overview,
.path-checkpoints,
.path-bridge {
  margin-top: 44px;
}

.path-overview {
  margin-top: 0;
}

.path-overview .path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.path-overview .path-step {
  display: block;
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.path-overview .path-step:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
}

.path-overview .path-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.path-overview .step-title {
  font-size: 17px;
  font-weight: 700;
}

.path-overview .step-text {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-figure {
  aspect-ratio: 21 / 9;
  margin-bottom: 20px;
}

.section-figure figcaption {
  padding: 10px 14px;
}

.checkpoint-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.checkpoint-item {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.checkpoint-title {
  font-size: 17px;
  font-weight: 700;
}

.checkpoint-points {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.checkpoint-points li {
  position: relative;
  padding-left: 16px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.checkpoint-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* FAQ 手风琴 */
.faq-block {
  margin-top: 32px;
  padding: 22px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.faq-block-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
}

.faq-item {
  border-top: 1px solid var(--color-line);
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-question {
  position: relative;
  padding: 14px 36px 14px 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  padding: 0 0 14px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.bridge-table-wrap {
  overflow-x: auto;
}

.bridge-table th:first-child,
.bridge-table td:first-child {
  width: 32%;
}

.bridge-note {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 20px 64px;
}

.error-hero {
  max-width: 720px;
}

.error-hero h1 {
  font-size: 32px;
  font-weight: 700;
}

.error-lead {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}

.error-paths {
  margin-top: 40px;
}

.error-paths h2 {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 700;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.error-path-item {
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.error-path-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-line-strong);
}

.error-path-item h3 {
  font-size: 17px;
  font-weight: 700;
}

.error-path-item p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.error-return {
  margin-top: 40px;
  padding: 24px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.error-return h2 {
  font-size: 20px;
  font-weight: 700;
}

.error-return p {
  margin: 10px 0 18px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   responsive · 平板与手机
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    aspect-ratio: 16 / 9;
  }

  .field-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-cards,
  .overview-steps,
  .map-grid,
  .playlist-grid,
  .reason-list,
  .section-boundary .boundary-list,
  .mapping-list,
  .checkpoint-list,
  .path-overview .path-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .channel-row .channel-link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 0 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--color-line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
  }

  .home-main,
  .inner-main {
    padding: 0 16px 40px;
  }

  .page-header {
    padding: 14px 0 22px;
    margin-bottom: 26px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero {
    padding: 24px 0 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-overview,
  .featured-lists,
  .field-summary,
  .path-overview,
  .adjust-log,
  .site-index,
  .channel-map,
  .channel-log,
  .section-zhuanti-reason,
  .section-zhuanti-map,
  .section-boundary,
  .section-mapping,
  .path-checkpoints,
  .path-bridge {
    margin-top: 34px;
  }

  .list-cards,
  .overview-steps,
  .map-grid,
  .playlist-grid,
  .reason-list,
  .section-boundary .boundary-list,
  .mapping-list,
  .checkpoint-list,
  .path-overview .path-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row,
  .channel-list .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .channel-row .channel-link {
    grid-column: auto;
    justify-self: stretch;
    justify-content: center;
  }

  .channel-thumb,
  .channel-list .channel-media {
    aspect-ratio: 16 / 9;
  }

  .index-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .error-main {
    padding: 36px 16px 48px;
  }

  .error-hero h1 {
    font-size: 24px;
  }

  .error-paths h2 {
    font-size: 20px;
  }

  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-figure,
  .section-media,
  .section-figure {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero-title {
    font-size: 22px;
  }

  .section-title {
    font-size: 20px;
  }

  .sub-title,
  .faq-block-title {
    font-size: 17px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .field-table th,
  .field-table td,
  .map-table th,
  .map-table td,
  .bridge-table th,
  .bridge-table td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .field-table tbody th {
    width: 30%;
  }
}
