/* ==========================================================================
   蜜桃影视 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版基调
   -------------------------------------------------------------------------- */
:root {
  --c-accent: #C63E16;
  --c-accent-dark: #A6330F;
  --c-accent-soft: #F7E9E3;
  --c-ink: #14100E;
  --c-graphite: #5F5854;
  --c-paper: #FFFFFF;
  --c-mist: #F5F2F0;
  --c-line: #E6DFDA;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;

  --w-shell: 1160px;
  --w-reading: 760px;
  --w-narrow: 820px;
  --w-mid: 880px;
  --w-side: 320px;
  --gap-col: 32px;

  --pad-shell: 32px;
  --radius: 4px;
  --radius-lg: 8px;
  --dur: 160ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--c-ink);
  line-height: 1.3;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--dur) ease, border-color var(--dur) ease;
}

a:hover,
a:focus-visible {
  color: var(--c-accent-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 18px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius);
  transition: top var(--dur) ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   2. layout — 全站骨架：页头 / 导航 / 主容器 / 页脚
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: var(--w-shell);
  margin: 0 auto;
  padding: 16px var(--pad-shell);
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--c-accent);
}

/* 菜单按钮：桌面隐藏 */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  font-size: 14px;
  font-weight: 600;
}

.menu-icon {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 20px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--c-graphite);
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--c-ink);
  border-bottom-color: var(--c-accent);
}

.nav-list a.is-current {
  color: var(--c-ink);
  font-weight: 700;
  border-bottom-color: var(--c-accent);
}

/* 主内容 */
.site-main {
  display: block;
  max-width: var(--w-shell);
  margin: 0 auto;
  padding: 0 var(--pad-shell);
}

.home-main {
  padding-bottom: 64px;
}

.inner-main {
  padding-bottom: 72px;
}

/* 内页面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--c-graphite);
}

.breadcrumb a {
  color: var(--c-graphite);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--c-accent);
}

.breadcrumb-sep {
  color: var(--c-line);
}

.breadcrumb-current {
  color: var(--c-ink);
  font-weight: 600;
}

/* 内页标题区 */
.page-header {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 40px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--c-ink);
}

/* 双栏布局（主内容在前，侧栏在后） */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--w-side);
  gap: var(--gap-col);
  align-items: start;
}

.content-main,
.layout-main {
  min-width: 0;
}

.sidebar,
.layout-side {
  min-width: 0;
}

/* 页脚 */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--c-line);
  background: var(--c-mist);
  color: var(--c-graphite);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--w-shell);
  margin: 0 auto;
  padding: 48px var(--pad-shell) 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-graphite);
}

.footer-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--c-graphite);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--c-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--w-shell);
  margin: 0 auto;
  padding: 18px var(--pad-shell) 32px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
}

.footer-scope {
  margin: 0;
}

.footer-scope a {
  color: var(--c-graphite);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-scope a:hover,
.footer-scope a:focus-visible {
  color: var(--c-accent);
}

.footer-copy {
  margin: 0;
  color: var(--c-graphite);
}

.back-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
}

.back-top:hover,
.back-top:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   3. components — 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  background: var(--c-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--c-accent);
  border-radius: var(--radius);
  transition: background var(--dur) ease, border-color var(--dur) ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: transparent;
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color var(--dur) ease, color var(--dur) ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* 区块标题组 */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.section-lead {
  margin-top: 8px;
  max-width: 78%;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-graphite);
}

/* 内页区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 78%;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
  margin-bottom: 20px;
}

.section {
  padding-top: 40px;
}

.section-tail {
  margin-top: 20px;
  font-size: 14px;
  color: var(--c-graphite);
}

/* 图片容器统一约束 */
.hero-figure,
.page-figure,
.page-head-media,
.page-hero-media,
.entry-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-mist);
}

.hero-figure img,
.page-figure img,
.page-head-media img,
.page-hero-media img,
.entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-graphite);
}

/* 折叠问答 */
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 16px 44px 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--c-accent);
}

.faq-item > p,
.faq-body {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-graphite);
}

.faq-body p + p {
  margin-top: 10px;
}

/* 站内链接组 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.related-links-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-graphite);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--c-accent);
}

.related-links-item:hover,
.related-links-item:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 出口链接组（多页复用） */
.exit-links,
.outro-links,
.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}

.exit-links a,
.outro-links a,
.next-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}

.exit-links a:hover,
.outro-links a:hover,
.next-links a:hover,
.exit-links a:focus-visible,
.outro-links a:focus-visible,
.next-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 带短横线的要点列表（通用语义） */
.cross-list li,
.rule-list li,
.notes-list li,
.verify-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ink);
}

.cross-list li + li,
.rule-list li + li,
.notes-list li + li,
.verify-list li + li {
  margin-top: 8px;
}

.cross-list li::before,
.rule-list li::before,
.notes-list li::before,
.verify-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 2px;
  background: var(--c-accent);
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

/* 首屏紧凑工具栏 */
.quick-bar {
  margin-top: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 8px 16px;
}

.quick-bar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.quick-bar-channels {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 8px;
}

.quick-bar-paths {
  justify-content: flex-start;
}

.quick-bar-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--c-graphite);
}

.quick-bar-channels a {
  font-weight: 600;
  color: var(--c-ink);
}

.quick-bar-list a:hover,
.quick-bar-list a:focus-visible {
  color: var(--c-accent);
}

.quick-bar-paths a::before {
  content: "→";
  margin-right: 6px;
  color: var(--c-accent);
}

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 48px 0 56px;
}

.hero-text {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-lead {
  margin-top: 16px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
}

.hero-points {
  margin-top: 20px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.hero-points li + li {
  margin-top: 6px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 2px;
  background: var(--c-accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  aspect-ratio: 16 / 11;
}

.hero-figure figcaption {
  margin-top: 10px;
}

/* 频道标签条 */
.channel-tabs {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 10px 0;
  margin-bottom: 48px;
}

.channel-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-tabs-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--c-accent-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.channel-tabs-list a:hover,
.channel-tabs-list a:focus-visible {
  background: var(--c-accent);
  color: #fff;
}

.channel-tabs-list a.is-active {
  color: var(--c-accent);
}

.channel-tabs-list a.is-active:hover,
.channel-tabs-list a.is-active:focus-visible {
  color: #fff;
}

/* 频道内容流 */
.channel-stream .section-head {
  margin-bottom: 32px;
}

.channel-group + .channel-group {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
}

.group-head {
  margin-bottom: 20px;
}

.group-head h3 {
  font-size: 18px;
  font-weight: 600;
}

.group-scope {
  margin-top: 6px;
  max-width: 78%;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  transition: border-color var(--dur) ease;
}

.entry-card:hover {
  border-color: var(--c-accent);
}

.entry-media {
  margin: 0 0 14px;
}

.entry-media img {
  aspect-ratio: 16 / 9;
}

.entry-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: var(--radius);
  background: var(--c-accent-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.entry-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.entry-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

.entry-link {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
  align-self: flex-start;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.entry-card:hover .entry-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 频道区配图由 section 内 figure 承载 */
.channel-stream > figure {
  margin-top: 40px;
}

.channel-stream > figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.channel-stream > figure figcaption {
  margin-top: 10px;
}

/* 专题片单精选 */
.playlist-feature {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--c-line);
}

.playlist-list {
  display: grid;
  gap: 0;
}

.playlist-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
}

.playlist-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.playlist-num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}

.playlist-body {
  min-width: 0;
}

.playlist-body h3 {
  font-size: 20px;
  font-weight: 700;
}

.playlist-logic,
.playlist-structure {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
  max-width: 62em;
}

.playlist-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}

.playlist-link:hover,
.playlist-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 观看路径三步 */
.watch-path {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--c-line);
}

.watch-path .step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.watch-path .step-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  min-width: 0;
}

.watch-path .step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.watch-path .step-body {
  min-width: 0;
}

.watch-path .step-title {
  font-size: 16px;
  font-weight: 600;
}

.watch-path .step-rule {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

/* 入口核验提示条 */
.verify-strip {
  margin-top: 56px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--c-mist);
}

.verify-strip h2 {
  font-size: 22px;
  font-weight: 700;
}

.verify-lead {
  margin-top: 8px;
  max-width: 62em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
}

.verify-list {
  margin-top: 16px;
}

.verify-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent);
}

.verify-link:hover,
.verify-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 常见问题摘要 */
.faq-brief {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--c-line);
}

.faq-more {
  margin-top: 18px;
  font-size: 14px;
}

.faq-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--c-accent);
}

.faq-more a:hover,
.faq-more a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   5. pages — 频道导航页（双栏）
   -------------------------------------------------------------------------- */
.page-channels .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.page-channels .page-lead {
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
}

.page-channels .page-figure {
  margin: 0;
}

.page-channels .page-figure img {
  aspect-ratio: 16 / 10;
}

.page-channels .page-figure figcaption {
  margin-top: 8px;
}

/* 频道总表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.channel-table {
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}

.channel-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  background: var(--c-mist);
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.channel-table tbody th,
.channel-table tbody td {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}

.channel-table tbody th {
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
}

.channel-table tbody td {
  color: var(--c-graphite);
}

.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 频道条目示例 */
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.example-card {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  min-width: 0;
}

.example-title {
  font-size: 18px;
  font-weight: 600;
}

.example-scope {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

.example-item {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--c-accent);
  background: var(--c-mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink);
}

.example-tip {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

/* 频道交叉说明 */
.section-cross .cross-list {
  margin-top: 4px;
}

/* 侧栏 */
.sidebar-card,
.side-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--c-mist);
}

.sidebar-title,
.side-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.sidebar-links,
.side-anchor-list,
.side-link-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-links a,
.side-anchor-list a,
.side-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}

.sidebar-links li:last-child a,
.side-anchor-list li:last-child a,
.side-link-list li:last-child a {
  border-bottom: 0;
}

.sidebar-links a:hover,
.sidebar-links a:focus-visible,
.side-anchor-list a:hover,
.side-anchor-list a:focus-visible,
.side-link-list a:hover,
.side-link-list a:focus-visible {
  color: var(--c-accent);
}

.side-subtitle {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-graphite);
}

/* --------------------------------------------------------------------------
   6. pages — 专题片单页（单栏 880px）
   -------------------------------------------------------------------------- */
.content-container {
  max-width: var(--w-mid);
  margin: 0 auto;
}

.page-intro {
  margin-bottom: 48px;
}

.page-intro .page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
  max-width: 62em;
}

.page-intro .page-figure {
  margin-top: 24px;
}

.page-intro .page-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.page-intro .page-figure figcaption {
  margin-top: 8px;
}

.playlist-article {
  min-width: 0;
}

.content-section {
  padding: 40px 0;
  border-top: 1px solid var(--c-line);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.content-section > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
  max-width: 62em;
}

.content-section > p + p {
  margin-top: 12px;
}

/* 定义式要素组 */
.definition-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.definition-item {
  padding: 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  min-width: 0;
}

.definition-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.definition-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-graphite);
}

/* 专题方向 */
.feature-list {
  margin-top: 24px;
}

.feature-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
}

.feature-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-index {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
}

.feature-body {
  min-width: 0;
}

.feature-body h3 {
  font-size: 20px;
  font-weight: 700;
}

.feature-sub {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
  max-width: 62em;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}

.feature-link:hover,
.feature-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 归档规则 */
.rule-list {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. pages — 观看参考页（双栏）
   -------------------------------------------------------------------------- */
.page-head {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}

.page-head .page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
  max-width: 62em;
}

.page-head .page-figure,
.page-head .page-head-media {
  margin-top: 24px;
}

.page-head .page-figure img,
.page-head .page-head-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.page-head .page-figure figcaption,
.page-head .page-head-media figcaption {
  margin-top: 8px;
}

.guide-section {
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
}

.guide-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* 说明分类卡片 */
.guide-card {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
}

.guide-card + .guide-card {
  margin-top: 16px;
}

.guide-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.guide-fit {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-ink);
}

.guide-note {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px solid var(--c-line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

/* 操作步骤（观看参考页局部作用域） */
.page-viewing-guide .step-list {
  display: grid;
  gap: 14px;
  counter-reset: guide-step;
}

.page-viewing-guide .step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  min-width: 0;
}

.page-viewing-guide .step-index {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 700;
}

.page-viewing-guide .step-title {
  font-size: 16px;
  font-weight: 600;
}

.page-viewing-guide .step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-graphite);
}

/* 问题说明与排查 */
.trouble-item {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  min-width: 0;
}

.trouble-item + .trouble-item {
  margin-top: 16px;
}

.trouble-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.trouble-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-graphite);
}

.trouble-line + .trouble-line {
  margin-top: 8px;
}

.trouble-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   8. pages — 入口核验页（单栏 880px 清单式）
   -------------------------------------------------------------------------- */
.page-entry-check .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.page-entry-check .page-hero-text {
  min-width: 0;
}

.page-entry-check .page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
  max-width: 34em;
}

.page-entry-check .page-hero-media {
  margin: 0;
}

.page-entry-check .page-hero-media img {
  aspect-ratio: 16 / 10;
}

.page-entry-check .page-hero-media figcaption {
  margin-top: 8px;
}

.checklist-section,
.misentry-section,
.troubleshoot-section,
.exit-section {
  padding: 40px 0;
  border-top: 1px solid var(--c-line);
}

.checklist-section {
  border-top: 0;
  padding-top: 0;
}

.checklist-section h2,
.misentry-section h2,
.troubleshoot-section h2,
.exit-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* 核验清单 */
.checklist {
  display: grid;
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.checklist-item {
  padding: 20px 22px;
  border-top: 1px solid var(--c-line);
  min-width: 0;
}

.checklist-item:first-child {
  border-top: 0;
}

.checklist-no {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  margin-bottom: 6px;
}

.checklist-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.checklist-how,
.checklist-ok {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
}

.checklist-how + .checklist-ok {
  margin-top: 8px;
}

.checklist-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: var(--radius);
  background: var(--c-accent-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.04em;
}

/* 常见误入情形 */
.misentry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.misentry-item {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  min-width: 0;
}

.misentry-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.misentry-desc,
.misentry-basis,
.misentry-action {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-graphite);
}

.misentry-desc + .misentry-basis,
.misentry-basis + .misentry-action {
  margin-top: 8px;
}

/* 排查顺序 */
.troubleshoot-steps {
  display: grid;
  gap: 14px;
  counter-reset: ts;
}

.troubleshoot-step {
  position: relative;
  padding: 16px 20px 16px 56px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  min-width: 0;
  counter-increment: ts;
}

.troubleshoot-step::before {
  content: counter(ts);
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.troubleshoot-step .step-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.troubleshoot-step .step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-graphite);
}

/* 出口 */
.exit-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
  max-width: 62em;
}

/* --------------------------------------------------------------------------
   9. pages — 使用说明页（单栏 820px）
   -------------------------------------------------------------------------- */
.page-site-notes .page-head {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.page-site-notes .notes-section {
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
}

.page-site-notes .notes-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.page-site-notes .notes-section > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
  max-width: 62em;
}

.page-site-notes .notes-section > p + p {
  margin-top: 12px;
}

.page-site-notes .notes-section > p + ul,
.page-site-notes .notes-section > ul + p {
  margin-top: 18px;
}

.notes-list-strong li {
  font-weight: 500;
  color: var(--c-ink);
}

.notes-exit {
  padding: 32px 0 0;
  border-top: 1px solid var(--c-line);
}

.notes-exit h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.notes-exit > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
}

/* --------------------------------------------------------------------------
   10. pages — 常见问题页（单栏 820px）
   -------------------------------------------------------------------------- */
.page-faq .faq-group {
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
}

.page-faq .faq-group:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.page-faq .faq-group h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
  margin-bottom: 18px;
}

.faq-outro {
  padding: 32px 0 0;
  border-top: 1px solid var(--c-line);
}

.faq-outro h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq-outro > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-graphite);
  max-width: 62em;
}

/* --------------------------------------------------------------------------
   11. pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 96px;
}

.error-block {
  max-width: 620px;
  width: 100%;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}

.error-block h1 {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.error-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-graphite);
}

.error-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
}

.error-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent);
}

.error-list a:hover,
.error-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.error-action {
  margin-top: 28px;
}

.error-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-graphite);
}

.error-note a {
  color: var(--c-graphite);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-note a:hover,
.error-note a:focus-visible {
  color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   12. responsive — 1024 / 768 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --pad-shell: 24px;
  }

  .nav-list {
    gap: 4px 14px;
  }

  .nav-list a {
    font-size: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .page-title {
    font-size: 32px;
  }

  /* 双栏退回单栏：侧栏移到主体下方 */
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .misentry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --pad-shell: 20px;
  }

  /* 页头：菜单按钮 + 默认收起的纵向导航 */
  .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    flex: 0 0 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 6px;
    border-top: 1px solid var(--c-line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    min-height: 46px;
    font-size: 15px;
    border-bottom: 1px solid var(--c-line);
  }

  .nav-list a.is-current {
    border-bottom-color: var(--c-accent);
  }

  /* 首屏 */
  .quick-bar {
    margin-top: 16px;
  }

  .quick-bar-channels {
    gap: 0 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .hero-lead,
  .section-lead,
  .section-intro,
  .group-scope {
    max-width: none;
  }

  /* 频道标签条横向滑动 */
  .channel-tabs {
    margin-bottom: 32px;
  }

  .channel-tabs-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .channel-tabs-list li {
    flex: 0 0 auto;
  }

  .entry-grid,
  .example-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .watch-path .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .playlist-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .playlist-num {
    font-size: 30px;
  }

  .definition-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .feature-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .feature-index {
    font-size: 24px;
  }

  .misentry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .verify-strip {
    padding: 24px 20px;
  }

  .section-title,
  .content-section h2,
  .guide-section h2,
  .page-site-notes .notes-section h2,
  .page-faq .faq-group h2 {
    font-size: 21px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-channels .page-hero,
  .page-entry-check .page-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .page-channels .page-lead,
  .page-entry-check .page-lead {
    max-width: none;
  }

  /* 表格转上下堆叠 */
  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .channel-table {
    min-width: 0;
  }

  .channel-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .channel-table tbody,
  .channel-table tr,
  .channel-table th,
  .channel-table td {
    display: block;
    width: 100%;
  }

  .channel-table tr {
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 4px 0;
  }

  .channel-table tr + tr {
    margin-top: 12px;
  }

  .channel-table tbody th,
  .channel-table tbody td {
    border-bottom: 0;
    padding: 8px 16px;
    white-space: normal;
  }

  .channel-table tbody th {
    font-size: 16px;
    padding-bottom: 4px;
  }

  .channel-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--c-accent);
    margin-bottom: 2px;
  }

  .trouble-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .troubleshoot-step {
    padding-left: 52px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 36px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .error-main {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .error-code {
    font-size: 52px;
  }

  .error-block h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-shell: 16px;
  }

  body {
    font-size: 15px;
  }

  .brand {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title,
  .content-section h2,
  .guide-section h2,
  .page-site-notes .notes-section h2,
  .page-faq .faq-group h2 {
    font-size: 20px;
  }

  .playlist-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .playlist-num {
    font-size: 26px;
  }

  .feature-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .watch-path .step-item {
    padding: 16px;
  }

  .quick-bar {
    padding: 8px 12px;
  }

  .quick-bar-list a {
    font-size: 13px;
  }

  .entry-card {
    padding: 14px;
  }

  .faq-item summary {
    padding: 14px 40px 14px 16px;
    font-size: 14px;
  }

  .faq-item > p,
  .faq-body {
    padding: 0 16px 16px;
  }

  .guide-card,
  .trouble-item,
  .misentry-item,
  .example-card,
  .definition-item {
    padding: 16px;
  }

  .checklist-item {
    padding: 16px;
  }

  .verify-strip {
    padding: 20px 16px;
  }

  .sidebar-card,
  .side-card {
    padding: 18px;
  }

  .footer-bottom {
    padding-bottom: 24px;
  }

  .back-top {
    min-height: 44px;
  }
}
