/* ============================================================
   糖心 vlog 视频导航站 - 整站样式表
   站点: awpercg.cn
   视觉方向: 会员中心风 · 浅灰背景 + 白色卡片 + 糖心红强调
   ============================================================ */

/* ============================================================
   1. BASE - 基础变量 / 重置 / 全局
   ============================================================ */
:root {
  --bg: #f6f6f4;
  --text: #1a1a1a;
  --accent: #e3475b;
  --accent-dark: #c9364a;
  --card: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-light: #f0f0ee;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.05);
  --shadow-md: 0 2px 8px rgba(26, 26, 26, 0.06);
  --container: 1200px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   2. LAYOUT - 全站统一骨架
   ============================================================ */

/* --- 页头 --- */
.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: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

/* --- 导航 --- */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.nav-list a:hover {
  color: var(--accent);
  background: rgba(227, 71, 91, 0.06);
}

.nav-list a.is-current {
  color: var(--accent);
  background: rgba(227, 71, 91, 0.08);
  font-weight: 600;
}

/* 汉堡按钮 - 桌面隐藏 */
.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-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --- 主内容 --- */
.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* --- 面包屑 --- */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: #c0c4cc;
  user-select: none;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* 内页面包屑位于 main 内 */
.inner-main .breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* --- 页面标题区 --- */
.page-header {
  padding: 20px 0 28px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.page-description {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.7;
}

/* --- 页脚 --- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-boundary {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-nav-list a:hover {
  color: var(--accent);
}

.footer-feedback-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-feedback-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-feedback-link:hover {
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #9ca3af;
}

/* ============================================================
   3. COMPONENTS - 通用组件
   ============================================================ */

/* --- 区块标题 --- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.section-head p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 720px;
}

.section-more-link {
  display: inline-block;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 0;
}

.section-more-link:hover {
  text-decoration: underline;
}

/* --- 频道表格 --- */
.channel-table-wrap {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.channel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.channel-table thead th {
  background: #fafaf8;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  white-space: nowrap;
}

.channel-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  line-height: 1.6;
  vertical-align: middle;
}

.channel-table tbody tr:last-child td {
  border-bottom: none;
}

.channel-table tbody tr:hover {
  background: #fafaf8;
}

/* --- 专题卡片 --- */
.topic-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
  box-shadow: var(--shadow-md);
}

.topic-figure,
.topic-cover {
  overflow: hidden;
  background: var(--border-light);
  aspect-ratio: 16 / 9;
}

.topic-figure img,
.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.topic-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.topic-scope {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.topic-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.topic-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  align-self: flex-start;
}

.topic-link:hover {
  text-decoration: underline;
}

/* --- FAQ 折叠项 --- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #d1d5db;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p,
.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item p a,
.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

/* --- 相关链接 --- */
.related-links-section {
  margin-top: 40px;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-link-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-link-card:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.related-link-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.related-link-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.related-links-list li {
  margin-bottom: 10px;
}

.related-links-list a {
  font-size: 14px;
  color: var(--accent);
}

.related-links-list a:hover {
  text-decoration: underline;
}

.related-links li {
  margin-bottom: 10px;
}

.related-links a {
  font-size: 14px;
  color: var(--accent);
}

.related-links a:hover {
  text-decoration: underline;
}

/* --- 入口核验提示 --- */
.entry-check-section {
  margin-top: 40px;
}

.entry-check-inner {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.entry-check-text h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.entry-check-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.entry-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-check-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.entry-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.entry-check-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.entry-check-link:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   4. PAGES - 首页
   ============================================================ */

/* --- 首屏任务区 --- */
.hero-task-section {
  padding: 28px 0 8px;
}

.hero-task-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* 左侧任务面板 */
.task-panel {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
}

.task-panel h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 8px;
}

.task-panel-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.task-entry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-entry-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fafaf8;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.task-entry-link:hover {
  border-color: var(--accent);
  background: rgba(227, 71, 91, 0.04);
}

.task-entry-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(227, 71, 91, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.task-entry-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

/* 右侧今日推荐 */
.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-sm);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.today-pick {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.today-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(227, 71, 91, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.today-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
}

.today-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.today-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.today-link:hover {
  text-decoration: underline;
}

/* 频道标签横向滚动条 */
.channel-tags-bar {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
  -webkit-overflow-scrolling: touch;
}

.channel-tags-bar::-webkit-scrollbar {
  height: 4px;
}

.channel-tags-bar::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.channel-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.channel-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- 频道分类速览 --- */
.channel-overview-section {
  margin-top: 40px;
}

/* --- 视频专题主推荐 --- */
.topic-feature-section {
  margin-top: 48px;
}

.topic-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.topic-card-primary {
  grid-row: span 1;
}

.topic-card-primary .topic-figure {
  aspect-ratio: 16 / 8;
}

/* --- 观看指南步骤带 --- */
.guide-steps-section {
  margin-top: 48px;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-step-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-step-item:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.guide-step-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.guide-step-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.step-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.step-link:hover {
  text-decoration: underline;
}

/* --- 更新说明摘要 --- */
.updates-summary-section {
  margin-top: 48px;
}

.updates-summary-list {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.updates-summary-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease;
}

.updates-summary-list li:last-child {
  border-bottom: none;
}

.updates-summary-list li:hover {
  background: #fafaf8;
}

.update-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(227, 71, 91, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.update-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  min-width: 0;
}

.update-title:hover {
  color: var(--accent);
}

.update-date {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- 常见问题折叠摘要 --- */
.faq-summary-section {
  margin-top: 48px;
}

.faq-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============================================================
   5. PAGES - 频道分类页
   ============================================================ */

.channel-index-section {
  margin-top: 4px;
}

.channel-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--border-light);
  flex-shrink: 0;
}

.channel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-name {
  font-weight: 500;
  color: var(--text);
}

.channel-desc-section {
  margin-top: 40px;
}

.channel-desc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.channel-desc-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.channel-desc-card:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.channel-desc-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.channel-desc-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   6. PAGES - 视频专题页
   ============================================================ */

.topic-grid-section {
  margin-top: 4px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-count {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.topic-summary {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.topic-scope strong,
.topic-suggestion strong {
  color: var(--text);
  font-weight: 500;
}

.topic-scope,
.topic-suggestion {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.topic-scope-section {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scope-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.scope-list strong {
  color: var(--text);
  font-weight: 500;
  margin-right: 4px;
}

.viewing-tips-section {
  margin-top: 40px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tip-item:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.tip-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.tip-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   7. PAGES - 观看指南页
   ============================================================ */

.guide-section {
  margin-top: 36px;
}

.content-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
}

.content-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-media-inline {
  margin-bottom: 24px;
  max-width: 720px;
}

.content-media-inline img {
  aspect-ratio: 16 / 9;
}

.content-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
  border-bottom: 1px solid var(--border-light);
}

.usage-steps {
  margin-top: 4px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-item:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.step-desc a {
  color: var(--accent);
  text-decoration: underline;
}

.step-check {
  font-size: 13px;
  color: var(--text);
  background: #fafaf8;
  border-left: 3px solid var(--accent);
  padding: 8px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}

.entry-verification {
  margin-top: 40px;
}

.section-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 720px;
}

.verify-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.verify-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.verify-item:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.verify-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.verify-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.verify-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.verify-tip {
  font-size: 13px;
  color: var(--muted);
  background: #fafaf8;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  line-height: 1.6;
}

.watch-notes {
  margin-top: 40px;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.note-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.note-item:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.note-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.note-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.related-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.related-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   8. PAGES - 更新说明页
   ============================================================ */

.update-timeline-section {
  margin-top: 4px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  width: 130px;
  padding-top: 2px;
}

.timeline-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.timeline-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(227, 71, 91, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

.timeline-body {
  flex: 1;
  min-width: 0;
}

.timeline-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.5;
}

.timeline-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.update-type-section {
  margin-top: 40px;
}

.update-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.update-type-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.update-type-card:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.update-type-card img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: var(--border-light);
}

.update-type-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 18px 4px;
}

.update-type-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding: 0 18px 18px;
}

/* ============================================================
   9. PAGES - 问题反馈页
   ============================================================ */

.faq-section {
  margin-top: 4px;
}

.faq-section > h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.feedback-flow-section {
  margin-top: 40px;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feedback-step {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feedback-step:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.feedback-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-step h3::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.feedback-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.related-guides {
  margin-top: 40px;
}

.guide-entry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-entry-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-entry-card:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.guide-entry-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.guide-entry-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-side-figure {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
  max-width: 720px;
}

.faq-side-figure img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

.faq-side-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
  border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   10. PAGES - 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  min-height: 60vh;
}

.error-panel {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.error-code {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.error-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-back-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  transition: background 0.2s ease;
}

.error-back-btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.error-links-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.error-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.error-links a {
  font-size: 14px;
  color: var(--accent);
}

.error-links a:hover {
  text-decoration: underline;
}

/* ============================================================
   11. RESPONSIVE - 响应式
   ============================================================ */

/* --- 平板及以下 --- */
@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-feature-grid {
    grid-template-columns: 1fr;
  }

  .topic-card-primary .topic-figure {
    aspect-ratio: 16 / 9;
  }

  .related-links-grid,
  .related-grid,
  .guide-entry-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .verify-list,
  .tips-grid,
  .channel-desc-grid,
  .update-type-grid,
  .feedback-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

/* --- 手机端 --- */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 56px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tag {
    display: none;
  }

  /* 汉堡按钮 */
  .nav-toggle {
    display: flex;
  }

  /* 导航列表默认收起 */
  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 16px rgba(26, 26, 26, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .site-nav {
    margin-left: 0;
    position: relative;
  }

  /* 首页 */
  .home-main,
  .inner-main {
    padding: 0 16px 40px;
  }

  .breadcrumb-inner {
    padding: 0 16px;
  }

  .inner-main .breadcrumb {
    padding: 12px 0 0;
  }

  .page-header {
    padding: 16px 0 22px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-task-section {
    padding: 20px 0 4px;
  }

  .hero-task-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 移动端先任务入口后推荐卡 */
  .task-panel {
    order: 1;
  }

  .hero-feature {
    order: 2;
  }

  .task-panel {
    padding: 20px;
  }

  .task-panel h1 {
    font-size: 20px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .section-more-link {
    align-self: flex-start;
  }

  /* 表格横向滚动 */
  .channel-table-wrap {
    overflow-x: auto;
  }

  .channel-table {
    min-width: 560px;
  }

  /* 专题卡片单列 */
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 步骤带单列 */
  .guide-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 更新摘要 */
  .updates-summary-list li {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 14px 16px;
  }

  .update-title {
    flex-basis: calc(100% - 80px);
  }

  .update-date {
    margin-left: auto;
  }

  /* 频道分类页 */
  .channel-desc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .entry-check-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 16px;
  }

  .entry-check-link {
    width: 100%;
    text-align: center;
  }

  /* 专题页 */
  .topic-scope-section {
    padding: 20px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 指南页 */
  .step-item {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .verify-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .notes-list {
    gap: 12px;
  }

  .note-item {
    padding: 16px 18px;
  }

  .related-links-grid,
  .related-grid,
  .guide-entry-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 更新页 */
  .timeline-item {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .timeline-meta {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: auto;
  }

  .update-type-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* FAQ 页 */
  .feedback-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-item p,
  .faq-answer {
    padding: 0 16px 14px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-bottom {
    padding: 14px 16px;
  }

  /* 404 */
  .error-panel {
    padding: 36px 24px;
  }

  .error-code {
    font-size: 40px;
  }
}

/* --- 小屏手机 --- */
@media (max-width: 390px) {
  .brand-tag {
    display: none;
  }

  .task-entry-link {
    padding: 10px 12px;
  }

  .task-entry-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .topic-card-body {
    padding: 14px 16px 16px;
  }

  .channel-cell {
    gap: 8px;
  }

  .channel-thumb {
    width: 40px;
    height: 40px;
  }
}
