/* 模桥 VI V2：全站主色。由 nginx 注入，不改 New API 源码。 */
:root {
  --primary: #22C55E;
  --primary-foreground: #fff;
  --accent: var(--primary);
  --ring: #22C55E;
  --sidebar-primary: #22C55E;
  --sidebar-primary-foreground: #fff;
}
.dark {
  --primary: #22C55E;
  --primary-foreground: #fff;
  --accent: var(--primary);
  --ring: #22C55E;
  --sidebar-primary: #22C55E;
  --sidebar-primary-foreground: #fff;
}
@supports (color: lab(0% 0 0)) {
  :root {
    --primary: #22C55E;
    --primary-foreground: #fff;
    --accent: var(--primary);
    --ring: #22C55E;
    --sidebar-primary: #22C55E;
    --sidebar-primary-foreground: #fff;
  }
  .dark {
    --primary: #22C55E;
    --primary-foreground: #fff;
    --accent: var(--primary);
    --ring: #22C55E;
    --sidebar-primary: #22C55E;
    --sidebar-primary-foreground: #fff;
  }
}
.mq-site-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mq-site-foot-mark {
  color: #1F2937;
  display: block;
  flex: none;
}
.dark .mq-site-foot-mark {
  color: #E5E7EB;
}
#mq-login-mark {
  display: flex;
  justify-content: center;
  margin: 0 0 1.25rem;
}
#mq-login-mark img {
  width: 72px;
  height: auto;
  display: block;
}

/* Hide New API version / "Update available" control. Do not change New API source. */
[class*="system-brand"] > button {
  display: none !important;
}
