/* ==========================================================================
   被窝电影网 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 全局重置与基础排版
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #FBF9F5;
  color: #2B2B2B;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #2F4858;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #2F4858;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: #3E7C6A;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #3E7C6A;
  outline-offset: 2px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   layout · 站点骨架：页头 / 导航 / 主容器 / 页脚 / 状态条
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 状态条 ---------------------------------------------------------------- */

.status-bar,
.site-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-color: #2F4858;
  color: #FBF9F5;
  padding: 9px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.status-bar-text,
.status-text,
.notice-text {
  margin: 0;
  max-width: 900px;
}

.status-bar-close,
.status-close,
.notice-close {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(251, 249, 245, 0.45);
  border-radius: 6px;
  background-color: transparent;
  color: #FBF9F5;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.status-bar-close::before,
.status-close::before,
.notice-close::before {
  content: "×";
  font-size: 18px;
  line-height: 1;
}

.status-bar-close:hover,
.status-close:hover,
.notice-close:hover {
  background-color: rgba(251, 249, 245, 0.16);
  border-color: #FBF9F5;
}

.status-bar.is-hidden,
.site-notice.is-hidden {
  display: none;
}

/* 页头 ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E3DED4;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: #2F4858;
  text-decoration: none;
}

.brand:hover {
  color: #2F4858;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: #2F4858;
  border-left: 8px solid #C98A2E;
  flex: none;
}

.brand-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

/* 主导航 ---------------------------------------------------------------- */

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: #2B2B2B;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #2F4858;
  background-color: #F4F1EA;
  text-decoration: none;
}

.nav-link.is-current {
  color: #2F4858;
  font-weight: 600;
  background-color: #F4F1EA;
  box-shadow: inset 0 -2px 0 #C98A2E;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #E3DED4;
  border-radius: 6px;
  background-color: #FFFFFF;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #2F4858;
  border-radius: 1px;
}

/* 主容器 ---------------------------------------------------------------- */

.site-main {
  flex: 1 0 auto;
  display: block;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* 面包屑 ---------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 14px;
  color: #6B6B6B;
}

.breadcrumb a {
  color: #6B6B6B;
}

.breadcrumb a:hover {
  color: #3E7C6A;
}

.breadcrumb-sep {
  color: #A9A29A;
}

.breadcrumb-current {
  color: #2B2B2B;
}

/* 内页标题区 ------------------------------------------------------------ */

.page-header {
  padding: 18px 0 30px;
  border-bottom: 1px solid #E3DED4;
  margin-bottom: 34px;
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  color: #2F4858;
  line-height: 1.35;
}

.page-description {
  margin-top: 12px;
  max-width: 760px;
  font-size: 16px;
  color: #6B6B6B;
}

/* 页脚 ------------------------------------------------------------------ */

.site-footer {
  flex: none;
  background-color: #2F4858;
  color: #E9E4DA;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 40px;
}

.footer-block {
  min-width: 0;
}

.footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #C7C0B5;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list li {
  list-style: none;
}

.footer-list a {
  color: #C7C0B5;
  font-size: 14px;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(233, 228, 218, 0.22);
}

.footer-scope,
.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  line-height: 1.7;
  color: #A9A29A;
}

.footer-scope {
  padding-top: 18px;
}

.footer-copy {
  padding-top: 8px;
  padding-bottom: 26px;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 区块容器 -------------------------------------------------------------- */

.section {
  padding: 52px 0;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner-narrow {
  max-width: 860px;
}

.section-head,
.section-header {
  margin-bottom: 28px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #2F4858;
}

.section-lead,
.section-desc,
.section-intro {
  margin-top: 10px;
  max-width: 760px;
  font-size: 15px;
  color: #6B6B6B;
}

.section-note {
  margin-top: 24px;
  font-size: 15px;
  color: #6B6B6B;
}

.section-note a {
  color: #3E7C6A;
  font-weight: 600;
}

/* 按钮 ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background-color: #2F4858;
  border-color: #2F4858;
  color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #243A47;
  border-color: #243A47;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #3E7C6A;
  border-color: #3E7C6A;
  color: #FFFFFF;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: #336657;
  border-color: #336657;
  color: #FFFFFF;
}

.btn-ghost {
  background-color: transparent;
  border-color: #C9C2B6;
  color: #2F4858;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #2F4858;
  background-color: #F4F1EA;
  color: #2F4858;
}

/* 卡片 ------------------------------------------------------------------ */

.card-grid {
  display: grid;
  gap: 20px;
}

.card {
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: #C9C2B6;
  box-shadow: 0 2px 10px rgba(47, 72, 88, 0.07);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-title a {
  color: #2F4858;
}

.card-title a:hover,
.card-title a:focus-visible {
  color: #3E7C6A;
  text-decoration: underline;
}

.card-text {
  font-size: 15px;
  color: #4A4A4A;
}

.card-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #EFEBE3;
  font-size: 14px;
  color: #6B6B6B;
}

/* 表格 ------------------------------------------------------------------ */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  background-color: #FFFFFF;
}

.data-table,
.field-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.table-caption,
.data-table caption,
.field-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  color: #6B6B6B;
  border-bottom: 1px solid #E3DED4;
}

.data-table th,
.data-table td,
.field-table th,
.field-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #EFEBE3;
}

.data-table thead th,
.field-table thead th {
  background-color: #F4F1EA;
  color: #2F4858;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.field-table tbody tr:hover {
  background-color: #FBF9F5;
}

.field-table tbody th {
  font-weight: 600;
  color: #2F4858;
  white-space: nowrap;
}

/* 列表 ------------------------------------------------------------------ */

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #4A4A4A;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C98A2E;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step-counter;
}

.step-item {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 20px 22px 20px 62px;
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: #3E7C6A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
}

.step-text {
  margin-top: 8px;
  font-size: 15px;
  color: #4A4A4A;
}

.ordered-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: order-counter;
}

.ordered-item {
  position: relative;
  padding-left: 46px;
  counter-increment: order-counter;
}

.ordered-item::before {
  content: counter(order-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  color: #C98A2E;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.item-title {
  font-size: 18px;
  font-weight: 600;
}

.item-text {
  margin-top: 8px;
  font-size: 15px;
  color: #4A4A4A;
}

/* 图片容器 -------------------------------------------------------------- */

.section-media,
.section-figure,
.guide-figure,
.media-figure {
  margin: 28px 0 0;
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  overflow: hidden;
}

.section-media img,
.section-figure img,
.guide-figure img,
.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-media figcaption,
.section-figure figcaption,
.guide-figure figcaption,
.media-figure figcaption {
  padding: 12px 18px;
  font-size: 14px;
  color: #6B6B6B;
  border-top: 1px solid #EFEBE3;
}

.figure-caption,
.media-caption {
  font-size: 14px;
  color: #6B6B6B;
}

/* 分栏 ------------------------------------------------------------------ */

.split-columns,
.next-columns,
.mapping-columns,
.columns-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.column,
.next-column,
.mapping-col,
.column-block {
  min-width: 0;
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 22px;
}

.column-title,
.next-column-title,
.mapping-title,
.block-title {
  font-size: 18px;
  font-weight: 600;
}

.column-text,
.next-column-text,
.mapping-text,
.block-text {
  margin-top: 10px;
  font-size: 15px;
  color: #4A4A4A;
}

.column-link,
.block-link {
  margin-top: 14px;
  font-size: 15px;
}

.link-arrow,
.next-link,
.topic-link,
.channel-link,
.mapping-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3E7C6A;
  font-weight: 600;
}

.link-arrow::after,
.next-link::after,
.topic-link::after,
.channel-link::after,
.mapping-link::after {
  content: "→";
  font-size: 14px;
}

.link-arrow:hover,
.next-link:hover,
.topic-link:hover,
.channel-link:hover,
.mapping-link:hover {
  color: #2F4858;
  text-decoration: underline;
}

/* 侧栏索引 -------------------------------------------------------------- */

.page-aside,
.layout-side {
  min-width: 0;
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 20px;
  align-self: start;
}

.aside-title,
.side-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.aside-list,
.side-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-list li,
.side-list li {
  list-style: none;
}

.aside-list a,
.side-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #4A4A4A;
}

.aside-list a:hover,
.side-list a:hover,
.aside-list a:focus-visible,
.side-list a:focus-visible {
  background-color: #F4F1EA;
  color: #2F4858;
  text-decoration: none;
}

.side-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #EFEBE3;
  font-size: 13px;
  color: #6B6B6B;
}

/* 问答折叠 -------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 0 20px;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 16px 30px 16px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #2F4858;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: #C98A2E;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid #EFEBE3;
}

.faq-answer {
  padding: 14px 0 18px;
  font-size: 15px;
  color: #4A4A4A;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

.hero {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E3DED4;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #E3DED4;
  border-radius: 6px;
  background-color: #FBF9F5;
  font-size: 13px;
  color: #3E7C6A;
}

.hero-title {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 600;
  color: #2F4858;
  line-height: 1.34;
}

.hero-text {
  margin-top: 14px;
  max-width: 560px;
  font-size: 16px;
  color: #4A4A4A;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #E3DED4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-fact {
  min-width: 0;
}

.hero-fact dt {
  font-size: 14px;
  color: #6B6B6B;
}

.hero-fact dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #2F4858;
}

.hero-media {
  margin: 0;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FBF9F5;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media-caption {
  padding: 12px 18px;
  font-size: 14px;
  color: #6B6B6B;
  border-top: 1px solid #EFEBE3;
  background-color: #FFFFFF;
}

/* 首页题材频道 */

.section-channels {
  background-color: #FBF9F5;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* 首页专题片单 */

.section-topics {
  background-color: #FFFFFF;
  border-top: 1px solid #E3DED4;
  border-bottom: 1px solid #E3DED4;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* 首页字段表与要点 */

.section-catalog {
  background-color: #FBF9F5;
}

.section-checklist {
  background-color: #FFFFFF;
  border-top: 1px solid #E3DED4;
}

/* 首页收录边界 */

.section-boundaries {
  background-color: #FBF9F5;
  border-top: 1px solid #E3DED4;
}

.column-scope {
  border-left: 3px solid #3E7C6A;
}

.column-feedback {
  border-left: 3px solid #C98A2E;
}

/* --------------------------------------------------------------------------
   pages · 内页通用栏目模块
   -------------------------------------------------------------------------- */

/* 题材频道页 ------------------------------------------------------------ */

.section-channel-overview {
  padding-top: 0;
}

.channel-grid .channel-card {
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.channel-grid .channel-card:hover {
  border-color: #C9C2B6;
  box-shadow: 0 2px 10px rgba(47, 72, 88, 0.07);
}

.channel-media {
  margin: 0;
  background-color: #F4F1EA;
}

.channel-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.channel-name {
  padding: 0 20px;
  font-size: 18px;
  font-weight: 600;
}

.channel-scope {
  padding: 0 20px;
  font-size: 15px;
  color: #4A4A4A;
}

.channel-link {
  padding: 0 20px;
  margin-top: auto;
  font-size: 15px;
}

.section-channel-types {
  background-color: #FFFFFF;
  border-top: 1px solid #E3DED4;
  border-bottom: 1px solid #E3DED4;
}

.type-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.type-group {
  min-width: 0;
  background-color: #FBF9F5;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 20px;
}

.type-group-title {
  font-size: 18px;
  font-weight: 600;
}

.type-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.type-item {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: #4A4A4A;
}

.type-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #3E7C6A;
}

.section-channel-next {
  background-color: #FBF9F5;
}

/* 专题片单页 ------------------------------------------------------------ */

.section-topics-overview {
  padding-top: 0;
}

.topic-grid .topic-card {
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.topic-grid .topic-card:hover {
  border-color: #C9C2B6;
  box-shadow: 0 2px 10px rgba(47, 72, 88, 0.07);
}

.topic-figure {
  margin: 0;
  background-color: #F4F1EA;
}

.topic-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.topic-name {
  font-size: 18px;
  font-weight: 600;
}

.topic-scope,
.topic-structure {
  font-size: 15px;
  color: #4A4A4A;
}

.topic-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: #F4F1EA;
  color: #3E7C6A;
  font-size: 13px;
}

.topic-link {
  margin-top: auto;
  font-size: 15px;
}

.section-topics-detail {
  background-color: #FFFFFF;
  border-top: 1px solid #E3DED4;
  border-bottom: 1px solid #E3DED4;
}

.topic-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.topic-detail {
  min-width: 0;
  background-color: #FBF9F5;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 22px;
  scroll-margin-top: 90px;
}

.topic-detail-name {
  font-size: 18px;
  font-weight: 600;
}

.topic-detail-scope {
  margin-top: 10px;
  font-size: 15px;
  color: #4A4A4A;
}

.topic-detail-list-items {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-detail-list-items li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: #4A4A4A;
}

.topic-detail-list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #C98A2E;
}

.section-topics-mapping {
  background-color: #FBF9F5;
}

.mapping-col {
  background-color: #FFFFFF;
}

.section-topics-next {
  background-color: #FFFFFF;
  border-top: 1px solid #E3DED4;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.next-card {
  min-width: 0;
  background-color: #FBF9F5;
  border: 1px solid #E3DED4;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-name {
  font-size: 18px;
  font-weight: 600;
}

.next-text {
  font-size: 15px;
  color: #4A4A4A;
}

.next-card .next-link {
  margin-top: auto;
  font-size: 15px;
}

/* 剧集目录页 ------------------------------------------------------------ */

.page-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.content-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #E3DED4;
  scroll-margin-top: 90px;
}

.content-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-content .section-title {
  font-size: 22px;
}

.page-content .section-intro {
  margin-top: 10px;
  max-width: 720px;
  font-size: 15px;
  color: #6B6B6B;
}

.page-content .section-figure {
  margin-top: 22px;
}

.page-content .data-table {
  margin-top: 22px;
}

.page-content .ordered-list {
  margin-top: 22px;
}

/* 查阅路径页 ------------------------------------------------------------ */

.guide-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.guide-body {
  min-width: 0;
}

.guide-body > section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #E3DED4;
  scroll-margin-top: 90px;
}

.guide-body > section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-body .section-title {
  font-size: 22px;
}

.guide-body .step-list {
  margin-top: 24px;
}

.focus-group {
  margin-top: 22px;
  min-width: 0;
}

.focus-title {
  font-size: 18px;
  font-weight: 600;
}

.focus-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.focus-item {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: #4A4A4A;
}

.focus-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #3E7C6A;
}

.guide-compare .table-wrap {
  margin-top: 22px;
}

.related-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-item {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
}

.related-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #C98A2E;
}

.related-item a {
  color: #3E7C6A;
  font-weight: 600;
}

.related-item a:hover {
  color: #2F4858;
}

/* 收录边界页 ------------------------------------------------------------ */

.section-scope {
  padding-top: 0;
}

.scope-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-item {
  min-width: 0;
  background-color: #FFFFFF;
  border: 1px solid #E3DED4;
  border-left: 3px solid #3E7C6A;
  border-radius: 8px;
  padding: 20px 22px;
}

.scope-name {
  font-size: 18px;
  font-weight: 600;
}

.scope-desc {
  margin-top: 8px;
  font-size: 15px;
  color: #4A4A4A;
}

.section-exclude {
  background-color: #FFFFFF;
  border-top: 1px solid #E3DED4;
  border-bottom: 1px solid #E3DED4;
}

.exclude-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.exclude-item {
  min-width: 0;
  background-color: #FBF9F5;
  border: 1px solid #E3DED4;
  border-left: 3px solid #C98A2E;
  border-radius: 8px;
  padding: 20px 22px;
}

.exclude-name {
  font-size: 18px;
  font-weight: 600;
}

.exclude-desc {
  margin-top: 8px;
  font-size: 15px;
  color: #4A4A4A;
}

.section-feedback {
  background-color: #FBF9F5;
}

.section-feedback .faq-list {
  margin-top: 28px;
}

/* 404 页 ---------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 72px;
}

.error-section {
  width: 100%;
  padding: 0;
}

.error-inner {
  max-width: 720px;
  text-align: center;
}

.error-code {
  font-size: 15px;
  font-weight: 600;
  color: #C98A2E;
}

.error-title {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 600;
  color: #2F4858;
}

.error-text {
  margin-top: 14px;
  font-size: 16px;
  color: #4A4A4A;
}

.error-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-links {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #E3DED4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
}

.error-links li {
  list-style: none;
}

.error-links a {
  font-size: 15px;
  color: #3E7C6A;
  font-weight: 600;
}

.error-links a:hover {
  color: #2F4858;
}

/* --------------------------------------------------------------------------
   responsive · 断点：900px / 600px
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 20px;
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex: 1 0 100%;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 16px;
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 6px;
    white-space: normal;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 42px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .inner-main {
    padding: 0 20px 56px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .type-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout,
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .page-aside,
  .layout-side {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 38px 20px 26px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-scope,
  .footer-copy {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .status-bar,
  .site-notice {
    padding: 8px 14px;
    gap: 10px;
    font-size: 13px;
  }

  .status-bar-text,
  .status-text,
  .notice-text {
    max-width: none;
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .hero-inner {
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .section {
    padding: 34px 0;
  }

  .section-inner {
    padding: 0 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding-top: 18px;
    font-size: 13px;
  }

  .page-header {
    padding: 14px 0 22px;
    margin-bottom: 26px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .card-grid,
  .channel-grid,
  .topic-grid,
  .type-groups,
  .topic-detail-list,
  .next-grid,
  .split-columns,
  .next-columns,
  .mapping-columns,
  .columns-two,
  .scope-list,
  .exclude-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .column,
  .next-column,
  .mapping-col,
  .column-block,
  .type-group,
  .topic-detail,
  .next-card,
  .scope-item,
  .exclude-item {
    padding: 18px;
  }

  .step-item {
    padding: 18px 18px 18px 56px;
  }

  .step-item::before {
    left: 16px;
    top: 18px;
  }

  .ordered-item {
    padding-left: 38px;
  }

  .data-table,
  .field-table {
    min-width: 480px;
    font-size: 14px;
  }

  .data-table th,
  .data-table td,
  .field-table th,
  .field-table td {
    padding: 11px 14px;
  }

  .faq-item {
    padding: 0 16px;
  }

  .faq-question {
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 22px;
    gap: 26px;
  }

  .footer-scope,
  .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .error-main {
    padding: 48px 0 56px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }
}

/* 增强动效：仅在支持动画且用户未设置减弱时轻微淡入，不影响初始可见性 */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .channel-card,
  .topic-card,
  .step-item,
  .type-group,
  .scope-item,
  .exclude-item,
  .faq-item {
    animation: rise-in 0.32s ease-out both;
  }
}

@keyframes rise-in {
  from {
    transform: translateY(6px);
  }
  to {
    transform: translateY(0);
  }
}
