/* ============================================================
   向日葵 · 黄金AI助手 官网样式
   深色金融风 + 金色点缀（与软件 UI 品牌色一致 #e8b923）
   ============================================================ */
:root {
  --bg: #0b0f18;
  --bg2: #10162a;
  --card: #151c2e;
  --card2: #1a2338;
  --line: #26304a;
  --gold: #e8b923;
  --gold-hi: #ffd75e;
  --gold-deep: #b8870a;
  --txt: #e8ebf0;
  --dim: #8a93a8;
  --red: #f6465d;
  --green: #2ebd85;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.7;
}
img { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
.dim { color: var(--dim); }
.gold { color: var(--gold); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all .18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}
.btn-big { padding: 14px 34px; font-size: 17px; }
.btn-block { display: block; width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: #14181f;
  box-shadow: 0 6px 18px rgba(232, 185, 35, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232, 185, 35, .5); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover { background: rgba(232, 185, 35, .1); transform: translateY(-2px); }

/* ---------- 顶部客服条 ---------- */
.topbar { background: #070b12; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.topbar-contact { display: flex; gap: 16px; align-items: center; }
@media (max-width: 640px) { .topbar-contact .topbar-item:last-child { display: none; } }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 17px; color: var(--txt); letter-spacing: 1px; }
.brand-sub { margin-left: 8px; font-size: 13px; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 16px; margin-left: auto; flex-wrap: nowrap; }
/* 2026-08-28 视觉审查：详情页导航项多，窄屏下逐字换行成竖排——禁止折行并收间距 */
.nav-links a { color: var(--dim); font-size: 14px; transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { padding: 8px 18px; font-size: 14px; }
.nav-burger { display: none; background: none; border: 1px solid var(--line); color: var(--txt); border-radius: 8px; padding: 6px 12px; font-size: 18px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg2);
    border-bottom: 1px solid var(--line); padding: 8px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(38, 48, 74, .5); }
  .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 72px 20px 56px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(232, 185, 35, .14), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 80%, rgba(232, 185, 35, .07), transparent 70%);
}
.hero-in { position: relative; }
.hero-logo { width: 148px; height: 148px; border-radius: 32px; box-shadow: 0 0 60px rgba(232, 185, 35, .35); }
.hero-title { margin-top: 26px; font-size: 46px; letter-spacing: 3px; font-weight: 900;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-slogan { margin-top: 6px; font-size: 21px; color: var(--txt); font-weight: 700; letter-spacing: 2px; }
.hero-sub { margin: 16px auto 0; max-width: 680px; color: var(--dim); font-size: 14.5px; }
.hero-actions { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 14px; font-size: 12.5px; }
.stats {
  margin-top: 44px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 26px; min-width: 150px; color: var(--dim); font-size: 13px;
}
.stat b { display: block; font-size: 22px; color: var(--gold); margin-bottom: 2px; }

/* ---------- 通用板块 ---------- */
.sec { padding: 64px 20px; }
.sec-alt { background: var(--bg2); }
.sec-title { text-align: center; font-size: 30px; letter-spacing: 2px; }
.sec-sub { text-align: center; color: var(--dim); margin-top: 8px; font-size: 14.5px; }

/* ---------- 功能卡片 ---------- */
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: all .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.card-ico { font-size: 30px; }
.card h3 { margin: 12px 0 8px; font-size: 17px; }
.card p { color: var(--dim); font-size: 13.5px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 实战数据占位 ---------- */
.data-placeholder { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dp-item { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; }
.dp-head { font-weight: 700; margin-bottom: 12px; font-size: 15px; }
.dp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dp-table th, .dp-table td { padding: 7px 4px; text-align: left; border-bottom: 1px solid var(--line); }
.dp-table th { color: var(--dim); font-weight: 400; }
.dp-empty { color: var(--dim); font-size: 13.5px; padding: 8px 0; }
@media (max-width: 860px) { .data-placeholder { grid-template-columns: 1fr; } }
.risk-note { margin-top: 18px; text-align: center; color: var(--red); font-size: 12.5px; }

/* ---------- 下载 ---------- */
.dl-cards { margin-top: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.dl-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.dl-card-main { border-color: var(--gold); box-shadow: 0 0 40px rgba(232, 185, 35, .12); }
.dl-badge {
  position: absolute; top: -12px; left: 22px; background: var(--gold); color: #14181f;
  font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 20px;
}
.dl-card h3 { font-size: 19px; }
.dl-list { list-style: none; color: var(--dim); font-size: 13.5px; flex: 1; }
.dl-list li { padding: 5px 0 5px 22px; position: relative; }
.dl-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.dl-meta { font-size: 12.5px; color: var(--dim); }
.dl-hash { font-size: 11px; word-break: break-all; margin-top: 6px; font-family: Consolas, monospace; }
@media (max-width: 860px) { .dl-cards { grid-template-columns: 1fr; } }

.dl-flow { margin-top: 34px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dl-flow h3 { margin-bottom: 18px; }
.flow-steps { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.flow { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.flow-n {
  width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  color: #14181f; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.flow-arrow { color: var(--gold); font-size: 20px; padding-top: 6px; }
.dl-note { margin-top: 16px; font-size: 13px; color: var(--dim); background: rgba(232, 185, 35, .07); border: 1px solid rgba(232, 185, 35, .25); border-radius: 10px; padding: 12px 14px; }
.dl-upgrade { margin-top: 14px; background: rgba(110, 168, 254, .06); border: 1px solid rgba(110, 168, 254, .28); border-radius: 10px; padding: 16px 18px; }
.dl-upgrade h3 { margin-bottom: 14px; font-size: 15px; color: #8ab8ff; }
.dl-upgrade .flow-steps { margin-bottom: 12px; }
.dl-upgrade .flow { font-size: 13px; }
.dl-up-note { font-size: 12.5px; color: var(--dim); background: rgba(110, 168, 254, .1); border-radius: 8px; padding: 10px 12px; line-height: 1.7; }
.dl-wx-tip { margin-top: 10px; font-size: 12.5px; color: var(--dim); background: rgba(246, 70, 93, .07); border: 1px solid rgba(246, 70, 93, .25); border-radius: 10px; padding: 10px 14px; }

/* ---------- 安装步骤 ---------- */
.steps { margin-top: 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-n {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep));
  color: #14181f; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 10px;
}
.step h3 { font-size: 14.5px; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--dim); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.faq-mini { margin-top: 20px; }

/* ---------- FAQ / details ---------- */
.faq { margin-top: 30px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-mini details, .faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 10px; padding: 14px 18px;
}
details summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; position: relative; padding-right: 26px; }
details summary::after { content: "＋"; position: absolute; right: 2px; top: 0; color: var(--gold); font-weight: 700; }
details[open] summary::after { content: "－"; }
details p { margin-top: 10px; color: var(--dim); font-size: 13.5px; }

/* ---------- 更新日志 ---------- */
.log { margin-top: 30px; max-width: 760px; margin-left: auto; margin-right: auto; }
.log-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; }
.log-ver { display: inline-block; background: rgba(232, 185, 35, .12); color: var(--gold); border: 1px solid rgba(232, 185, 35, .35); padding: 3px 12px; border-radius: 20px; font-weight: 800; font-size: 13px; }
.log-date { margin: 6px 0 8px; font-size: 12px; }
.log-list { list-style: none; font-size: 13.5px; color: var(--dim); }
.log-list li { padding: 4px 0 4px 20px; position: relative; }
.log-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 9px; top: 9px; }

/* ---------- 联系我们 ---------- */
.contact { margin-top: 34px; display: flex; gap: 40px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.contact-qr { text-align: center; }
.qr-box {
  width: 190px; height: 190px; border: 2px dashed var(--gold); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
  color: var(--gold); font-size: 14px; text-align: center; background: var(--card);
}
.contact-info { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; max-width: 420px; }
.contact-row { display: flex; gap: 8px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: #070b12; padding: 34px 20px 40px; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.footer-links { display: flex; gap: 14px; justify-content: center; align-items: center; font-size: 13px; color: var(--line); margin-bottom: 14px;
  /* 2026-09-12 手机体检：七个链接排一行，320px 下会撑破容器（实测 261>240）。
     允许换行即可——桌面端一行放得下，观感不变。 */
  flex-wrap: wrap; row-gap: 6px; }
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--gold); }
.footer-risk { max-width: 720px; margin: 0 auto 10px; font-size: 12px; color: var(--dim); }
.footer-copy { font-size: 12px; }

/* ---------- 下载前确认弹窗（第24轮：点下载必弹，确认后放行） ---------- */
.dl-modal { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(4, 8, 14, .78); backdrop-filter: blur(3px); align-items: center; justify-content: center; padding: 20px; }
.dl-modal.show { display: flex; }
.dl-modal-card { width: min(560px, 100%); max-height: 88vh; overflow: auto; background: #0d1521; border: 1px solid rgba(232, 185, 35, .4); border-radius: 16px; box-shadow: 0 18px 60px rgba(0, 0, 0, .55); }
.dl-modal-head { background: linear-gradient(90deg, rgba(232, 120, 35, .18), rgba(232, 185, 35, .10)); color: #ffd24c; font-weight: 800; font-size: 15px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dl-modal-body { padding: 14px 20px; font-size: 13.5px; line-height: 1.75; color: var(--text); }
.dl-modal-body u { text-decoration: none; border-bottom: 2px solid var(--gold); }
.dl-tip { background: rgba(10, 16, 26, .8); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 8px 12px; margin: 8px 0; font-size: 13px; }
.dl-tip.dim { border-left-color: #3a4658; }
.tag { background: rgba(232, 185, 35, .18); color: #ffd24c; border: 1px solid rgba(232, 185, 35, .4); border-radius: 5px; padding: 0 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.dl-agree { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-weight: 700; cursor: pointer; }
.dl-agree input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.dl-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px 16px; border-top: 1px solid var(--line); }
.dl-modal-foot .btn { padding: 8px 18px; font-size: 13.5px; }
#dlGo:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 640px) { .dl-modal-body { padding: 12px 14px; } .dl-modal-foot { padding: 10px 14px 14px; } }

/* ============================================================
   更新日志折叠 + 下载安全提示图文教程（第26轮官网改版）
   ============================================================ */
.log-more:not([hidden]) { display: block; }
.log-toggle { text-align: center; margin-top: 4px; }
.log-toggle .btn { font-size: 13px; padding: 8px 26px; }

.guide {
  margin-top: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.guide-title { font-size: 16px; margin-bottom: 6px; }
.guide-sub { font-size: 13px; margin-bottom: 20px; }
.guide-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.guide-step {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-n {
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  background: var(--gold);
  color: #131722;
  border-radius: 50%;
  font-weight: 800; font-size: 14px;
  flex: none;
}
.guide-text { display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.5; }
.guide-text .dim { font-size: 12px; }
.guide-step img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: cover;
}
.guide-step img[alt*="更多信息"] { max-height: 300px; }
@media (max-width: 860px) { .guide-steps { grid-template-columns: 1fr; } }

/* ======== 产品矩阵（官网原设计·恢复版） ======== */
.matrix { display:grid; grid-template-columns:repeat(auto-fit,minmax(430px,1fr)); gap:18px; }
.pcard { background:#141a24; border:1px solid #232b38; border-radius:14px; padding:24px 26px;
         transition:transform .2s, border-color .2s, box-shadow .2s; position:relative; overflow:hidden; }
.pcard:hover { transform:translateY(-3px); border-color:#f0b42988; box-shadow:0 8px 30px rgba(240,180,41,.08); }
.pcard .pimg { display:block; width:100%; aspect-ratio:12/7; object-fit:cover; border-radius:10px; border:1px solid #2a3140; margin-bottom:14px; background:#10141d; }
.pcard .pimg:hover { border-color:#e8b92388; }
.pcard .tag svg { vertical-align:-2px; margin-right:3px; }
.pcard .tag { position:absolute; top:18px; right:18px; font-size:12px; border-radius:12px; padding:3px 12px; }
.tag.live { background:#1f6feb33; color:#79c0ff; border:1px solid #1f6feb55; }
.tag.dev { background:#3d2e0033; color:#f5d97a; border:1px solid #f0b42955; }
.tag.plan { background:#21262d; color:#8b949e; }
.pcard h3 { font-size:20px; margin:12px 0 6px; }
.pcard .desc { color:#8b949e; font-size:14px; line-height:1.6; }
.pcard .stats { margin-top:12px; font-size:13px; color:#7ee787; }
.pcard .stats span { margin-right:16px; }
.pcard a.more { display:inline-block; margin-top:14px; color:#f0b429; text-decoration:none;
                font-size:14px; font-weight:bold; }
.pcard a.more:hover { color:#f5d97a; }
@media (max-width: 900px) { .matrix { grid-template-columns:1fr; } }

/* ============================================================
   批次4.2（2026-09-09）：hero 主视觉图 / 图标图片 / 软件实拍区
   ============================================================ */

/* hero 背景主视觉（ai-assistant 页 .hero 使用；压在 .hero-glow 之下） */
.hero.hero-img {
  background: url("assets/hero-main.png") center 30% / cover no-repeat, var(--bg);
}
.hero.hero-img .hero-glow {
  background:
    linear-gradient(180deg, rgba(11,15,24,.55) 0%, rgba(11,15,24,.35) 45%, rgba(11,15,24,.88) 100%);
}
.hero.hero-img .hero-sub, .hero.hero-img .hero-slogan { text-shadow: 0 2px 14px rgba(0,0,0,.8); }

/* 功能卡/产品卡图标图片（替代 emoji） */
.card-ico img, .pcard .icon-img {
  width: 56px; height: 56px; display: block;
  filter: drop-shadow(0 0 10px rgba(240,180,41,.25));
}

/* 软件实拍区 */
.shots { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; text-align: center;
  transition: all .2s ease;
}
.shot:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.shot img {
  width: 100%; height: 360px; object-fit: cover; object-position: top;
  border-radius: 10px; border: 1px solid var(--line); display: block; background: #0d1117;
}
.shot .cap { margin-top: 10px; font-size: 13px; color: var(--dim); }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } .shot img { height: 420px; } }

/* ============================================================
   QQ 客服（2026-09-12 用户要求：加两个 QQ，点击弹出 QQ 会话面板）
   链接走腾讯官方的 wpa.qq.com/msgrd：已装 QQ 会直接唤起聊天窗口，
   没装则落到 QQ 的网页提示页——比 tencent:// 协议稳妥（后者在未装 QQ 的
   机器上点了毫无反应，访客会以为链接坏了）。
   配色用 QQ 品牌蓝 #12b7f5，与站内金色主色区分，一眼能认出这是 QQ 入口。
   ============================================================ */
.qq-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.qq-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 10px; font-size: 15px; font-weight: 700;
  background: rgba(18, 183, 245, .08); color: #7fd4ff;
  border: 1px solid rgba(18, 183, 245, .45);
  transition: all .18s ease; white-space: nowrap;
}
.qq-btn:hover {
  background: rgba(18, 183, 245, .18); border-color: #12b7f5; color: #b5e7ff;
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18, 183, 245, .28);
}
.qq-btn .qq-ico { font-size: 17px; line-height: 1; }
.qq-btn .qq-num { font-family: Consolas, Menlo, monospace; letter-spacing: .4px; }
.qq-tip { margin-top: 12px; font-size: 12.5px; color: var(--dim); }
/* 联系区里的行内 QQ 号（与「微信：」那行同款排版） */
.qq-link { color: #7fd4ff; font-family: Consolas, Menlo, monospace; font-weight: 700; }
.qq-link:hover { color: #b5e7ff; text-decoration: underline; }
/* 顶部客服条里的 QQ */
.topbar-item .qq-top { color: #7fd4ff; font-family: Consolas, Menlo, monospace; }
.topbar-item .qq-top:hover { color: #b5e7ff; }

/* —— 触屏设备的可点区域（2026-09-12 手机体检）——
   手机上行内文字链接只有 14~25px 高，容易点偏（Apple 建议 ≥44px、Google ≥48px）。
   做法：**绝对定位的透明覆盖层**（::after），完全脱离文档流 —— 不改 padding/margin/行高，
   排版一个像素都不动。⚠ 一开始用的是"padding + 等量负 margin"，看着更简单，但几何对比
   实测打脸：块级子元素的负下边距会穿透父容器底部被忽略（父容器没有 overflow:hidden 时），
   卡片照样长高 9px、下面内容整体下移。
   覆盖层属于链接自己，点在它上面就是点在链接上。
   只对 **触屏**（pointer: coarse）生效：
     · 鼠标用户完全不受影响；
     · 也就不会出现"桌面上点邮箱地址上半截却打开了 QQ"这种误点（那正是相邻链接
       点击区互相重叠的后果）。
   各处的扩展量按"上下邻居还是不是链接"定：旁边是文字就多扩，旁边也是链接就只扩到
   刚好相接（8px 的间距 → 各 4px）。 */
@media (pointer: coarse) {
  .topbar-item .qq-top, .contact-row a.qq-link, .footer-links a { position: relative; }
  /* 顶部客服条：整条 30px 高，上下各扩 8px 正好铺满整条，不越界 */
  .topbar-item .qq-top::after {
    content:""; position:absolute; left:-2px; right:-2px; top:-8px; bottom:-8px; }
  /* 联系区：行与行之间没有间隔（上下的 QQ/邮箱也是链接），只扩 8px */
  .contact-row a.qq-link::after {
    content:""; position:absolute; left:-2px; right:-2px; top:-8px; bottom:-8px; }
  /* 页脚：手机上会换行、行距 12px，上下各扩 6px 正好相接，不会和上一行抢 */
  .footer-links a::after {
    content:""; position:absolute; left:-4px; right:-4px; top:-6px; bottom:-6px; }
}
@media (max-width: 860px) {
  .qq-row { flex-direction: column; align-items: center; }
  .qq-btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ============================================================
   两个客服微信二维码并排（2026-09-12 用户要求加第二个微信）
   两张二维码来源一致（微信名片导出，均 888×1131），沿用同一个 .qr-box
   （190×190 + object-fit:cover）——与原有一个二维码的显示方式完全一致，
   不引入新的裁切差异。
   ============================================================ */
.qr-pair { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.qr-pair .contact-qr { flex: 0 0 auto; }
/* 图注文字压暗一档：它只是标注，不该比微信号本身更抢眼 */
.qr-pair .contact-qr .dim { font-size: 13px; }
@media (max-width: 480px) { .qr-pair { gap: 18px; } }

/* ============================================================
   建议反馈表单（2026-09-12 用户要求："添加一个建议邮箱，所有建议只能我查看"）
   走 /api/feedback（同源，nginx 反代到本机 feedback_service.py 的 8090）。
   读取接口需要口令，所以访客提交的内容只有站主能看到——页面上也如实这么写。
   ============================================================ */
.fb-box {
  max-width: 560px; margin: 34px auto 0; text-align: left;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
.fb-head { font-size: 16px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.fb-sub { font-size: 13px; color: var(--dim); margin-bottom: 15px; line-height: 1.65; }
.fb-form { display: flex; flex-direction: column; gap: 12px; }
.fb-input {
  width: 100%; background: #0d1117; border: 1px solid var(--line);
  border-radius: 10px; color: var(--txt); font-size: 14px;
  padding: 11px 13px; font-family: inherit; box-sizing: border-box;
}
.fb-input::placeholder { color: #5c667a; }
.fb-input:focus { outline: none; border-color: var(--gold); }
.fb-area { min-height: 110px; resize: vertical; line-height: 1.65; }
.fb-btn {
  align-self: flex-start; padding: 11px 26px; border: none; border-radius: 10px;
  cursor: pointer; font-size: 15px; font-weight: 700; font-family: inherit;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: #14181f; transition: all .18s ease;
}
.fb-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,185,35,.35); }
.fb-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.fb-msg { font-size: 13px; min-height: 18px; line-height: 1.5; }
.fb-msg.fb-ok { color: #2ebd85; }
.fb-msg.fb-err { color: #f6465d; }
/* 联系方式输入框 + 同行的括号提示（2026-09-12 用户要求"默认邮箱后面加括号提示"）。
   提示**不能**写进 input 的 value——那会被当成客户填的内容一起提交。
   所以用 flex 做成同行后缀，视觉上就贴在邮箱后面。 */
.fb-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-row .fb-input { flex: 1 1 220px; min-width: 0; }
.fb-tip { font-size: 13px; color: var(--gold); white-space: nowrap; }
/* 联系方式的默认值说明（2026-09-12）；负 margin 抵消 .fb-form 的 gap */
.fb-hint { font-size: 12.5px; color: var(--dim); line-height: 1.6; margin-top: -6px; }
@media (max-width: 520px) { .fb-tip { font-size: 12px; } }
@media (max-width: 480px) { .fb-box { padding: 18px 16px; } .fb-btn { width: 100%; align-self: stretch; } }
