/* ============================================================
   星空传媒 · 全站样式表
   数据新闻风 / 纸张白底 / 红色结论条 / 数据行与表格
   ============================================================ */

/* ============================================================
   1. Base — 变量、重置、全局基础
   ============================================================ */
:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1f2328;
  --text-secondary: #57606a;
  --accent: #c9412b;
  --accent-dark: #a83422;
  --accent-soft: #fbeae7;
  --data-blue: #0969da;
  --border: #d0d7de;
  --border-light: #e6e8eb;
  --success: #1a7f37;
  --radius: 8px;
  --radius-sm: 4px;
  --container: 1160px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(31, 35, 40, 0.06), 0 1px 8px rgba(31, 35, 40, 0.04);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--data-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style-position: inside;
}

summary {
  cursor: pointer;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

/* ============================================================
   2. Layout — 容器、栅格、骨架
   ============================================================ */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 页头 */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand-name:hover {
  color: var(--accent);
}

.brand-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list li {
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-list a:hover {
  color: var(--accent);
  background: var(--bg);
}

.nav-list a.is-current {
  color: var(--accent);
  font-weight: 600;
}

.nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: var(--bg);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 主内容容器 */
.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 56px;
}

/* 页脚 */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.footer-related {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-related p {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-related a {
  font-weight: 500;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-col p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  list-style: none;
  margin-bottom: 8px;
}

.footer-col li a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-col li a:hover {
  color: var(--accent);
}

.footer-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: left;
}

/* 页面布局：主内容 + 侧栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
  width: 100%;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
  width: 100%;
}

/* 主内容列 */
.main-content {
  min-width: 0;
}

.main-col {
  min-width: 0;
}

/* 侧栏 */
.sidebar-content,
.term-notes,
.guide-actions,
.related-policies,
.aside-panel {
  min-width: 0;
}

.sidebar-inner,
.aside-inner {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}

/* ============================================================
   3. Components — 通用组件
   ============================================================ */

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--border);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.8;
}

.page-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.section-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 680px;
}

.section-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 8px 12px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  min-height: 44px;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition);
  min-height: 44px;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--data-blue);
}

.text-link:hover {
  color: var(--accent);
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* 相关任务带 */
.related-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-right: 4px;
}

.related-links-item {
  font-size: 14px;
  color: var(--data-blue);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.related-links-item:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* FAQ 折叠 */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  transition: background var(--transition), color var(--transition);
}

.faq-item summary:hover {
  background: var(--bg);
}

.faq-item[open] summary::before {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-light);
}

.faq-item .faq-answer,
.faq-item > p {
  padding: 14px 20px 18px 50px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-item .faq-answer p {
  margin-bottom: 8px;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item .faq-answer a {
  font-weight: 500;
}

/* 来源注释 */
.source-notes {
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.source-note-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.source-note-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  font-style: italic;
}

/* 侧栏标题 */
.sidebar-title,
.aside-inner h2,
.term-notes h2,
.guide-actions h2,
.related-policies h2,
.aside-panel h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ============================================================
   4. Pages — 首页
   ============================================================ */

/* 首屏数据目录 */
.hero-data {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 6px 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.catalog-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.catalog-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.catalog-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  flex-shrink: 0;
  line-height: 1.5;
}

.card-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.card-desc {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 频道分类概览 */
.channel-overview {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.section-head p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
}

.channel-rows {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.channel-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.channel-row:last-child {
  border-bottom: none;
}

.channel-row:hover {
  background: var(--bg);
}

.channel-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.channel-genre {
  font-size: 13px;
  color: var(--data-blue);
  background: rgba(9, 105, 218, 0.08);
  border-radius: 12px;
  padding: 2px 10px;
  justify-self: start;
  white-space: nowrap;
}

.channel-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.row-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--data-blue);
  justify-self: end;
  white-space: nowrap;
}

.row-link:hover {
  color: var(--accent);
}

/* 专题片单预览 */
.theme-preview {
  padding: 48px 0;
}

.theme-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.theme-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.theme-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.theme-media {
  height: 160px;
  overflow: hidden;
}

.theme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.theme-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.theme-scope {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.theme-scene {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.theme-channels {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 12px;
}

.theme-channels a {
  font-size: 13px;
  color: var(--data-blue);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2px 10px;
}

.theme-channels a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-body .text-link {
  align-self: flex-start;
}

/* 观看路径四步 */
.path-section {
  padding: 48px 0;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.path-step {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.path-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.path-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.path-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.path-step a {
  font-size: 13px;
  font-weight: 500;
}

/* 首页 FAQ */
.faq-section {
  padding: 48px 0;
}

.faq-list {
  margin-bottom: 16px;
}

.faq-more {
  margin-top: 16px;
}

/* ============================================================
   5. Pages — 频道分类
   ============================================================ */

.page-head-media {
  margin-bottom: 32px;
}

.head-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--card);
}

.head-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.head-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--card);
  border-top: 1px solid var(--border-light);
}

/* 题材筛选条 */
.topic-filter {
  margin-bottom: 32px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 38px;
  line-height: 1.5;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* 频道列表 */
.channel-list {
  margin-bottom: 40px;
}

.channel-list .channel-row {
  grid-template-columns: 1fr 0.8fr 2fr 0.8fr 0.6fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--card);
}

.channel-list .channel-row:nth-child(even) {
  background: #fbfcfd;
}

.channel-theme {
  font-size: 13px;
  color: var(--data-blue);
  background: rgba(9, 105, 218, 0.08);
  border-radius: 12px;
  padding: 2px 10px;
  justify-self: start;
  white-space: nowrap;
}

.channel-action {
  font-size: 13px;
  color: var(--text-secondary);
}

.channel-link {
  font-size: 13px;
  font-weight: 500;
  justify-self: end;
  white-space: nowrap;
}

/* 频道对比 */
.channel-compare {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.compare-guide {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.compare-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.compare-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  min-height: 44px;
}

.compare-option:hover {
  border-color: var(--data-blue);
}

.compare-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--data-blue);
  flex-shrink: 0;
}

.compare-hint {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
  min-height: 20px;
}

.compare-result {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 14px;
}

/* 侧栏术语 */
.term-notes .term-block {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.term-notes .term-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.term-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.term-block p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   6. Pages — 专题片单
   ============================================================ */

.page-header-media {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--card);
}

.page-header-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-header-media figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
}

/* 场景筛选 */
.scene-filter {
  margin-bottom: 32px;
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scene-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 38px;
  line-height: 1.5;
}

.scene-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* 专题集合 */
.theme-collection {
  margin-bottom: 40px;
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.theme-grid .theme-card {
  flex-direction: row;
  min-height: 200px;
}

.theme-card-media {
  width: 40%;
  flex-shrink: 0;
  min-height: 100%;
}

.theme-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.theme-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.theme-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.theme-scope {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.theme-scene {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.theme-channels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.theme-channels a {
  font-size: 13px;
  color: var(--data-blue);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2px 10px;
}

.theme-channels a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-link {
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
}

/* 相关阅读 */
.related-reading {
  margin-top: 40px;
}

.related-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-link {
  display: block;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.related-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.related-link-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.related-link-desc {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 侧栏整理注记 */
.curation-list {
  list-style: none;
}

.curation-list li {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 18px;
}

.curation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.curation-list li:last-child {
  border-bottom: none;
}

.sidebar-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}

/* ============================================================
   7. Pages — 观看指南
   ============================================================ */

.guide-figure {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--card);
}

.guide-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
}

/* 指南区块 */
.guide-section {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.guide-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-section h2::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

/* 准备网格 */
.prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.prep-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.prep-checklist {
  list-style: none;
}

.prep-checklist li {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.prep-checklist li::before {
  content: "□";
  color: var(--data-blue);
  flex-shrink: 0;
  font-size: 15px;
}

/* 操作步骤 */
.guide-steps {
  counter-reset: guide-step;
  list-style: none;
}

.guide-steps li {
  list-style: none;
  counter-increment: guide-step;
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px dashed var(--border-light);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.guide-steps li:last-child {
  border-bottom: none;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 检查点 */
.checkpoint-list {
  list-style: none;
}

.checkpoint-item {
  list-style: none;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border-left: 3px solid var(--data-blue);
}

.checkpoint-item:last-child {
  margin-bottom: 0;
}

.checkpoint-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.checkpoint-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.checkpoint-item a {
  font-weight: 500;
}

/* 行动卡 */
.action-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.action-card {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.action-card a {
  display: block;
  font-weight: 500;
  margin-top: 6px;
}

/* 侧栏导航 */
.side-nav-list {
  list-style: none;
}

.side-nav-list li {
  list-style: none;
  margin-bottom: 4px;
}

.side-nav-list a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.side-nav-list a:hover {
  background: var(--bg);
  border-left-color: var(--accent);
  color: var(--accent);
}

.side-feedback-link {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.side-feedback-link a {
  font-size: 14px;
  font-weight: 500;
}

/* ============================================================
   8. Pages — 内容说明
   ============================================================ */

.boundary-section,
.curation-rules {
  margin-bottom: 40px;
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
}

.boundary-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.boundary-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rules-list {
  list-style: none;
  counter-reset: rules;
}

.rules-list li {
  list-style: none;
  counter-increment: rules;
  padding: 14px 0 14px 36px;
  position: relative;
  border-bottom: 1px dashed var(--border-light);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rules-list li:last-child {
  border-bottom: none;
}

.rules-list li::before {
  content: counter(rules);
  position: absolute;
  left: 0;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--data-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rules-list strong {
  color: var(--text);
  font-weight: 600;
}

/* 侧栏 */
.related-policies ul {
  list-style: none;
}

.related-policies li {
  list-style: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.related-policies li:last-child {
  border-bottom: none;
}

.related-policies li a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.related-policies li a:hover {
  color: var(--accent);
}

.related-policies li p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.aside-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   9. Pages — 问题反馈
   ============================================================ */

.page-header-copy {
  margin-bottom: 24px;
}

.page-header-media {
  margin: 0 0 32px;
}

/* FAQ 块 */
.faq-block {
  margin-bottom: 40px;
}

.faq-block .faq-item summary {
  font-size: 15px;
}

.faq-more {
  margin-top: 16px;
  font-size: 14px;
}

/* 排查表 */
.troubleshoot-block {
  margin-bottom: 40px;
}

.troubleshoot-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.troubleshoot-table th,
.troubleshoot-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.troubleshoot-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.troubleshoot-table td {
  color: var(--text-secondary);
}

.troubleshoot-table tr:last-child td {
  border-bottom: none;
}

/* 反馈步骤 */
.feedback-steps {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}

.feedback-step-list {
  list-style: none;
  counter-reset: feedback-step;
}

.feedback-step-list li {
  list-style: none;
  counter-increment: feedback-step;
  position: relative;
  padding: 16px 0 16px 48px;
  border-bottom: 1px dashed var(--border-light);
}

.feedback-step-list li:last-child {
  border-bottom: none;
}

.feedback-step-list li::before {
  content: counter(feedback-step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-step-list h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.feedback-step-list p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 侧栏政策 */
.policy-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.policy-item:last-child {
  border-bottom: none;
}

.policy-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.policy-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   10. Pages — 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-panel {
  max-width: 560px;
  text-align: left;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.error-help {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   11. Responsive — 响应式
   ============================================================ */

/* 平板及以下 */
@media (max-width: 960px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(31, 35, 40, 0.08);
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 14px 12px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    line-height: 1.5;
  }

  .nav-list a.is-current::after {
    display: none;
  }

  .nav-list a.is-current {
    background: var(--accent-soft);
  }

  /* 页面布局单列 */
  .page-layout,
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px 40px;
  }

  .inner-main {
    padding: 24px 16px 40px;
  }

  .sidebar-content,
  .term-notes,
  .guide-actions,
  .related-policies,
  .aside-panel {
    order: 2;
  }

  /* 首页 */
  .hero-data {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .catalog-cards {
    grid-template-columns: 1fr 1fr;
  }

  .path-steps {
    grid-template-columns: 1fr 1fr;
  }

  .channel-list .channel-row {
    grid-template-columns: 1fr 1fr 1.6fr;
  }

  .channel-action {
    display: none;
  }

  .compare-selector {
    grid-template-columns: 1fr 1fr;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* 手机 */
@media (max-width: 640px) {
  .header-inner {
    padding: 0 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .home-main {
    padding: 0 12px 40px;
  }

  .inner-main {
    padding: 20px 12px 36px;
  }

  .page-layout,
  .layout-shell {
    padding: 0 12px 36px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 19px;
  }

  /* 首页 */
  .hero-data {
    padding: 32px 0 24px;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-figure img {
    height: 160px;
  }

  .catalog-cards {
    grid-template-columns: 1fr;
  }

  .channel-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }

  .channel-genre {
    justify-self: start;
  }

  .row-link {
    justify-self: start;
    margin-top: 4px;
  }

  .channel-list .channel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .channel-theme {
    justify-self: start;
  }

  .channel-link {
    justify-self: start;
    margin-top: 4px;
  }

  .theme-cards {
    grid-template-columns: 1fr;
  }

  .theme-media {
    height: 140px;
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  .theme-grid .theme-card {
    flex-direction: column;
  }

  .theme-card-media {
    width: 100%;
    height: 140px;
  }

  .theme-card-media img {
    min-height: 140px;
  }

  .prep-grid {
    grid-template-columns: 1fr;
  }

  .action-cards {
    grid-template-columns: 1fr;
  }

  .compare-selector {
    grid-template-columns: 1fr;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 12px 20px;
  }

  .footer-related {
    padding: 20px 12px 0;
  }

  .footer-bottom p {
    padding: 14px 12px;
  }

  .troubleshoot-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .troubleshoot-table th,
  .troubleshoot-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
  }

  .guide-section {
    padding: 20px;
  }

  .feedback-steps {
    padding: 20px;
  }

  .feedback-step-list li {
    padding-left: 40px;
  }

  .feedback-step-list li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .filter-tabs,
  .scene-tags {
    gap: 6px;
  }

  .filter-tab,
  .scene-tag {
    padding: 6px 12px;
    font-size: 13px;
    min-height: 36px;
  }
}
