/* ===== Footer v2（site-footer / 二维码弹出） ===== */
body:has(> .site-footer) { min-height: 100vh; display: flex; flex-direction: column; }
body > .site-footer { margin-top: auto; flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; background: #fff; }
.site-footer a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 4px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
/* 左：品牌 + 公司版权信息 */
.footer-brand { flex: 1; min-width: 280px; }
.footer-brand-name { font-size: 22px; font-weight: 600; color: var(--color-text-primary); display: block; }
.footer-copy { color: var(--color-text-tertiary); font-size: 13px; line-height: 1.9; margin-top: 8px; }
.footer-copy a { color: inherit; text-decoration: none; transition: color .15s ease; }
.footer-copy a:hover { color: var(--color-brand); }
/* 中：链接 + 竖线分隔 */
.footer-links { display: flex; align-items: center; gap: 18px; }
.footer-links a { color: var(--color-text-primary); font-size: 14px; transition: color .15s ease; }
.footer-links a:hover { color: var(--color-brand); }
.footer-sep { color: var(--color-text-disabled); font-size: 12px; }
/* 右：社交图标 */
.footer-social { display: flex; gap: 12px; flex: 1; justify-content: flex-end; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 9px; background: #4B5563;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: .18s ease;
}
.footer-social a:hover { background: var(--color-brand); transform: translateY(-2px); }
.footer-social .fs-icon { width: 20px; height: 20px; display: block; object-fit: contain; }
.footer-social .fs-wechat .fs-icon { width: 22px; height: 22px; }
/* hover 弹出二维码 */
.fs-item { position: relative; display: inline-flex; }
.fs-qr-pop {
  position: absolute; bottom: calc(100% - 24px); left: 50%;
  transform: translateX(-50%) translateY(4px) scale(.92);
  transform-origin: bottom center;
  width: 300px;
  display: none;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.fs-qr-card-bg {
  display: block;
  width: 100%;
  height: auto;
}
.fs-qr-card-code {
  position: absolute;
  left: 72px;
  top: 64px;
  width: 156px;
  height: 156px;
  object-fit: contain;
}
.fs-qr-card-copy {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 262px;
  text-align: center;
  pointer-events: none;
}
.fs-qr-card-title {
  color: #4B5563;
  font-size: 14px;
  line-height: 1.5;
}
.fs-qr-card-title strong {
  color: #4F7FF4;
  font-size: 16px;
  font-weight: 700;
}
.fs-qr-card-title--oa {
  letter-spacing: 4px;
  text-indent: 4px;
}
.fs-qr-card-desc {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #D8E2F6;
  color: #9AA2AE;
  font-size: 12px;
  line-height: 1.6;
}
.fs-qr-card-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #1F2937;
  font-weight: 700;
}
.fs-qr-card-brand img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.fs-qr-card-brand + span {
  display: block;
}
.fs-item:hover .fs-qr-pop {
  display: block;
  opacity: 1; pointer-events: none;
  transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 560px) {
  .footer-inner { flex-wrap: wrap; }
}
