:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid color-mix(in srgb, #1677ff 42%, transparent) !important;
  outline-offset: 3px !important;
}

#zqx-skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 2147483647;
  transform: translateY(-160%);
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: #ffffff;
  background: #172b3f;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
  font: 600 14px/1.2 "Microsoft YaHei", "PingFang SC", sans-serif;
  text-decoration: none;
  transition: transform 160ms ease;
}

#zqx-skip-link:focus {
  transform: translateY(0);
}

#zqx-global-site-footer {
  --zqx-footer-accent: #0f766e;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-top: 3px solid var(--zqx-footer-accent);
  color: #435466;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.06);
  font: 13px/1.6 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

#zqx-global-site-footer[data-group="learning"] { --zqx-footer-accent: #1677c8; }
#zqx-global-site-footer[data-group="ai"] { --zqx-footer-accent: #0f8a70; }
#zqx-global-site-footer[data-group="business"] { --zqx-footer-accent: #c84a2f; }
#zqx-global-site-footer[data-group="tools"] { --zqx-footer-accent: #b27a12; }
#zqx-global-site-footer[data-group="brand"] { --zqx-footer-accent: #be3154; }

#zqx-global-site-footer[data-theme="dark"] {
  color: #cbd5e1;
  background: #111a26;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.2);
}

#zqx-global-site-footer .zqx-global-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  padding: 12px 0;
  box-sizing: border-box;
}

#zqx-global-site-footer .zqx-global-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

#zqx-global-site-footer .zqx-global-footer-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--zqx-footer-accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

#zqx-global-site-footer .zqx-global-footer-brand strong {
  color: #172b3f;
  font-size: 14px;
  font-weight: 700;
}

#zqx-global-site-footer[data-theme="dark"] .zqx-global-footer-brand strong {
  color: #f8fafc;
}

#zqx-global-site-footer .zqx-global-footer-brand:hover strong,
#zqx-global-site-footer .zqx-global-footer-meta a:hover {
  color: var(--zqx-footer-accent);
}

#zqx-global-site-footer .zqx-global-footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  flex-wrap: wrap;
  text-align: right;
}

#zqx-global-site-footer .zqx-global-footer-meta a {
  color: inherit;
  text-decoration: none;
}

#zqx-global-site-footer [hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  #zqx-global-site-footer .zqx-global-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    width: min(100% - 28px, 1180px);
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  }

  #zqx-global-site-footer .zqx-global-footer-meta {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
