/* 智效codes 自定义前端 */

/* 自定义导航栏 */
.codes-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}
.codes-nav a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.codes-nav a:hover {
  color: #1a73e8;
  background: #f0f7ff;
}
.codes-nav a.active {
  color: #1a73e8;
  font-weight: 600;
}

/* 隐藏 i18n key 泄漏的语言切换按钮 */
button[aria-label="common.changeLanguage"] {
  display: none !important;
}

/* 隐藏 "设计与开发由 New API" */
a[href*="github.com/QuantumNous/new-api"],
a[href*="github.com/Calcium-Ion/new-api"],
a[href*="github.com/songquanpeng/one-api"] {
  display: none !important;
}
a[href*="new-api"]:not([href*="codes"]) {
  display: none !important;
}
/* 隐藏 "设计与开发由" 文本容器 */
a[href*="new-api"],.footer-credits {
  display: none !important;
}

