/* SSLL 前端样式覆盖, 由 nginx sub_filter 注入 (/etc/nginx/sites-available/api.ssll.asia) */

/* 隐藏顶栏站点名旁的 new-api 版本号按钮 (点击会弹出系统更新窗口) */
button[aria-label^="系统更新"],
button[aria-label^="System update"] {
  display: none !important;
}

/* 钱包页: 不提供在线充值, 只保留兑换码 (2026-11-04)
   #wallet-add-funds 卡片 = 头部(添加资金/选择金额和支付方式/订单历史) + 内容(未启用提示 + 兑换码框) */
#wallet-add-funds [data-slot="card-header"] {
  display: none !important;
}
#wallet-add-funds [data-slot="card-content"] > :first-child:not(:last-child) {
  display: none !important;
}
#wallet-add-funds [data-slot="card-content"] > :last-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}
/* 钱包页「需要兑换码？点此获取」: 做成醒目的橙色提示条 + 按钮 (2026-11-04) */
#wallet-add-funds p:has(> a[href^="http"]) {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(232, 116, 59, 0.10);
  border: 1px solid rgba(232, 116, 59, 0.45);
  color: inherit !important;
  font-size: 15px !important;
  font-weight: 600;
}
#wallet-add-funds p:has(> a[href^="http"]) > a {
  background: #e8743b;
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}
#wallet-add-funds p:has(> a[href^="http"]) > a:hover {
  background: #d0622c;
}