/* ==========================================================================
   被窝影院在线观看 · 通用视频内容导航站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base：变量、重置、排版、全站骨架
   ========================================================================== */

:root {
  --bg-base: #12141a;
  --bg-raised: #1a1d26;
  --bg-deep: #0e1015;
  --accent: #e8762c;
  --accent-soft: #f2a86b;
  --text-main: #f0f0f2;
  --text-muted: #9a9da8;
  --line: #2a2e3a;
  --line-soft: #21242e;
  --radius: 6px;
  --radius-sm: 4px;
  --shell-max: 1120px;
  --shell-pad: 24px;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--accent-soft);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

strong {
  font-weight: 600;
  color: var(--text-main);
}

/* 全站骨架：页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(18, 20, 26, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 0;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.brand-tag {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 全站骨架：主导航 */

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.is-current {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
}

.nav-toggle-icon {
  width: 16px;
  height: 2px;
  background-color: var(--text-main);
  position: relative;
  display: inline-block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: var(--text-main);
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

/* 全站骨架：主内容与容器 */

.site-main {
  display: block;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.inner-main {
  padding-top: 24px;
  padding-bottom: 72px;
}

.home-main {
  padding-bottom: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background-color: var(--accent);
  color: #12141a;
  font-size: 14px;
  border-radius: var(--radius-sm);
  z-index: 80;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
}

/* 全站骨架：面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0 20px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-soft);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--text-main);
}

/* 全站骨架：页面标题区 */

.page-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.page-description {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 760px;
}

.page-lead {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 760px;
}

.page-lead a {
  color: var(--accent-soft);
  border-bottom: 1px solid transparent;
}

.page-lead a:hover {
  border-bottom-color: var(--accent-soft);
}

/* 全站骨架：章节标题 */

.section-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

.section-intro,
.section-desc,
.section-note,
.section-lead {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 780px;
}

.subsection-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 40px;
}

.text-link {
  color: var(--accent-soft);
  font-size: 15px;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--accent-soft);
}

/* 全站骨架：页脚 */

.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--bg-deep);
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 48px var(--shell-pad) 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.footer-slogan {
  margin-top: 8px;
  font-size: 14px;
  color: var(--accent-soft);
}

.footer-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

.footer-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
}

.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: var(--accent-soft);
}

.footer-middle {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.footer-scope {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

/* ==========================================================================
   layout：首页与内页的通用分栏、区块间距
   ========================================================================== */

.home-main > section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line-soft);
}

.home-main > section:last-of-type {
  border-bottom: 0;
}

.inner-main > section {
  margin-bottom: 64px;
}

.inner-main > section:last-of-type {
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-foot {
  margin-top: 28px;
}

/* ==========================================================================
   components：按钮、标签、卡片、表格、清单、FAQ、范围块
   ========================================================================== */

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #16181f;
}

.btn-primary:hover {
  background-color: var(--accent-soft);
  color: #16181f;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

/* 频道标签 */

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tag:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

/* 图片容器通用约束 */

.hero-media,
.special-media,
.channel-media,
.catalog-figure,
.guide-figure,
.scope-figure,
.scope-media {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-raised);
  border-radius: var(--radius);
}

.hero-media img,
.special-media img,
.channel-media img,
.catalog-figure img,
.guide-figure img,
.scope-figure img,
.scope-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 字段字典表格 */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field-table {
  width: 100%;
  min-width: 620px;
  font-size: 15px;
}

.field-table caption,
.table-caption {
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-raised);
}

.field-table th,
.field-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.65;
}

.field-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.field-table tbody th {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  width: 150px;
}

.field-table tbody td {
  color: var(--text-muted);
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 编号要点清单（首页观看前要点） */

.point-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.point-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.point-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.point-body {
  min-width: 0;
}

.point-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.point-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 范围说明块 */

.boundaries-block {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.boundaries-lead {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.75;
  max-width: 820px;
}

.boundaries-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 28px;
}

.boundaries-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.boundaries-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.boundaries-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

/* FAQ（details 折叠） */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item[open] .faq-question::before {
  content: "−";
}

.faq-item[open] .faq-question {
  color: var(--accent-soft);
}

.faq-answer {
  padding: 0 0 20px 34px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages：首页
   ========================================================================== */

/* 首屏媒体焦点区 */

.hero-section {
  padding-top: 56px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  font-size: 14px;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.hero-desc {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.hero-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background-color: rgba(14, 16, 21, 0.82);
  font-size: 13px;
}

/* 题材频道方向总览 */

.channel-rows {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.18s ease;
}

.channel-row:hover {
  background-color: var(--bg-raised);
}

.channel-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.channel-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.channel-name a {
  color: inherit;
}

.channel-name a:hover {
  color: var(--accent-soft);
}

.channel-scope {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.channel-type {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* 本期专题片单速览 */

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.special-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.special-media {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.special-card:hover .special-media img {
  transform: scale(1.03);
}

.special-media img {
  transition: transform 0.3s ease;
}

.special-name {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
}

.special-name a {
  color: inherit;
}

.special-name a:hover {
  color: var(--accent-soft);
}

.special-scope {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.special-method {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

/* ==========================================================================
   pages：频道分类
   ========================================================================== */

.channel-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}

.channels-group .channel-card:first-of-type {
  border-top: 1px solid var(--line);
}

.channel-media {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.channel-body {
  min-width: 0;
}

.channel-body .channel-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
}

.channel-body .channel-scope {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.channel-meta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px;
  font-size: 14px;
}

.channel-meta dt {
  color: var(--text-muted);
  white-space: nowrap;
}

.channel-meta dd {
  color: var(--text-main);
}

/* 频道浏览方式 */

.browse-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: browse;
}

.browse-step {
  display: flex;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.browse-step .step-index {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.browse-step .step-body {
  min-width: 0;
}

.browse-step .step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.browse-step .step-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.browse-note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-muted);
}

.browse-note a {
  color: var(--accent-soft);
  border-bottom: 1px solid transparent;
}

.browse-note a:hover {
  border-bottom-color: var(--accent-soft);
}

/* ==========================================================================
   pages：专题片单
   ========================================================================== */

.special-item {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}

.specials-list .special-item:first-of-type {
  border-top: 1px solid var(--line);
}

.special-item .special-media {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.special-body {
  min-width: 0;
}

.special-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
}

.special-meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 20px;
  font-size: 14px;
}

.special-meta dt {
  color: var(--text-muted);
  white-space: nowrap;
}

.special-meta dd {
  color: var(--text-main);
  line-height: 1.7;
}

.special-meta dd a {
  color: var(--accent-soft);
  margin-right: 14px;
  border-bottom: 1px solid transparent;
}

.special-meta dd a:hover {
  border-bottom-color: var(--accent-soft);
}

/* 专题与频道关联 */

.relation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.relation-col {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.relation-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.relation-col p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.relation-col p:last-child {
  margin-bottom: 0;
}

/* 专题收录范围与更新说明 */

.scope-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.scope-media {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.scope-body {
  min-width: 0;
}

.scope-list {
  display: grid;
  gap: 14px;
}

.scope-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.scope-list li strong {
  color: var(--text-main);
  margin-right: 6px;
}

.scope-foot {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.scope-foot a {
  color: var(--accent-soft);
  border-bottom: 1px solid transparent;
}

.scope-foot a:hover {
  border-bottom-color: var(--accent-soft);
}

/* ==========================================================================
   pages：剧集目录
   ========================================================================== */

.catalog-visual-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.catalog-figure {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}

.catalog-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  background-color: rgba(14, 16, 21, 0.82);
  font-size: 13px;
}

.catalog-visual-note {
  min-width: 0;
}

.catalog-visual-note p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.catalog-visual-note p:last-child {
  margin-bottom: 0;
}

/* 字段阅读示例 */

.example-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.example-item {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.example-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

.example-fields {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 18px;
  font-size: 14px;
}

.example-fields dt {
  color: var(--text-muted);
  white-space: nowrap;
}

.example-fields dd {
  color: var(--text-main);
  line-height: 1.65;
}

.example-read {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 目录条目与频道对应关系 */

.mapping-list {
  border-top: 1px solid var(--line);
}

.mapping-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mapping-channel {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.mapping-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.mapping-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.mapping-note a {
  color: var(--accent-soft);
  margin-right: 16px;
  border-bottom: 1px solid transparent;
}

.mapping-note a:hover {
  border-bottom-color: var(--accent-soft);
}

/* 下一步入口 */

.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.next-link-item a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  font-size: 15px;
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.next-link-item a:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

/* ==========================================================================
   pages：观看指引
   ========================================================================== */

.section-verify .section-head,
.section-confirm .section-head,
.section-faq .section-head,
.section-related .section-head {
  margin-bottom: 28px;
}

.guide-figure {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  margin-bottom: 32px;
}

.guide-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  background-color: rgba(14, 16, 21, 0.82);
  font-size: 13px;
}

.step-list {
  display: grid;
  gap: 20px;
}

.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.step-item .step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-item .step-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.step-item .step-index {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
}

/* 使用前确认事项 */

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.check-item {
  min-width: 0;
  padding: 24px;
  border-left: 2px solid var(--accent);
  background-color: var(--bg-raised);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.check-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.check-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 相关入口 */

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.related-item {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.related-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-soft);
}

.related-link:hover {
  color: var(--text-main);
}

.related-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   pages：收录边界与反馈
   ========================================================================== */

.scope-statement-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.scope-statement-text {
  min-width: 0;
}

.scope-statement-text p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.scope-statement-text .scope-list {
  margin-top: 20px;
}

.scope-links {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.scope-links a {
  color: var(--accent-soft);
  margin-right: 16px;
  border-bottom: 1px solid transparent;
}

.scope-links a:hover {
  border-bottom-color: var(--accent-soft);
}

.scope-figure {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.scope-figure figcaption {
  margin-top: 12px;
}

/* 不覆盖方向与边界规则 */

.rule-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: rule;
}

.rule-item {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
  counter-increment: rule;
}

.rule-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  padding-left: 30px;
  position: relative;
}

.rule-title::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.rule-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.rule-links {
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-muted);
}

.rule-links a {
  color: var(--accent-soft);
  border-bottom: 1px solid transparent;
}

.rule-links a:hover {
  border-bottom-color: var(--accent-soft);
}

/* 覆盖范围对比表 */

.compare-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.65;
}

.compare-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text-main);
  width: 180px;
}

.compare-table tbody td {
  color: var(--text-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.cell-yes {
  color: var(--accent-soft);
  font-weight: 600;
}

.cell-no {
  color: var(--text-muted);
}

/* 站内反馈路径 */

.feedback-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.feedback-text {
  min-width: 0;
}

.feedback-text > p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.feedback-steps {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.feedback-step {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.feedback-step .step-index {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.feedback-step .step-body {
  min-width: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.feedback-aside {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.aside-list {
  display: grid;
  gap: 10px;
}

.aside-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.aside-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.aside-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   pages：404
   ========================================================================== */

.error-main {
  padding-top: 72px;
  padding-bottom: 72px;
}

.error-panel {
  max-width: 640px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-raised);
}

.error-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.error-title {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
}

.error-desc {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: #16181f;
  background-color: var(--accent);
  border-radius: var(--radius);
}

.error-home-link:hover {
  background-color: var(--accent-soft);
  color: #16181f;
}

.error-links {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px;
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}

.error-links a:hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   responsive：960px 与 640px 断点
   ========================================================================== */

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .channel-card,
  .special-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .channel-media,
  .special-item .special-media {
    aspect-ratio: 16 / 9;
  }

  .scope-note,
  .catalog-visual-inner,
  .scope-statement-inner,
  .feedback-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell-pad: 16px;
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand {
    padding: 10px 0;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-basis: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid transparent;
  }

  .nav-link.is-current {
    border-bottom-color: var(--line-soft);
    border-left-color: var(--accent);
    padding-left: 12px;
  }

  .site-main {
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
  }

  .inner-main {
    padding-top: 16px;
    padding-bottom: 56px;
  }

  .breadcrumb {
    padding-bottom: 16px;
    font-size: 13px;
  }

  .page-header {
    padding-bottom: 24px;
    margin-bottom: 36px;
  }

  .page-title,
  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .home-main > section {
    padding: 44px 0;
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .hero-tags {
    margin-top: 22px;
  }

  .channel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .channel-type {
    align-self: flex-start;
  }

  .special-grid,
  .point-list,
  .browse-steps,
  .check-list,
  .related-list,
  .rule-list,
  .example-list,
  .next-links,
  .boundaries-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundaries-block,
  .error-panel {
    padding: 22px;
  }

  .step-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .step-item .step-index {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .mapping-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .channel-meta,
  .special-meta,
  .example-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .channel-meta dd,
  .special-meta dd,
  .example-fields dd {
    margin-bottom: 10px;
  }

  .faq-answer {
    padding-left: 0;
  }

  .footer-inner {
    padding: 36px var(--shell-pad) 24px;
  }

  .footer-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .back-to-top {
    width: 100%;
    justify-content: center;
  }

  .error-main {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
