/* ------------------------------------------------------------------ */
  /*  iOS 26 "Liquid Glass" design tokens（与启动器 index.css 一致）      */
  /*  默认深色（启动器默认背景预设「午夜」），跟随系统偏好切到浅色。        */
  /* ------------------------------------------------------------------ */
  :root {
    color-scheme: dark;

    --text-primary: rgba(255, 255, 255, 0.92);
    --text-secondary: rgba(255, 255, 255, 0.62);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    --glass-bg: rgba(28, 28, 36, 0.5);
    --glass-bg-strong: rgba(32, 32, 42, 0.62);
    --glass-bg-soft: rgba(24, 24, 32, 0.34);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);

    --fill-primary: #0a84ff;
    --fill-primary-hover: #0a78f0;
    --fill-secondary: rgba(255, 255, 255, 0.08);
    --fill-secondary-hover: rgba(255, 255, 255, 0.14);
    --fill-danger: #ff453a;
    --fill-success: #30d158;

    --chip-bg: rgba(255, 255, 255, 0.08);
    --divider: rgba(255, 255, 255, 0.1);
    --scrim: rgba(0, 0, 0, 0.55);

    /* 午夜预设背景（启动器默认） */
    --bg-1: #04060f;
    --bg-2: #0b1330;
    --bg-3: #10101c;
    --blob-opacity: 0.4;
    /* 普通档实色表面（与启动器 [data-skin='glass'] 非磨砂档一致） */
    --surface-flat: #1d1d26;
  }

  /* 手动切到浅色（data-theme 由 theme.js 写入 <html>） */
  [data-theme='light'] {
    color-scheme: light;

    --text-primary: rgba(0, 0, 0, 0.9);
    --text-secondary: rgba(0, 0, 0, 0.58);
    --text-tertiary: rgba(0, 0, 0, 0.38);

    --glass-bg: rgba(255, 255, 255, 0.52);
    --glass-bg-strong: rgba(255, 255, 255, 0.64);
    --glass-bg-soft: rgba(255, 255, 255, 0.34);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-highlight: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.35);

    --fill-secondary: rgba(0, 0, 0, 0.06);
    --fill-secondary-hover: rgba(0, 0, 0, 0.1);

    --chip-bg: rgba(0, 0, 0, 0.05);
    --divider: rgba(0, 0, 0, 0.08);
    --scrim: rgba(0, 0, 0, 0.4);

    --bg-1: #eef1fa;
    --bg-2: #e8ecf8;
    --bg-3: #f2f0fb;
    --blob-opacity: 0.55;
    --surface-flat: #ffffff;
  }

  /* 未手动选择外观时（例如未启用 JS）跟随系统偏好 */
  @media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
      color-scheme: light;

      --text-primary: rgba(0, 0, 0, 0.9);
      --text-secondary: rgba(0, 0, 0, 0.58);
      --text-tertiary: rgba(0, 0, 0, 0.38);

      --glass-bg: rgba(255, 255, 255, 0.52);
      --glass-bg-strong: rgba(255, 255, 255, 0.64);
      --glass-bg-soft: rgba(255, 255, 255, 0.34);
      --glass-border: rgba(255, 255, 255, 0.6);
      --glass-highlight: rgba(255, 255, 255, 0.8);
      --glass-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.35);

      --fill-secondary: rgba(0, 0, 0, 0.06);
      --fill-secondary-hover: rgba(0, 0, 0, 0.1);

      --chip-bg: rgba(0, 0, 0, 0.05);
      --divider: rgba(0, 0, 0, 0.08);
      --scrim: rgba(0, 0, 0, 0.4);

      --bg-1: #eef1fa;
      --bg-2: #e8ecf8;
      --bg-3: #f2f0fb;
      --blob-opacity: 0.55;
      --surface-flat: #ffffff;
    }
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    min-height: 100%;
    font-family:
      -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable', 'Segoe UI',
      'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* --- 网格渐变背景 + 漂移光斑（与启动器 .app-background 一致） --- */
  .app-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  }
  .app-background .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: var(--blob-opacity);
    will-change: transform;
  }
  .blob-1 {
    width: 52vw; height: 52vw; left: -14vw; top: -16vw;
    background: radial-gradient(circle, #4f7cff 0%, #7a5cff 60%, transparent 72%);
    animation: drift1 26s ease-in-out infinite alternate;
  }
  .blob-2 {
    width: 44vw; height: 44vw; right: -12vw; top: -8vw;
    background: radial-gradient(circle, #ff5c8a 0%, #c84dff 60%, transparent 74%);
    animation: drift2 32s ease-in-out infinite alternate;
  }
  .blob-3 {
    width: 40vw; height: 40vw; left: 24vw; bottom: -20vw;
    background: radial-gradient(circle, #2fd0c0 0%, #2f7bff 62%, transparent 76%);
    animation: drift3 38s ease-in-out infinite alternate;
  }
  @keyframes drift1 {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(10vw, 8vh, 0) scale(1.18); }
  }
  @keyframes drift2 {
    from { transform: translate3d(0, 0, 0) scale(1.12); }
    to { transform: translate3d(-8vw, 12vh, 0) scale(0.96); }
  }
  @keyframes drift3 {
    from { transform: translate3d(0, 0, 0) scale(0.98); }
    to { transform: translate3d(-6vw, -10vh, 0) scale(1.16); }
  }

  /* --- Glass materials（与启动器一致） --- */
  .glass {
    position: relative;
    isolation: isolate;
    background: var(--glass-bg);
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
  }
  .glass-strong {
    position: relative;
    isolation: isolate;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(48px) saturate(200%);
    -webkit-backdrop-filter: blur(48px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
  }
  .glass-soft {
    position: relative;
    isolation: isolate;
    background: var(--glass-bg-soft);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--glass-border);
  }
  /* 顶部亮边：玻璃表面对环境光的反射 */
  .glass::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, var(--glass-highlight) 0%, rgba(255, 255, 255, 0) 26%);
    opacity: 0.6;
  }

  /* --- Typography（与启动器同比例；首屏标题按视口适度放大） --- */
  .display {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.022em;
    font-size: clamp(30px, 6vw, 46px);
  }
  .title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  .headline {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.008em;
  }
  .caption {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
  }

  /* --- Buttons（与启动器 .btn / .btn-primary 一致） --- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.008em;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    transition: transform 100ms ease, background 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
  }
  .btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.06); }
  .btn:active { transform: scale(0.96); }
  .btn-primary { background: var(--fill-primary); color: #fff; }
  .btn-primary:hover { background: var(--fill-primary-hover); }
  .btn-secondary { background: var(--fill-secondary); color: var(--text-primary); }
  .btn-secondary:hover { background: var(--fill-secondary-hover); }
  .btn-lg { height: 44px; padding: 0 28px; border-radius: 16px; font-size: 16px; }
  .btn-danger { background: var(--fill-danger); color: #fff; }
  .btn-danger:hover { background: #e03a30; }
  .btn[aria-disabled='true'] { opacity: 0.45; cursor: default; box-shadow: none; pointer-events: none; }
  .btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }

  /* --- Chip / badge --- */
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: var(--fill-primary);
  }

  /* ------------------------------------------------------------------ */
  /*  页面布局                                                           */
  /* ------------------------------------------------------------------ */
  .wrap { width: 100%; padding: 40px 24px 72px; }

  /* --- 顶部横向导航 + 下方内容区 --- */
  .shell {
    width: 100%;
    padding: 28px 24px 72px;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  /* 顶部导航条：品牌在左，选项横向排布在右 */
  .side {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 999px;
  }
  .side-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-right: 14px;
    margin-right: 2px;
    border-right: 1px solid var(--divider);
    flex: 0 0 auto;
  }
  .side-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; display: block; flex: 0 0 auto; }
  .side-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
  .side-nav { display: flex; flex-direction: row; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; }
  .side-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease;
  }
  .side-item:hover { background: var(--fill-secondary-hover); }
  .side-item.is-active { background: var(--fill-primary); color: #fff; }
  .side-item.is-active:hover { background: var(--fill-primary-hover); }
  .content { min-width: 0; }
  /* PJAX 无刷新切换：内容区做淡入淡出，导航条保持不动，切换更顺滑 */
  .content { transition: opacity 140ms ease; }

  /* --- 外观切换控件（由 theme.js 注入到导航条右侧） --- */
  .hc-appearance { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
  .hc-seg {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: var(--fill-secondary);
  }
  .hc-seg button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
  }
  .hc-seg button:hover { color: var(--text-primary); }
  .hc-seg button.is-on { background: var(--fill-primary); color: #fff; }

  /* ------------------------------------------------------------------ */
  /*  极简外观：全部扁平化                                                */
  /*  关闭一切「深度 / 质感」相关的视觉，只保留实心色块、细描边与文字：      */
  /*    · 背景：纯色底，去掉网格渐变与漂移光斑；                            */
  /*    · 玻璃：改为不透明实底 + 细描边，去掉模糊、投影与顶部高光条；        */
  /*    · 渐变：标题渐变字、时间轴渐变竖线、按钮内高光 → 实心色；            */
  /*    · 阴影：按钮 / 卡片 / 节点圆点的投影与外发光全部去掉；              */
  /*    · 动效：悬停位移 / 缩放、入场动画与过渡全部关闭。                    */
  /* ------------------------------------------------------------------ */
  [data-mode='simple'] {
    --glass-shadow: none;
    --glass-highlight: transparent;
    --blob-opacity: 0;
    --flat-surface: var(--bg-2);
  }
  /* 浅色下用白色卡片：--bg-2 在浅色主题里比页面底色更深，反而不像卡片 */
  [data-theme='light'][data-mode='simple'] { --flat-surface: #ffffff; }

  /* 背景：纯色底，去掉渐变与光斑 */
  [data-mode='simple'] .app-background { background: var(--bg-1); }
  [data-mode='simple'] .app-background .blob { display: none; }

  /* 玻璃 / 卡片材质：不透明实底 + 细描边，去掉模糊 / 投影 / 顶部高光条 */
  [data-mode='simple'] :is(.glass, .glass-soft, .glass-strong, .hero2-icon, .feature-card) {
    background: var(--flat-surface);
    border-color: var(--divider);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  [data-mode='simple'] :is(.glass, .feature-card)::before { display: none; }

  /* 渐变文字 → 实心文字 */
  [data-mode='simple'] .hero2-title {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: var(--text-primary);
  }

  /* 按钮 / 卡片 / 圆点：去掉投影、外发光与悬停位移 / 缩放 */
  [data-mode='simple'] :is(.btn, .btn-download, .btn-changelog, .back-home, .hc-seg button) {
    box-shadow: none;
    transition: none;
  }
  [data-mode='simple'] :is(.btn, .btn-download, .btn-changelog, .back-home):hover {
    box-shadow: none;
    filter: none;
  }
  [data-mode='simple'] :is(.btn, .btn-download, .btn-changelog, .back-home):active { transform: none; }
  [data-mode='simple'] :is(.card, .form-card, .tl-card, .mk-card, .result-box) { box-shadow: none; transition: none; }
  [data-mode='simple'] .tl-dot,
  [data-mode='simple'] .tl-item.is-latest .tl-dot { box-shadow: none; }

  /* 时间轴竖线：渐变 → 单色分隔线 */
  [data-mode='simple'] .timeline::before { background: var(--divider); opacity: 1; }

  /* 表单聚焦环：去掉外发光，只留描边（显式列出以压过同优先级的原规则） */
  [data-mode='simple'] .form-card input[type=text]:focus,
  [data-mode='simple'] .form-card input[type=url]:focus,
  [data-mode='simple'] .form-card input[type=email]:focus,
  [data-mode='simple'] .form-card textarea:focus { box-shadow: none; }

  /* 动效：入场动画与过渡全部关闭 */
  [data-mode='simple'] :is(.hero, .timeline) { animation: none; }
  [data-mode='simple'] .content { transition: none; }

  /* ------------------------------------------------------------------ */
  /*  普通档：对齐启动器「普通模式」（data-skin='glass' 非磨砂）扁平化     */
  /*  · 面板改实色表面（--surface-flat），去掉 backdrop-filter 与顶部高光； */
  /*  · 背景不再渲染漂移光斑（与启动器普通模式一致）；                     */
  /*  · 渐变背景与投影保留，观感与启动器普通模式对应；                     */
  /*  · 极简档（data-mode='simple'）在其上再关阴影与动效，逻辑不变。       */
  /* ------------------------------------------------------------------ */
  :root:not([data-mode='simple']) .app-background .blob { display: none; }
  :root:not([data-mode='simple']) :is(.glass, .glass-soft, .glass-strong, .hero2-icon, .feature-card, .back-home) {
    background: var(--surface-flat);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  :root:not([data-mode='simple']) :is(.glass, .feature-card)::before { display: none; }
  :root:not([data-mode='simple']) .tl-dot { background: var(--surface-flat); }

  /* 窄屏：导航允许换行，隐藏标语页脚避免拥挤 */
  @media (max-width: 760px) {
    .shell { padding: 20px 16px 56px; gap: 18px; }
    .side { flex-wrap: wrap; border-radius: 20px; }
    .side-brand { border-right: 0; padding-right: 0; }
  }

  /* ------------------------------------------------------------------ */
  /*  官网首页：品牌标题 / 标语 / 图标 / 下载按钮 / 特性卡片              */
  /* ------------------------------------------------------------------ */
  .hero2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 8px 0 36px;
  }
  .hero2-text { min-width: 0; }

  /* 标题：深蓝 → 浅蓝 的斜向渐变文字 */
  .hero2-title {
    margin: 0;
    font-size: clamp(26px, 4.4vw, 42px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #123a8f 0%, #2f6bff 48%, #7fb8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* 标语：灰色字体 */
  .hero2-tagline {
    margin: 16px 0 0;
    font-size: clamp(14px, 1.8vw, 17px);
    color: var(--text-secondary);
    letter-spacing: 0.01em;
  }

  .hero2-actions { margin-top: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

  /* 「立即下载」：扁圆样式，蓝色 */
  .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.008em;
    color: #fff;
    text-decoration: none;
    /* 蓝色单一色值 */
    background: #2f7bff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 10px 26px -10px rgba(47, 123, 255, 0.7);
    transition: transform 100ms ease, box-shadow 160ms ease, filter 160ms ease;
  }
  .btn-download:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 14px 30px -10px rgba(47,123,255,0.8); }
  .btn-download:active { transform: scale(0.96); }
  .btn-download[aria-disabled='true'] { opacity: 0.45; pointer-events: none; box-shadow: none; }

  /* 便携版按钮：同一尺寸，改用次要色，与安装版形成「主 / 备」层次而不是两个同等重的入口 */
  .btn-download.is-secondary {
    color: var(--text-primary);
    background: var(--fill-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: none;
  }
  .btn-download.is-secondary:hover {
    background: var(--fill-secondary-hover);
    filter: none;
    box-shadow: none;
  }

  /* 「更新日志」：次要按钮，样式对齐启动器 btn-secondary */
  .btn-changelog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.008em;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--fill-secondary);
    border: 1px solid var(--glass-border);
    transition: background 160ms ease, transform 100ms ease;
  }
  .btn-changelog:hover { background: var(--fill-secondary-hover); }
  .btn-changelog:active { transform: scale(0.96); }

  .hero2-meta { margin: 14px 0 0; }
  .hero2-meta b { color: var(--text-primary); font-weight: 600; }

  /* 右侧图标：放大到与图片中蓝色方框相近的尺寸 */
  .hero2-icon {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    overflow: hidden;
  }
  .hero2-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
  }

  /* 三张特性卡片：适配启动器样式的带阴影圆角框 */
  .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
  }
  .feature-card {
    position: relative;
    isolation: isolate;
    padding: 22px 20px;
    border-radius: 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
  }
  .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, var(--glass-highlight) 0%, rgba(255, 255, 255, 0) 26%);
    opacity: 0.6;
  }
  /* 卡片标题：跟随主题的主要文字色（深色主题下为浅色，浅色主题下为近黑） */
  .feature-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    white-space: pre-line; /* 后台输入的换行原样保留 */
  }
  /* 卡片内容：跟随主题的次要文字色 */
  .feature-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    word-break: break-word;
    white-space: pre-line; /* 后台多行文本框输入的换行原样保留 */
  }

  /* 首页铺满浏览器高度：整体放大——hero 与特性卡片共同分担剩余高度，
     而不是只把下方卡片拉长。 */
  body.home .shell { min-height: 100vh; }
  body.home .content { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 26px; }
  body.home .hero2 { flex: 1; min-height: 0; align-items: center; }
  body.home .features { flex: 1; min-height: 0; }

  @media (max-width: 900px) {
    .hero2 { grid-template-columns: minmax(0, 1fr); }
    .hero2-icon { width: 160px; height: 160px; order: -1; }
    .features { grid-template-columns: minmax(0, 1fr); }
  }

  .hero { text-align: center; padding: 44px 28px 40px; border-radius: 28px; }
  .hero > * { position: relative; }
  .hero h1 { margin: 0; }
  .hero .tagline { margin: 14px 0 0; font-size: clamp(15px, 2.4vw, 18px); color: var(--text-secondary); }
  .hero .actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .hero .meta { margin: 0; }
  .hero .meta b { color: var(--text-primary); font-weight: 600; }

  .section-title { margin: 36px 0 20px; }

  /* --- 时间轴 --- */
  .timeline { list-style: none; margin: 0; padding: 0; position: relative; }
  /* 贯穿整条时间线的竖线：不再在 240px 处淡出（旧写法会让长卡片的中段几乎看不见线，
     看起来像时间线断开）。改用主色渐隐到分隔色的低对比线，始终可辨。 */
  .timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 14px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(
      180deg,
      var(--fill-primary) 0,
      color-mix(in srgb, var(--fill-primary) 42%, var(--divider)) 160px,
      var(--glass-border)
    );
    opacity: 0.75;
  }
  .tl-item { position: relative; padding: 0 0 16px 34px; }
  .tl-item:last-child { padding-bottom: 0; }
  /* 节点圆点：默认（非最新）用玻璃底 + 明显描边，保证在明暗两种背景下都看得见 */
  .tl-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-sizing: border-box;
    background: var(--glass-bg-strong);
    border: 2px solid color-mix(in srgb, var(--text-primary) 32%, transparent);
    box-shadow: 0 0 0 3px var(--glass-bg);
  }
  /* 最新版本：实心主色圆点 + 外发光，作为时间轴的高亮点 */
  .tl-item.is-latest .tl-dot {
    border-color: var(--fill-primary);
    background: var(--fill-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--fill-primary) 22%, transparent);
  }
  .tl-card { border-radius: 16px; padding: 16px 18px; transition: border-color 160ms ease; }
  .tl-item.is-latest .tl-card { border-color: color-mix(in srgb, var(--fill-primary) 55%, var(--glass-border)); }
  .tl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
  .tl-ver { font-size: 16px; font-weight: 600; letter-spacing: -0.008em; }
  .tl-date { margin-left: auto; }
  .tl-notes {
    margin-top: 9px;
    font-size: 14px;
    color: var(--text-secondary);
    word-break: break-word;
  }
  /* 更新日志的 Markdown 渲染样式（标题 / 列表 / 引用 / 代码块 / 链接等） */
  .tl-notes > :first-child { margin-top: 0; }
  .tl-notes > :last-child { margin-bottom: 0; }
  .tl-notes p { margin: 6px 0; }
  .tl-notes h1, .tl-notes h2, .tl-notes h3,
  .tl-notes h4, .tl-notes h5, .tl-notes h6 {
    margin: 12px 0 6px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.35;
  }
  .tl-notes h1 { font-size: 18px; }
  .tl-notes h2 { font-size: 16px; }
  .tl-notes h3 { font-size: 15px; }
  .tl-notes h4, .tl-notes h5, .tl-notes h6 { font-size: 14px; }
  .tl-notes ul, .tl-notes ol { margin: 6px 0; padding-left: 22px; }
  .tl-notes ul { list-style: disc; }
  .tl-notes ol { list-style: decimal; }
  .tl-notes li { margin: 3px 0; }
  .tl-notes a { color: var(--fill-primary); text-decoration: underline; }
  .tl-notes code {
    padding: 1px 5px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--text-primary) 8%, transparent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
  }
  .tl-notes pre {
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 10px;
    overflow-x: auto;
    background: color-mix(in srgb, var(--text-primary) 8%, transparent);
  }
  .tl-notes pre code { padding: 0; background: none; }
  .tl-notes blockquote {
    margin: 8px 0;
    padding-left: 12px;
    border-left: 3px solid color-mix(in srgb, var(--fill-primary) 45%, transparent);
    color: var(--text-tertiary);
  }
  .tl-notes hr {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid var(--glass-border);
  }
  .tl-notes strong { color: var(--text-primary); font-weight: 600; }
  .tl-notes.empty { color: var(--text-tertiary); font-style: italic; }
  .empty-tip { color: var(--text-secondary); }

  /* --- 顶部导航 --- */
  .nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 999px;
    margin-bottom: 22px;
  }
  .nav a {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 160ms ease;
  }
  .nav a:hover { background: var(--fill-secondary-hover); }
  .nav a.is-active { background: var(--fill-primary); color: #fff; }

  /* --- 返回主页按钮（圆形，与导航同排） --- */
  .topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
  .topbar .nav { flex: 1 1 auto; margin-bottom: 0; }
  .topbar h1 { margin: 0; }
  .back-home {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    transition: background 160ms ease, transform 100ms ease;
  }
  .back-home:hover { background: var(--fill-secondary-hover); }
  .back-home:active { transform: scale(0.94); }
  .back-home:focus-visible { outline: 2px solid var(--fill-primary); outline-offset: 2px; }

  /* --- 主页市场 --- */
  .market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
  }
  .mk-card {
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .mk-name { font-size: 16px; font-weight: 600; letter-spacing: -0.008em; }
  .mk-desc { font-size: 13px; color: var(--text-secondary); word-break: break-word; }
  .mk-meta { word-break: break-all; }
  .mk-actions { margin-top: 4px; }

  /* --- 表单 --- */
  .form-card { border-radius: 22px; padding: 22px; }
  .card { border-radius: 22px; padding: 22px; margin-bottom: 14px; }
  .form-card label { display: block; font-size: 12px; color: var(--text-secondary); margin: 14px 0 6px; letter-spacing: 0.01em; }
  .form-card input[type=text], .form-card input[type=url], .form-card input[type=email], .form-card textarea {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--fill-secondary);
    border: 1px solid var(--divider);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
  }
  .form-card textarea { height: auto; min-height: 84px; padding: 10px 12px; line-height: 1.6; resize: vertical; }
  .form-card input[type=text]:focus, .form-card input[type=url]:focus, .form-card input[type=email]:focus, .form-card textarea:focus {
    border-color: var(--fill-primary);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
  }
  .form-card input[type=file] { width: 100%; font-size: 13px; color: var(--text-secondary); }
  .form-card input[type=file]::file-selector-button {
    height: 32px; margin-right: 10px; padding: 0 12px;
    border: 1px solid var(--divider); border-radius: 10px;
    background: var(--fill-secondary); color: var(--text-primary);
    font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  }
  .form-card input[type=file]::file-selector-button:hover { background: var(--fill-secondary-hover); }
  .radio-row { display: flex; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
  .radio-row label { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; color: var(--text-primary); }
  .radio-row input[type=radio] { accent-color: var(--fill-primary); width: 16px; height: 16px; }
  .field-msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
  .field-msg.ok { color: var(--fill-success); }
  .field-msg.err { color: var(--fill-danger); }
  .result-box {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--fill-secondary);
    border: 1px solid var(--divider);
    font-size: 13px;
    word-break: break-all;
  }
  .result-box b { font-weight: 600; }
  .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

  /* --- Scrollbar（与启动器一致） --- */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb {
    background: var(--fill-secondary-hover);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); background-clip: content-box; }
  ::-webkit-scrollbar-track { background: transparent; }

  /* --- 首屏淡入（对齐启动器 spring 入场观感） --- */
  .hero { animation: rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .timeline { animation: rise 620ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 560px) {
    .wrap { padding: 24px 16px 56px; }
    .hero { padding: 32px 18px 30px; }
    .tl-date { margin-left: 0; width: 100%; }
  }

  /* --- Reduced motion / transparency（与启动器一致） --- */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .app-background .blob { animation: none !important; }
    .hero, .timeline { animation: none !important; }
    .btn, .back-home { transition: opacity 160ms ease; }
    .btn:active, .back-home:active { transform: none; }
    .content { transition: none; }
  }

  @media (prefers-reduced-transparency: reduce) {
    .glass, .glass-strong, .glass-soft, .back-home {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: var(--glass-bg-strong);
    }
  }
