/* ============================================================
   starskyedu.com · 糖心vlog 全站样式
   创意工作室风：浅米色底、深炭文字、姜黄强调、靛蓝辅助
   ============================================================ */

/* ============================================================
   base · 基础变量、重置与全局元素
   ============================================================ */

:root {
  --color-bg: #F7F4EE;
  --color-text: #24221F;
  --color-accent: #D97A2B;
  --color-accent-dark: #B8641F;
  --color-secondary: #3A5A78;
  --color-border: #DAD3C6;
  --color-card: #FFFFFF;
  --color-muted: #6B675F;
  --color-soft: #EFEAE0;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(36, 34, 31, 0.08);
  --shadow-md: 0 4px 12px rgba(36, 34, 31, 0.1);
  --container-w: 1200px;
  --inner-w: 980px;
  --doc-w: 720px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-h: 68px;
}

*,
*::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: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

details summary {
  cursor: pointer;
}

.sr-only,
.visually-hidden {
  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-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-header {
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.2;
}

.brand:hover {
  color: var(--color-accent);
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  white-space: nowrap;
}

.nav-list li a:hover {
  color: var(--color-accent);
  background-color: var(--color-soft);
}

.nav-list li a.is-current {
  color: var(--color-accent);
  background-color: rgba(217, 122, 43, 0.08);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 页脚 */
.site-footer {
  background-color: var(--color-text);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 64px;
}

.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-col h2 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* 首页主容器 */
.home-main {
  width: 100%;
}

/* 内页主容器 */
.inner-main {
  max-width: var(--inner-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-secondary);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-border);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 720px;
  line-height: 1.7;
}

/* 相关栏目 */
.related-links {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.related-links h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.related-links p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-links ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
}

.related-links ul li a:hover {
  color: var(--color-accent);
}

/* ============================================================
   components · 通用组件
   ============================================================ */

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.btn-text {
  display: inline-block;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  border-bottom: 2px solid transparent;
}

.btn-text:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* 图片容器约束 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 折叠面板 */
details.answer-fold,
details.history-fold {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-card);
  margin-top: 8px;
}

details.answer-fold summary,
details.history-fold summary {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-md);
  list-style: none;
  position: relative;
  padding-right: 36px;
}

details.answer-fold summary::-webkit-details-marker,
details.history-fold summary::-webkit-details-marker {
  display: none;
}

details.answer-fold summary::after,
details.history-fold summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-accent);
}

details.answer-fold[open] summary::after,
details.history-fold[open] summary::after {
  content: "−";
}

details.answer-fold p,
details.history-fold p {
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* 节目状态标签 */
.status-updating {
  background-color: rgba(58, 90, 120, 0.12);
  color: var(--color-secondary);
}

.status-finished {
  background-color: rgba(215, 122, 43, 0.12);
  color: var(--color-accent-dark);
}

.status-special {
  background-color: rgba(36, 34, 31, 0.08);
  color: var(--color-text);
}

/* ============================================================
   pages · 各页面模块
   ============================================================ */

/* ---------- 首页 hero ---------- */

.hero-section {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 首页节目状态条 ---------- */

.status-strip {
  background-color: var(--color-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.status-strip .status-item {
  flex: 1 1 0;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  border-right: 1px solid var(--color-border);
}

.status-strip .status-item:last-child {
  border-right: none;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-strip .status-item p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ---------- 首页频道速览 ---------- */

.channels-grid {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.channels-grid > h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
}

.channels-grid > h2 + p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.channels-grid > h2 {
  grid-column: 1 / -1;
}

.channel-feature-card {
  grid-column: span 1;
  grid-row: span 2;
  background-color: var(--color-text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  min-height: 320px;
}

.channel-feature-card a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  width: 100%;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(36, 34, 31, 0.2) 0%, rgba(36, 34, 31, 0.9) 100%);
}

.channel-feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.channel-feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  line-height: 1.6;
}

.card-link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

.channel-sub-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-sub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.channel-sub-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.channel-sub-card h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px 4px;
  color: var(--color-text);
}

.channel-sub-card p {
  font-size: 13px;
  color: var(--color-muted);
  padding: 0 14px 14px;
  line-height: 1.5;
}

/* ---------- 首页编辑精选片单 ---------- */

.collections-row {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.collections-row > h2 {
  grid-column: 1 / -1;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

.collections-row .collection-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collections-row .collection-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.collections-row .collection-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.collections-row .collection-card h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px 4px;
  color: var(--color-text);
}

.collections-row .collection-card p {
  font-size: 13px;
  color: var(--color-muted);
  padding: 0 14px 10px;
  line-height: 1.55;
  flex: 1;
}

.collections-row .collection-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  padding: 0 14px 14px;
}

.collections-row .collection-card a:hover {
  color: var(--color-accent);
}

/* ---------- 首页观看指南步骤 ---------- */

.guide-steps {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.guide-steps > h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 20px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.steps-list li {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.steps-list li:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.steps-list h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.steps-list p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.55;
}

.guide-steps > .btn-text {
  margin-left: 4px;
}

/* ---------- 首页更新摘要 ---------- */

.updates-timeline {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.updates-timeline > h2 {
  grid-column: 1 / -1;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

.timeline-list {
  position: relative;
  padding-left: 20px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-list li {
  position: relative;
  padding: 0 0 18px 16px;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 2px solid var(--color-bg);
}

.timeline-list time {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.timeline-list p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.updates-timeline > a {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}

/* ---------- 首页 FAQ ---------- */

.faq-fold {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.faq-fold > h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 20px;
}

.faq-fold details {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.faq-fold summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-md);
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-fold summary::-webkit-details-marker {
  display: none;
}

.faq-fold summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-accent);
}

.faq-fold details[open] summary::after {
  content: "−";
}

.faq-fold details p {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

.faq-fold > a {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
}

.faq-fold > a:hover {
  color: var(--color-accent);
}

/* ---------- 首页底部相关链接 ---------- */

.home-main > .related-links {
  max-width: var(--container-w);
  margin: 56px auto 0;
  padding: 28px 24px 0;
}

.related-links-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.related-links-item {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--color-secondary);
}

.related-links-item:hover {
  color: var(--color-accent);
}

/* ---------- 频道索引页 ---------- */

.category-section {
  margin-bottom: 48px;
}

.category-section > h2,
.status-legend-section > h2,
.adjustment-section > h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.category-section > p,
.status-legend-section > p,
.adjustment-section > p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.category-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-card);
  margin-bottom: 24px;
}

.category-table {
  width: 100%;
  min-width: 600px;
}

.category-table th {
  background-color: var(--color-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.category-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
  vertical-align: top;
}

.category-table tr:last-child td {
  border-bottom: none;
}

.category-table td:first-child {
  font-weight: 600;
}

.category-table td:nth-child(3) {
  white-space: nowrap;
}

.category-table .status-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}

.category-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 6;
}

.category-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-muted);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* 状态图例 */
.status-legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.status-legend-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.status-legend-card .status-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 10px;
}

.status-legend-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.status-legend-card p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 调整记录 */
.adjustment-list {
  border-left: 2px solid var(--color-border);
  padding-left: 20px;
  margin-bottom: 16px;
}

.adjustment-list li {
  position: relative;
  padding-bottom: 16px;
}

.adjustment-list li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.adjustment-list time {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
}

.adjustment-list p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.adjustment-note {
  font-size: 14px;
  color: var(--color-muted);
}

.adjustment-note a {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- 专题片单页 ---------- */

.featured-collection {
  margin-bottom: 48px;
}

.featured-collection > h2,
.collection-grid > h2,
.submission-note > h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-media {
  aspect-ratio: 16 / 10;
  min-height: 260px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.featured-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.featured-info p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.featured-meta {
  font-size: 13px;
  color: var(--color-secondary);
  font-weight: 500;
}

.featured-info a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 8px;
}

/* 片单网格 */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-cards .collection-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-cards .collection-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.grid-cards .collection-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.grid-cards .collection-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  padding: 12px 14px 4px;
}

.grid-cards .collection-card p {
  font-size: 13px;
  color: var(--color-muted);
  padding: 0 14px 10px;
  line-height: 1.55;
  flex: 1;
}

.card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-secondary);
  padding: 0 14px 12px;
}

/* 投稿说明 */
.submission-note {
  background-color: var(--color-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
}

.submission-note p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.submission-note a {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- 观看指南（文档式三栏） ---------- */

.docs-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 160px;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.sidebar-left .left-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.left-toc h2,
.right-toc h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.left-toc ul li,
.right-toc ul li {
  margin-bottom: 4px;
}

.left-toc ul li a,
.right-toc ul li a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.left-toc ul li a:hover,
.right-toc ul li a:hover {
  color: var(--color-accent);
  background-color: var(--color-soft);
}

.guide-content {
  max-width: 100%;
}

.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.guide-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 20px 0 8px;
}

.guide-section p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.guide-section a {
  color: var(--color-secondary);
  font-weight: 500;
}

.guide-section a:hover {
  color: var(--color-accent);
}

.guide-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0;
  aspect-ratio: 16 / 7;
}

.guide-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-muted);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.right-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.right-toc ul li a {
  font-size: 12px;
}

/* ---------- 更新记录页 ---------- */

.timeline-section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.content-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.content-media-inline {
  aspect-ratio: 16 / 5;
}

.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-media figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-muted);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.timeline-list {
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 116px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  padding-top: 2px;
  text-align: right;
}

.timeline-content {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 2px solid var(--color-card);
}

.timeline-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* 历史折叠 */
.history-section {
  margin-bottom: 48px;
}

.history-fold {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-card);
}

.history-fold summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-md);
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.history-fold summary::-webkit-details-marker {
  display: none;
}

.history-fold summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-accent);
}

.history-fold[open] summary::after {
  content: "−";
}

.history-content {
  padding: 8px 20px 20px;
  border-top: 1px solid var(--color-border);
}

.history-content .timeline-item {
  padding-top: 20px;
}

/* 后续更新说明 */
.subscription-note {
  background-color: var(--color-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.note-content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.note-content a {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- 许可说明页 ---------- */

.terms-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.terms-layout .content {
  max-width: var(--doc-w);
}

.terms-layout .content section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.terms-layout .content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.terms-layout .content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.terms-layout .content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.terms-layout .content ul li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.terms-layout .content figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0;
  aspect-ratio: 16 / 6;
}

.terms-layout .content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terms-layout .content figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-muted);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.terms-layout .content a {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- 问题答疑页 ---------- */

.view-tabs {
  margin-bottom: 32px;
}

.tab-list {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}

.tab-item {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  min-height: 44px;
}

.tab-item:hover {
  color: var(--color-text);
  background-color: var(--color-soft);
}

.tab-item.is-active {
  color: var(--color-accent);
  background-color: var(--color-card);
  border-color: var(--color-border);
  font-weight: 600;
}

.question-list {
  margin-bottom: 40px;
}

.question-list > h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.question-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.question-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.question-meta {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.question-item > p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.question-item > a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-secondary);
  margin-right: 12px;
}

.question-item > a:hover {
  color: var(--color-accent);
}

/* 提问说明 */
.ask-note {
  background-color: var(--color-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.ask-note h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.ask-note p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.ask-note a {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- 404 页 ---------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 240px);
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.error-lead {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.error-link {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background-color: var(--color-accent);
  color: #fff;
}

.error-link:hover {
  background-color: var(--color-accent-dark);
  color: #fff;
}

.error-link:last-child {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.error-link:last-child:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.error-help {
  font-size: 13px;
  color: var(--color-muted);
}

/* ============================================================
   responsive · 响应式断点
   ============================================================ */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-section {
    gap: 32px;
    padding: 40px 24px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-feature-card {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 220px;
  }

  .collections-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }

  .right-toc {
    display: none;
  }

  .terms-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }

  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .status-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 0;
  }

  .status-strip .status-item {
    max-width: none;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 8px;
  }

  .status-strip .status-item:last-child {
    border-bottom: none;
  }

  .channels-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 40px 16px 0;
  }

  .channel-feature-card {
    min-height: 180px;
  }

  .collections-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 40px 16px 0;
  }

  .guide-steps {
    padding: 40px 16px 0;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .updates-timeline {
    padding: 40px 16px 0;
  }

  .faq-fold {
    padding: 40px 16px 0;
  }

  .inner-main {
    padding: 0 16px;
  }

  .page-header {
    padding: 20px 0 24px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 26px;
  }

  .status-legend-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-table-wrap {
    overflow-x: auto;
  }

  .category-figure {
    aspect-ratio: 16 / 8;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .featured-info {
    padding: 20px;
  }

  .grid-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sidebar-left .left-toc {
    display: none;
  }

  .terms-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .terms-layout .left-toc {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 20px;
  }

  .timeline-item::before {
    left: 6px;
  }

  .timeline-date {
    text-align: left;
    font-size: 12px;
  }

  .timeline-content::before {
    left: -24px;
  }

  .content-media-inline {
    aspect-ratio: 16 / 9;
  }

  .tab-list {
    flex-direction: column;
    gap: 4px;
    border-bottom: none;
  }

  .tab-item {
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: left;
  }

  .tab-item.is-active {
    border-color: var(--color-accent);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 16px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom p {
    padding: 14px 16px;
  }

  .related-links {
    margin-top: 40px;
    padding-top: 24px;
  }

  .related-links ul {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 19px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col h2 {
    margin-bottom: 10px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-panel h1 {
    font-size: 22px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-link {
    text-align: center;
  }
}

/* ============================================================
   动效增强（不阻塞初始可见性）
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .channel-sub-card,
  .collection-card,
  .steps-list li,
  .status-legend-card,
  .question-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .channel-sub-card:hover,
  .collection-card:hover,
  .steps-list li:hover,
  .status-legend-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}
