  /* 默认浅色主题；html[data-theme="dark"] 覆盖为深色 */
  :root {
    --bg: #f4f6fa;
    --bg-soft: #eef1f6;
    --panel: #ffffff;
    --panel-2: #f2f4f8;
    --line: #e2e7ef;
    --text: #1a2130;
    --text-dim: #5b6577;
    --text-faint: #8a94a6;
    --accent: #0d9488;
    --accent-strong: #0f766e;
    --accent-ink: #ffffff;
    --ok: #059669;
    --warn: #b45309;
    --err: #dc2626;
    --mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, "JetBrains Mono", Menlo, monospace;
    --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(17,24,39,0.08);
    --header-bg: rgba(255,255,255,.82);
  }
  html[data-theme="dark"] {
    --bg: #0a0d12;
    --bg-soft: #0f1319;
    --panel: #141a23;
    --panel-2: #1a222e;
    --line: #232d3c;
    --text: #e7ecf3;
    --text-dim: #93a0b4;
    --text-faint: #5c6a80;
    --accent: #2dd4bf;
    --accent-strong: #14b8a6;
    --accent-ink: #06201c;
    --ok: #34d399;
    --warn: #fbbf24;
    --err: #f87171;
    --shadow: 0 10px 30px rgba(0,0,0,0.35);
    --header-bg: rgba(10,13,18,.78);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background:
      radial-gradient(1200px 600px at 80% -10%, rgba(45,212,191,0.08), transparent 60%),
      radial-gradient(900px 500px at 0% 10%, rgba(59,130,246,0.06), transparent 55%),
      var(--bg);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: var(--accent); }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

  /* ===== 顶部导航 ===== */
  /* header 本身通栏（背景与下边框铺满整屏、左右不留白），内容由 .header-inner 限宽居中 */
  header.site {
    position: sticky; top: 0; z-index: 40;
    border-bottom: 1px solid var(--line);
    background: var(--header-bg); backdrop-filter: blur(12px);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
  }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; color: var(--text); }
  .brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    display: grid; place-items: center;
    font-family: var(--mono); font-weight: 700; color: var(--accent-ink); font-size: 16px;
  }
  .brand-name { font-size: 17px; }
  .brand-name small { color: var(--text-dim); font-weight: 400; font-size: 11px; margin-left: 6px; }

  .nav { display: flex; align-items: center; gap: 6px; }
  .nav a { color: var(--text-dim); text-decoration: none; font-size: 13px; padding: 6px 10px; border-radius: 8px; transition: .15s; }
  .nav a:hover { color: var(--text); background: var(--panel-2); }
  .nav .feedback-btn {
    font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
    background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim); font-family: var(--sans);
    transition: all .15s;
  }
  .nav .feedback-btn:hover { border-color: var(--accent); color: var(--accent); }
  .nav .theme-btn {
    font-size: 14px; line-height: 1; padding: 7px 10px; border-radius: 999px; cursor: pointer;
    background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim); font-family: var(--sans);
    transition: all .15s;
  }
  .nav .theme-btn:hover { border-color: var(--accent); color: var(--accent); }
  @media (max-width: 640px) {
    /* 窄屏：品牌副标题收起，导航链接换行展示，保证移动端仍能进入各品类落地页 */
    .header-inner { flex-wrap: wrap; row-gap: 8px; }
    .brand-name small { display: none; }
    .nav { flex-wrap: wrap; row-gap: 4px; }
  }

  /* ===== 主体工作区：桌面端左表单、右结果 ===== */
  .workspace { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 24px; }
  @media (min-width: 900px) {
    .workspace { grid-template-columns: 400px minmax(0, 1fr); align-items: start; }
    .search-col { position: sticky; top: 88px; }
  }
  .search-col, .result-col { min-width: 0; }
  .result-col .result { margin-top: 0; }
  #search, #result, #sources, #features, #how, #faq { scroll-margin-top: 88px; }

  /* ===== Hero（左文案 + 右入口卡，首屏直达下载页） ===== */
  /* 基础 Hero：默认居中对齐，所有落地页共用 */
  .hero { padding: 52px 0 24px; text-align: center; }
  .hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px; color: var(--accent);
    border: 1px solid rgba(45,212,191,.35); background: rgba(45,212,191,.08);
    padding: 5px 12px; border-radius: 999px; letter-spacing: 1px;
  }
  .hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 18px 0 14px; font-weight: 800; letter-spacing: -.5px; }
  .hero .accent { color: var(--accent); }
  .hero p { color: var(--text-dim); font-size: clamp(14px, 2vw, 16px); max-width: 640px; margin: 0 auto; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
    padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: 14px;
    background: var(--accent); color: var(--accent-ink);
    transition: background .15s, transform .05s;
  }
  .btn-primary:hover { background: var(--accent-strong); }
  .btn-ghost {
    display: inline-flex; align-items: center; text-decoration: none;
    padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
    background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim);
    transition: border-color .15s, color .15s;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .hero-card {
    display: block; text-decoration: none; color: var(--text); text-align: left; margin-top: 28px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
    transition: border-color .15s, transform .15s;
  }
  .hero-card:hover { border-color: var(--accent); transform: translateY(-2px); }
  .hero-card .ico { font-size: 28px; }
  .hero-card h3 { margin: 12px 0 6px; font-size: 17px; }
  .hero-card p { margin: 0 0 12px; font-size: 13px; color: var(--text-dim); max-width: none; }
  .hero-card .go { font-size: 13px; color: var(--accent); font-weight: 600; }
  /* 仅首页使用：左文案 + 右入口卡的两栏 Hero（hero--split 修饰类） */
  @media (min-width: 900px) {
    .hero--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
    .hero--split .hero-copy { text-align: left; }
    .hero--split .hero-copy p { margin: 0; }
    .hero--split .hero-actions { justify-content: flex-start; }
    .hero--split .hero-card { margin-top: 0; }
  }

  /* ===== 搜索面板 ===== */
  .search-panel {
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 1px solid var(--line); border-radius: 18px;
    padding: 22px; box-shadow: var(--shadow);
  }
  form.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
  .field { position: relative; }
  .field label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
  .field input, .field select {
    width: 100%; padding: 10px 12px;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--line); border-radius: 10px;
    font-family: var(--mono); font-size: 13px; transition: border-color .15s, box-shadow .15s;
  }
  .field input::placeholder { color: var(--text-faint); }
  .field input:focus, .field select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45,212,191,.18);
  }
  .field select:disabled { opacity: .5; cursor: not-allowed; }

  button[type="submit"] {
    padding: 10px 20px; border: none; border-radius: 10px; cursor: pointer;
    background: var(--accent); color: var(--accent-ink);
    font-weight: 700; font-size: 14px; height: 38px; white-space: nowrap; width: 100%;
    transition: background .15s, transform .05s;
  }
  button[type="submit"]:hover { background: var(--accent-strong); }
  button[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }

  .hint { margin-top: 12px; font-size: 12px; color: var(--text-faint); text-align: center; }
  .hint code { font-family: var(--mono); color: var(--text-dim); background: var(--bg); padding: 1px 6px; border-radius: 5px; }

  /* ===== 自定义下拉（镜像候选 / 版本号共用） ===== */
  .combo {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
    background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.42); padding: 6px;
    max-height: 264px; overflow-y: auto;
  }
  .combo[hidden] { display: none; }
  .combo-title { font-size: 12px; color: var(--text-dim); padding: 4px 8px 8px; }
  .combo-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .combo-item {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 8px 10px; cursor: pointer; border-radius: 8px; border: 1px solid transparent;
    transition: background .12s, border-color .12s;
  }
  .combo-item:hover { background: var(--panel-2); border-color: var(--accent); }
  .combo-item code { font-family: var(--mono); font-size: 13px; color: var(--accent); }
  .combo-badge {
    font-size: 10px; padding: 1px 6px; border-radius: 999px;
    background: var(--accent); color: var(--accent-ink); font-weight: 700;
  }
  .combo-meta { font-size: 11px; color: var(--text-faint); }
  .combo-desc {
    flex: 1 1 100%; font-size: 12px; color: var(--text-dim);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .combo-empty { font-size: 12px; color: var(--text-faint); padding: 6px 8px; }

  /* ===== 项目类型 Tab ===== */
  .project-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 0 16px; }
  .project-tab {
    min-width: 0; padding: 10px 8px; cursor: pointer;
    background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
    font-family: var(--sans); font-size: 12.5px; font-weight: 600;
    color: var(--text-dim); transition: all .15s; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 6px;
  }
  .project-tab:hover { border-color: var(--accent); color: var(--text); }
  .project-tab.active {
    color: var(--accent); border-color: rgba(45,212,191,.5);
    background: rgba(45,212,191,.1);
  }
  .project-tab .emoji { font-size: 15px; }

  /* ===== 区块标题 ===== */
  .section { padding: 34px 0 0; }
  .section-head { text-align: center; margin-bottom: 18px; }
  .section-head h2 { font-size: 22px; margin: 0 0 8px; font-weight: 800; letter-spacing: -.3px; }
  .section-head p { color: var(--text-dim); font-size: 13px; margin: 0; }

  /* ===== 特性卡片 ===== */
  .features { display: grid; gap: 14px; grid-template-columns: 1fr; }
  @media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
  .feature {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; transition: border-color .15s, transform .15s;
  }
  .feature:hover { border-color: var(--accent); transform: translateY(-2px); }
  .feature .ico { font-size: 22px; }
  .feature h3 { margin: 10px 0 6px; font-size: 15px; }
  .feature p { margin: 0; font-size: 13px; color: var(--text-dim); }
  .feature .soon { font-size: 11px; color: var(--warn); border: 1px solid rgba(251,191,36,.35);
    background: rgba(251,191,36,.08); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }

  /* ===== 使用流程 ===== */
  .steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
  @media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
  .step {
    position: relative; background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px 18px 18px 18px;
  }
  .step .num {
    width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(45,212,191,.12); color: var(--accent); font-weight: 700; font-family: var(--mono);
    margin-bottom: 10px;
  }
  .step h3 { margin: 0 0 6px; font-size: 15px; }
  .step p { margin: 0; font-size: 13px; color: var(--text-dim); }

  /* ===== 结果 ===== */
  .result { margin-top: 20px; }
  .card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; animation: rise .35s ease both; scroll-margin-top: 88px;
  }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

  .empty { border: 1px dashed var(--line); border-radius: var(--radius);
    padding: 28px 20px; text-align: center; color: var(--text-faint); font-size: 13px; }

  .result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
  .img-id { font-family: var(--mono); font-size: 18px; font-weight: 700; }
  .img-id .ver { color: var(--accent); }
  .platform-badge { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px;
    background: rgba(45,212,191,.12); color: var(--accent); border: 1px solid rgba(45,212,191,.4); }
  .project-badge { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px;
    background: var(--panel-2); color: var(--text-dim); border: 1px solid var(--line); white-space: nowrap; }
  /* 统一面板：按品类给标签上色 */
  .project-badge--docker { color: #38bdf8; background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.4); }
  .status-tag { margin-left: auto; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
  .status-tag.success { color: var(--ok); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); }
  .status-tag.pending { color: var(--warn); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); }
  .status-tag.failed  { color: var(--err); background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); }

  .temporary-link-banner {
    background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.35);
    border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
    font-size: 12px; color: var(--warn); display: flex; align-items: center; gap: 8px;
  }
  .temporary-link-banner .icon { font-size: 14px; }

  .plates { display: grid; gap: 10px; }
  .plate {
    display: flex; align-items: stretch; gap: 10px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  }
  .plate-body { flex: 1; min-width: 0; }
  .plate-drive { font-size: 12px; color: var(--accent); margin-bottom: 4px; font-weight: 600; }
  .plate .link-box { padding: 0; background: transparent; border: none; font-size: 13px; }
  .link-box a { color: var(--accent); text-decoration: none; word-break: break-all; }
  .link-box a:hover { text-decoration: underline; }
  .copy-btn {
    flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 10px; cursor: pointer;
    background: var(--panel-2); color: var(--text); border: 1px solid var(--line); font-size: 12px;
    transition: border-color .15s; align-self: center; white-space: nowrap;
  }
  .copy-btn:hover { border-color: var(--accent); color: var(--accent); }

  .open-btn { display: inline-block; margin-top: 14px; text-decoration: none; text-align: center;
    padding: 9px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
    font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
  .open-btn:hover { background: var(--accent-strong); }

  .pending-box { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
  .spinner {
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
    border: 3px solid var(--line); border-top-color: var(--accent);
    animation: spin .8s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .pending-msg { font-size: 13px; color: var(--text-dim); }
  .query-reduced { font-family: var(--mono); font-size: 11px; color: var(--text-faint); margin-top: 4px; }

  /* ===== 任务列表（页内并发队列） ===== */
  .task-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 12px;
  }
  .task-toolbar[hidden] { display: none; }
  .task-count { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
  .task-clear {
    font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
    background: var(--panel-2); border: 1px solid var(--line); color: var(--text-dim);
    font-family: var(--sans); transition: all .15s;
  }
  .task-clear:hover { border-color: var(--accent); color: var(--accent); }
  .task-list { display: grid; gap: 12px; }
  .card-remove {
    font-size: 12px; padding: 4px 10px; border-radius: 8px; cursor: pointer;
    background: transparent; border: 1px solid var(--line); color: var(--text-faint);
    font-family: var(--sans); transition: all .15s;
  }
  .card-remove:hover { border-color: var(--err); color: var(--err); }
  .card.flash { animation: flash 1.1s ease; }
  @keyframes flash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
    30%, 70% { box-shadow: 0 0 0 3px rgba(45,212,191,.5); }
  }

  /* ===== FAQ ===== */
  .faq { display: grid; gap: 10px; }
  .faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
  .faq summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .faq summary::after { content: "+"; color: var(--accent); font-size: 16px; }
  .faq details[open] summary::after { content: "–"; }
  .faq details p { margin: 10px 0 0; font-size: 13px; color: var(--text-dim); }

  /* ===== 页脚 ===== */
  footer.site { margin-top: 48px; border-top: 1px solid var(--line); padding: 28px 0 44px; }
  .footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
  @media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
  .footer-brand .brand-name { font-size: 16px; }
  .footer-brand p { font-size: 12px; color: var(--text-dim); margin: 10px 0 0; max-width: 320px; }
  .footer-col h4 { font-size: 13px; margin: 0 0 10px; color: var(--text); }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .footer-col li a { font-size: 12px; color: var(--text-dim); text-decoration: none; }
  .footer-col li a:hover { color: var(--accent); }
  .footer-meta { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
    text-align: center; font-size: 11px; color: var(--text-faint); }

  /* ===== 反馈弹窗 ===== */
  .modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    display: none; align-items: center; justify-content: center;
    z-index: 100; padding: 20px;
  }
  .modal-backdrop.show { display: flex; }
  .modal {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; max-width: 480px; width: 100%; box-shadow: var(--shadow);
  }
  .modal h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
  .modal .field { margin-bottom: 12px; }
  .modal input, .modal select, .modal textarea {
    width: 100%; padding: 9px 11px; background: var(--bg-soft); color: var(--text);
    border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: var(--sans);
  }
  .modal textarea { min-height: 100px; resize: vertical; }
  .modal input:focus, .modal select:focus, .modal textarea:focus { outline: none; border-color: var(--accent); }
  .modal label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
  .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
  .modal-actions button { padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; }
  .btn-cancel { background: transparent; border: 1px solid var(--line); color: var(--text-dim); }
  .btn-cancel:hover { border-color: var(--text-dim); color: var(--text); }
  .btn-submit { background: var(--accent); border: none; color: var(--accent-ink); }
  .btn-submit:hover { background: var(--accent-strong); }

  .toast {
    position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
    background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
    padding: 10px 18px; border-radius: 10px; font-size: 13px;
    opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); z-index: 50;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ===== 首页：支持的 Docker 镜像源提示条 ===== */
  .src-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .src-chip {
    display: inline-flex; align-items: baseline; gap: 8px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 14px; transition: border-color .15s;
  }
  .src-chip:hover { border-color: var(--accent); }
  .src-chip code { font-family: var(--mono); font-size: 13px; color: var(--accent); }
  .src-chip small { font-size: 11px; color: var(--text-faint); }
  .src-note { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--text-faint); }

  /* ===== 热门镜像入口 / 程序化页的版本与相关镜像标签 ===== */
  .hub-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .hub-link {
    display: inline-flex; align-items: baseline; gap: 8px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 14px; font-size: 13px; color: inherit; text-decoration: none;
    transition: border-color .15s;
  }
  .hub-link:hover { border-color: var(--accent); }
  .hub-link strong { font-weight: 600; font-size: 13px; }
  .hub-link small { font-size: 11px; color: var(--text-faint); }
  .hub-note { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--text-faint); }
  /* 程序化页：镜像简介 + 关键参数的独有内容块（宽度与首页内容区一致） */
  .page-intro { width: 100%; }
  .page-intro p { color: var(--text-dim); font-size: 14px; margin: 0 0 10px; }
  .fact-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
  .fact-list li {
    background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
    border-radius: 10px; padding: 11px 14px; font-size: 13px; color: var(--text-dim);
  }
  .fact-list li b { color: var(--accent); font-weight: 600; }
  /* 程序化页：预填镜像名的代下表单（宽度与首页内容区一致） */
  .quick-form { width: 100%; }
  .quick-form .row { display: grid; gap: 14px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .quick-form .row { grid-template-columns: 1fr 1fr; } }

  /* ===== 法律条款页（用户协议 / 免责声明 / 版权投诉） ===== */
  .legal { padding: 32px 0 8px; width: 100%; }
  .legal h1 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 6px; letter-spacing: -.4px; }
  .legal .updated { font-size: 12px; color: var(--text-faint); margin-bottom: 26px; }
  .legal h2 { font-size: 17px; margin: 28px 0 10px; }
  .legal p, .legal li { font-size: 14px; color: var(--text-dim); }
  .legal ul, .legal ol { padding-left: 22px; }
  .legal a { word-break: break-all; }
  .legal .callout {
    background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
    border-radius: 10px; padding: 14px 16px; margin: 18px 0; font-size: 14px; color: var(--text-dim);
  }
  .legal .muted { font-size: 12px; color: var(--text-faint); margin-top: 28px; }

  /* ===== 移动端补强 ===== */
  @media (max-width: 640px) {
    .wrap { padding: 0 14px; }
    .hero { padding: 34px 0 18px; }
    .hero h1 { font-size: clamp(24px, 7vw, 30px); }
    .hero-actions { margin-top: 18px; }
    .search-panel { padding: 16px; border-radius: 14px; }
    .project-tab { font-size: 12px; padding: 9px 6px; }
    .footer-grid { gap: 18px; }
    .section { padding: 26px 0 0; }
  }