/* ============================================================
   图吧工具箱爱好者站 · 全站样式
   石墨深灰 × 哑光深青 × 暖纸底 —— 工程仪器感，克制不花哨
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #17181b;
  --ink-2: #1f2126;
  --ink-3: #2a2d34;
  --paper: #f7f6f2;
  --card: #ffffff;
  --line: #e6e3db;
  --line-2: #d7d3c9;
  --muted: #6e727a;
  --brand: #0e5f57;
  --brand-deep: #0a4a44;
  --brand-soft: #e4efec;
  --gold: #b98a2f;
  --quark: #f97316;
  --quark-deep: #ea580c;
  --baidu: #2468e5;
  --baidu-deep: #1a50b8;
  --danger: #b3421f;
  --warn-bg: #fdf6e7;
  --warn-line: #ecd9a8;
  --warn-text: #7a5c14;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(23,24,27,.06), 0 8px 24px rgba(23,24,27,.06);
  --shadow-lg: 0 4px 12px rgba(23,24,27,.10), 0 24px 60px rgba(23,24,27,.16);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ===== 顶部导航 ===== */
.site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 22px;
  height: 62px; display: flex; align-items: center; gap: 30px;
}
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo img { width: 36px; height: 36px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.logo .logo-name { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.logo .logo-ver {
  font-size: .68rem; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border-radius: 4px; padding: 1px 7px;
  margin-left: 2px; letter-spacing: .3px; font-family: var(--mono);
}
.main-nav { display: flex; gap: 2px; }
.main-nav a {
  padding: 7px 15px; border-radius: 6px; font-size: .9rem; font-weight: 500;
  color: var(--muted); transition: all .18s;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.header-cta {
  margin-left: auto; flex-shrink: 0;
  background: var(--brand); color: #fff !important;
  padding: 8px 20px; border-radius: 6px; font-size: .88rem; font-weight: 700;
  transition: all .18s; letter-spacing: 1px;
}
.header-cta:hover { background: var(--brand-deep); text-decoration: none; transform: translateY(-1px); }

/* ===== 首页英雄区（深色工程面板） ===== */
.hero {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 44px),
    radial-gradient(1200px 500px at 78% -10%, #24343a 0%, transparent 60%),
    linear-gradient(160deg, #141518 0%, #191b20 58%, #1c2126 100%);
  color: #fff; padding: 66px 0 60px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .76rem; letter-spacing: 1.5px;
  color: #8fd0c6; border: 1px solid rgba(143,208,198,.35);
  padding: 4px 14px; border-radius: 4px; margin-bottom: 20px;
}
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35b5a5; box-shadow: 0 0 8px rgba(53,181,165,.9); }
.hero h1 { font-size: 2.7rem; font-weight: 900; line-height: 1.18; letter-spacing: 1px; }
.hero h1 em {
  display: block; font-style: normal; font-size: 1.32rem; font-weight: 700;
  color: #d9b96a; margin-top: 8px; letter-spacing: 2px;
}
.hero .subtitle { margin-top: 18px; color: rgba(255,255,255,.66); font-size: .98rem; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn-hero {
  background: #fff; color: var(--ink) !important;
  padding: 13px 30px; border-radius: 6px; font-weight: 800; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 8px; letter-spacing: 1px;
  transition: all .18s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.4); text-decoration: none; }
.btn-hero.ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
.btn-hero.ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.hero-stats { display: flex; gap: 0; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats .stat { padding: 16px 26px 0 0; margin-right: 26px; }
.hero-stats .stat strong { display: block; font-size: 1.45rem; font-weight: 800; color: #fff; font-family: var(--mono); letter-spacing: -1px; white-space: nowrap; }
.hero-stats .stat span { font-size: .76rem; color: rgba(255,255,255,.5); letter-spacing: 1px; white-space: nowrap; }

.hero-shot { position: relative; }
.shot-frame {
  background: #23262d; border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.shot-bar {
  height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: #1b1d22; border-bottom: 1px solid rgba(255,255,255,.08);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.shot-bar i:nth-child(1) { background: #f26d5f; } .shot-bar i:nth-child(2) { background: #f2bf4f; } .shot-bar i:nth-child(3) { background: #58c26a; }
.shot-bar span { margin-left: 10px; font-size: .72rem; color: rgba(255,255,255,.42); font-family: var(--mono); letter-spacing: 1px; }
.shot-frame img { width: 100%; }
.chip-float {
  position: absolute; background: rgba(23,24,27,.92); color: #fff;
  border: 1px solid rgba(255,255,255,.16); border-radius: 8px;
  padding: 8px 14px; font-size: .76rem; backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.chip-float b { display: block; font-size: 1.02rem; color: #6fd3c5; font-family: var(--mono); }
.chip-a { top: -16px; right: 22px; }
.chip-b { bottom: -14px; left: -10px; }

/* ===== 快速下载条 ===== */
.quick-dl { margin-top: -34px; position: relative; z-index: 5; }
.quick-dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pan-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 24px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pan-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.pan-card.quark::before { background: var(--quark); }
.pan-card.baidu::before { background: var(--baidu); }
.pan-head { flex: 1; min-width: 0; }
.pan-name { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 800; }
.pan-card.quark .pan-name { color: var(--quark-deep); }
.pan-card.baidu .pan-name { color: var(--baidu-deep); }
.pan-tag {
  font-size: .68rem; font-weight: 700; padding: 1px 8px; border-radius: 4px;
  background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-line);
}
.pan-points { list-style: none; margin-top: 8px; }
.pan-points li { font-size: .8rem; color: var(--muted); padding: 1px 0; }
.pan-points li::before { content: "✔"; color: #2e8b57; margin-right: 6px; font-size: .72rem; }
.pan-side { display: flex; flex-direction: column; align-items: center; gap: 9px; flex-shrink: 0; }
.btn-pan {
  border: none; cursor: pointer; color: #fff; font-weight: 700; font-size: .88rem;
  padding: 10px 26px; border-radius: 6px; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 7px; transition: all .18s;
}
.btn-pan.quark { background: var(--quark); box-shadow: 0 4px 14px rgba(249,115,22,.3); }
.btn-pan.quark:hover { background: var(--quark-deep); transform: translateY(-1px); }
.btn-pan.baidu { background: var(--baidu); box-shadow: 0 4px 14px rgba(36,104,229,.3); }
.btn-pan.baidu:hover { background: var(--baidu-deep); transform: translateY(-1px); }
.quick-note {
  margin-top: 12px; font-size: .8rem; color: var(--warn-text);
  background: var(--warn-bg); border: 1px dashed var(--warn-line);
  border-radius: 8px; padding: 9px 16px; text-align: center;
}

/* ===== 二维码呼吸边框（全站通用，含弹窗） ===== */
.qr-breath {
  display: inline-block; padding: 5px; border-radius: 10px;
  border: 2px solid var(--brand); line-height: 0; background: #fff;
  animation: qrBreath 2.6s ease-in-out infinite;
}
@keyframes qrBreath {
  0%, 100% { transform: scale(1); border-color: var(--brand); box-shadow: 0 0 0 0 rgba(14,95,87,.32), 0 3px 12px rgba(14,95,87,.10); }
  50% { transform: scale(1.035); border-color: #2f9186; box-shadow: 0 0 0 5px rgba(14,95,87,.10), 0 6px 20px rgba(14,95,87,.20); }
}
.qr-breath.quark { border-color: var(--quark); animation-name: qrBreathQuark; }
@keyframes qrBreathQuark {
  0%, 100% { transform: scale(1); border-color: var(--quark); box-shadow: 0 0 0 0 rgba(249,115,22,.30), 0 3px 12px rgba(249,115,22,.10); }
  50% { transform: scale(1.035); border-color: #fbaa5c; box-shadow: 0 0 0 5px rgba(249,115,22,.09), 0 6px 20px rgba(249,115,22,.18); }
}
.qr-breath.baidu { border-color: var(--baidu); animation-name: qrBreathBaidu; }
@keyframes qrBreathBaidu {
  0%, 100% { transform: scale(1); border-color: var(--baidu); box-shadow: 0 0 0 0 rgba(36,104,229,.30), 0 3px 12px rgba(36,104,229,.10); }
  50% { transform: scale(1.035); border-color: #6d9bef; box-shadow: 0 0 0 5px rgba(36,104,229,.09), 0 6px 20px rgba(36,104,229,.18); }
}
.qr-breath img { width: 96px; height: 96px; }
.qr-cap { font-size: .72rem; color: var(--muted); margin-top: 6px; text-align: center; letter-spacing: .5px; }

/* ===== 通用 Section ===== */
.section { padding: 64px 0; }
.section.tint { background: #efede7; }
.sec-kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: 2.5px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 10px; font-weight: 700;
}
.sec-title { font-size: 1.62rem; font-weight: 800; letter-spacing: .5px; margin-bottom: 8px; }
.sec-desc { color: var(--muted); font-size: .92rem; margin-bottom: 36px; max-width: 640px; }

/* ===== 工具分类矩阵 ===== */
.cate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cate-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; transition: all .18s; position: relative;
}
.cate-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.cate-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cate-ico { font-size: 1.3rem; }
.cate-count {
  font-family: var(--mono); font-size: .68rem; color: var(--brand);
  background: var(--brand-soft); padding: 1px 8px; border-radius: 4px; font-weight: 700;
}
.cate-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; letter-spacing: .5px; }
.cate-tools { list-style: none; }
.cate-tools li {
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  padding: 2.5px 0 2.5px 14px; position: relative;
}
.cate-tools li::before { content: "·"; position: absolute; left: 2px; color: var(--gold); font-weight: 900; }

/* ===== 界面预览 ===== */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: all .18s;
}
.shot-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shot-item img { width: 100%; height: 210px; object-fit: cover; object-position: top; background: #eceae4; }
.shot-item figcaption { padding: 11px 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
.shot-item figcaption b { color: var(--ink); font-weight: 700; margin-right: 6px; }

/* ===== 检测硬件图卡 ===== */
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hw-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hw-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.hw-item:hover img { transform: scale(1.045); }
.hw-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,17,20,.86));
  color: #fff; padding: 30px 15px 12px; font-size: .9rem; font-weight: 700; letter-spacing: 1px;
}
.hw-label small { display: block; font-weight: 400; font-size: .74rem; color: rgba(255,255,255,.75); letter-spacing: .3px; }

/* ===== 版本对比 ===== */
.ver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ver-card {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 26px 26px 22px; position: relative; transition: all .18s;
}
.ver-card:hover { box-shadow: var(--shadow); }
.ver-card.rec { border-top-color: var(--brand); }
.ver-badge {
  position: absolute; top: 16px; right: 18px; font-size: .7rem; font-weight: 800;
  color: #fff; background: var(--brand); border-radius: 4px; padding: 2px 10px; letter-spacing: 1px;
}
.ver-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 4px; }
.ver-file { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-bottom: 14px; }
.ver-card ul { list-style: none; }
.ver-card li { font-size: .86rem; color: #454a52; padding: 6px 0 6px 22px; position: relative; border-bottom: 1px dashed var(--line); }
.ver-card li:last-child { border-bottom: none; }
.ver-card li::before { content: "●"; position: absolute; left: 2px; top: 8px; font-size: .5rem; color: var(--brand); }

/* ===== 步骤 ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; position: relative;
}
.step-no {
  font-family: var(--mono); font-size: .82rem; font-weight: 800; color: var(--brand);
  width: 34px; height: 34px; border: 2px solid var(--brand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--brand-soft);
}
.step-card h3 { font-size: .98rem; font-weight: 800; margin-bottom: 6px; }
.step-card p { font-size: .85rem; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  padding: 15px 20px; font-weight: 700; font-size: .93rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; user-select: none; letter-spacing: .3px;
}
.faq-q::after { content: "+"; font-family: var(--mono); color: var(--brand); font-size: 1.1rem; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: all .3s ease; color: var(--muted); font-size: .88rem; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a .faq-a-in { padding: 0 20px 16px; border-top: 1px solid var(--line); padding-top: 13px; }

/* ===== CTA 深色横幅 ===== */
.cta-band {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 44px),
    linear-gradient(150deg, #141518, #1d2429);
  color: #fff; padding: 58px 0; text-align: center;
}
.cta-band h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; }
.cta-band p { color: rgba(255,255,255,.6); margin: 10px 0 26px; font-size: .92rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta {
  background: #fff; color: var(--ink) !important; font-weight: 800;
  padding: 13px 34px; border-radius: 6px; font-size: .95rem; letter-spacing: 1px; transition: all .18s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.4); text-decoration: none; }
.btn-cta.ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.4); }

/* ===== 子页横幅 ===== */
.page-banner {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.026) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.026) 0 1px, transparent 1px 44px),
    linear-gradient(155deg, #141518, #1c2126);
  color: #fff; padding: 42px 0 40px;
}
.crumbs { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 14px; font-family: var(--mono); }
.crumbs a { color: rgba(255,255,255,.65); }
.crumbs a:hover { color: #8fd0c6; }
.crumbs span { margin: 0 8px; color: rgba(255,255,255,.3); }
.page-banner h1 { font-size: 1.9rem; font-weight: 900; letter-spacing: 1px; }
.page-banner .pb-sub { color: rgba(255,255,255,.6); margin-top: 8px; font-size: .92rem; }

/* ===== 下载页 ===== */
.dl-main-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; margin-top: -30px; position: relative; z-index: 5;
}
.dl-main-head {
  padding: 24px 30px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(180deg, #fbfaf8, #f4f2ec);
}
.dl-main-head img { width: 58px; height: 58px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.dl-main-head h2 { font-size: 1.22rem; font-weight: 800; }
.dl-main-head .dl-ver-line { font-size: .82rem; color: var(--muted); font-family: var(--mono); margin-top: 3px; }
.dl-ver-badge {
  margin-left: auto; text-align: right; font-family: var(--mono);
  font-size: .78rem; color: var(--brand); background: var(--brand-soft);
  padding: 6px 14px; border-radius: 6px; font-weight: 700;
}
.dl-meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.dl-meta-cell { padding: 16px 24px; border-right: 1px solid var(--line); }
.dl-meta-cell:last-child { border-right: none; }
.dl-meta-cell .k { font-size: .74rem; color: var(--muted); letter-spacing: 1px; }
.dl-meta-cell .v { font-size: .92rem; font-weight: 700; margin-top: 2px; }
.dl-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dl-channel { padding: 30px 34px 34px; }
.dl-channel:first-child { border-right: 1px solid var(--line); }
.dl-channel h3 { font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.dl-channel.quark h3 { color: var(--quark-deep); }
.dl-channel.baidu h3 { color: var(--baidu-deep); }
.dl-channel .ch-sub { font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.dl-channel-row { display: flex; align-items: center; gap: 26px; }
.dl-channel-row .pan-side { flex-shrink: 0; }
.dl-channel-tips { list-style: none; }
.dl-channel-tips li { font-size: .83rem; color: #454a52; padding: 3px 0 3px 20px; position: relative; }
.dl-channel-tips li::before { content: "✔"; position: absolute; left: 0; color: #2e8b57; font-size: .72rem; top: 5px; }
.dl-channel .btn-pan { margin-top: 18px; }

.alert {
  border-radius: var(--radius); padding: 13px 18px; font-size: .86rem; margin: 14px 0;
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.65;
}
.alert-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); }
.alert-info { background: var(--brand-soft); border: 1px solid #c4dcd6; color: var(--brand-deep); }

/* ===== 表格（工具列表页） ===== */
.tool-table { width: 100%; border-collapse: collapse; background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.tool-table th {
  background: var(--ink-2); color: #d7dbdf; text-align: left;
  font-size: .82rem; letter-spacing: 1px; padding: 11px 16px; font-weight: 600;
}
.tool-table td { padding: 10px 16px; font-size: .86rem; border-bottom: 1px solid var(--line); color: #3c4148; }
.tool-table tr:last-child td { border-bottom: none; }
.tool-table tr:hover td { background: #f6f4ef; }
.tool-table .t-name { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--brand-deep); white-space: nowrap; }
.tool-table .t-use { color: var(--muted); font-size: .82rem; }
.cate-block { margin-bottom: 40px; }
.cate-block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.cate-block-head h2 { font-size: 1.18rem; font-weight: 800; letter-spacing: .5px; }
.cate-block-head .cb-sub { font-size: .82rem; color: var(--muted); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.anchor-nav a {
  font-size: .8rem; font-weight: 600; color: var(--ink-3);
  background: var(--card); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 20px; transition: all .18s;
}
.anchor-nav a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ===== 教程页 ===== */
.guide-sec { margin-bottom: 46px; }
.guide-sec h2 { font-size: 1.24rem; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.guide-sec h2 .g-no {
  font-family: var(--mono); font-size: .74rem; color: var(--brand);
  border: 1.5px solid var(--brand); border-radius: 4px; padding: 1px 7px; font-weight: 800;
}
.guide-sec .g-desc { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.guide-shot {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); max-width: 680px; margin-bottom: 18px;
}
.guide-shot img { width: 100%; }
.guide-shot figcaption { padding: 9px 14px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); background: #fbfaf8; }
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.flow-card h3 { font-size: .96rem; font-weight: 800; margin-bottom: 8px; }
.flow-card p { font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.flow-card ol { padding-left: 20px; font-size: .84rem; color: #3c4148; }
.flow-card ol li { margin-bottom: 4px; }
.guide-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide-duo .guide-shot { max-width: none; margin-bottom: 0; }

/* ===== 页脚 ===== */
.site-footer { background: #131418; color: rgba(255,255,255,.62); margin-top: 0; }
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 46px 22px 30px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo .logo-name { color: #fff; }
.footer-brand p { font-size: .82rem; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,.5); }
.footer-disc {
  margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.42);
  border-left: 2px solid rgba(185,138,47,.55); padding-left: 10px; line-height: 1.7;
}
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 13px; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.55); font-size: .84rem; }
.footer-col a:hover { color: #8fd0c6; text-decoration: none; }
.footer-bottom {
  max-width: 1120px; margin: 0 auto; padding: 18px 22px 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: .76rem; color: rgba(255,255,255,.38); font-family: var(--mono);
}
.footer-bottom a { color: rgba(255,255,255,.45); }

/* ===== 下载弹窗 ===== */
.dl-modal-overlay {
  position: fixed; inset: 0; z-index: 9999; background: rgba(15,16,19,.62);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: dlfade .22s ease; backdrop-filter: blur(3px);
}
@keyframes dlfade { from { opacity: 0; } to { opacity: 1; } }
.dl-modal-box {
  background: #fff; border-radius: 14px; padding: 30px 30px 22px;
  width: 100%; max-width: 420px; text-align: center; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: dlup .28s ease;
  max-height: 92vh; overflow-y: auto;
}
@keyframes dlup { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.dl-modal-close {
  position: absolute; top: 10px; right: 14px; border: none; background: none;
  font-size: 1.5rem; color: #9aa0a8; cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 6px;
}
.dl-modal-close:hover { background: #f0efeb; color: var(--ink); }
.dl-modal-icon { font-size: 1.9rem; margin-bottom: 2px; }
.dl-modal-title { font-size: 1.08rem; font-weight: 800; margin-bottom: 18px; letter-spacing: .5px; }
.dl-modal-box .qr-breath { margin-bottom: 4px; }
.dl-modal-box .qr-breath img { width: 168px; height: 168px; }
.dl-scan-hint { font-size: .9rem; color: var(--muted); margin: 10px 0 4px; }
.dl-scan-hint strong { color: var(--ink); }
.dl-app-guide {
  font-size: .8rem; color: var(--muted); background: #f6f5f1;
  border-left: 3px solid var(--brand); border-radius: 6px; padding: 8px 12px;
  margin: 8px 0 14px; text-align: left; line-height: 1.6;
}
.dl-modal-box.quark-theme .dl-app-guide { border-left-color: var(--quark); }
.dl-modal-box.baidu-theme .dl-app-guide { border-left-color: var(--baidu); }
.dl-feature-list { list-style: none; text-align: left; margin-bottom: 14px; }
.dl-feature-list li { font-size: .82rem; color: #454a52; padding: 3px 0; display: flex; gap: 8px; align-items: flex-start; }
.dl-feature-list li::before { content: "✔"; color: #2e8b57; font-size: .72rem; margin-top: 3px; flex-shrink: 0; }
.dl-warn {
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text);
  border-radius: 8px; padding: 10px 14px; font-size: .8rem; text-align: left;
  line-height: 1.65; margin-bottom: 16px;
}
.dl-btn-close {
  width: 100%; border: 1px solid var(--line-2); background: #f4f3ef; color: var(--muted);
  padding: 10px 20px; border-radius: 8px; font-size: .86rem; cursor: pointer; transition: all .18s;
}
.dl-btn-close:hover { background: #eceae4; color: var(--ink); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { display: none; }
  .quick-dl-grid, .ver-grid, .dl-channels, .flow-grid, .guide-duo { grid-template-columns: 1fr; }
  .dl-channel:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .cate-grid { grid-template-columns: repeat(2, 1fr); }
  .shots-grid, .hw-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dl-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-meta-cell:nth-child(2) { border-right: none; }
  .main-nav { display: none; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; }
  .cate-grid, .shots-grid, .hw-grid, .steps-grid { grid-template-columns: 1fr; }
  .pan-card { flex-direction: column; align-items: stretch; text-align: center; }
  .pan-side { align-self: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .dl-channel-row { flex-direction: column; }
  .dl-channel { padding: 26px 22px; }
  .dl-main-head { padding: 20px; }
  .dl-ver-badge { margin-left: 0; text-align: left; }
  .section { padding: 46px 0; }
}
