/* ==========================================================
   爱情岛 · 全站样式表
   社区市集风：多色分类标签、紧凑条目、真实图片、内容边界说明
   ========================================================== */

/* ==========================================================
   Base — 基础变量、重置、字体、通用元素
   ========================================================== */

:root {
  --color-bg: #f6f3ee;
  --color-surface: #ffffff;
  --color-primary: #e05a3a;
  --color-primary-dark: #c94a2c;
  --color-accent: #2a7f78;
  --color-accent-dark: #226a64;
  --color-warm: #d9a441;
  --color-blue: #4f7bbf;
  --color-violet: #9b72cf;
  --color-forest: #3a7d5c;
  --color-pink: #d97a9a;
  --color-slate: #5a6b7a;
  --color-text: #2b2b2b;
  --color-text-light: #6b6b6b;
  --color-text-faint: #8c8c8c;
  --color-border: #e0dcd4;
  --color-border-light: #ece8e2;

  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-num: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;

  --container-width: 1200px;
  --container-mobile: 720px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --header-h: 68px;
  --transition-base: 0.2s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   Layout — 全站统一骨架：页头、导航、页脚、主容器
   ========================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- 页头 ---------- */

.site-header {
  background-color: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.brand-slogan {
  font-size: 13px;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* ---------- 主导航 ---------- */

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.nav-list a:hover {
  color: var(--color-primary);
  background-color: rgba(224, 90, 58, 0.06);
}

.nav-list a.is-current {
  color: var(--color-primary);
  font-weight: 700;
  background-color: rgba(224, 90, 58, 0.08);
}

/* 汉堡按钮，桌面隐藏 */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: auto;
  background-color: var(--color-surface);
  border-top: 2px solid var(--color-border);
}

.footer-columns {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
}

.footer-bottom .copyright {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--color-text-faint);
}

/* ---------- 主容器 ---------- */

.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 24px 56px;
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  color: var(--color-text-faint);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* ---------- 页面标题区 ---------- */

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 760px;
}

/* ---------- 通用区块标题 ---------- */

.section-heading {
  margin-bottom: 20px;
}

.section-heading .section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.section-heading .section-intro,
.section-heading .section-desc {
  font-size: 15px;
  color: var(--color-text-light);
  max-width: 720px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
}

.section-intro {
  font-size: 15px;
  color: var(--color-text-light);
}

.section-desc {
  font-size: 15px;
  color: var(--color-text-light);
}

.section-more {
  margin-top: 20px;
  text-align: center;
}

.section-more a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.section-more a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* ==========================================================
   Components — 通用组件
   ========================================================== */

/* ---------- 频道标签（分类色块） ---------- */

.category-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 20px;
  border: 1px solid transparent;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.category-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.tag-warm {
  background-color: #f7e8e2;
  color: #c94a2c;
}

.tag-cool {
  background-color: #e3eef2;
  color: #2a7f78;
}

.tag-gold {
  background-color: #f5ecd8;
  color: #b8891f;
}

.tag-violet {
  background-color: #ece4f5;
  color: #7a52b3;
}

.tag-blue {
  background-color: #e3eaf5;
  color: #3a67a3;
}

.tag-forest {
  background-color: #e2ede4;
  color: #2f6b4c;
}

.tag-pink {
  background-color: #f5e3ea;
  color: #b85c7c;
}

.tag-slate {
  background-color: #e6eaed;
  color: #4a5a6a;
}

/* ---------- 题材标签（频道页小标签） ---------- */

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.tag-emotion {
  background-color: #f7e8e2;
  color: #c94a2c;
}

.tag-travel {
  background-color: #e3eaf5;
  color: #3a67a3;
}

.tag-food {
  background-color: #f5ecd8;
  color: #b8891f;
}

.tag-music {
  background-color: #ece4f5;
  color: #7a52b3;
}

.tag-life {
  background-color: #e2ede4;
  color: #2f6b4c;
}

.tag-story {
  background-color: #f5e3ea;
  color: #b85c7c;
}

.tag-art {
  background-color: #e6eaed;
  color: #4a5a6a;
}

.tag-city {
  background-color: #e3eef2;
  color: #2a7f78;
}

.tag-yellow {
  background-color: #f5ecd8;
  color: #b8891f;
}

.tag-green {
  background-color: #e2ede4;
  color: #2f6b4c;
}

.tag-purple {
  background-color: #ece4f5;
  color: #7a52b3;
}

/* ---------- FAQ 折叠 ---------- */

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item .faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item .faq-answer p {
  padding: 0;
}

.faq-item .faq-answer a {
  color: var(--color-primary);
  font-weight: 500;
}

/* ---------- 相关链接（首页底部） ---------- */

.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-right: 4px;
}

.related-links-item {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--color-text-light);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.related-links-item:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ---------- 图片容器 ---------- */

.topic-media,
.topic-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.topic-media img,
.topic-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================
   Pages — 首页模块
   ========================================================== */

/* ---------- 首屏焦点区 ---------- */

.hero-focus-section {
  margin-bottom: 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

.hero-figure {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.recent-stream {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.recent-stream .section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.recent-stream .section-intro {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.stream-card {
  border-top: 1px solid var(--color-border-light);
  padding: 10px 0;
}

.stream-card:first-of-type {
  border-top: none;
}

.card-link {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--color-text);
}

.card-link:hover {
  color: var(--color-text);
}

.card-thumb {
  width: 96px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-meta .tag {
  font-size: 11px;
  padding: 2px 8px;
}

.card-desc {
  font-size: 13px;
  color: var(--color-text-faint);
}

.channel-status {
  font-size: 12px;
  color: var(--color-accent);
}

/* ---------- 频道分类带 ---------- */

.category-strip-section {
  margin-bottom: 40px;
}

.category-strip-section .section-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}

.category-strip-section .section-title {
  margin-bottom: 0;
}

.category-strip-section .section-intro {
  margin-bottom: 0;
}

/* ---------- 专题网格（首页） ---------- */

.topic-grid-section {
  margin-bottom: 40px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.topic-link {
  display: block;
  color: var(--color-text);
}

.topic-link:hover {
  color: var(--color-text);
}

.topic-media {
  width: 100%;
  height: 0;
  padding-bottom: 62%;
  border-radius: 0;
}

.topic-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topic-content {
  padding: 14px 16px 16px;
}

.topic-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.topic-summary {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.topic-scene {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  background-color: rgba(42, 127, 120, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

/* ---------- 观看指南摘要（首页） ---------- */

.guide-summary-section {
  margin-bottom: 40px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-step-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-num);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---------- FAQ 区（首页） ---------- */

.faq-section {
  margin-bottom: 24px;
}

.faq-section .faq-item p {
  font-size: 15px;
  color: var(--color-text-light);
}

/* ==========================================================
   Pages — 频道分类页
   ========================================================== */

.page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

/* 侧栏在左 */

.sidebar-left {
  grid-template-columns: 220px 1fr;
}

.sidebar-left .category-index {
  grid-column: 1;
}

.sidebar-left .channel-list-section {
  grid-column: 2;
}

.category-index {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.index-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

.index-list li {
  margin-bottom: 2px;
}

.index-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.index-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-border);
  flex-shrink: 0;
}

.index-list a:hover {
  color: var(--color-primary);
  background-color: rgba(224, 90, 58, 0.05);
}

.index-list a:hover::before {
  background-color: var(--color-primary);
}

.index-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.6;
}

.channel-list-section .section-title {
  margin-bottom: 20px;
}

.channel-group {
  margin-bottom: 28px;
}

.group-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.channel-card img {
  width: 100%;
  height: 0;
  padding-bottom: 62%;
  object-fit: cover;
}

.channel-card .card-body {
  padding: 12px 14px 14px;
}

.channel-card .card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.channel-card .card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.channel-card .tag {
  margin-bottom: 8px;
}

.list-footer-note {
  margin-top: 24px;
  padding: 16px 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.list-footer-note a {
  display: inline-block;
  margin-right: 16px;
  font-weight: 500;
}

/* ==========================================================
   Pages — 专题片单页
   ========================================================== */

.topic-intro {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.topic-intro .section-title {
  margin-bottom: 12px;
}

.intro-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 10px;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

.topic-grid-section {
  margin-bottom: 36px;
}

.topic-grid-section > .section-title {
  margin-bottom: 16px;
}

.topic-card-media {
  width: 100%;
  height: 0;
  padding-bottom: 62%;
  border-radius: 0;
}

.topic-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topic-card-media .topic-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.topic-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  color: #fff;
}

.topic-tag.tag-blue {
  background-color: var(--color-blue);
}

.topic-tag.tag-yellow {
  background-color: var(--color-warm);
}

.topic-tag.tag-green {
  background-color: var(--color-forest);
}

.topic-tag.tag-purple {
  background-color: var(--color-violet);
}

.topic-card-body {
  padding: 14px 16px 16px;
}

.topic-card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.topic-card-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.topic-card-scene {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.topic-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.topic-card-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* 场景选择说明 */

.topic-scene-guide {
  margin-bottom: 36px;
}

.topic-scene-guide .section-title {
  margin-bottom: 16px;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.scene-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.scene-item-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.scene-item-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* 相关入口 */

.related-links {
  margin-top: 0;
}

.related-links .section-title {
  margin-bottom: 16px;
}

.related-link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-link-card {
  display: block;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--color-text);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.related-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: var(--color-text);
}

.related-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.related-card-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==========================================================
   Pages — 观看指南页
   ========================================================== */

.guide-steps {
  display: block;
}

.guide-steps .section-heading {
  margin-bottom: 20px;
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.step-item {
  display: flex;
  gap: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.step-item .step-number {
  width: 36px;
  height: 36px;
  font-size: 17px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.step-content p:last-child {
  margin-bottom: 0;
}

.step-content a {
  font-weight: 500;
}

.guide-figure {
  margin: 24px 0 32px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-text-faint);
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}

.guide-faq {
  margin-bottom: 32px;
}

.guide-faq .section-heading {
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list .faq-item {
  margin-bottom: 0;
}

.faq-list .faq-item summary {
  font-size: 15px;
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: block;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--color-text);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: var(--color-text);
}

.related-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.related-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==========================================================
   Pages — 选择指南页
   ========================================================== */

.section-scenario-cards {
  margin-bottom: 36px;
}

.section-scenario-cards .section-title,
.section-comparison-table .section-title,
.section-decision-steps .section-title {
  margin-bottom: 6px;
}

.section-scenario-cards .section-intro,
.section-comparison-table .section-intro,
.section-decision-steps .section-intro {
  margin-bottom: 16px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.scenario-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.scenario-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.scenario-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-warm);
}

.scenario-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 8px;
}

.scenario-tip {
  font-size: 13px;
  color: var(--color-accent);
  line-height: 1.6;
}

.section-comparison-table {
  margin-bottom: 36px;
}

.table-wrapper {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.compare-table {
  min-width: 640px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.compare-table thead th {
  background-color: var(--color-bg);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.compare-table tbody th {
  background-color: var(--color-bg);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  width: 120px;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td {
  color: var(--color-text-light);
  line-height: 1.6;
}

.section-decision-steps {
  margin-bottom: 32px;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.decision-step {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  position: relative;
}

.decision-step .step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 36px;
  position: relative;
}

.decision-step .step-title::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-num);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.decision-links {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.decision-links-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.link-list a {
  font-size: 14px;
  font-weight: 500;
}

.section-compare-image {
  margin-top: 32px;
}

.compare-figure {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-figure img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

.compare-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-text-faint);
  border-top: 1px solid var(--color-border-light);
}

/* ==========================================================
   Pages — 入口核验页
   ========================================================== */

.layout-shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.verify-steps .section-title,
.checklist .section-title,
.troubleshooting .section-title {
  margin-bottom: 6px;
}

.verify-steps .section-desc,
.checklist .section-desc,
.troubleshooting .section-desc {
  margin-bottom: 16px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-list .step-item {
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
}

.step-list .step-number {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.step-list .step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-list .step-content p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.checklist {
  margin-bottom: 4px;
}

.checklist-figure {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.checklist-figure img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

.checklist-figure figcaption {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--color-text-faint);
  border-top: 1px solid var(--color-border-light);
}

.checklist-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checklist-list li {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.checklist-list h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.checklist-list p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.trouble-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trouble-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.trouble-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border-light);
}

.trouble-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.troubleshooting .related-links {
  margin-top: 20px;
}

.troubleshooting .related-links a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--color-text-light);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.troubleshooting .related-links a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==========================================================
   Pages — 问题反馈页
   ========================================================== */

.feedback-visual {
  margin-bottom: 28px;
}

.feedback-figure {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feedback-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

.issue-types {
  margin-bottom: 36px;
}

.issue-types .section-title,
.information-prep .section-title,
.self-check .section-title {
  margin-bottom: 6px;
}

.issue-types .section-desc,
.information-prep .section-desc,
.self-check .section-desc {
  margin-bottom: 16px;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.issue-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.issue-name {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-warm);
}

.issue-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.issue-path {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.65;
}

.issue-path strong {
  color: var(--color-accent);
  font-weight: 600;
}

.issue-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.issue-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.information-prep {
  margin-bottom: 36px;
}

.prep-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.prep-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.prep-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.prep-name::before {
  content: "01";
  margin-right: 8px;
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}

.prep-item:nth-child(2) .prep-name::before {
  content: "02";
}

.prep-item:nth-child(3) .prep-name::before {
  content: "03";
}

.prep-item:nth-child(4) .prep-name::before {
  content: "04";
}

.prep-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.self-check {
  margin-bottom: 28px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.check-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.check-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.check-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.check-note {
  margin-top: 16px;
  background-color: rgba(42, 127, 120, 0.06);
  border: 1px solid rgba(42, 127, 120, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.65;
}

.check-note p {
  margin-bottom: 6px;
}

.check-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
}

.check-link:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.feedback-page .related-links {
  margin-top: 0;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-list a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--color-text-light);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.related-list a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==========================================================
   Pages — 404 页面
   ========================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 220px);
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.error-code {
  font-family: var(--font-num);
  font-size: 64px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.btn-back-home {
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
}

.btn-back-home:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.error-help {
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text-faint);
}

.error-help a {
  font-weight: 500;
}

/* ==========================================================
   Responsive — 响应式断点
   ========================================================== */

/* ---------- 平板及以下 ---------- */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .trouble-cards {
    grid-template-columns: 1fr;
  }

  .prep-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .issue-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-layout,
  .sidebar-left {
    grid-template-columns: 190px 1fr;
    gap: 20px;
  }
}

/* ---------- 移动端 ---------- */

@media (max-width: 720px) {
  .header-inner {
    padding: 0 16px;
    height: 60px;
    gap: 12px;
  }

  .brand-slogan {
    display: none;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .home-main {
    padding: 20px 16px 40px;
  }

  .inner-main {
    padding: 16px 16px 40px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-description {
    font-size: 15px;
  }

  .breadcrumb {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-media {
    min-height: 220px;
  }

  .hero-figure img {
    min-height: 220px;
  }

  .recent-stream {
    padding: 16px;
  }

  .card-thumb {
    width: 84px;
    height: 60px;
  }

  .category-strip-section .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .category-tags-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .category-tag {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 13px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-step-item {
    padding: 16px 14px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 32px 16px 24px;
  }

  .footer-bottom .copyright {
    padding: 14px 16px;
    font-size: 12px;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    font-size: 13px;
    padding: 5px 12px;
  }

  /* 频道页 */

  .page-layout,
  .sidebar-left {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-index {
    position: static;
    width: 100%;
  }

  .index-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .index-list li {
    margin-bottom: 0;
  }

  .index-list a {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    background-color: var(--color-bg);
  }

  .index-list a::before {
    display: none;
  }

  .index-note {
    margin-top: 10px;
    padding-top: 10px;
  }

  .channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .channel-card .card-body {
    padding: 10px 12px 12px;
  }

  .channel-card .card-title {
    font-size: 15px;
  }

  .group-title {
    font-size: 17px;
  }

  .list-footer-note {
    padding: 14px 16px;
    font-size: 13px;
  }

  /* 专题页 */

  .topic-intro {
    padding: 18px 16px;
  }

  .scene-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-link-cards,
  .related-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 指南页 */

  .step-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .step-item .step-number {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .guide-figure img {
    max-height: 220px;
  }

  /* 选择指南页 */

  .scenario-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .scenario-card {
    padding: 14px;
  }

  .scenario-name {
    font-size: 15px;
  }

  .decision-step {
    padding: 16px 14px;
  }

  .decision-links {
    padding: 14px 16px;
  }

  .link-list {
    flex-direction: column;
    gap: 6px;
  }

  .compare-figure img {
    max-height: 220px;
  }

  /* 入口核验页 */

  .step-list {
    gap: 12px;
  }

  .checklist-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .checklist-figure img {
    max-height: 200px;
  }

  .trouble-cards {
    gap: 12px;
  }

  /* 反馈页 */

  .feedback-image {
    max-height: 200px;
  }

  .issue-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .issue-card {
    padding: 16px;
  }

  .prep-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .check-grid {
    gap: 12px;
  }

  .check-note {
    padding: 12px 14px;
  }

  /* 404 */

  .error-main {
    padding: 32px 16px;
    min-height: calc(100vh - 60px - 200px);
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 48px;
  }
}

/* ---------- 小屏手机 ---------- */

@media (max-width: 480px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-figure figcaption {
    font-size: 13px;
    padding: 12px 14px;
  }

  .card-thumb {
    width: 76px;
    height: 56px;
  }

  .card-title {
    font-size: 14px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 21px;
  }

  h2 {
    font-size: 21px;
  }
}
