/* =========================================================
   可乐影视 · 整站样式表
   版本：1.0
   说明：本文件为全站唯一样式表，按 base / layout /
   components / pages / responsive 分组组织。
   ========================================================= */

/* =========================================================
   1. BASE —— 基础重置、字体、颜色、通用元素
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1E293B;
  background-color: #F8FAFC;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0F766E;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #14B8A6;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: #1E293B;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

strong {
  font-weight: 700;
}

/* 全站骨架类 */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-home {
  background-color: #F8FAFC;
}

.site-inner {
  background-color: #F8FAFC;
}

.site-error {
  background-color: #F8FAFC;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* =========================================================
   2. LAYOUT —— 容器、栅格、布局骨架
   ========================================================= */
.header-shell,
.footer-shell,
.hero-content,
.page-catalog,
.section-heading,
.channel-menu,
.collection-preview,
.guide-steps,
.update-news,
.faq-preview,
.boundary-note,
.inner-main > .breadcrumb,
.inner-main > .page-header,
.layout-shell,
.cross-link-note,
.collection-grid,
.arrangement-note,
.collection-teaser,
.timeline-filter,
.latest-updates,
.recent-adjustments,
.history-content,
.update-note,
.faq-structure-figure,
.faq-group,
.faq-note,
.steps,
.quick-nav,
.error-panel {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 内页主容器 */
.inner-main {
  padding-top: 32px;
  padding-bottom: 64px;
}

/* 两栏布局：侧栏在左 */
.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

/* 两栏布局：侧栏在右（guide 页） */
.layout-shell {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

/* =========================================================
   3. COMPONENTS —— 全站通用组件
   ========================================================= */

/* ---------- 页头 ---------- */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #0F766E;
  letter-spacing: 0.5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1E293B;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #1E293B;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #1E293B;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: #F0FDFA;
  color: #0F766E;
}

.nav-list a.is-current {
  background-color: #0F766E;
  color: #FFFFFF;
  font-weight: 600;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748B;
  margin-bottom: 24px;
  padding-top: 24px;
}

.breadcrumb a {
  color: #0F766E;
}

.breadcrumb a:hover {
  color: #14B8A6;
}

.breadcrumb-sep {
  color: #94A3B8;
}

.breadcrumb-current {
  color: #64748B;
}

/* ---------- 页面标题区 ---------- */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  max-width: 720px;
}

/* ---------- 区块标题 ---------- */
.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 23px;
  margin-bottom: 8px;
}

.section-heading p {
  color: #64748B;
  font-size: 15px;
}

.section-title {
  font-size: 23px;
  margin-bottom: 20px;
}

/* ---------- 区块底部链接 ---------- */
.section-footer-link {
  margin-top: 28px;
  text-align: center;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border: 1px solid #0F766E;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0F766E;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.more-link:hover {
  background-color: #0F766E;
  color: #FFFFFF;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: #0F766E;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #115E59;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #0F766E;
  border: 1px solid #0F766E;
}

.btn-secondary:hover {
  background-color: #F0FDFA;
  color: #115E59;
  transform: translateY(-2px);
}

/* ---------- 卡片 ---------- */
.card-media {
  overflow: hidden;
  border-radius: 8px;
}

.card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.channel-card:hover .card-media img,
.collection-card:hover .card-media img {
  transform: scale(1.03);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0F766E;
  margin-top: 12px;
}

.card-link:hover {
  color: #115E59;
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background-color: #FFFFFF;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #0F766E;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background-color: #F8FAFC;
}

.faq-item p,
.faq-answer {
  padding: 0 20px 16px;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
}

.faq-answer p {
  padding: 0;
  margin-bottom: 8px;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: #0F766E;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top a {
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.back-to-top:hover {
  background-color: #115E59;
}

/* ---------- 检查点清单 ---------- */
.check-list {
  margin-top: 8px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #475569;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0F766E;
  font-weight: 700;
}

/* ---------- 图容器 ---------- */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

figcaption {
  font-size: 13px;
  color: #94A3B8;
  text-align: center;
  margin-top: 8px;
}

/* =========================================================
   4. PAGES —— 各页面专属样式
   ========================================================= */

/* ========== 首页 ========== */

/* Hero 区 */
.hero-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-content {
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 17px;
  color: #475569;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 页面锚点目录 */
.page-catalog {
  padding-top: 24px;
  padding-bottom: 24px;
}

.catalog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.catalog-list a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  background-color: #FFFFFF;
  font-size: 14px;
  color: #475569;
  transition: all 0.2s ease;
}

.catalog-list a:hover {
  border-color: #0F766E;
  color: #0F766E;
  background-color: #F0FDFA;
}

/* 频道速览 */
.channel-menu {
  padding-top: 48px;
  padding-bottom: 48px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transform: translateY(-4px);
}

.channel-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.channel-card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* 精选片单预览 */
.collection-preview {
  padding-top: 48px;
  padding-bottom: 48px;
  background-color: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.collection-preview .collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection-preview .collection-card {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.collection-preview .collection-card:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transform: translateY(-4px);
}

.collection-preview .collection-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.collection-preview .card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* 观看指引步骤 */
.guide-steps {
  padding-top: 48px;
  padding-bottom: 48px;
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-item {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step-item:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transform: translateY(-4px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #0F766E;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 更新摘要 */
.update-news {
  padding-top: 48px;
  padding-bottom: 48px;
  background-color: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: #F8FAFC;
  border-radius: 8px;
  border-left: 3px solid #F59E0B;
}

.update-time {
  font-size: 13px;
  color: #94A3B8;
  flex-shrink: 0;
  min-width: 80px;
}

.update-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background-color: #FEF3C7;
  color: #B45309;
  flex-shrink: 0;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
}

.update-title:hover {
  color: #0F766E;
}

/* FAQ 预告 */
.faq-preview {
  padding-top: 48px;
  padding-bottom: 48px;
}

.faq-preview .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* 内容边界说明 */
.boundary-note {
  padding-top: 24px;
  padding-bottom: 48px;
}

.boundary-note p {
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  color: #92400E;
  line-height: 1.8;
  text-align: center;
}

/* ========== 内容分区页 ========== */

/* 左侧目录 */
.catalog {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 88px;
}

.catalog h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.catalog ul li {
  margin-bottom: 4px;
}

.catalog ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #475569;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.catalog ul a:hover {
  background-color: #F0FDFA;
  color: #0F766E;
}

/* 频道分区列表 */
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.channel-section {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px;
}

.channel-section h2 {
  font-size: 23px;
  margin-bottom: 8px;
  color: #0F766E;
}

.channel-section > p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 16px;
}

.channel-figure {
  margin-bottom: 20px;
}

.channel-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.channel-list-items {
  margin-bottom: 12px;
}

.channel-list-items h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1E293B;
}

.channel-list-items ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-list-items ul li {
  display: inline-block;
  padding: 4px 14px;
  background-color: #F0FDFA;
  border: 1px solid #CCFBF1;
  border-radius: 999px;
  font-size: 14px;
  color: #0F766E;
}

.browse-tip {
  font-size: 14px;
  color: #64748B;
}

.browse-tip a {
  font-weight: 600;
}

/* 未收录题材说明 */
.missing-note {
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 24px;
}

.missing-note h2 {
  font-size: 18px;
  color: #92400E;
  margin-bottom: 8px;
}

.missing-note p {
  font-size: 15px;
  color: #92400E;
  line-height: 1.8;
}

.missing-note a {
  color: #B45309;
  font-weight: 600;
  text-decoration: underline;
}

/* 继续浏览提示 */
.cross-link-note {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  color: #475569;
}

.cross-link-note a {
  margin: 0 12px;
  font-weight: 600;
}

/* ========== 精选片单页 ========== */

.collection-grid {
  margin-bottom: 48px;
}

.collection-grid-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.collection-grid .collection-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.collection-grid .collection-card:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transform: translateY(-4px);
}

.collection-grid .collection-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.collection-grid .collection-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.collection-audience {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 8px;
}

.collection-audience strong {
  color: #0F766E;
  font-weight: 600;
}

.collection-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 8px;
}

.collection-note {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 12px;
}

.collection-grid .collection-card a {
  font-size: 14px;
  font-weight: 600;
}

/* 排列方式说明 */
.arrangement-note {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
}

.arrangement-note p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.arrangement-note p:last-child {
  margin-bottom: 0;
}

/* 新片单预告 */
.collection-teaser {
  margin-bottom: 48px;
}

.teaser-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.teaser-item {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
}

.teaser-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #0F766E;
}

.teaser-item p {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 0;
}

.teaser-note {
  font-size: 15px;
  color: #475569;
  text-align: center;
}

.teaser-note a {
  margin: 0 8px;
  font-weight: 600;
}

/* ========== 观看指引页 ========== */

.steps {
  min-width: 0;
}

.steps .breadcrumb {
  margin-bottom: 24px;
}

.steps .page-header {
  margin-bottom: 32px;
}

/* 流程总览 */
.flow-overview {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.flow-overview h2 {
  font-size: 23px;
  margin-bottom: 12px;
}

.flow-overview p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.overview-figure {
  margin-top: 20px;
}

.overview-figure img {
  border-radius: 8px;
}

/* 步骤块 */
.guide-step {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.guide-step h2 {
  font-size: 20px;
  color: #0F766E;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.guide-step h3 {
  font-size: 16px;
  margin: 16px 0 8px;
}

.guide-step p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

.guide-step a {
  font-weight: 600;
}

/* 常见障碍 */
.common-obstacles {
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 32px;
  margin-top: 32px;
}

.common-obstacles h2 {
  font-size: 20px;
  color: #92400E;
  margin-bottom: 12px;
}

.common-obstacles > p {
  font-size: 15px;
  color: #92400E;
  margin-bottom: 16px;
}

.obstacle-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #FEF3C7;
}

.obstacle-list li:last-child {
  border-bottom: none;
}

.obstacle-item {
  flex-shrink: 0;
  min-width: 160px;
  font-weight: 600;
  color: #92400E;
  font-size: 14px;
}

.obstacle-suggestion {
  font-size: 14px;
  color: #78350F;
}

/* 右侧快速导航 */
.quick-nav {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 88px;
}

.quick-nav h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.quick-nav ul li {
  margin-bottom: 4px;
}

.quick-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #475569;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quick-nav ul a:hover {
  background-color: #F0FDFA;
  color: #0F766E;
}

.boundary-tip {
  margin-top: 20px;
  padding: 16px;
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
}

.boundary-tip p {
  font-size: 14px;
  color: #92400E;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========== 更新记录页 ========== */

/* 时间线筛选 */
.timeline-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.filter-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  background-color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #0F766E;
  color: #0F766E;
  background-color: #F0FDFA;
}

/* 最新发布 */
.latest-updates {
  margin-bottom: 48px;
}

.latest-updates h2 {
  font-size: 23px;
  margin-bottom: 20px;
}

.latest-updates .update-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.latest-updates .update-item:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
}

.update-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.update-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-content time {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 8px;
}

.update-content .update-type {
  align-self: flex-start;
  margin-bottom: 8px;
}

.update-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.update-content p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 8px;
}

.update-content a {
  font-size: 14px;
  font-weight: 600;
}

/* 近期调整 */
.recent-adjustments {
  margin-bottom: 48px;
}

.recent-adjustments h2 {
  font-size: 23px;
  margin-bottom: 20px;
}

.adjust-list {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}

.adjust-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #E2E8F0;
}

.adjust-list li:last-child {
  border-bottom: none;
}

.adjust-list time {
  flex-shrink: 0;
  min-width: 90px;
  font-size: 14px;
  color: #94A3B8;
}

.adjust-list p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 0;
}

/* 历史内容 */
.history-content {
  margin-bottom: 48px;
}

.history-content h2 {
  font-size: 23px;
  margin-bottom: 20px;
}

.history-list {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}

.history-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border-bottom: 1px solid #E2E8F0;
}

.history-list li:last-child {
  border-bottom: none;
}

.history-list time {
  flex-shrink: 0;
  min-width: 90px;
  font-size: 14px;
  color: #94A3B8;
}

.history-list a {
  font-size: 15px;
  font-weight: 600;
}

/* 更新规则说明 */
.update-note {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px;
}

.update-note h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.update-note p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.update-note p:last-child {
  margin-bottom: 0;
}

/* ========== 常见问题页 ========== */

.faq-structure-figure {
  margin-bottom: 32px;
}

.faq-structure-figure img {
  border-radius: 8px;
}

.faq-group {
  margin-bottom: 48px;
}

.faq-group > h2 {
  font-size: 23px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.faq-group .faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-note {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px;
  margin-top: 48px;
}

.faq-note h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.faq-note > p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 16px;
}

.next-step-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.next-step-list li {
  padding: 8px 0;
}

.next-step-list a {
  font-size: 15px;
  font-weight: 600;
}

.note-tip {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 0;
}

/* ========== 404 页 ========== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #0F766E;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: #64748B;
  margin-bottom: 32px;
}

.error-home-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #0F766E;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.error-home-btn:hover {
  background-color: #115E59;
  color: #FFFFFF;
}

/* =========================================================
   5. FOOTER —— 全站页脚
   ========================================================= */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #1E293B;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: #64748B;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #0F766E;
}

.footer-bottom {
  border-top: 1px solid #E2E8F0;
  padding: 16px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #94A3B8;
  text-align: center;
  margin-bottom: 0;
  padding: 0 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   6. RESPONSIVE —— 响应式断点
   ========================================================= */

/* ---------- 平板 1024px ---------- */
@media (max-width: 1024px) {
  .sidebar-left {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }

  .layout-shell {
    grid-template-columns: 1fr 240px;
    gap: 24px;
  }

  .collection-grid-shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-preview .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 手机 768px ---------- */
@media (max-width: 768px) {
  /* 页头 */
  .header-shell {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
  }

  .nav-list a.is-current {
    background-color: #F0FDFA;
    color: #0F766E;
  }

  /* 首页 Hero */
  .hero-media img {
    height: 240px;
  }

  .hero-content {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  /* 目录胶囊 */
  .page-catalog {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .catalog-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-list a {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* 首页网格 */
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .collection-preview .collection-grid {
    grid-template-columns: 1fr;
  }

  .steps-wrapper {
    grid-template-columns: 1fr;
  }

  /* 更新列表 */
  .update-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .update-time {
    min-width: auto;
  }

  /* 两栏布局变单栏 */
  .sidebar-left {
    grid-template-columns: 1fr;
  }

  .catalog {
    position: static;
    order: 2;
    margin-top: 24px;
  }

  .channel-list {
    order: 1;
  }

  .layout-shell {
    grid-template-columns: 1fr;
  }

  .quick-nav {
    position: static;
    order: -1;
    margin-bottom: 24px;
  }

  .steps {
    order: 2;
  }

  /* 内页间距 */
  .inner-main {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .page-header {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 24px;
  }

  /* 片单页 */
  .collection-grid-shell {
    grid-template-columns: 1fr;
  }

  .teaser-list {
    grid-template-columns: 1fr;
  }

  /* 更新页 */
  .timeline-filter {
    flex-wrap: wrap;
  }

  .latest-updates .update-item {
    grid-template-columns: 1fr;
  }

  .update-media img {
    height: 180px;
  }

  .adjust-list li {
    flex-direction: column;
    gap: 4px;
  }

  .history-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* FAQ 页 */
  .faq-group > h2 {
    font-size: 20px;
  }

  /* 障碍列表 */
  .obstacle-list li {
    flex-direction: column;
    gap: 4px;
  }

  .obstacle-item {
    min-width: 0;
  }

  /* 页脚 */
  .footer-shell {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 32px;
  }

  /* 返回顶部 */
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  /* 404 */
  .error-code {
    font-size: 56px;
  }
}

/* ---------- 小屏 480px ---------- */
@media (max-width: 480px) {
  .header-shell,
  .hero-content,
  .page-catalog,
  .section-heading,
  .channel-menu,
  .collection-preview,
  .guide-steps,
  .update-news,
  .faq-preview,
  .boundary-note,
  .inner-main > .breadcrumb,
  .inner-main > .page-header,
  .layout-shell,
  .cross-link-note,
  .collection-grid,
  .arrangement-note,
  .collection-teaser,
  .timeline-filter,
  .latest-updates,
  .recent-adjustments,
  .history-content,
  .update-note,
  .faq-structure-figure,
  .faq-group,
  .faq-note,
  .steps,
  .quick-nav,
  .error-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .channel-section {
    padding: 20px;
  }

  .guide-step {
    padding: 20px;
  }

  .flow-overview {
    padding: 20px;
  }

  .common-obstacles {
    padding: 20px;
  }

  .arrangement-note {
    padding: 20px;
  }

  .update-note {
    padding: 20px;
  }

  .faq-note {
    padding: 20px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-media img {
    height: 200px;
  }

  .step-item {
    padding: 20px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-item p,
  .faq-answer {
    padding: 0 16px 14px;
    font-size: 14px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
