/* ============================================================
   源海随笔站 — 纯静态世界观分享站
   暗黑悬疑风格 · 纯 CSS 无框架依赖
   v2.0.0 增强版 — 转化引导 + 视觉层级 + 交互质感
   ============================================================ */

/* ── Web 字体 ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600&family=Noto+Serif+SC:wght@400;600;700&display=swap');

/* ── 重置 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── 设计令牌 (Design Tokens) ── */
:root {
  /* 背景层级 (3阶递进) */
  --bg-deep: #0a0e14;
  --bg-card: #121821;
  --bg-hover: #1a2332;

  /* 边框 */
  --border: rgba(100, 120, 140, 0.15);
  --border-hover: rgba(100, 120, 140, 0.3);
  --border-light: rgba(100, 120, 140, 0.08);

  /* 文字色 (3阶递进) */
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* 品牌强调色 */
  --accent: #6366f1;
  --accent-dim: rgba(99, 102, 241, 0.15);

  /* 金色主题 (品牌主色) */
  --gold: #c9a96e;
  --gold-bright: #d4b87a;
  --gold-dark: #b8944f;
  --gold-dim: rgba(201, 169, 110, 0.1);
  --gold-glow: rgba(201, 169, 110, 0.3);

  /* 语义色 */
  --danger: #ef4444;
  --danger-dim: rgba(239, 68, 68, 0.1);
  --warning: #f59e0b;
  --warning-dim: rgba(245, 158, 11, 0.1);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.1);
  --tide: #38bdf8;
  --tide-dim: rgba(56, 189, 248, 0.1);

  /* ── 字号阶梯 (8级，禁止越级) ── */
  --text-h0:     42px;   /* 首页 Hero 大标题 */
  --text-h1:     32px;   /* 内页标题 */
  --text-h2:     22px;   /* 分区标题 */
  --text-h3:     17px;   /* 卡片标题 */
  --text-body:   16px;   /* 正文 */
  --text-small:  14px;   /* 辅助说明 */
  --text-caption: 13px;  /* 标签/日期/注释 */
  --text-micro:  11px;   /* 徽章/角标 */

  /* ── 8px 基础栅格间距 ── */
  --space-xs:   8px;    /* 紧凑：标签 gap、图标与文字 */
  --space-sm:   16px;   /* 默认：卡片 padding、列表项 gap */
  --space-md:   24px;   /* 舒适：section 内 padding */
  --space-lg:   32px;   /* 宽松：section 间 margin */
  --space-xl:   48px;   /* 大分隔：Hero 与内容之间 */
  --space-2xl:  64px;   /* 超大分隔：页尾前留白 */
  --space-3xl:  80px;   /* 首屏留白：Hero 顶部 */

  /* ── 圆角分级 (5级) ── */
  --radius-sm:   4px;    /* 行内：code、tag、badge */
  --radius-md:   8px;    /* 默认：卡片、按钮、输入框 */
  --radius-lg:   12px;   /* 大容器：下载卡片、FAQ */
  --radius-xl:   16px;   /* 特殊：Hero 区域 */
  --radius-full: 999px;  /* 药丸型：CTA、徽章 */

  /* ── 阴影规范 (4级，严格限定场景) ── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.2);           /* 轻微悬浮：tooltip */
  --shadow-md:   0 4px 16px rgba(0,0,0,0.25);         /* 卡片 hover、导航吸顶 */
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.35);         /* 弹窗、悬浮按钮 */
  --shadow-glow: 0 0 32px rgba(201,169,110,0.15);     /* 金色 CTA 专属 */

  /* 布局约束 */
  --max-width: 860px;
  --max-width-wide: 1000px;

  /* 字体家族 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", Georgia, serif;

  /* 动效 */
  --transition-fast:   0.15s ease;
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* 兼容别名 (向后兼容) */
  --radius: var(--radius-md);
}

/* ── 基础 ── */
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.8;
  font-size: var(--text-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 页面背景微光 — 极淡金色径向渐变 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 0%, rgba(201,169,110,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 400px 600px at 85% 100%, rgba(99,102,241,0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* 所有内容在光晕之上 */
.page, .page-wide, .hero, .nav-bar, .site-footer, .toc-sidebar { position: relative; z-index: 1; }

/* ── 全局视觉增强 ── */
::selection {
  background: rgba(201, 169, 110, 0.3);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: var(--radius-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold); }

/* ── 导航栏 ── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  transition: background var(--transition-smooth), backdrop-filter var(--transition-smooth), box-shadow var(--transition-smooth);
}
.nav-bar.scrolled {
  background: rgba(10, 14, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(201, 169, 110, 0.3));
  transition: filter 0.3s ease;
}
.nav-logo img:hover {
  filter: drop-shadow(0 0 16px rgba(201, 169, 110, 0.5)) brightness(1.1);
}
.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: var(--text-small);
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* 导航栏 — 下载CTA按钮 */
.nav-cta {
  display: inline-block !important;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--bg-deep) !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--gold-glow);
  color: var(--bg-deep) !important;
}
.nav-cta::after { display: none !important; }

/* 移动端菜单 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-links.show { display: flex; }
  .nav-cta {
    text-align: center;
    width: 100%;
    border-radius: var(--radius) !important;
  }
}

/* ── 页面主体 ── */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) 80px;
}
.page-wide {
  max-width: var(--max-width-wide);
}

/* ── 首页 Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--space-3xl) var(--space-md) 60px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: var(--text-h0);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: var(--space-sm);
}
.hero-subtitle {
  font-size: var(--text-body);
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Hero — 核心标签行 */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}
.hero-tag {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  letter-spacing: 0.5px;
}

/* Hero — 下载CTA按钮 */
.hero-cta-wrap {
  margin-bottom: 48px;
}
.hero-cta-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-deep);
  border: 2px solid rgba(201, 169, 110, 0.6);
  box-shadow: var(--shadow-glow), 0 4px 12px rgba(0,0,0,0.3);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(201, 169, 110, 0.28), 0 8px 24px rgba(0,0,0,0.4);
  border-color: rgba(201, 169, 110, 0.9);
  color: var(--bg-deep);
}
.hero-cta-btn:active {
  transform: scale(0.97);
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
  position: relative;
  padding: 24px 0;
}
.hero-quote::before,
.hero-quote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
}
.hero-quote::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-quote::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-quote::before { top: 0; }
.hero-quote::after { bottom: 0; }

/* ── 卡片网格 ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card-grid-section {
  margin-bottom: 28px;
}
.card-grid-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 4px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}
.card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.card-title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.card-desc {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 核心特色条 ── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 48px 0 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 4px;
}
.feature-item-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  line-height: 1.4;
}
.feature-item-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.feature-item-text strong {
  color: var(--gold);
  font-weight: 600;
}

/* ── 首页最新开发动态 ── */
.latest-updates {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.update-mini-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.update-mini-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.update-mini-item:hover {
  background: var(--bg-hover);
}
.update-mini-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  min-width: 130px;
}
.update-mini-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.update-mini-desc {
  font-size: 13px;
  color: var(--text-muted);
  flex-basis: 100%;
  margin-top: -2px;
}
.view-all-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.view-all-link:hover {
  color: var(--gold-bright);
}

/* ── 悬浮下载按钮 ── */
.float-download {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-deep);
  font-size: var(--text-small);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 24px rgba(201, 169, 110, 0.25), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), opacity 0.3s;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.float-download.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.4), 0 4px 12px rgba(0,0,0,0.4);
  color: var(--bg-deep);
}
.float-download:active {
  transform: scale(0.95);
}
.float-download-icon {
  font-size: 18px;
}
@media (max-width: 640px) {
  .float-download {
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ── 文章排版 ── */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-title {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}
.article-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.article-body h2 {
  font-size: var(--text-h2);
  color: var(--text-primary);
  margin: 40px 0 var(--space-sm);
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.article-body h3 {
  font-size: var(--text-h3);
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.article-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  color: var(--text-secondary);
  margin: 12px 0 16px 24px;
}
.article-body li {
  margin-bottom: 6px;
}
.article-body strong {
  color: var(--gold);
  font-weight: 600;
}
.article-body code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px var(--space-xs);
  font-size: var(--text-caption);
  color: var(--tide);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── 高亮徽章/标签（内联强调） ── */
.highlight-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.25);
  letter-spacing: 0.3px;
  vertical-align: middle;
}
.highlight-badge.blue {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(99, 102, 241, 0.25);
}
.highlight-badge.teal {
  background: var(--tide-dim);
  color: var(--tide);
  border-color: rgba(56, 189, 248, 0.25);
}

/* 高亮引用块（关键机制说明） */
.highlight-block {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 20px;
  margin: 16px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.highlight-block strong {
  color: var(--gold);
}

/* ── 功能卡片（worldview页 可展开详情） ── */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.feature-card:hover {
  border-color: var(--border-hover);
}
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px var(--space-md);
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}
.feature-card-header:hover {
  background: var(--bg-hover);
}
.feature-card-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.feature-card-info {
  flex: 1;
  min-width: 0;
}
.feature-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 2px;
}
.feature-card-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-card-arrow {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}
.feature-card.open .feature-card-arrow {
  transform: rotate(180deg);
}
.feature-card-body {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.feature-card.open .feature-card-body {
  display: block;
}
.feature-card-body p {
  margin-bottom: 10px;
}
.feature-card-body ul {
  margin: 8px 0 0 20px;
  padding: 0;
}
.feature-card-body li {
  margin-bottom: 6px;
}

/* ── 侧边悬浮目录（worldview页桌面端） ── */
.toc-sidebar {
  position: fixed;
  right: max(16px, calc((100vw - var(--max-width-wide)) / 2 - 200px));
  top: 100px;
  width: 180px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  z-index: 50;
  padding: 16px 0;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.toc-link {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  border-radius: var(--radius-sm);
}
.toc-link:hover,
.toc-link.active {
  color: var(--gold);
  padding-left: 4px;
}
/* 移动端目录切换按钮 */
.toc-toggle-wrap {
  display: none;
  margin-bottom: 16px;
}
.toc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.toc-toggle-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.toc-dropdown {
  display: none;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 0;
}
.toc-dropdown.show {
  display: block;
}
.toc-dropdown a {
  display: block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.toc-dropdown a:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* 大屏隐藏目录切换，显示侧栏；小屏反之 */
@media (min-width: 1025px) {
  .toc-sidebar { display: block; }
  .toc-toggle-wrap { display: none; }
}
@media (max-width: 1024px) {
  .toc-sidebar { display: none; }
  .toc-toggle-wrap { display: block; }
}

/* ── 时间线 ── */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

/* 时间线月份分组 */
.timeline-group {
  margin-bottom: 8px;
}
.timeline-group-title {
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 28px 0 var(--space-sm) -4px;
  padding: 6px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: inline-block;
  border-left: 3px solid var(--border);
}

/* 时间线节点（圆形版本号） */
.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 0;
  transition: opacity var(--transition-smooth);
}
.timeline-node {
  position: absolute;
  left: -28px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  z-index: 2;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.timeline-item:hover .timeline-node {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.3);
}

/* 节点按类别配色 */
.timeline-item.type-arch .timeline-node {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.timeline-item.type-gameplay .timeline-node {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.timeline-item.type-perf .timeline-node {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}

.timeline-version {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}
.timeline-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.timeline-summary {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  line-height: 1.5;
}

/* 折叠/展开 */
.timeline-item.collapsed .timeline-content {
  display: none;
}
.timeline-expand-btn {
  display: inline-block;
  background: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 12px;
  padding: 2px 10px;
  cursor: pointer;
  margin-top: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.timeline-expand-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.timeline-item.collapsed .timeline-expand-btn::after {
  content: '展开 ▾';
}
.timeline-item:not(.collapsed) .timeline-expand-btn::after {
  content: '收起 ▴';
}

/* 时间线控制按钮 */
.timeline-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.timeline-ctrl-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.timeline-ctrl-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-hover);
}

.timeline-content {
  color: var(--text-secondary);
  font-size: 14px;
}
.timeline-content ul {
  margin: 8px 0 0 16px;
}

/* ── 版本总览栏 ── */
.version-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.version-summary-bar .vs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.vs-label {
  color: var(--text-muted);
  font-weight: 500;
}
.vs-value {
  color: var(--text-primary);
  font-weight: 700;
}
.vs-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

/* ── 标签 ── */
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin: 2px 4px 2px 0;
}
.tag-gold { color: var(--gold); border-color: rgba(201, 169, 110, 0.3); background: var(--gold-dim); }
.tag-tide { color: var(--tide); border-color: rgba(56, 189, 248, 0.3); background: var(--tide-dim); }

/* ── 设定表 ── */
.lore-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.lore-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}
.lore-table td {
  padding: 10px 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.lore-table tr:hover td { background: var(--bg-hover); }

/* ── 图集 ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.gallery-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-hover) 50%, var(--bg-card) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 32px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.gallery-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.gallery-placeholder::after {
  content: '设计参考';
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
}
.gallery-caption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
}
.gallery-caption strong { color: var(--text-primary); display: block; margin-bottom: 2px; }

/* ── 访问说明框 ── */
.access-note {
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}
.access-note-title {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}
.access-note-body {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}
.access-note code {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 2px var(--space-xs);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: var(--text-caption);
  user-select: all;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px var(--space-md) var(--space-lg);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-caption);
  background: var(--bg-card);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.15), transparent);
  pointer-events: none;
}
.site-footer p {
  margin-bottom: 6px;
  line-height: 1.8;
}
.site-footer .footer-brand {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}
.site-footer .footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) 20px;
  font-size: 12px;
  color: var(--text-muted);
}
.site-footer .footer-info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-footer a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--gold);
}

/* ── 滚动渐入 ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 下载页 Hero ── */
.download-hero {
  text-align: center;
  padding: 64px 24px 40px;
}
.download-hero-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.download-hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* 版本信息前置横幅 */
.version-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 24px;
  margin-bottom: 24px;
}
.version-banner .vb-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.version-banner .vb-date {
  font-size: 12px;
  color: var(--text-muted);
}


/* ── 下载卡片网格 ── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 16px 0 40px;
}
.download-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.download-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.download-card:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}
.download-card.recommended {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 0 36px rgba(201, 169, 110, 0.08);
}
.download-card.recommended:hover {
  border-color: rgba(201, 169, 110, 0.6);
  box-shadow: 0 0 48px rgba(201, 169, 110, 0.16), var(--shadow-lg);
}
.download-card-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--bg-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.5px;
}
.download-card-icon {
  font-size: 44px;
  margin-bottom: 14px;
}
.download-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.download-card-size {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.download-card-features {
  list-style: none;
  margin: 0 0 28px;
  flex: 1;
}
.download-card-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
}
.download-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

/* ── 按钮体系 ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition-fast), transform 0.15s, box-shadow var(--transition-fast);
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--bg-deep);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, #e0c890 100%);
  box-shadow: 0 4px 20px var(--gold-glow);
  color: var(--bg-deep);
}
.btn-download {
  width: 100%;
  padding: var(--space-sm) 28px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: auto;
  border-radius: var(--radius-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}

/* ── 分区标题 ── */
.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

/* ── 安装步骤 ── */
.install-steps {
  margin: 0 0 24px;
}
.install-steps h3 {
  font-size: 17px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.install-steps ol {
  color: var(--text-secondary);
  margin: 0 0 0 24px;
  padding: 0;
}
.install-steps li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.install-steps li strong {
  color: var(--text-primary);
}
.install-steps code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px var(--space-xs);
  font-size: var(--text-caption);
  color: var(--tide);
}

/* ── 里程碑徽章 ── */
.milestone-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.milestone-badge.arch { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(99, 102, 241, 0.25); }
.milestone-badge.gameplay { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201, 169, 110, 0.25); }
.milestone-badge.perf { background: var(--tide-dim); color: var(--tide); border: 1px solid rgba(56, 189, 248, 0.25); }

/* ── 更新日志（下载页） ── */
.changelog {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
  transition: border-color var(--transition-smooth);
}
.changelog:hover {
  border-color: var(--border-hover);
}
.changelog-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.changelog-title::after {
  content: '▾';
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-smooth);
}
.changelog.collapsed .changelog-title::after {
  transform: rotate(-90deg);
}
.changelog.collapsed .changelog-item,
.changelog.collapsed .changelog-note,
.changelog.collapsed .changelog-subtitle {
  display: none;
}
.changelog-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: -12px 0 20px;
}
.changelog-item {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px var(--space-sm);
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth);
}
.changelog-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.changelog-item:last-child { margin-bottom: 0; }
.changelog-item-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  line-height: 1.4;
}
.changelog-item-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.changelog-item-body p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.changelog-note {
  margin-top: 20px;
  padding: 14px var(--space-sm);
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius-md);
}
.changelog-note-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.changelog-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.changelog-note li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.changelog-note li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── 常见问题 FAQ ── */
.faq-section {
  margin: 40px 0;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition-smooth);
}
.faq-item:hover {
  border-color: var(--border-hover);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 20px;
  cursor: pointer;
  user-select: none;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}
.faq-question:hover {
  background: var(--bg-hover);
}
.faq-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer {
  display: block;
}

/* ── SVG示意图 ── */
.svg-diagram {
  display: block;
  max-width: 100%;
  margin: 24px auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.svg-diagram text {
  fill: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
}
.svg-diagram .diagram-node {
  fill: var(--bg-hover);
  stroke: var(--border);
  stroke-width: 1;
}
.svg-diagram .diagram-node.highlight {
  fill: var(--gold-dim);
  stroke: rgba(201, 169, 110, 0.4);
}
.svg-diagram .diagram-line {
  stroke: var(--border);
  stroke-width: 1.5;
  fill: none;
}
.svg-diagram .diagram-text {
  fill: var(--text-secondary);
  font-size: 12px;
  text-anchor: middle;
}
.svg-diagram .diagram-text.gold {
  fill: var(--gold);
  font-weight: 600;
}

/* ── Hero 微光动画 ── */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}

/* ── 首页：关于作者引流卡片 ── */
.about-teaser {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-smooth);
}
.about-teaser:hover {
  border-color: var(--border-hover);
}
.about-teaser-inner {
  display: flex;
  gap: 32px;
  padding: 28px 32px;
  align-items: center;
}
.about-teaser-text {
  flex: 1;
  min-width: 0;
}
.about-teaser-text h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 8px;
}
.about-teaser-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.7;
}
.about-teaser-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.about-teaser-link:hover {
  color: var(--gold);
}
.about-teaser-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.teaser-stat {
  text-align: center;
  min-width: 56px;
}
.teaser-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.teaser-stat span {
  font-size: 12px;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .about-teaser-inner {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .about-teaser-stats {
    width: 100%;
    justify-content: space-around;
  }
}

/* ── 关于页：里程碑阶段摘要 ── */
.milestone-summary {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
}
.milestone-phase {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding: 16px 20px;
  background: var(--bg-card);
}
.milestone-phase .phase-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  min-width: 72px;
}
.milestone-phase .phase-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.milestone-phase .phase-desc {
  font-size: 13px;
  color: var(--text-muted);
  flex-basis: 100%;
  line-height: 1.6;
}

/* ── 世界观页：板块分隔 ── */
.world-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
  position: relative;
}
.world-section:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.world-section-label {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.world-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── 反馈页 ── */
.feedback-form { max-width:560px; margin:0 auto; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:13px; color:var(--text-secondary); margin-bottom:6px; font-weight:500; }
.form-group input,.form-group textarea,.form-group select { width:100%; padding:10px 14px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); color:var(--text-primary); font-size:var(--text-small); font-family:var(--font-sans); resize:vertical; }
.form-group textarea { min-height:120px; line-height:1.7; }
.form-group input:focus,.form-group textarea:focus { border-color:var(--accent); outline:none; }
.form-group .hint { font-size:11px; color:var(--text-muted); margin-top:4px; }
.btn-submit { display:block; width:100%; padding:12px 24px; background:var(--accent); color:#fff; border:none; border-radius:var(--radius); font-size:15px; font-weight:600; cursor:pointer; transition:all var(--transition-smooth); }
.btn-submit:hover { background:#4f46e5; transform:translateY(-1px); }
.btn-submit:disabled { opacity:0.5; cursor:not-allowed; }
.submit-result { padding:14px 18px; border-radius:var(--radius); margin-top:16px; font-size:14px; display:none; }
.submit-result.success { display:block; background:var(--green-dim); border:1px solid rgba(74,222,128,0.2); color:var(--green); }
.submit-result.error { display:block; background:rgba(239,68,68,0.1); border:1px solid rgba(239,68,68,0.2); color:var(--danger); }
.feedback-intro { text-align:center; margin-bottom:28px; color:var(--text-secondary); line-height:1.8; }
.feedback-channels { text-align:center; margin-top:32px; padding:20px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); }
.feedback-channels h3 { font-size:14px; color:var(--text-secondary); margin-bottom:8px; }
.feedback-channels p { font-size:13px; color:var(--text-muted); }

/* ── 响应式 ── */
@media (max-width: 640px) {
  .hero { padding: 48px 20px 40px; }
  .hero-title { font-size: 28px; letter-spacing: 2px; }
  .hero-tags { gap: 6px; }
  .hero-tag { font-size: 11px; padding: 3px 10px; }
  .hero-cta-btn { font-size: 15px; padding: 12px 32px; }
  .article-title { font-size: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .features-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .download-hero-title { font-size: 26px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { padding: 28px 20px 24px; }
  .changelog { padding: 20px 16px; }
  .changelog-item { flex-direction: column; gap: 8px; }
  .changelog-item-icon { width: auto; }
  .milestone-badge { display: block; margin: 4px 0 0; }
  .version-summary-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .timeline { padding-left: 28px; }
  .timeline-node { width: 24px; height: 24px; left: -24px; font-size: 9px; }
  .timeline::before { left: 10px; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
}
