/* ==========================================
   首页美化覆盖样式 - 现代化深色主题升级
   ========================================== */

/* ---- 全局微调 ---- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- 手机端头部 ---- */
.app-header.phone {
  background: linear-gradient(180deg, #0d1a2e 0%, #111c33 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  position: relative;
}
.app-header.phone::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,253,250,0.3), transparent);
}

/* ---- 手机端Banner ---- */
.app-banner {
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}
.app-banner .swiper-slide {
  background-size: cover;
  background-position: center;
}

/* ============================================
   手机端Tab导航 - 科技感重设计 + 修复点击
   ============================================ */

/* 修复: vux-tab-wrap的padding-top导致容器绝对定位脱离文档流 */
.vux-tab-wrap.match-tab {
  padding-top: 0 !important;
}
/* 修复: vux-tab-container改回正常定位，不再遮挡 */
.vux-tab-container {
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}
/* 修复: ink-bar遮挡点击，隐藏它 */
.vux-tab-ink-bar {
  display: none !important;
}
/* 修复: filter-games可能遮挡Tab */
.filter-games {
  position: relative !important;
  z-index: 1 !important;
}
.show-filter-games-btn {
  position: relative !important;
  z-index: 1 !important;
}
/* 确保 match-tab 区域可点击 */
.match-tab {
  position: relative;
  z-index: 10;
}
/* 确保 weui-tab__panel 不会裁切Tab */
.phone .weui-tab__panel {
  overflow-x: visible !important;
  overflow-y: auto;
}
/* filter-matches 确保不遮挡 */
.phone .filter-matches {
  position: relative;
  z-index: 10;
  overflow: visible !important;
}

/* Tab外框 */
.phone .vux-tab {
  display: flex !important;
  align-items: center;
  height: 48px !important;
  background: linear-gradient(180deg, rgba(13,26,46,0.95) 0%, rgba(10,18,32,0.95) 100%) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,253,250,0.08);
  padding: 0 4px;
  gap: 0;
  position: relative;
  overflow: visible !important;
}
/* Tab底部发光线 */
.phone .vux-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,253,250,0.4), transparent);
}

/* 单个Tab项 */
.phone .vux-tab .vux-tab-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100% !important;
  line-height: 1 !important;
  font-size: 13px !important;
  color: #5a6a7a !important;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  padding: 0 2px !important;
  border: none !important;
  background: transparent !important;
  background-size: 0 !important;
  -webkit-tap-highlight-color: transparent;
}
/* Tab链接确保可点击 */
.phone .vux-tab .vux-tab-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

/* 未选中Tab - hover/active */
.phone .vux-tab .vux-tab-item:active {
  opacity: 0.7;
  transform: scale(0.95);
}

/* 选中Tab - 科技感高亮 */
.phone .vux-tab .vux-tab-item.vux-tab-selected {
  color: #fff !important;
  font-weight: 700;
}
.phone .vux-tab .vux-tab-item.vux-tab-selected a {
  color: #fff !important;
}
/* 选中Tab底部指示条 - 带发光效果 */
.phone .vux-tab .vux-tab-item.vux-tab-selected::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: #1ffdfa;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(31,253,250,0.6), 0 0 16px rgba(31,253,250,0.3);
  animation: tab-glow 2s ease-in-out infinite;
}
@keyframes tab-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(31,253,250,0.6), 0 0 16px rgba(31,253,250,0.3); }
  50% { box-shadow: 0 0 12px rgba(31,253,250,0.8), 0 0 24px rgba(31,253,250,0.4); }
}

/* 分隔线 - 用细线替代粗线 */
.phone .column-line {
  display: none !important;
}
/* 用伪元素画分隔线 */
.phone .vux-tab .vux-tab-item:not(:last-child)::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, transparent, rgba(31,253,250,0.12), transparent);
  z-index: 1;
}

/* 数字角标 - 科技感 */
.phone .match-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  line-height: 1;
  text-align: center;
  background: rgba(31,253,250,0.1);
  border: 1px solid rgba(31,253,250,0.2);
  border-radius: 9px;
  font-size: 10px;
  color: #1ffdfa;
  padding: 0 4px;
  font-weight: 600;
}

/* 混合过关Tab特殊样式 */
.phone .vux-tab .vux-tab-item a[style*="ffd700"] {
  color: #ffd700 !important;
  text-shadow: 0 0 8px rgba(255,215,0,0.3);
}

/* ---- 手机端新闻轮播 ---- */
.match-info.ph {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ---- 手机端赛事卡片 ---- */
.home-match-card {
  background: linear-gradient(135deg, #151d30 0%, #111827 100%) !important;
  border-radius: 12px !important;
  margin: 8px 10px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-match-card:active {
  transform: scale(0.98);
}

/* 卡片头部 - 联赛标签 */
.card-header {
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.league-tag {
  font-size: 10px !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.league-tag.g10 { background: linear-gradient(135deg, #3d1952, #7c2d5b) !important; }
.league-tag.g11 { background: linear-gradient(135deg, #b81020, #d71921) !important; }
.league-tag.g12 { background: linear-gradient(135deg, #a00312, #d20515) !important; }
.league-tag.g13 { background: linear-gradient(135deg, #013380, #024494) !important; }
.league-tag.g14 { background: linear-gradient(135deg, #06102a, #091c3e) !important; }

/* 卡片主体 - 队伍 */
.card-body {
  padding: 14px 12px !important;
}
.card-body-team {
  width: 48px !important;
}
.card-body-team .team-logo {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(31,253,250,0.15);
  object-fit: cover;
}
.card-body-center .team-score {
  font-size: 24px !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(31,253,250,0.3);
}
.card-body-center .dash-symbol {
  margin: 0 12px !important;
  color: rgba(255,255,255,0.3);
}
.card-body-center .start-time {
  font-size: 16px !important;
  color: #1ffdfa !important;
  font-weight: 600;
  letter-spacing: 1px;
}

/* 玩法标签 */
.odds-group-title .title {
  font-size: 12px !important;
  color: #8899aa !important;
}

/* ---- 手机端底部投注按钮 ---- */
.card-footer {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.03);
}
.match-card-button {
  flex: 1;
}
.match-card-button .button-dark-border {
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.match-card-button .button-content {
  background: linear-gradient(180deg, #1a2540, #192238) !important;
  transition: all 0.2s ease;
}
.match-card-button .button-content:hover,
.match-card-button .button-content:active {
  background: linear-gradient(180deg, #1e2d50, #1c2844) !important;
}
.button-name {
  font-size: 12px !important;
  color: #bacef1 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-odds {
  font-weight: 600 !important;
  color: #ffd700 !important;
}

/* 投注状态 */
.match-status-text {
  font-size: 11px !important;
}
.live-icon + .match-status-text,
.status-icon.live-icon + .match-status-text {
  color: #ff4757 !important;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.status-icon.early-icon + .match-status-text {
  color: #8899aa !important;
}

/* ---- 投注弹出面板 ---- */
.bet-slip-pop.vux-popup-show {
  background: linear-gradient(180deg, #141c2e 0%, #0d1220 100%) !important;
  border-top: 1px solid rgba(31,253,250,0.15);
  border-radius: 16px 16px 0 0;
  max-height: 70vh;
}
.bet-slip-pop-header {
  background: rgba(31,253,250,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px 16px 0 0;
}
.slip-number {
  background: #1ffdfa !important;
  color: #0d1220 !important;
  font-weight: 700;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* 投注底部栏 */
.bet-slip-tab {
  background: linear-gradient(180deg, #0f1825 0%, #0a1018 100%) !important;
  border-top: 2px solid rgba(31,253,250,0.2) !important;
}
.bet-slip-tab .bet-btn {
  background: linear-gradient(135deg, #0585a1, #0984e3) !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}
.bet-slip-tab .bet-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}
.bet-amount {
  font-size: 12px;
  color: #8899aa;
}
.total_zong_tou, .total-return {
  color: #ffd700 !important;
  font-weight: 700;
}

/* ============================================
   PC端美化
   ============================================ */

/* ---- PC头部 ---- */
.app-header.pc {
  background: linear-gradient(180deg, #0d1a2e 0%, #111c33 100%) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  position: relative;
}
.app-header.pc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,253,250,0.3), transparent);
}
.app-header.pc .logo img {
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}
.app-header.pc .logo:hover img {
  transform: scale(1.05);
}
.app-header.pc .nav a {
  color: #8899aa !important;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}
.app-header.pc .nav a:hover {
  color: #1ffdfa !important;
}
.app-header.pc .nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #1ffdfa;
  border-radius: 1px;
}

/* PC按钮 */
.header-button.dark {
  border-radius: 8px !important;
  padding: 8px 20px !important;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.header-button.dark:hover {
  border-color: rgba(31,253,250,0.4) !important;
  background: rgba(31,253,250,0.08) !important;
}

/* ---- PC左侧游戏筛选 ---- */
.game-filter {
  background: linear-gradient(180deg, #111a2e, #0d1420) !important;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.game-item {
  border-radius: 8px !important;
  margin: 3px 6px !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.game-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  opacity: 0;
  background: linear-gradient(135deg, rgba(31,253,250,0.1), rgba(9,132,227,0.1));
  transition: opacity 0.3s ease;
}
.game-item:hover::before {
  opacity: 1;
}
.game-item.game-item-active {
  background: linear-gradient(135deg, rgba(31,253,250,0.12), rgba(9,132,227,0.08)) !important;
  border: 1px solid rgba(31,253,250,0.2);
}
.game-item .name {
  font-size: 13px;
}
.game-item .count {
  font-size: 11px;
  color: #5a6a7a;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 1px 6px;
}

/* ---- PC轮播 ---- */
.app-events .app-banner {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.app-events .app-banner .swiper-slide {
  border-radius: 12px;
}

/* ---- PC Tab导航 ---- */
.v-tabs__bar.theme--dark {
  background-color: #141926 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.v-tabs__item {
  transition: all 0.3s ease;
  position: relative;
}
.v-tabs__item:hover {
  color: #1ffdfa !important;
}
.v-tabs__item.tab-item-active {
  color: #1ffdfa !important;
}
.v-tabs__item.tab-item-active .type-name {
  font-weight: 700;
}
.type-count {
  display: inline-block;
  min-width: 20px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: rgba(31,253,250,0.12);
  border-radius: 9px;
  font-size: 11px;
  color: #1ffdfa;
  margin-left: 4px;
  padding: 0 5px;
}

/* ---- PC赛事卡片 ---- */
.match-card {
  background: linear-gradient(135deg, #151d30 0%, #111827 100%) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
  overflow: hidden;
}
.match-card:hover {
  border-color: rgba(31,253,250,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
.match-card .game-icon {
  width: 22px !important;
  height: 22px !important;
  border-radius: 4px;
}
.match-card .tournament-name {
  font-size: 13px;
}
.match-card .league-tag {
  font-size: 10px !important;
}
.match-card .match-button {
  border-radius: 8px;
  transition: all 0.2s ease;
}
.match-card .match-button:active {
  transform: scale(0.97);
}
.match-card .btn-contain {
  padding: 8px 12px;
}
.match-card .team-logo {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
  object-fit: cover;
}
.match-card .odds-name {
  font-size: 13px !important;
  color: #bacef1 !important;
}
.match-card .bet-odds {
  font-size: 14px !important;
  color: #ffd700 !important;
  font-weight: 700;
}
.match-card .left-score {
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(31,253,250,0.2);
}
.match-card .default-status {
  color: #5a6a7a !important;
  font-size: 14px;
}
.match-card .live-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4757;
  animation: pulse-live 1.5s ease-in-out infinite;
  display: inline-block;
}

/* ---- PC右侧投注栏 ---- */
.bet-info {
  background: linear-gradient(180deg, #111a2e, #0d1420) !important;
  border-left: 1px solid rgba(255,255,255,0.05);
}
.bet-info .v-tabs__bar.theme--dark {
  background-color: #0a0f1a !important;
}
.empty-slip {
  text-align: center;
  padding: 40px 20px;
}
.empty-slip .main-tip {
  font-size: 15px;
  color: #5a6a7a;
  margin-top: 16px;
}
.empty-slip .sub-tip {
  font-size: 12px;
  color: #3d4a5c;
  margin-top: 6px;
}

/* 投注记录 */
.history-list .read-more {
  padding: 10px 14px;
  margin: 6px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
  color: #8899aa;
  transition: all 0.2s ease;
}
.history-list .read-more:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(31,253,250,0.1);
}

/* ---- PC底部 ---- */
.app-footer.pc {
  background: linear-gradient(180deg, #0d1420 0%, #080c14 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-games .nav-list-title {
  font-size: 14px;
  color: #bacef1;
  font-weight: 600;
}
.footer-games .nav-list-body a {
  color: #5a6a7a !important;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-games .nav-list-body a:hover {
  color: #1ffdfa !important;
}
.footer-middle {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.service-button {
  background: linear-gradient(135deg, #0585a1, #0984e3) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  transition: all 0.3s ease;
}
.service-button:hover {
  box-shadow: 0 4px 12px rgba(5,133,161,0.3);
  transform: translateY(-1px);
}
.footer-bottom {
  color: #3d4a5c !important;
  font-size: 12px;
}

/* ---- PC弹窗美化 ---- */
.v-dialog {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
  border: 1px solid rgba(255,255,255,0.08);
}
.v-dialog .card {
  background: linear-gradient(180deg, #151d30, #0f1520) !important;
}
.login-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 24px;
}
.login-header .header-title {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}
.base-input .input-container {
  border-radius: 8px;
  transition: all 0.3s ease;
}
.base-input input {
  font-size: 13px;
  color: #e0e6ed;
}
.base-button {
  border-radius: 10px !important;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}
.base-button:hover {
  transform: scale(1.02);
}
.base-button.taobao {
  background: linear-gradient(135deg, #0585a1, #0984e3) !important;
}

/* ---- 日期过滤 ---- */
.match-schedule {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 12px 16px;
}
.match-schedule .current-date .full-time {
  font-size: 14px;
  color: #bacef1;
  font-weight: 600;
}
.match-schedule .current-date .day-week {
  font-size: 12px;
  color: #5a6a7a;
  margin-left: 8px;
}

/* ---- 空状态提示 ---- */
.empty-match-tip {
  color: #3d4a5c !important;
  font-size: 13px;
  padding: 20px;
  text-align: center;
}

/* ---- 滚动条 (PC) ---- */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(31,253,250,0.2);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(31,253,250,0.4);
}

/* ---- 用户菜单下拉 ---- */
.v-menu__content.theme--dark {
  background: #151d30 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
  overflow: hidden;
}
.list-item {
  transition: background 0.2s ease;
  border-radius: 6px;
  margin: 2px 8px;
}
.list-item:hover {
  background: rgba(31,253,250,0.08) !important;
}
.account-info, .wallet-info {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 16px;
}

/* ---- 消息通知弹窗 ---- */
#msgNotice {
  border-radius: 16px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---- 游戏筛选弹出层 ---- */
.games-picker {
  background: #111a2e !important;
  border-top: 1px solid rgba(31,253,250,0.1);
}
.default-checker-item {
  transition: all 0.2s ease;
  border-radius: 8px;
}
.default-checker-item:active {
  background: rgba(31,253,250,0.08);
}

/* ---- 客服图标 ---- */
.customer-service img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.customer-service:hover img {
  transform: scale(1.1);
}

/* ---- 支付方式 ---- */
.payment-method img {
  border-radius: 4px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.payment-method img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ---- 选中投注项高亮 ---- */
.card-odds-btn .button-content[style*="background"] {
  background: linear-gradient(180deg, #0585a1, #047090) !important;
  box-shadow: 0 0 12px rgba(5,133,161,0.3);
}

/* ============================================
   详情页 - 整体立体感 + 四面边框按钮
   ============================================ */

/* ---- 详情页整体背景层次 ---- */
.betting-page {
  background: linear-gradient(180deg, #0d1420 0%, #111827 50%, #0d1420 100%) !important;
}

/* 禁止横向滚动 */
.phone .weui-tab__panel,
.phone .betting-page,
.betting-page {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.phone .betting-page *,
.betting-page * {
  box-sizing: border-box !important;
}

/* 赛事信息卡片 - 取消固定高度和sticky，完整显示 */
.betting-page .betting-info {
  background: linear-gradient(145deg, #1a2540 0%, #141d30 50%, #111827 100%) !important;
  border: 1px solid rgba(31,253,250,0.08) !important;
  border-radius: 12px !important;
  margin: 10px !important;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.3),
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset;
  overflow: visible !important;
  height: auto !important;
  min-height: unset !important;
  position: relative !important;
  top: auto !important;
}
.betting-page .betting-info .info-title {
  background: linear-gradient(180deg, rgba(31,253,250,0.06) 0%, transparent 100%) !important;
  border-bottom: 1px solid rgba(31,253,250,0.06) !important;
  padding: 14px 14px !important;
}
/* 联赛标签 - 完整圆角矩形，不被父级圆角裁切 */
.betting-page .betting-info .info-title .league-tag {
  display: inline-block !important;
  padding: 2px 10px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  vertical-align: middle;
  line-height: 1.5;
  margin-right: 6px !important;
}
.betting-page .betting-info .info-team {
  padding: 16px 14px !important;
}
.betting-page .betting-info .team-logo {
  border-radius: 50% !important;
  border: 2px solid rgba(31,253,250,0.15) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.betting-page .betting-info .team-name {
  font-weight: 600 !important;
  color: #e0e6ed !important;
}
.betting-page .betting-info .score {
  text-shadow: 0 0 12px rgba(31,253,250,0.4);
  font-weight: 800 !important;
}
.betting-page .betting-info .in-play,
.betting-page .betting-info .match-status-text {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255,71,87,0.15);
  border: 1px solid rgba(255,71,87,0.3);
  color: #ff4757;
  animation: pulse-live 1.5s ease-in-out infinite;
}
.betting-page .live-url {
  background: linear-gradient(135deg, rgba(5,133,161,0.15), rgba(9,132,227,0.15)) !important;
  border: 1px solid rgba(31,253,250,0.15) !important;
  border-radius: 8px !important;
  color: #1ffdfa !important;
}

/* ---- 玩法分区 - 立体卡片 ---- */
.betting-stage {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  border-radius: 10px 10px 0 0 !important;
  padding-left: 14px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  position: relative !important;
  top: auto !important;
  width: auto !important;
}
/* 标题装饰线 */
.betting-stage::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 1px;
}

.betting-odds {
  background: linear-gradient(145deg, #151d30 0%, #111827 100%) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
  border-top: none !important;
  border-radius: 0 0 10px 10px !important;
  margin: 0 10px 10px 10px !important;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.2),
    0 -1px 0 rgba(0,0,0,0.1) inset;
  overflow: hidden !important;
  max-width: calc(100% - 20px) !important;
}
.betting-odds .group-list {
  margin-bottom: 0 !important;
}
.betting-odds .odds-group-title {
  background: rgba(0,0,0,0.15) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
.betting-odds .odds-group-title .title {
  color: #8899aa !important;
  font-size: 12px;
}

/* ---- 投注按钮 - 四面边框立体按钮 ---- */

/* 按钮容器 */
.betting-odds .group-odds {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px 8px !important;
  padding: 10px !important;
  align-content: flex-start !important;
}

/* 胜负平按钮 - 每行3个 */
.betting-odds .group-odds .match-card-button:not(.odds-btn) {
  width: calc(33.33% - 6px) !important;
  min-width: calc(33.33% - 6px);
  max-width: calc(33.33% - 6px);
  margin: 0 !important;
  flex-shrink: 0;
}
/* 总进球/比分按钮 - 每行4个 */
.betting-odds .group-odds .match-card-button.odds-btn {
  width: calc(25% - 6px) !important;
  min-width: calc(25% - 6px);
  max-width: calc(25% - 6px);
  margin: 0 !important;
  flex-shrink: 0;
}
@media screen and (max-width: 370px) {
  .betting-odds .group-odds .match-card-button.odds-btn {
    width: calc(33.33% - 6px) !important;
    min-width: calc(33.33% - 6px);
    max-width: calc(33.33% - 6px);
  }
}

/* 按钮外层 - 四面边框 + 立体效果 */
.betting-odds .match-card-button .button-dark-border {
  height: auto !important;
  min-height: 42px;
  border-radius: 8px !important;
  /* 四面边框 */
  border: 1px solid rgba(31,253,250,0.12) !important;
  /* 内阴影 + 外阴影营造立体感 */
  box-shadow:
    0 2px 6px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  /* 立体渐变背景 - 顶部亮底部暗 */
  background: linear-gradient(180deg, #1e2a45 0%, #172036 40%, #141c30 100%) !important;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
/* 按钮顶部高光线 - 立体感 */
.betting-odds .match-card-button .button-dark-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,253,250,0.15), transparent);
}
/* 按钮点击效果 */
.betting-odds .match-card-button .button-dark-border:active {
  background: linear-gradient(180deg, #1a2540 0%, #141d30 40%, #111827 100%) !important;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(0,0,0,0.1),
    inset 0 0 8px rgba(5,133,161,0.15);
  transform: scale(0.97);
  border-color: rgba(31,253,250,0.25) !important;
}

/* 选中状态高亮 */
.betting-odds .match-card-button .button-dark-border[style*="0585a1"],
.betting-odds .match-card-button .button-content[style*="0585a1"] {
  border-color: rgba(31,253,250,0.35) !important;
  box-shadow:
    0 2px 8px rgba(5,133,161,0.3),
    inset 0 1px 0 rgba(31,253,250,0.1),
    0 0 12px rgba(31,253,250,0.1) !important;
}

/* 按钮内容 */
.betting-odds .match-card-button .button-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 4px !important;
  gap: 3px;
  overflow: visible !important;
  position: relative;
  z-index: 1;
  text-align: center !important;
}
/* 统一主胜/客胜按钮风格，取消左右对齐差异 */
.betting-odds .match-card-button .btn-left,
.betting-odds .match-card-button .btn-right {
  text-align: center !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
/* 修复客胜按钮：DOM顺序是赔率在前名称在后，用order调整视觉顺序 */
.betting-odds .match-card-button .btn-right .button-name {
  order: -1 !important;
}

/* 按钮名称文字 */
.betting-odds .match-card-button .button-content .button-name {
  font-size: 12px !important;
  color: #bacef1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.2;
  width: auto !important;
  font-weight: 500;
}

/* 赔率数字 - 排除.button-name，避免匹配到客胜的名称 */
.betting-odds .match-card-button .button-content > div:not(.button-name) {
  font-size: 13px !important;
  color: #ffd700 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-shadow: 0 0 6px rgba(255,215,0,0.2);
}

/* 封盘状态 */
.betting-odds .match-card-button .button-content span {
  font-size: 11px;
  color: #5a6a7a;
}

/* ---- 详情页底部占位 ---- */
div[style*="height: 432px"] {
  height: 320px !important;
}

/* ---- 手机端详情页头部 ---- */
.betting-page ~ .app-header.phone,
.phone .betting-page .app-header {
  background: linear-gradient(180deg, #0d1a2e 0%, #111c33 100%) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}

/* ---- PC端详情页立体 ---- */
.pc .betting-page .betting-info {
  border-radius: 12px !important;
}
.pc .match-card-button .button-dark-border {
  border: 1px solid rgba(31,253,250,0.12) !important;
  border-radius: 8px !important;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  background: linear-gradient(180deg, #1e2a45 0%, #172036 40%, #141c30 100%) !important;
  height: auto !important;
  min-height: 52px;
}
