/* ==========================================================================
   一起拼字 · 轻悦创作 —— 官方静态介绍页样式
   零外部依赖（无 CDN / 无外链字体），可直接放到任意静态目录下使用。
   配色沿用软件本体主题：主色 #14b8a6、底 #f8f9fa、文字 #343a40、描边 #e9ecef

   字号体系：html 的 font-size 就是"基准字号"，全站文字用 rem 表达 ——
   桌面 24px（用户定稿），平板 21px，手机 19px。想整体再大一档，
   只改下面媒体查询里的 html font-size 即可，其它全部等比跟着走。
   ========================================================================== */

:root {
  /* ===== 主色：薄荷青绿（2026-09-21 由靛蓝 #14b8a6 整套换成青绿，要"青春活力"不要古板）=====
     配色口径：--brand 是"面"（按钮底、图形、选中态），--brand-deep 是"字"（正文里的强调字、
     链接悬停、按钮 hover），--brand-soft 是"底"（图标底色、代码底、标签底）。
     deep 比 brand 深一档是为了保证白底上的小字对比度 ≥ 4.5:1（#14b8a6 直接当小字色偏浅）。 */
  --brand: #14b8a6;
  --brand-deep: #0d9488;
  --brand-soft: #e6fbf7;
  --brand-cyan: #22d3ee;      /* 渐变里的青蓝端（标题渐变、徽章渐变） */
  --ink: #212529;
  --text: #343a40;
  --muted: #6c757d;
  --line: #e9ecef;
  --bg: #f8f9fa;
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(33, 37, 41, .04), 0 4px 14px rgba(33, 37, 41, .05);
  --shadow-lg: 0 18px 50px rgba(33, 37, 41, .12);
  --shadow-brand: 0 6px 18px rgba(20, 184, 166, .28);
  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }

html {
  font-size: 24px;      /* ← 基准字号（桌面） */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -.01em; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 1px 6px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 900px; }

.ic { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }

/* ============================ 按钮 ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn small { font-weight: 500; opacity: .8; font-size: .72em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(20, 184, 166, .28); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: 0 10px 26px rgba(20, 184, 166, .34); }

.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #99f6e4; color: var(--brand-deep); }

.btn-lg { padding: 17px 30px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 11px 18px; font-size: .84rem; }
.btn-block { width: 100%; }

.btn-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: .8rem;
  padding: 12px 4px 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover { color: var(--brand); }

/* ============================ 顶栏 ============================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(233, 236, 239, .9);
  transition: box-shadow .2s ease, background .2s ease;
}
/* 页面一滚动就加一层更实的底 + 阴影，跟内容分层（脚本给 .topbar 加 .scrolled） */
.topbar.scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 6px 20px rgba(15, 60, 55, .07); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }
.brand img { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; font-size: 1rem; line-height: 1.15; }
.brand-text em { font-style: normal; font-size: .58rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--muted); font-size: .9rem; font-weight: 500; padding: 6px 2px; transition: color .16s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--brand-deep); }
.nav a:hover::after { transform: scaleX(1); }
/* 当前所在板块：青绿高亮 + 下划线常驻（用户要求：滚到哪就提示到哪）——由 scrollSpy 切换 .active */
.nav a.active { color: var(--brand-deep); font-weight: 700; }
.nav a.active::after { transform: scaleX(1); }

/* ============================ 首屏 ============================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 82% -6%, rgba(20, 184, 166, .16), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f0fdfa 58%, var(--bg) 100%);
}
/* 呼应编辑器里的「网格线」 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(20, 184, 166, .055) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(to bottom, rgba(20, 184, 166, .055) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 48px;
  align-items: center;
  padding: 64px 24px 78px;
}
.pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: 2.875rem; margin: 22px 0 0; }
.grad {
  background: linear-gradient(96deg, var(--brand) 8%, #5eead4 58%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.0625rem; color: var(--muted); margin: 20px 0 0; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.ticks .ic { color: #0d9488; width: 1em; height: 1em; }

/* ================= 首屏主视觉：真 DOM 拼的"应用窗口 + 手机预览"（不用截图） =================
   为什么不用截图：整窗截图缩到 ~560px 宽时字全糊了，反而显得廉价（用户："显得特别丑"）。
   这里用真 DOM 拼一个画面 —— 任何分辨率都清晰、配色自动跟着主题变量走，还顺手把产品两个招牌特性
   画了进去（**看得见的网格线**、右侧**手机预览**小屏）。整块可点击 → 打开编辑器真实界面大图。 */
.hero-visual { position: relative; padding: 4px 2px 34px; }
.hv-glow {
  position: absolute;
  inset: 2% -8% 0 -8%;
  pointer-events: none;
  background:
    radial-gradient(560px 320px at 64% 24%, rgba(20, 184, 166, .30), transparent 70%),
    radial-gradient(430px 260px at 12% 88%, rgba(34, 211, 238, .24), transparent 72%);
}
.hv-window {
  position: relative;
  display: block;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(13, 78, 70, .16);
  overflow: hidden;
  transform: rotate(-.7deg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hv-window:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 30px 74px rgba(13, 78, 70, .2); }
.hv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: linear-gradient(180deg, #f8fffd, #effbf8);
  border-bottom: 1px solid var(--line);
}
.hv-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.hv-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5e6e3; }
.hv-dots i:first-child { background: #8fe3d6; }
.hv-dots i:nth-child(2) { background: #b8ede4; }
.hv-tab {
  font-size: .6rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 9px;
  white-space: nowrap;
}
.hv-tab.is-on { color: #fff; background: var(--brand); border-color: transparent; }
.hv-mode { margin-left: auto; font-size: .58rem; font-weight: 600; color: var(--brand-deep); white-space: nowrap; }
.hv-body { display: grid; grid-template-columns: minmax(0, 116px) minmax(0, 1fr); min-height: 206px; }
.hv-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 11px;
  background: #fbfefd;
  border-right: 1px solid var(--line);
}
.hv-side b { font-size: .56rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); margin-bottom: 2px; }
.hv-row { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #e4f1ef, #f3f9f8); }
.hv-row.is-on { background: linear-gradient(90deg, var(--brand), #5eead4); }
.hv-row.short { width: 64%; }
.hv-paper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  /* 网格线：与编辑器里那条"行距网格"一个意思（产品特性，不是装饰） */
  background-image: repeating-linear-gradient(to bottom, transparent 0 21px, rgba(20, 184, 166, .16) 21px 22px);
}
.hv-line { display: block; height: 9px; width: var(--w, 90%); border-radius: 5px; background: linear-gradient(90deg, #cfe8e4, #eef8f6); }
.hv-line.first { margin-left: 7%; }      /* 段首缩进 2 字符的观感 */
.hv-blank { display: block; height: 9px; } /* 空一行：产品里"段间空一行"就是这个位置 */
.hv-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: #fcfefe;
  font-size: .6rem;
  color: var(--muted);
}
.hv-status b { color: var(--brand-deep); font-weight: 700; }
.hv-saved { margin-left: auto; color: var(--brand-deep); font-weight: 600; }
/* 右侧手机预览小屏（呼应「手机预览 / 排版预览」） */
.hv-phone {
  position: absolute;
  right: -12px;
  bottom: -14px;
  width: 94px;
  height: 164px;
  padding: 10px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 18px 40px rgba(13, 78, 70, .2);
  animation: hvFloat 6s ease-in-out infinite;
}
.hv-notch { display: block; width: 32px; height: 5px; border-radius: 3px; background: #e6f1ef; margin: 0 auto 9px; }
.hv-pbody { display: flex; flex-direction: column; gap: 8px; }
.hv-pbody i { display: block; height: 6px; border-radius: 3px; background: #e9f4f2; }
.hv-pbody i.s { width: 56%; }
@keyframes hvFloat { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-7px); } }
/* 左下悬浮特性标签 */
.hv-chips { position: absolute; left: -14px; bottom: 2px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hv-chips li {
  font-size: .6rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(13, 78, 70, .12);
}
.shot img {
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .8);
  outline: 1px solid rgba(33, 37, 41, .07);
}
/* 首屏原来用的是 `.shot-frame` 包一张整窗截图，已换成上面的 .hero-visual，那两条规则一并删掉。 */

/* ============================ 通用区块 ============================ */
.section { padding: 80px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { font-size: 1.875rem; text-align: center; }
.sec-sub { text-align: center; color: var(--muted); margin: 14px auto 44px; max-width: 40em; }

/* ============================ 功能卡片 ============================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(33, 37, 41, .09); border-color: #ccfbf1; }
.card h3 { font-size: 1.0625rem; margin: 16px 0 10px; }
.card p { margin: 0; font-size: .9rem; color: var(--muted); }
.card b { color: var(--brand-deep); }
.ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.1rem;
}
.ci.lg { width: 58px; height: 58px; font-size: 1.4rem; border-radius: 16px; }

/* 音乐：整行高亮卡（用户点的最大亮点） */
.card.spotlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 34px;
  align-items: center;
  padding: 34px 34px;
  border-color: #99f6e4;
  background:
    radial-gradient(720px 260px at 96% 0%, rgba(20, 184, 166, .14), transparent 70%),
    radial-gradient(520px 220px at 4% 100%, rgba(65, 199, 216, .13), transparent 70%),
    #fff;
  box-shadow: 0 16px 40px rgba(20, 184, 166, .12);
}
.card.spotlight h3 { font-size: 1.5rem; margin: 12px 0 0; }
.card.spotlight p { font-size: .94rem; }
.card.spotlight .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(96deg, var(--brand), #22d3ee);
  border-radius: 999px;
  padding: 6px 14px;
}
.platform-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platform-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.platform-list .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-netease { background: #e60026; }
.dot-qq { background: #22c55e; }
.dot-kugou { background: #1e88ff; }
/* 高亮卡右侧：真实音乐面板截图 */
.spotlight-shot { margin: 0; cursor: zoom-in; }
.spotlight-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.spotlight-shot:hover img { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(33, 37, 41, .12); }

/* ============================ 界面预览（标题居中 + 按钮在标题下 + 自动轮播）============================ */
.shots-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  text-align: center;
}
.shots-head .sec-title { text-align: center; }
.shots-head .sec-sub { text-align: center; margin: 0; max-width: 34em; }
.shots-nav { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.shots-auto {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.shots-auto.paused { color: var(--muted); background: #f1f3f5; }
.shots-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shots-nav button:hover:not(:disabled) { border-color: #99f6e4; color: var(--brand-deep); }
.shots-nav button:disabled { opacity: .35; cursor: default; }

.shots {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cdd3e0 transparent;
}
.shots::-webkit-scrollbar { height: 9px; }
.shots::-webkit-scrollbar-track { background: transparent; }
.shots::-webkit-scrollbar-thumb { background: #cdd3e0; border-radius: 999px; }
.shots::-webkit-scrollbar-thumb:hover { background: #b3bccd; }

/* 所有预览图等宽等高（这里锁死比例，绝不出现大小不一）。
   比例取新截图的 3440×1440（21:9）；object-fit 用 contain 而不是 cover ——
   cover 会把 21:9 的整窗截图左右各裁掉一块，截图内容白截了。
   contain 在任何比例下都完整显示，比例不符时只在两侧/上下留软件同色（#f8f9fa）的底色。 */
.shots .shot {
  flex: 0 0 min(88%, 980px);
  scroll-snap-align: center;
  margin: 0;
  cursor: zoom-in;
  user-select: none;
}
.shots .shot img {
  width: 100%;
  aspect-ratio: 3440 / 1440;
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-user-drag: none;
}
.shots .shot:hover img { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(33, 37, 41, .12); }
.shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.shot figcaption b { color: var(--ink); }
.shots-hint { text-align: center; font-size: .78rem; color: #8a9199; margin: 6px 0 0; }
.shots-hint b { color: var(--brand-deep); }

/* ============================ 主题与网格线 ============================ */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.theme-shot { margin: 0; cursor: zoom-in; user-select: none; }
.theme-shot img {
  width: 100%;
  aspect-ratio: 3440 / 1440;   /* 同 .shots：21:9 + contain，换新主题截图后不会被裁 */
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.theme-shot:hover img { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(33, 37, 41, .12); }
.theme-shot figcaption { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* 「网格线局部放大」（.grid-zoom）的样式已随那张图一起删掉（用户嫌它和 21:9 整窗截图摆在一起太丑）。
   要放回来的话：把 官网图片\_旧素材备份\_08-grid-zoom.webp 拷回 site/assets/，
   在 .theme-grid 后面恢复 <figure class="grid-zoom"> 并把这 5 条规则加回来。 */
@media (max-width: 1024px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .theme-grid { grid-template-columns: 1fr; } }

/* ============================ 更新日志（全部版本 · 滚动列表 · 点开展开）============================
   结构：.cl-bar（标题/计数/全部展开）+ .cl-list（自己的滚动条，一行一个版本）
        每行 .cl-row > button.cl-head（版本徽章 + 日期 + 一行摘要 + 标签计数 + 箭头）+ .cl-body（展开内容）
   一行一个版本 + 容器内滚动，是用户明确要的形态（22 个版本全放出来，页面本身不被撑长）。 */
.cl {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cl-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #f8fffd, #f0fdfa);
  border-bottom: 1px solid var(--line);
}
.cl-bar-title { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--ink); }
.cl-bar-title .ic { width: 1em; height: 1em; color: var(--brand); }
.cl-bar-meta { font-size: .74rem; color: var(--muted); }
.cl-all {
  margin-left: auto;
  font: inherit;
  font-size: .74rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.cl-all:hover { background: var(--brand); border-color: transparent; color: #fff; }
.cl-list {
  max-height: 392px;                 /* 22 个版本一行一个，超出就自己滚（用户要求：用滚动条上下看） */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b7ded8 transparent;
}
.cl-list:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.cl-list::-webkit-scrollbar { width: 10px; }
.cl-list::-webkit-scrollbar-track { background: transparent; }
.cl-list::-webkit-scrollbar-thumb { background: #cfe7e3; border: 3px solid #fff; border-radius: 999px; }
.cl-list::-webkit-scrollbar-thumb:hover { background: #a9d8d1; }

.cl-row { border-bottom: 1px solid var(--line); }
.cl-row:last-child { border-bottom: none; }
.cl-row.is-latest { background: linear-gradient(90deg, rgba(20, 184, 166, .05), transparent 60%); }
.cl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 12px 16px 12px 18px;
  cursor: pointer;
  transition: background .14s ease;
}
.cl-head:hover { background: #f7fdfc; }
.cl-head:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.cl-v {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 7px;
  padding: 4px 9px;
  font-variant-numeric: tabular-nums;
}
.cl-row.is-latest .cl-v { background: linear-gradient(120deg, var(--brand), var(--brand-cyan)); }
.cl-date { flex-shrink: 0; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
/* version.json 兜底那行没有日期，就标「刚发布」（发版当天必然是新的） */
.cl-date.is-new { color: var(--brand-deep); font-weight: 600; }
.cl-sum { flex: 1; min-width: 0; font-size: .84rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tags { flex-shrink: 0; font-size: .68rem; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.cl-caret { flex-shrink: 0; width: 1em; height: 1em; color: var(--muted); transition: transform .18s ease; }
.cl-row.open .cl-caret { transform: rotate(180deg); }
.cl-row.open .cl-head { background: #f4fdfb; }
.cl-body { display: none; padding: 2px 20px 16px 20px; border-top: 1px dashed var(--line); background: #fcfefd; }
.cl-row.open .cl-body { display: block; }
.cl-body h4 {
  font-size: .82rem;
  margin: 14px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  color: var(--ink);
}
.cl-body ul { margin: 0; padding-left: 1.15em; }
.cl-body li { font-size: .8rem; line-height: 1.62; color: var(--muted); margin-bottom: 6px; }
.cl-body li ul { margin-top: 5px; }
.cl-body li ul li { font-size: .76rem; }
.cl-body strong { color: var(--ink); }
.cl-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 1px 6px;
  border-radius: 6px;
}
.cl-body .cl-note {
  font-size: .76rem;
  line-height: 1.6;
  color: var(--muted);
  background: #f6fbfa;
  border-left: 3px solid #99f6e4;
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  margin: 10px 0 0;
}
.cl-empty { font-size: .78rem; color: var(--muted); padding: 2px 0 0; }
.hint { font-size: .78rem; color: #8a9199; margin: 16px 0 0; }

/* ============================ 下载 ============================ */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;            /* 网格项默认 min-width:auto，会被内部 nowrap 内容顶宽、撑出横向滚动条 */
}
.dl-card.primary { border-color: #99f6e4; box-shadow: 0 16px 40px rgba(20, 184, 166, .12); }
.dl-head { display: flex; gap: 16px; align-items: flex-start; }
.dl-head h3 { font-size: 1.2rem; }
.dl-head .meta { margin: 5px 0 0; font-size: .76rem; color: var(--muted); }
.dl-list { list-style: none; margin: 20px 0 24px; padding: 0; }
.dl-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 9px; }
.dl-list .ic { color: #0d9488; width: 1em; height: 1em; margin-top: .35em; }
.dl-card .btn-block { margin-top: auto; }

.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 38px; }
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================ FAQ ============================ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
details[open] { border-color: #ccfbf1; }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .94rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; font-size: .88rem; color: var(--muted); }

/* ============================ 页脚 ============================ */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 38px 0 28px; margin-top: 10px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.f-brand { display: flex; align-items: center; gap: 12px; }
.f-brand img { border-radius: 9px; }
.f-brand strong { display: block; font-size: .94rem; color: var(--ink); }
.f-brand span { font-size: .72rem; color: var(--muted); }
.f-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.f-nav a { font-size: .8rem; color: var(--muted); }
.f-nav a:hover { color: var(--brand); }
.f-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  color: #8a9199;
}

/* ============================ 大图 ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 20, 24, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 22px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1500px, 96vw); }
.lightbox img { border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #e9ecef; font-size: .8rem; text-align: center; margin-top: 16px; }
.lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .26); }

/* ============================ 进入动画 ============================ */
.card, .shot, .dl-card, .steps .step {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .46s ease, transform .46s ease;
}
.card.in, .shot.in, .dl-card.in, .steps .step.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shots { scroll-behavior: auto; }
  .card, .shot, .dl-card, .steps .step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hv-phone { animation: none !important; }   /* 首屏手机小屏不再浮动 */
}

/* ============================ 自适应 ============================ */
@media (max-width: 1024px) {
  html { font-size: 21px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 50px 24px 60px; }
  .hero-visual { order: 2; padding-bottom: 40px; }
  .nav { display: none; }
  .card.spotlight { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .shots .shot { flex: 0 0 92%; }
  .shots, .dl-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
  .shots-head { flex-direction: column; align-items: center; }   /* 标题居中后，窄屏也居中排 */
}
@media (max-width: 560px) {
  html { font-size: 19px; }
  .hero h1 { font-size: 2rem; }
  /* 手机窄屏放不下"下载一起拼字 Setup（.exe）"这种长按钮文案：
     .btn 默认 white-space:nowrap，其 min-content 会把 .dl-card 顶到 400px 宽，
     在 414 宽的视口里撑出 26px 横向滚动条（实测出来的）。这里允许折行。 */
  .btn { white-space: normal; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
  .steps { flex-direction: column; }
  .step { border-radius: var(--radius); justify-content: flex-start; }
  .f-bottom { justify-content: flex-start; }
}

/* ==========================================================================
   2026-09-29 · 明暗双主题
   --------------------------------------------------------------------------
   浅色（白天）= 本文件上半部分，即原有样式，**一字未改**；
   深色（墨夜）= 下面 [data-theme="dark"] 作用域里的规则 + :root[data-theme="dark"] 的 token。

   主题怎么定：<head> 里的行内脚本在首屏绘制前决定，顺序是
     ① localStorage('yqp-theme')（用户手动选过）
     ② 系统偏好 prefers-color-scheme
   然后写到 <html data-theme="dark|light">；顶栏的太阳/月亮按钮负责切换并记忆。
   JS 不可用时不写属性 ⇒ 自动落到浅色（原有观感），不会白屏、不会缺内容。

   回退方式：删掉本段到文件末尾即可，浅色主题完全不受影响。
   ========================================================================== */

/* ===== 深色 token：只覆盖"随主题变"的颜色与阴影；字体/流式排版由各自主题的规则决定 ===== */
:root[data-theme="dark"] {
  --brand: #2dd4bf;
  --brand-deep: #5eead4;
  --brand-soft: rgba(45, 212, 191, .13);
  --brand-cyan: #67e8f9;
  --ink: #f3f5f9;
  --text: #dde2ea;
  --muted: #9aa4b2;
  --line: rgba(255, 255, 255, .10);
  --bg: #0e1116;
  --card: rgba(255, 255, 255, .045);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .28);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
  --shadow-brand: 0 10px 30px rgba(45, 212, 191, .22);
  --radius: 16px;
  --radius-lg: 24px;
}

/* ===== 主题切换按钮（两种主题共用；颜色全部走 token，自动适配） ===== */
.theme-toggle {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s cubic-bezier(.2,.7,.1,1), color .25s cubic-bezier(.2,.7,.1,1), background .25s cubic-bezier(.2,.7,.1,1), transform .25s cubic-bezier(.2,.7,.1,1);
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.theme-toggle svg { width: 19px; height: 19px; display: block; }
.theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
@media (max-width: 620px) { .theme-toggle { width: 36px; height: 36px; } }

/* ==================== 深色：来自 literary-block.css ==================== */
/* ==========================================================================
   2026-09-29 · 视觉升级「墨夜书房」
   --------------------------------------------------------------------------
   在**结构、类名、内容、文案一律不动**的前提下，把气质从"浅色清爽"换成
   "近黑纸面 + 衬线标题 + 玻璃卡片 + 极光渐晕"。

   为什么这么改：
   · 保留品牌青绿：只按深底重新分配明暗（面提亮、字再提亮），小字对比度实测
     --brand-deep #5eead4 / #0e1116 ≈ 11:1；正文 --text #dde2ea ≈ 14:1。
   · 标题改衬线（--serif）：中文写作工具最省力的"纸感"来源；正文仍用无衬线
     （--sans）保证长段落可读 —— "展示层衬线 + 阅读层无衬线"双轨。
   · 全站改流式排版（clamp）：原来 4 档固定字号 + 6 个媒体查询，现在宽度连续变化。
   · 卡片改玻璃质感（半透明 + 1px 亮边 + blur），与软件本体的暗色主题呼应。
   · 原有 .reveal 入场动画、.topbar.scrolled 开关、截图轮播等机制**完全不动**。

   回退方式：删掉本段（从这行注释到文件末尾）并把 :root 里那几个颜色变量还原。
   ========================================================================== */
/* ---------- 1) 底座：暗色纸面 + 极光渐晕（三层径向渐变，固定不随滚动） ---------- */
[data-theme="dark"] body{
  background-color: var(--bg);
  background-image:
    radial-gradient(58% 46% at 84% 2%, rgba(45, 212, 191, .17), transparent 62%),
    radial-gradient(46% 38% at 4% 24%, rgba(103, 232, 249, .10), transparent 64%),
    radial-gradient(80% 50% at 50% 106%, rgba(255, 255, 255, .05), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* 选区与滚动条也入戏 */
[data-theme="dark"] ::selection{ background: rgba(45, 212, 191, .28); color: #fff; }
[data-theme="dark"] ::-webkit-scrollbar{ width: 10px; height: 10px; }
[data-theme="dark"] ::-webkit-scrollbar-track{ background: transparent; }
[data-theme="dark"] ::-webkit-scrollbar-thumb{ background: rgba(255, 255, 255, .14); border-radius: 999px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover{ background: rgba(45, 212, 191, .45); }
/* ---------- 2) 排版：衬线标题 + 流式字号 + 章节小标 ---------- */
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
}
[data-theme="dark"] h1{ line-height: 1.16; letter-spacing: .005em; }
[data-theme="dark"] h2{ line-height: 1.22; }
[data-theme="dark"] h3{ line-height: 1.35; letter-spacing: .012em; }
[data-theme="dark"] .hero h1{ font-size: clamp(2.1rem, 5.4vw, 3.5rem); margin: 24px 0 0; }
[data-theme="dark"] .section h2, [data-theme="dark"] #changelog h2{ font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
[data-theme="dark"] .card h3{ font-size: 1.0625rem; font-weight: 600; }
[data-theme="dark"] .lead{ font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.75; color: var(--muted); max-width: 32em; }
/* 章节小标：纯 CSS 生成（按 section 的 id 决定文字），不动 HTML */
[data-theme="dark"] #features > .wrap > h2::before, [data-theme="dark"] #shots > .wrap > h2::before, [data-theme="dark"] #themes > .wrap > h2::before, [data-theme="dark"] #changelog > .wrap > h2::before, [data-theme="dark"] #download > .wrap > h2::before, [data-theme="dark"] #faq > .wrap > h2::before, [data-theme="dark"] #features .sec-title::before, [data-theme="dark"] #shots .sec-title::before, [data-theme="dark"] #themes .sec-title::before, [data-theme="dark"] #changelog .sec-title::before, [data-theme="dark"] #download .sec-title::before, [data-theme="dark"] #faq .sec-title::before{
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--brand-deep);
  opacity: .9;
  margin-bottom: 14px;
}
[data-theme="dark"] #features h2::before, [data-theme="dark"] #features .sec-title::before{ content: "—— 功能"; }
[data-theme="dark"] #shots h2::before, [data-theme="dark"] #shots .sec-title::before{ content: "—— 真实界面"; }
[data-theme="dark"] #themes h2::before, [data-theme="dark"] #themes .sec-title::before{ content: "—— 主题与网格"; }
[data-theme="dark"] #changelog h2::before, [data-theme="dark"] #changelog .sec-title::before{ content: "—— 更新日志"; }
[data-theme="dark"] #download h2::before, [data-theme="dark"] #download .sec-title::before{ content: "—— 下载"; }
[data-theme="dark"] #faq h2::before, [data-theme="dark"] #faq .sec-title::before{ content: "—— 常见问题"; }
/* ---------- 3) 顶栏：未滚动时融进纸面；滚动后收成"悬浮玻璃胶囊" ---------- */
[data-theme="dark"] .topbar{
  background: transparent;
  border-bottom-color: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), width .35s var(--ease);
}
[data-theme="dark"] .topbar.scrolled{
  width: calc(100% - 32px);
  max-width: calc(var(--wrap) + 48px);
  margin: 10px auto 0;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(16, 20, 26, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}
[data-theme="dark"] .topbar.scrolled .topbar-inner{ height: 64px; }
[data-theme="dark"] .nav a{ color: var(--muted); }
[data-theme="dark"] .nav a:hover, [data-theme="dark"] .nav a.active{ color: var(--brand-deep); }
/* ---------- 4) 按钮：主按钮青绿渐变 + 深色字；次按钮玻璃描边 ---------- */
[data-theme="dark"] .btn{
  font-family: var(--sans);
  font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
[data-theme="dark"] .btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-cyan));
  color: #05221f;
  border: 0;
  box-shadow: var(--shadow-brand);
}
[data-theme="dark"] .btn-primary:hover{
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand));
  color: #05221f;
  box-shadow: 0 14px 36px rgba(45, 212, 191, .3);
}
[data-theme="dark"] .btn-primary small{ opacity: .72; }
[data-theme="dark"] .btn-ghost{
  background: var(--glass-hi);
  color: var(--ink);
  border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
[data-theme="dark"] .btn-ghost:hover{ background: rgba(255, 255, 255, .11); border-color: rgba(45, 212, 191, .55); color: var(--brand-deep); }
[data-theme="dark"] .btn-link{ color: var(--brand-deep); }
/* ---------- 5) 卡片：玻璃质感 + 悬停抬升 + 青绿描边 ---------- */
[data-theme="dark"] .card, [data-theme="dark"] .dl-card, [data-theme="dark"] .step, [data-theme="dark"] .theme-shot img, [data-theme="dark"] .shot img{
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .card{ transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
[data-theme="dark"] .card:hover{
  transform: translateY(-4px);
  background: var(--glass-hi);
  border-color: rgba(45, 212, 191, .42);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .5), 0 0 0 1px rgba(45, 212, 191, .12);
}
[data-theme="dark"] .card b, [data-theme="dark"] .card strong{ color: var(--brand-deep); }
[data-theme="dark"] .card p{ color: var(--muted); }
[data-theme="dark"] .badge, [data-theme="dark"] .pill{
  background: var(--brand-soft);
  border: 1px solid rgba(45, 212, 191, .28);
  color: var(--brand-deep);
}
/* ---------- 6) 区块节奏：统一流式留白；.section-alt 改成"更暗一档 + 发丝线" ---------- */
[data-theme="dark"] .section{ padding: clamp(72px, 8.4vw, 128px) 0; }
[data-theme="dark"] .section-alt{
  background: rgba(0, 0, 0, .28);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .sec-sub, [data-theme="dark"] .shots-hint{ color: var(--muted); }
/* ---------- 7) 首屏：标题微渐变 + 舞台更沉 ---------- */
[data-theme="dark"] .hero{ position: relative; }
[data-theme="dark"] .hero h1{
  background: linear-gradient(178deg, #ffffff 8%, #d6ece8 62%, #a9d9d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 30px 90px rgba(45, 212, 191, .12);
}
[data-theme="dark"] .hero::after{ opacity: .5; }
[data-theme="dark"] .hero-visual img, [data-theme="dark"] .hero-visual .shot img{ box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px var(--edge); }
/* ---------- 8) 截图与主题图：统一圆角/亮边/深阴影；轮播条同步换肤 ---------- */
[data-theme="dark"] .shot img, [data-theme="dark"] .theme-shot img{ transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
[data-theme="dark"] .shot:hover img, [data-theme="dark"] .theme-shot:hover img{ transform: translateY(-4px); border-color: rgba(45, 212, 191, .4); box-shadow: 0 26px 60px rgba(0, 0, 0, .55); }
[data-theme="dark"] .shot figcaption, [data-theme="dark"] .theme-shot figcaption{ color: var(--muted); }
[data-theme="dark"] .shot figcaption b{ color: var(--ink); }
[data-theme="dark"] .shots::-webkit-scrollbar-thumb{ background: rgba(255, 255, 255, .16); }
[data-theme="dark"] .shots::-webkit-scrollbar-thumb:hover{ background: rgba(45, 212, 191, .45); }
[data-theme="dark"] .shots-nav button{
  background: var(--glass-hi);
  border: 1px solid var(--edge);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
[data-theme="dark"] .shots-nav button:hover:not(:disabled){ border-color: rgba(45, 212, 191, .55); color: var(--brand-deep); background: rgba(255, 255, 255, .11); }
[data-theme="dark"] .shots-auto{ background: var(--glass-hi); border: 1px solid var(--edge); color: var(--muted); }
[data-theme="dark"] .shots-auto.paused{ background: rgba(255, 255, 255, .05); color: var(--muted); }
/* ---------- 9) 更新日志 / FAQ / 页脚 / 代码 ---------- */
[data-theme="dark"] .cl-list, [data-theme="dark"] .cl-item, [data-theme="dark"] .cl-body{ background: transparent; }
[data-theme="dark"] .cl-item{ border-color: var(--line); }
[data-theme="dark"] .cl-list::-webkit-scrollbar-thumb{ background: rgba(255, 255, 255, .14); }
[data-theme="dark"] details, [data-theme="dark"] summary{ color: var(--ink); }
[data-theme="dark"] details > div, [data-theme="dark"] details p{ color: var(--muted); }
[data-theme="dark"] .footer{ border-top: 1px solid var(--line); color: var(--muted); }
[data-theme="dark"] .f-nav a, [data-theme="dark"] .footer a{ color: var(--muted); }
[data-theme="dark"] .f-nav a:hover, [data-theme="dark"] .footer a:hover{ color: var(--brand-deep); }
[data-theme="dark"] code, [data-theme="dark"] pre, [data-theme="dark"] kbd{ background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); color: var(--brand-deep); }
/* ---------- 10) 入场：首屏一次性淡入（只在"不要求减少动效"时生效） ---------- */
@media (prefers-reduced-motion: no-preference){[data-theme="dark"] .hero-inner > *, [data-theme="dark"] .hero-visual{ animation: yqpRise .8s var(--ease) both; }
[data-theme="dark"] .hero-visual{ animation-delay: .12s; }
@keyframes yqpRise{
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }

}
/* ---------- 11) 窄屏微调（原媒体查询继续生效，这里只补新加的东西） ---------- */
@media (max-width: 860px){[data-theme="dark"] .topbar.scrolled{ width: calc(100% - 20px); margin-top: 8px; }
[data-theme="dark"] .section{ padding: 64px 0; }

}
@media (max-width: 560px){[data-theme="dark"] .hero h1{ font-size: clamp(1.8rem, 8.4vw, 2.4rem); }
[data-theme="dark"] .topbar.scrolled .topbar-inner{ height: 58px; }

}


/* ==================== 深色：来自 literary-fix.css ==================== */
/* ---------- 12) 首屏改暗：覆盖原有的浅色渐变与网格线颜色 ---------- */
[data-theme="dark"] .hero{
  background:
    radial-gradient(1100px 460px at 82% -6%, rgba(45, 212, 191, .20), transparent 62%),
    linear-gradient(180deg, rgba(14, 17, 22, .30) 0%, rgba(16, 20, 26, .88) 58%, var(--bg) 100%);
}
/* 呼应编辑器「网格线」的底纹：深底上改成青绿细线（更暗、更含蓄） */
[data-theme="dark"] .hero::after{
  background-image:
    repeating-linear-gradient(to right, rgba(45, 212, 191, .075) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(to bottom, rgba(45, 212, 191, .075) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 76%);
}
[data-theme="dark"] /* ---------- 13) 健壮性：禁用脚本时，入场元素不能永远隐形 ----------
   原设计是 `.card, [data-theme="dark"] .shot, [data-theme="dark"] .dl-card, [data-theme="dark"] .steps .step{ opacity:0 }
[data-theme="dark"] ` + JS 滚动加 `.in`；
   若 JS 未执行（禁用脚本 / 加载失败 / 爬虫渲染），这些内容会整块看不见。
   这里用 `scripting: none` 兜底（支持的浏览器直接生效，不支持的无副作用）。 */
@media (scripting: none){
  .card, .shot, .dl-card, .steps .step { opacity: 1 !important; transform: none !important; }
}


/* ==================== 深色：来自 literary-fix2.css ==================== */
/* ---------- 14) 精度补丁（2026-09-29 二次微调） ----------
   ① 首屏 h1 在 1440 下会折成 4 行、出现孤字（"的""端"）→ 收小一档 + 让浏览器均衡折行。
   ② 原样式里 `.card.spotlight` / `.card .badge` 这类"双类选择器"优先级高于我前面的单类覆盖，
      会留下白色方块（实测"核心亮点"徽章后面一整块白）→ 这里按同等或更高优先级精确覆盖。
      ⚠️ 只针对"区块里的卡片/徽章"，**不动手机模型内部的白底**（那些是模拟软件浅色界面，必须白）。 */
[data-theme="dark"] .hero h1{
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.2;
  text-wrap: balance;
}
[data-theme="dark"] .section .card, [data-theme="dark"] .section .dl-card, [data-theme="dark"] .section .step, [data-theme="dark"] .card.spotlight, [data-theme="dark"] .card.spotlight:hover, [data-theme="dark"] .card .badge, [data-theme="dark"] .card.spotlight .badge, [data-theme="dark"] .dl-card .badge, [data-theme="dark"] .steps .step .badge{
  background: var(--card) !important;
  border-color: var(--edge) !important;
}
[data-theme="dark"] .card.spotlight{ border-radius: var(--radius-lg) !important; }
[data-theme="dark"] .card .badge, [data-theme="dark"] .card.spotlight .badge, [data-theme="dark"] .dl-card .badge, [data-theme="dark"] .steps .step .badge{
  background: var(--brand-soft) !important;
  border: 1px solid rgba(45, 212, 191, .28) !important;
  color: var(--brand-deep) !important;
}
[data-theme="dark"] .section .card:hover, [data-theme="dark"] .card.spotlight:hover{ background: var(--glass-hi) !important; border-color: rgba(45, 212, 191, .42) !important; }
/* 区块里的次要说明文字统一成暗色主题下的可读灰（原来是 #6c757d，深底上偏暗） */
[data-theme="dark"] .section .sec-sub, [data-theme="dark"] .section .card p, [data-theme="dark"] .section .shot figcaption, [data-theme="dark"] .section .shots-hint{ color: var(--muted) !important; }


/* ==================== 两种主题共用：布局 / 移动端修正 ==================== */
/* ---------- 15) 移动端顶栏修正（2026-09-29 实测 390px 下挤坏） ----------
   现象：390px 宽时 logo 文字折成两行、下载按钮被压成"下载 Windows / 版"。
   原因：顶栏是 flex，按钮默认可被压缩、品牌文字可换行。这里给它们"不可压 + 不换行"。 */
@media (max-width: 620px){.topbar-inner{ gap: 10px; justify-content: space-between; }
.brand, .brand-text, .brand-text b, .brand-text em{ white-space: nowrap; }
.brand-text{ font-size: .88rem; line-height: 1.15; }
.topbar .nav{ display: none; }
/* 窄屏只留品牌 + 主 CTA（原样式若已隐藏也无副作用） */
.topbar .btn, .topbar a.btn{
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 11px 16px;
    font-size: .8rem;
    border-radius: 999px;
  }
.topbar .btn small{ display: none; }
/* 窄屏不显示"约 101 MB"这类小字，避免撑宽 */
.hero h1{ font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
.section .card, .section .dl-card{ border-radius: var(--radius); }

}

