/* ==========================================================================
   糖心vlog官网 - 全局样式表
   站点：jjxkkj.com
   设计方向：简洁电商目录风，图片优先、文字克制、秩序感
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / 基础样式
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2f6bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1e4fd6;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout / 布局骨架
   -------------------------------------------------------------------------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e9ec;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.brand-tag {
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #4b5563;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #2f6bff;
  background: #f0f4ff;
}

.nav-list li a.is-current {
  color: #2f6bff;
  font-weight: 600;
  background: #f0f4ff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  flex: 1 0 auto;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 内页布局容器 */
.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* 首页两栏布局：主内容在前，侧栏在后 */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 32px 24px 48px;
  align-items: start;
}

.home-layout .main-content {
  min-width: 0;
  order: 1;
}

.home-layout .sidebar {
  order: 2;
  min-width: 0;
}

/* 内页两栏布局：主内容在前，侧栏在后 */
.page-layout .inner-main {
  min-width: 0;
  order: 1;
}

.page-layout .sidebar,
.page-layout .sidebar-area {
  order: 2;
  min-width: 0;
}

/* 频道手册页布局 */
.page-channel-guide .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 24px 24px 48px;
  align-items: start;
}

.page-channel-guide .inner-main {
  min-width: 0;
}

/* 内页通用两栏（scenes / getting-started / updates / faq / about） */
.layout-shell .inner-main {
  min-width: 0;
}

/* 内页页面标题区 */
.page-header {
  padding: 28px 0 8px;
}

.page-header .page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 8px;
}

.page-header .page-description {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 720px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.breadcrumb a {
  color: #6b7280;
}

.breadcrumb a:hover {
  color: #2f6bff;
}

.breadcrumb-sep {
  color: #c0c4cc;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #1a1a1a;
  font-weight: 500;
}

/* 页脚 */
.site-footer {
  background: #f8f9fb;
  border-top: 1px solid #e8e9ec;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h2 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

.footer-note {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid #e8e9ec;
}

.footer-bottom p {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Components / 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background: #2f6bff;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e4fd6;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.25);
}

.btn-secondary {
  background: #f4f5f7;
  color: #1a1a1a;
  border: 1px solid #e0e2e6;
}

.btn-secondary:hover {
  background: #e8eaee;
  color: #1a1a1a;
}

/* 区块通用 */
.section-block {
  margin-bottom: 40px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.section-more {
  font-size: 14px;
  color: #2f6bff;
  white-space: nowrap;
}

.section-more:hover {
  color: #1e4fd6;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.section-desc {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 760px;
}

/* 侧栏通用 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-block,
.sidebar-card {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-block h2,
.sidebar-card h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e9ec;
}

.sidebar-links li {
  margin-bottom: 4px;
}

.sidebar-links li:last-child {
  margin-bottom: 0;
}

.sidebar-links li a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-links li a:hover {
  color: #2f6bff;
  padding-left: 4px;
}

/* 图片容器 */
figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
  margin-top: 6px;
  text-align: center;
}

/* 频道卡片 */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.channel-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.channel-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.channel-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 14px 16px 4px;
  line-height: 1.4;
}

.channel-card .tag {
  display: inline-block;
  font-size: 12px;
  color: #2f6bff;
  background: #f0f4ff;
  padding: 2px 10px;
  border-radius: 4px;
  margin: 0 16px 8px;
  font-weight: 500;
}

.channel-card p {
  font-size: 14px;
  color: #6b7280;
  padding: 0 16px 16px;
  line-height: 1.6;
}

/* 场景卡片 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scene-card {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.scene-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.scene-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.scene-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.scene-card a {
  font-size: 14px;
  font-weight: 500;
  color: #2f6bff;
}

.scene-card a:hover {
  color: #1e4fd6;
}

/* 更新动态摘要 */
.update-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f1f3;
}

.update-list li:last-child {
  border-bottom: none;
}

.update-list time {
  font-size: 13px;
  color: #9ca3af;
  font-family: Tahoma, "Segoe UI", sans-serif;
  flex-shrink: 0;
  min-width: 76px;
}

.update-type {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f0f4ff;
  color: #2f6bff;
  flex-shrink: 0;
  font-weight: 500;
}

.update-list a {
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.5;
}

.update-list a:hover {
  color: #2f6bff;
}

/* FAQ摘要 */
.faq-short-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f3;
}

.faq-short-list li:last-child {
  border-bottom: none;
}

.faq-short-list a {
  font-size: 15px;
  color: #1a1a1a;
  display: block;
  line-height: 1.5;
}

.faq-short-list a:hover {
  color: #2f6bff;
}

/* 提示条 */
.notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 18px 24px;
  margin-top: 8px;
}

.notice-bar p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.notice-bar a {
  font-size: 14px;
  font-weight: 500;
  color: #2f6bff;
  white-space: nowrap;
}

.notice-bar a:hover {
  color: #1e4fd6;
}

/* --------------------------------------------------------------------------
   Pages / 首页
   -------------------------------------------------------------------------- */
.site-home {
  background: #ffffff;
}

.home-main {
  width: 100%;
}

/* Hero 区域 */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 24px 0 40px;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Pages / 频道手册
   -------------------------------------------------------------------------- */

/* 筛选标签 */
.filter-section {
  margin-bottom: 32px;
  padding-top: 16px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  color: #4b5563;
  background: #f8f9fb;
  border: 1px solid #e8e9ec;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 38px;
  line-height: 1.4;
}

.filter-tag:hover {
  color: #2f6bff;
  border-color: #2f6bff;
  background: #f0f4ff;
}

/* 频道表格 */
.channel-table-section {
  margin-bottom: 40px;
}

.channel-table-wrap {
  overflow-x: auto;
  border: 1px solid #eef0f3;
  border-radius: 8px;
}

.channel-table {
  min-width: 640px;
}

.channel-table thead th {
  background: #f8f9fb;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  border-bottom: 2px solid #e8e9ec;
  white-space: nowrap;
}

.channel-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: top;
}

.channel-table tbody tr:last-child td {
  border-bottom: none;
}

.channel-table tbody tr:hover {
  background: #fafbfc;
}

.channel-table tbody td:first-child {
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

/* 频道画廊 */
.channel-gallery-section {
  margin-bottom: 40px;
}

.channel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  background: #ffffff;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: #4b5563;
  text-align: left;
  margin-top: 0;
  line-height: 1.5;
}

/* 频道选择提示 */
.channel-tip-section {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.tip-text {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 8px;
}

.tip-text:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Pages / 观看场景
   -------------------------------------------------------------------------- */
.page-scenes .layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
}

/* 场景标签 */
.section-scene-tags {
  padding-top: 16px;
  margin-bottom: 28px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  color: #4b5563;
  background: #f8f9fb;
  border: 1px solid #e8e9ec;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 38px;
  line-height: 1.4;
}

.tag-item:hover {
  color: #2f6bff;
  border-color: #2f6bff;
  background: #f0f4ff;
}

/* 场景列表 */
.section-scene-list {
  margin-bottom: 36px;
}

.scene-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.scene-item:last-child {
  margin-bottom: 0;
}

.scene-media {
  min-width: 0;
}

.scene-figure img.scene-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.scene-figure figcaption {
  text-align: left;
  margin-top: 4px;
}

.scene-content {
  min-width: 0;
}

.scene-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.scene-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 14px;
}

.scene-recommend {
  margin-bottom: 14px;
}

.scene-recommend h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.scene-recommend ul {
  list-style: disc;
  padding-left: 18px;
}

.scene-recommend ul li {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.scene-tips h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.scene-tips p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

/* 场景使用提示 */
.section-scene-tips {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.section-scene-tips p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
}

.section-scene-tips strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* 相关链接 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  margin-bottom: 16px;
}

.related-links-label {
  font-size: 14px;
  color: #6b7280;
}

.related-links-item {
  font-size: 14px;
  color: #2f6bff;
  background: #f0f4ff;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.related-links-item:hover {
  background: #e0e9ff;
  color: #1e4fd6;
}

/* --------------------------------------------------------------------------
   Pages / 入站指引
   -------------------------------------------------------------------------- */
.page-getting-started .layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
}

/* 步骤流程 */
.steps-section {
  margin-bottom: 36px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 20px;
  align-items: start;
  transition: box-shadow 0.25s ease;
}

.step-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.step-number {
  font-size: 22px;
  font-weight: 700;
  color: #2f6bff;
  background: #f0f4ff;
  border-radius: 6px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Tahoma, "Segoe UI", sans-serif;
  line-height: 1;
}

.step-content {
  min-width: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.step-content p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

/* 操作前准备 */
.preparation-section {
  margin-bottom: 36px;
}

.prep-content {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
}

.prep-figure {
  margin-bottom: 16px;
}

.prep-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.prep-content p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 10px;
}

.prep-content p:last-child {
  margin-bottom: 0;
}

.prep-content a {
  color: #2f6bff;
  font-weight: 500;
}

/* 入口核验 */
.verify-section {
  margin-bottom: 24px;
}

.verify-list {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.verify-list li {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.verify-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f6bff;
}

.verify-list strong {
  color: #1a1a1a;
  font-weight: 600;
}

.verify-note {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

.verify-note a {
  color: #2f6bff;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Pages / 更新动态
   -------------------------------------------------------------------------- */
.page-updates .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
}

/* 动态类型说明 */
.updates-intro {
  margin-bottom: 36px;
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
}

.content-media-inline {
  margin-bottom: 16px;
}

.content-media-inline img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.updates-intro > p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 14px;
}

.update-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.update-type-list li {
  font-size: 14px;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #e8e9ec;
  border-radius: 6px;
  padding: 10px 16px;
  line-height: 1.5;
}

.update-type-list strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* 动态时间线 */
.updates-timeline {
  margin-bottom: 36px;
}

.updates-timeline > p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
}

.update-item {
  border-left: 3px solid #2f6bff;
  padding: 0 0 24px 24px;
  position: relative;
  margin-bottom: 4px;
}

.update-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2f6bff;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #2f6bff;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.update-meta time {
  font-size: 13px;
  color: #9ca3af;
  font-family: Tahoma, "Segoe UI", sans-serif;
}

.update-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.tag-new-channel {
  background: #f0f4ff;
  color: #2f6bff;
}

.tag-scene {
  background: #f0fdf4;
  color: #16a34a;
}

.tag-guide {
  background: #fef3c7;
  color: #b45309;
}

.update-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.update-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 8px;
}

.update-item a {
  font-size: 14px;
  font-weight: 500;
  color: #2f6bff;
}

.update-item a:hover {
  color: #1e4fd6;
}

/* 更新说明 */
.updates-note {
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.updates-note p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 10px;
}

.updates-note p:last-child {
  margin-bottom: 0;
}

.updates-note a {
  color: #2f6bff;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Pages / 疑难解答
   -------------------------------------------------------------------------- */
.page-faq .layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
}

/* FAQ 手风琴 */
.faq-section {
  margin-bottom: 36px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #eef0f3;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s ease;
  min-height: 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: #2f6bff;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: #fafbfc;
}

.faq-content {
  padding: 0 20px 18px;
}

.faq-content p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
}

/* 反馈入口 */
.feedback-section {
  margin-bottom: 24px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  background: #f8f9fb;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
  align-items: start;
}

.feedback-figure {
  min-width: 0;
}

.feedback-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.feedback-content {
  min-width: 0;
}

.feedback-content > p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 12px;
}

.feedback-list {
  margin-bottom: 12px;
}

.feedback-list li {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f6bff;
}

.feedback-content > p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Pages / 站点声明
   -------------------------------------------------------------------------- */
.page-about .layout-shell .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
}

/* 页面媒体图 */
.page-media-block {
  margin-bottom: 28px;
}

.page-media-block img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.page-media-block figcaption {
  margin-top: 8px;
}

/* 内容区块 */
.content-section {
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 24px;
}

.content-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.4;
}

.content-section p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 10px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section ul {
  padding-left: 0;
}

.content-section ul li {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.8;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.content-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f6bff;
}

/* --------------------------------------------------------------------------
   Pages / 404
   -------------------------------------------------------------------------- */
.site-error {
  background: #ffffff;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1 0 auto;
}

.error-panel {
  text-align: center;
  max-width: 520px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #2f6bff;
  font-family: Tahoma, "Segoe UI", sans-serif;
  line-height: 1.1;
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.error-desc {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.error-help {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.7;
}

.error-help a {
  color: #2f6bff;
  font-weight: 500;
}

.error-help a:hover {
  color: #1e4fd6;
}

/* --------------------------------------------------------------------------
   Responsive / 响应式
   -------------------------------------------------------------------------- */

/* 平板及以下 */
@media (max-width: 1024px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .channel-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-media img {
    height: 260px;
  }

  .home-layout,
  .page-channel-guide .page-layout,
  .page-scenes .layout-shell,
  .page-getting-started .layout-shell,
  .page-updates .page-layout,
  .page-faq .layout-shell,
  .page-about .layout-shell .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .scene-item {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
  }

  .feedback-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
  }
}

/* 移动端 */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid #e8e9ec;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    z-index: 99;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 6px;
  }

  .nav-list li a.is-current {
    background: #f0f4ff;
  }

  /* 容器 */
  .layout-shell,
  .page-layout {
    padding: 0 16px;
  }

  .home-layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 40px;
    gap: 24px;
  }

  .home-layout .main-content {
    order: 0;
  }

  .home-layout .sidebar {
    order: 1;
  }

  .page-channel-guide .page-layout,
  .page-scenes .layout-shell,
  .page-getting-started .layout-shell,
  .page-updates .page-layout,
  .page-faq .layout-shell,
  .page-about .layout-shell .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
  }

  /* 页面标题区 */
  .page-header {
    padding: 20px 0 4px;
  }

  .page-header .page-title {
    font-size: 24px;
  }

  .page-header .page-description {
    font-size: 14px;
  }

  /* 面包屑 */
  .breadcrumb {
    padding-top: 12px;
    font-size: 12px;
  }

  /* 首页模块 */
  .hero-section {
    padding: 16px 0 28px;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media img {
    height: 200px;
  }

  .section-block {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 18px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-card img {
    height: 200px;
  }

  .scene-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .update-list li {
    flex-wrap: wrap;
    gap: 6px;
  }

  .update-list time {
    min-width: 0;
  }

  .notice-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  /* 侧栏 */
  .sidebar,
  .sidebar-area {
    gap: 16px;
  }

  .sidebar-block,
  .sidebar-card {
    padding: 16px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 12px 16px 16px;
  }

  /* 频道手册 */
  .filter-tags {
    gap: 8px;
  }

  .filter-tag {
    padding: 7px 14px;
    font-size: 13px;
  }

  .channel-table-wrap {
    overflow-x: auto;
  }

  .channel-table {
    min-width: 560px;
  }

  .channel-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item img {
    height: 200px;
  }

  .channel-tip-section {
    padding: 20px;
  }

  /* 观看场景 */
  .scene-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .scene-figure img.scene-image {
    height: 200px;
  }

  .section-scene-tips {
    padding: 20px;
  }

  /* 入站指引 */
  .step-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .prep-content {
    padding: 20px;
  }

  .prep-figure img {
    height: 180px;
  }

  /* 更新动态 */
  .updates-intro {
    padding: 20px;
  }

  .content-media-inline img {
    height: 180px;
  }

  .update-item {
    padding-left: 20px;
  }

  /* FAQ */
  .faq-item summary {
    padding: 16px;
    font-size: 14px;
  }

  .faq-content {
    padding: 0 16px 16px;
  }

  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .feedback-figure img {
    height: 180px;
  }

  /* 站点声明 */
  .page-media-block img {
    height: 200px;
  }

  .content-section {
    padding: 20px;
  }

  /* 404 */
  .error-main {
    padding: 60px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    gap: 10px;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* 小屏手机 */
@media (max-width: 390px) {
  .header-inner {
    padding: 0 12px;
  }

  .layout-shell,
  .page-layout,
  .home-layout {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .channel-card img,
  .gallery-item img {
    height: 180px;
  }

  .scene-figure img.scene-image,
  .prep-figure img,
  .content-media-inline img,
  .feedback-figure img {
    height: 160px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .update-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .step-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .scene-item {
    padding: 14px;
  }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
