/* 野果桌面官网 · 样式 */
:root {
  --bg: #060f0b;
  --bg-soft: #0a1611;
  --card: #0e1c16;
  --card-hover: #13251d;
  --line: #1b2c24;
  --text: #e7f2ea;
  --muted: #8fa79a;
  --ink: #040906;
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 560px at 18% -8%, rgba(34, 197, 94, .10), transparent 62%),
    radial-gradient(900px 520px at 92% 2%, rgba(16, 185, 129, .07), transparent 58%),
    linear-gradient(180deg, #071310 0%, var(--bg) 42%, #050d09 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* Grid 子项默认 min-width:auto，图片的固有宽度会撑破轨道 —— 必须归零 */
.hero-grid > *, .features > *, .gallery > *, .specs > *, .dl-grid > *, .foot > * { min-width: 0; }

/* 防止长字符串（包名、路径）把页面撑宽 */
.spec-row span { overflow-wrap: anywhere; min-width: 0; }
.feature, .spec-card, .dl-card, .gallery figure, .tl-item { min-width: 0; }
.wrap { width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 16, .78);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .5px; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav .btn-sm {
  padding: 8px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: var(--green); color: #04140a; transition: transform .15s, box-shadow .2s;
}
.nav .btn-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--green-glow); }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 84px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 20% 40% -10%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,.16), transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--green);
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.28); margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.18; letter-spacing: -1px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 500px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--green); color: #04140a; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--green-glow); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--card); }
.btn-ghost:hover { background: var(--card-hover); border-color: #2a3a4e; }
.btn small { font-size: 12px; color: rgba(4,20,10,.6); font-weight: 500; margin-left: 2px; }

.hero-meta { display: flex; gap: 22px; margin-top: 26px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

.hero-shot {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(34,197,94,.06);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
  transition: transform .4s;
}
.hero-shot:hover { transform: perspective(1400px) rotateY(0deg); }
.hero-shot img { display: block; width: 100%; height: auto; }

/* ---------- 通用区块 ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 34px; letter-spacing: -.5px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

/* ---------- 功能卡片 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; transition: transform .2s, border-color .2s, background .2s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(34,197,94,.35); background: var(--card-hover); }
.feature .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(34,197,94,.12); color: var(--green); font-size: 20px; margin-bottom: 16px;
}
.feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- 截图 ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery figure { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.gallery img { display: block; width: 100%; height: auto; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- 视频演示 ---------- */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s;
}
.vcard:hover { border-color: rgba(34,197,94,.35); transform: translateY(-2px); }
.vmedia { position: relative; background: var(--ink); aspect-ratio: 16 / 10; }
.vmedia video { width: 100%; height: 100%; object-fit: contain; display: block; }
.vph {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, #10241b 0%, #081410 100%);
  color: var(--muted); font-size: 14px;
}
.vph code {
  font-size: 12.5px; padding: 4px 10px; border-radius: 7px;
  background: rgba(34,197,94,.1); color: var(--green); border: 1px solid rgba(34,197,94,.22);
}
.vcard figcaption {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px; border-top: 1px solid var(--line);
}
.vcard figcaption strong { font-size: 15px; }
.vcard figcaption span { font-size: 13px; color: var(--muted); }
.vhint { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- 文字区块 ---------- */
.prose {
  max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 15.5px; line-height: 1.85;
}
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.vhint code {
  background: rgba(34,197,94,.1); color: var(--green);
  padding: 2px 6px; border-radius: 5px; font-size: 12.5px;
}

/* ---------- 规格表 ---------- */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.spec-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.spec-card h3 { font-size: 16px; margin-bottom: 16px; color: var(--green); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--muted); }

/* ---------- 下载 ---------- */
.download {
  background: linear-gradient(180deg, rgba(34,197,94,.07), transparent 70%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column;
}
.dl-card h3 { font-size: 18px; margin-bottom: 6px; }
.dl-card .ver { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.dl-card ul { list-style: none; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.dl-card li { padding: 5px 0 5px 22px; position: relative; }
.dl-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.dl-card .btn { margin-top: auto; justify-content: center; }

/* ---------- 更新日志 ---------- */
.timeline { max-width: 760px; margin: 0 auto; }
.tl-item { position: relative; padding: 0 0 26px 30px; border-left: 2px solid var(--line); }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.14);
}
.tl-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.tl-item .date { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.tl-item p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px;
}
details[open] { border-color: rgba(34,197,94,.3); }
summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--green); font-size: 18px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 13.5px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot .brand { font-size: 15px; }
.foot .foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.foot .beian { font-size: 13px; color: var(--muted); }
.foot .beian a { color: var(--muted); text-decoration: none; }
.foot .beian a:hover { color: var(--green); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { font-size: 38px; }
  .hero-shot { transform: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery, .specs, .dl-grid, .videos { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
  .hero h1 { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 54px 0 40px; }
  .hero h1 { font-size: 30px; }
  section { padding: 54px 0; }
}

/* ============================================================
   可视化编辑器
   ============================================================ */
.ed-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  padding: 12px 20px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--green); color: #04140a; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 24px rgba(34,197,94,.35);
}
.ed-fab:hover { filter: brightness(1.08); }

.ed-topbar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 9998;
  display: flex; gap: 10px; align-items: center;
  padding: 9px 16px; background: rgba(10,15,22,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.ed-topbar button {
  padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 13.5px;
  border: 1px solid #2a3a4e; background: #121822; color: var(--text);
}
.ed-topbar button:hover { background: #1c2a3a; }
.ed-topbar button.primary { background: var(--green); color: #04140a; border-color: transparent; font-weight: 700; }
.ed-status { font-size: 13px; margin-right: auto; color: var(--muted); }
.ed-status.ok { color: var(--green); }
.ed-status.off { color: #f59e0b; }
body.editing { padding-top: 52px; }

.ed-text:hover { outline: 1px dashed rgba(34,197,94,.55); outline-offset: 3px; }
.ed-text.ed-focus { outline: 2px solid var(--green); outline-offset: 3px; background: rgba(34,197,94,.07); }

section[data-block], [data-item] { position: relative; }

.ed-blockbar {
  position: absolute; top: 8px; right: 8px; z-index: 30;
  display: flex; gap: 4px;
}
.ed-blockbar button {
  width: 28px; height: 28px; border-radius: 7px; cursor: pointer;
  border: 1px solid #2a3a4e; background: #111a24; color: #cfe3f5; font-size: 13px;
}
.ed-blockbar button:hover { background: #1e2f42; border-color: var(--green); }

.ed-itembar {
  position: absolute; top: 6px; right: 6px; z-index: 30;
  display: flex; gap: 4px;
}
.ed-itembar button {
  width: 26px; height: 26px; border-radius: 6px; cursor: pointer;
  border: 1px solid #2a3a4e; background: rgba(10,16,24,.92); color: #cfe3f5; font-size: 12px;
}
.ed-itembar button:hover { background: #1e2f42; border-color: var(--green); }

.ed-additem {
  display: block; margin: 20px auto 0; padding: 10px 20px; cursor: pointer;
  border-radius: 10px; border: 1px dashed #2a3a4e; background: transparent;
  color: var(--muted); font-size: 14px;
}
.ed-additem:hover { color: var(--green); border-color: var(--green); }

.ed-menu {
  position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 10000;
  display: flex; flex-direction: column; gap: 6px; padding: 10px;
  background: #121822; border: 1px solid #2a3a4e; border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
}
.ed-menu button {
  padding: 11px 26px; border-radius: 8px; border: none; cursor: pointer;
  background: #1a2431; color: var(--text); font-size: 14px;
}
.ed-menu button:hover { background: var(--green); color: #04140a; }

.ed-toast {
  position: fixed; left: 50%; bottom: 86px; transform: translate(-50%, 14px);
  z-index: 10001; padding: 12px 22px; border-radius: 10px; opacity: 0;
  background: #0f1720; color: var(--text); border: 1px solid #2a3a4e;
  transition: .25s; pointer-events: none; font-size: 14px;
}
.ed-toast.show { opacity: 1; transform: translate(-50%, 0); }

.editing .vcard { cursor: default; }


/* ============================================================
   立体设备展示（图片 / 视频统一）
   · 设备边框（深色玻璃质感）
   · 透视倾斜（默认微倾，hover 回正）
   · 多层阴影 + 高光，营造悬浮感
   · 窄屏自动关闭倾斜，避免裁切
   ============================================================ */

:root {
  --device-frame: linear-gradient(158deg, #142a20 0%, #0a1712 55%, #050c08 100%);
  --device-line: rgba(120, 220, 160, .10);
  --device-shadow: 0 46px 90px -28px rgba(0, 0, 0, .85),
                   0 16px 40px -18px rgba(0, 0, 0, .6),
                   0 0 0 1px rgba(0, 0, 0, .55);
  --device-shadow-hover: 0 60px 110px -30px rgba(0, 0, 0, .9),
                         0 22px 50px -20px rgba(0, 0, 0, .65),
                         0 0 0 1px rgba(0, 0, 0, .55);
}

/* ---------- 首屏主图：纯设备（无标题栏） ---------- */
.hero-shot {
  transform: perspective(1700px) rotateY(-8deg) rotateX(2.2deg) translateZ(0) !important;
  transform-origin: 62% 50%;
  border-radius: 24px;
  padding: 12px;
  background: var(--device-frame);
  border: 1px solid var(--device-line);
  box-shadow: var(--device-shadow);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .55s;
}
.hero-shot:hover {
  transform: perspective(1700px) rotateY(-2.5deg) rotateX(.8deg) translateY(-6px) !important;
  box-shadow: var(--device-shadow-hover);
}

/* ---------- 视频卡片 / 图库卡片：带说明的整卡立体 ---------- */
.vcard,
.gallery figure {
  position: relative;
  border-radius: 22px;
  padding: 10px 10px 0;
  background: var(--device-frame);
  border: 1px solid var(--device-line);
  box-shadow: var(--device-shadow);
  transform: perspective(1500px) rotateY(-9deg) rotateX(2.4deg);
  transform-origin: 50% 50%;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .55s;
}
.vcard:hover,
.gallery figure:hover {
  transform: perspective(1500px) rotateY(-3deg) rotateX(1deg) translateY(-6px);
  box-shadow: var(--device-shadow-hover);
}

/* 屏幕区域：圆角 + 黑底 */
.hero-shot img,
.vcard video,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  background: var(--ink);
  transition: transform .5s;
}
.gallery figure:hover img { transform: none; }   /* 取消旧的放大，改由整卡浮起 */

/* 说明文字：融进设备底边 */
.vcard figcaption,
.gallery figcaption {
  padding: 12px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-radius: 0 0 12px 12px;
  margin-top: 8px;
}

/* 玻璃高光（斜向一道） */
.hero-shot::after,
.vcard::after,
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg,
      rgba(255, 255, 255, .10) 0%,
      rgba(255, 255, 255, .02) 26%,
      transparent 42%,
      transparent 74%,
      rgba(255, 255, 255, .035) 100%);
  pointer-events: none;
}

/* 悬浮阴影（设备下的一片柔和投影） */
.hero-shot::before,
.vcard::before,
.gallery figure::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- 窄屏：关掉倾斜，避免裁切 ---------- */
@media (max-width: 820px) {
  .hero-shot,
  .vcard,
  .gallery figure {
    transform: none !important;
    box-shadow: var(--device-shadow);
  }
  .hero-shot:hover,
  .vcard:hover,
  .gallery figure:hover {
    transform: translateY(-4px) !important;
  }
}

/* ---------- 尊重「减少动态效果」 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-shot,
  .vcard,
  .gallery figure,
  .hero-shot img,
  .vcard video,
  .gallery img {
    transition: none !important;
    transform: none !important;
  }
}

/* ---------- 防溢出 + 细节收敛 ---------- */
html, body { overflow-x: hidden; }

/* 卡片允许阴影溢出（不再被 overflow:hidden 裁掉），圆角靠子元素自己 */
.vcard,
.gallery figure { overflow: visible; }

/* 图库/视频区留出透视空间，避免贴边 */
.videos, .gallery { padding: 18px 6px 30px; box-sizing: border-box; }

/* 视频卡片里的 video 同样圆角 */
.vcard video { border-radius: 15px; }

/* 卡片说明文字颜色在深色设备边框上更清楚 */
.vcard figcaption,
.gallery figcaption { color: var(--muted); }


/* ============================================================
   图片灯箱（点击放大）
   ============================================================ */
.gallery img,
.hero-shot img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 8, 12, .93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.lightbox.on { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: scale(.96);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
  cursor: zoom-out;
}
.lightbox.on img { transform: scale(1); }

.lightbox .lb-cap {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: 80vw;
  font-size: 13.5px;
  color: #cbd5e1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(20, 28, 38, .8);
  color: #e5e7eb;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.lightbox button:hover {
  background: rgba(34, 197, 94, .22);
  border-color: rgba(34, 197, 94, .45);
  transform: scale(1.06);
}
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; margin-top: -22px; }
.lightbox .lb-next { right: 20px; top: 50%; margin-top: -22px; }

@media (max-width: 820px) {
  .lightbox { padding: 16px; }
  .lightbox .lb-prev,
  .lightbox .lb-next { display: none; }   /* 手机上滑动切换暂不做，隐藏箭头 */
  .lightbox img { max-width: 96vw; max-height: 78vh; }
}


/* ============================================================
   页脚扩展：联系方式 + 协议链接
   ============================================================ */
.foot-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.foot-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--muted);
}
.foot-contact b {
  color: var(--text);
  font-weight: 600;
}
.foot-contact a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 167, 154, .45);
}
.foot-contact a:hover { color: var(--green); border-bottom-color: var(--green); }

/* 复制群号按钮 */
.copy-qq {
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.copy-qq:hover {
  color: var(--text);
  background: rgba(34, 197, 94, .18);
  border-color: rgba(34, 197, 94, .45);
}
.copy-qq.ok {
  color: #04140a;
  background: var(--green);
  border-color: var(--green);
}

/* 协议链接行 */
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.foot-links a:hover { color: var(--green); }

@media (max-width: 820px) {
  .foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-right { align-items: flex-start; text-align: left; }
  .foot-contact { gap: 6px 16px; }
}
