/* 声屿 UI Kit —— 商城/交易页桥接层
   这些页面各自带内联样式。这里只把「主色、圆角、按钮、输入、选中态」
   统一到主站那套语言（#2f6bff / 11px / 淡底胶囊），不改布局与逻辑。 */

:root {
  --brand: #2f6bff !important;
  --brand-2: #3f57e8;
  --radius: 12px !important;
  --line: #e9eef8 !important;
}

/* 主按钮：渐变实底 + 阴影 */
.primary,
.pay-copy,
.search-box button,
.vn-search button {
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #2f6bff, #3f57e8) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(47, 107, 255, .26);
  transition: transform .14s, box-shadow .14s, filter .14s;
}
.primary:hover,
.pay-copy:hover,
.search-box button:hover,
.vn-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(47, 107, 255, .32);
}

/* 次按钮：淡底胶囊 */
.ghost,
.back-lobby {
  border: 0 !important;
  border-radius: 11px !important;
  background: #eef2fb !important;
  color: #2a3242 !important;
  font-weight: 600;
  transition: background .14s, color .14s, transform .14s;
}
.ghost:hover,
.back-lobby:hover {
  background: #e3eaf8 !important;
  color: #23408f !important;
  transform: translateY(-1px);
}

/* 支付方式 / 筛选 chip：选中实底主色，未选淡底 */
.pay-mode,
.chip {
  border: 0 !important;
  border-radius: 10px !important;
  background: #eef2fb !important;
  color: #5b667a !important;
  font-weight: 600;
  transition: background .14s, color .14s, box-shadow .14s;
}
.pay-mode:hover,
.chip:hover { background: #e3eaf8 !important; color: #23408f !important; }
.pay-mode.active,
.chip[aria-selected="true"] {
  background: linear-gradient(135deg, #2f6bff, #3f57e8) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(47, 107, 255, .24);
}

/* 输入 / 搜索框：淡底无边框，聚焦主色环 */
.search-box input,
.vn-search input,
input[type="text"],
input[type="number"],
input[type="password"],
textarea,
select {
  border: 0 !important;
  border-radius: 10px !important;
  background: #f5f7fc !important;
  color: #2a3242 !important;
  box-shadow: inset 0 0 0 1px rgba(35, 64, 143, .06);
  transition: box-shadow .15s, background .15s;
}
.search-box input:focus,
.vn-search input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: #fff !important;
  box-shadow: inset 0 0 0 1.5px #2f6bff, 0 0 0 3px rgba(47, 107, 255, .12);
}

/* 卡片：统一圆角与描边 */
.card,
.pay-box,
.lv-me-card,
.beast-body {
  border-radius: 14px !important;
  border: 1.5px solid #e9eef8 !important;
  background: #fff !important;
}
.card:hover { border-color: #cfdcf8 !important; box-shadow: 0 8px 22px rgba(40, 90, 170, .09); }

/* 顶部页签（会员 / 爵位 / 靓号 / 交易）：胶囊，选中主色实底 */
.tab {
  border: 0 !important;
  border-radius: 999px !important;
  background: #eef2fb !important;
  color: #5b667a !important;
  font-weight: 600;
  padding: 7px 18px !important;
  transition: background .14s, color .14s, box-shadow .14s, transform .14s;
}
.tab:hover { background: #e3eaf8 !important; color: #23408f !important; transform: translateY(-1px); }
.tab.on,
.tab[aria-current="page"] {
  background: linear-gradient(135deg, #2f6bff, #3f57e8) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(47, 107, 255, .26);
}

/* 二级筛选（市场列表 / 我的交易 / 类别）：同款胶囊 */
.vn-chip {
  border: 0 !important;
  border-radius: 999px !important;
  background: #eef2fb !important;
  color: #5b667a !important;
  font-weight: 600;
  padding: 6px 15px !important;
  transition: background .14s, color .14s, box-shadow .14s, transform .14s;
}
.vn-chip:hover { background: #e3eaf8 !important; color: #23408f !important; transform: translateY(-1px); }
.vn-chip.on {
  background: linear-gradient(135deg, #2f6bff, #3f57e8) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(47, 107, 255, .26);
}
