/**
 * ERAXA Game UI Theme Engine (Complete Light Mode + Dark Mode across ALL Game Pages)
 * Anchored to ERAXA Logo Deep Forest Green (#024018) & synced with App Theme Studio.
 * Covers: Home (#/), Activity (#/activity), Promotion (#/promotion), Wallet (#/wallet),
 * VIP (#/vip), Account (#/main & sub-pages), Auth (#/login, #/register, #/rpwd),
 * Game Rooms (WinGo / K3 / 5D / TRX) & Modals.
 * Preserves all WinGo / K3 / 5D / TRX betting ball & chip colors.
 */

:root {
  --van-primary-color: var(--erx-pri, #024018);
  --main-color: var(--erx-pri, #024018);
  --bg_color: var(--erx-bg, #f4f8f5);
}

html[data-theme="light"] {
  --van-background-2: #ffffff;
  --van-picker-mask-color: rgba(255, 255, 255, 0.85);
  --van-text-color: #061b0e;
  --van-border-color: rgba(2, 64, 24, 0.14);
  --van-progress-background: #dce9e0;
}

html[data-theme="dark"] {
  --van-background-2: #0b1912;
  --van-picker-mask-color: rgba(11, 25, 18, 0.88);
  --van-text-color: #ecfdf5;
  --van-border-color: rgba(16, 185, 129, 0.22);
  --van-progress-background: #12271d;
}

/* ==================== UNIFIED TOP UTILITY DOCK (NO OVERLAP) ==================== */
#erxTopDock {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  max-width: 100vw;
  height: 42px;
  padding: 0 10px;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#erxTopDock .erx-dock-left,
#erxTopDock .erx-dock-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#erxTopDock #qrxBackToApp,
#erxTopDock #qrxHomeTopBtn,
#erxTopDock #qrxTeamTopBtn,
#erxTopDock #qrxPlanTopBtn,
#erxTopDock #qrxMsgTopBtn,
#erxTopDock #qrxThemeToggleBtn {
  position: static !important;
  inset: auto !important;
  height: 28px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer;
}

#erxTopDock #qrxMsgTopBtn {
  position: relative !important;
  width: 30px !important;
  padding: 0 !important;
  flex-shrink: 0;
}

#erxTopDock #qrxMsgTopBtn .erx-msg-dot {
  display: none;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  border: 1px solid #ffffff;
}

#erxTopDock #qrxThemeToggleBtn {
  width: 28px !important;
  padding: 0 !important;
  font-size: 14px !important;
  flex-shrink: 0;
}

/* Keep app & fixed navbars clear below 42px dock */
#app {
  padding-top: 42px !important;
}

#app .navbar-fixed,
.navbar .navbar-fixed {
  top: 42px !important;
}

/* Hide Home logo navbar (message action moved into #erxTopDock) */
body.erx-home-route #app > .content > .navbar,
body.erx-home-route #app > .content > .navbar .navbar-fixed,
#app > .content[data-v-a14c3598] > .navbar,
#app > .content[data-v-d2e2401d] > .navbar {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.erx-home-route #app > .content {
  padding-top: 8px !important;
}

/* Light Dock */
html[data-theme="light"] #erxTopDock {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(2, 64, 24, 0.10);
}

html[data-theme="light"] #erxTopDock #qrxBackToApp,
html[data-theme="light"] #erxTopDock #qrxHomeTopBtn {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  border: 1px solid #024018 !important;
}

html[data-theme="light"] #erxTopDock #qrxTeamTopBtn,
html[data-theme="light"] #erxTopDock #qrxPlanTopBtn,
html[data-theme="light"] #erxTopDock #qrxMsgTopBtn,
html[data-theme="light"] #erxTopDock #qrxThemeToggleBtn {
  background: #eff6f1 !important;
  color: #024018 !important;
  border: 1px solid rgba(2, 64, 24, 0.22) !important;
}

html[data-theme="light"] #erxTopDock #qrxMsgTopBtn.active {
  background: #024018 !important;
  color: #ffffff !important;
  border-color: #024018 !important;
}

/* Dark Dock */
html[data-theme="dark"] #erxTopDock {
  background: rgba(11, 25, 18, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.20);
}

html[data-theme="dark"] #erxTopDock #qrxBackToApp,
html[data-theme="dark"] #erxTopDock #qrxHomeTopBtn {
  background: linear-gradient(135deg, #024018 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

html[data-theme="dark"] #erxTopDock #qrxTeamTopBtn,
html[data-theme="dark"] #erxTopDock #qrxPlanTopBtn,
html[data-theme="dark"] #erxTopDock #qrxMsgTopBtn,
html[data-theme="dark"] #erxTopDock #qrxThemeToggleBtn {
  background: #12271d !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(16, 185, 129, 0.30) !important;
}

html[data-theme="dark"] #erxTopDock #qrxMsgTopBtn.active {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

/* ==================== GLOBAL CANVAS & DESKTOP SHELL ==================== */
html[data-theme="light"],
html[data-theme="light"] body {
  background: #e6efe9 !important;
  background-color: #e6efe9 !important;
  color: var(--erx-ink, #061b0e) !important;
}

html[data-theme="light"] #app,
html[data-theme="light"] #app>div,
html[data-theme="light"] #app .content,
html[data-theme="light"] .content[data-v-d2e2401d],
html[data-theme="light"] .container[data-v-9ca94d9e],
html[data-theme="light"] #app .Xg-page,
html[data-theme="light"] #app .jackpot-star,
html[data-theme="light"] #app .x-4d {
  background: var(--erx-bg, #f4f8f5) !important;
  background-color: var(--erx-bg, #f4f8f5) !important;
  color: var(--erx-ink, #061b0e) !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #020805 !important;
  background-color: #020805 !important;
  color: var(--erx-ink, #ecfdf5) !important;
}

html[data-theme="dark"] #app,
html[data-theme="dark"] #app>div,
html[data-theme="dark"] #app .content,
html[data-theme="dark"] .content[data-v-d2e2401d],
html[data-theme="dark"] .container[data-v-9ca94d9e],
html[data-theme="dark"] #app .Xg-page,
html[data-theme="dark"] #app .jackpot-star,
html[data-theme="dark"] #app .x-4d {
  background: var(--erx-bg, #040c08) !important;
  background-color: var(--erx-bg, #040c08) !important;
  color: var(--erx-ink, #ecfdf5) !important;
}

@media (min-width: 501px) {
  html[data-theme="light"] #app {
    box-shadow: 0 0 42px rgba(2, 64, 24, 0.10);
    border-inline: 1px solid rgba(2, 64, 24, 0.08);
  }

  html[data-theme="dark"] #app {
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
    border-inline: 1px solid rgba(16, 185, 129, 0.14);
  }
}

/* ==================== TOP NAVBAR (ALL PAGES) ==================== */
html[data-theme="light"] #app .navbar,
html[data-theme="light"] #app .navbar-fixed,
html[data-theme="light"] #app [data-v-d2e2401d] .navbar,
html[data-theme="light"] #app [data-v-2f448113].navbar,
html[data-theme="light"] #app .van-nav-bar,
html[data-theme="light"] #app .navbar[data-v-10abffca],
html[data-theme="light"] #app .WinGo__C-head,
html[data-theme="light"] #app .ar {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #024018 !important;
  border-bottom: 1px solid rgba(2, 64, 24, 0.10) !important;
}

html[data-theme="light"] #app [data-v-d2e2401d] .navbar-fixed {
  box-shadow: 0 4px 16px rgba(2, 64, 24, 0.06) !important;
}

html[data-theme="light"] #app .navbar *,
html[data-theme="light"] #app .van-nav-bar *,
html[data-theme="light"] #app .WinGo__C-head * {
  color: #024018 !important;
}

/* Keep navbars inside green gradient heroes (wallet / main / vip / auth) white */
html[data-theme="light"] #app .wallet-container-header .navbar,
html[data-theme="light"] #app .wallet-container-header .navbar-fixed,
html[data-theme="light"] #app .userInfo__container .navbar,
html[data-theme="light"] #app .userInfo__container .navbar-fixed,
html[data-theme="light"] #app .vip-header .navbar,
html[data-theme="light"] #app .vip-header .navbar-fixed,
html[data-theme="light"] #app .login__container .navbar-fixed,
html[data-theme="light"] #app .resgister__C .navbar-fixed,
html[data-theme="light"] #app .rpwd__C .navbar-fixed,
html[data-theme="light"] #app .WHD__container .navbar {
  background: transparent !important;
  border-bottom: none !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .wallet-container-header .navbar *,
html[data-theme="light"] #app .userInfo__container .navbar *,
html[data-theme="light"] #app .vip-header .navbar *,
html[data-theme="light"] #app .login__container .navbar-fixed *,
html[data-theme="light"] #app .resgister__C .navbar-fixed *,
html[data-theme="light"] #app .rpwd__C .navbar-fixed *,
html[data-theme="light"] #app .WHD__container .navbar * {
  color: #ffffff !important;
}

html[data-theme="dark"] #app .navbar,
html[data-theme="dark"] #app .navbar-fixed,
html[data-theme="dark"] #app [data-v-d2e2401d] .navbar,
html[data-theme="dark"] #app [data-v-2f448113].navbar,
html[data-theme="dark"] #app .van-nav-bar,
html[data-theme="dark"] #app .navbar[data-v-10abffca],
html[data-theme="dark"] #app .WinGo__C-head,
html[data-theme="dark"] #app .ar {
  background: #0b1912 !important;
  background-color: #0b1912 !important;
  color: #ecfdf5 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18) !important;
}

html[data-theme="dark"] #app [data-v-d2e2401d] .navbar-fixed {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] #app .navbar *,
html[data-theme="dark"] #app .van-nav-bar * {
  color: #ecfdf5 !important;
}

[data-v-d2e2401d] .navbar__content-left img,
.navbar__content-left img {
  max-height: 0.94rem !important;
  width: auto !important;
  object-fit: contain;
  filter: none !important;
}

/* ==================== BOTTOM TABBAR ==================== */
html[data-theme="light"] #app .tabbar__container {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(2, 64, 24, 0.12) !important;
  box-shadow: 0 -4px 20px rgba(2, 64, 24, 0.07) !important;
  color: #526d5c !important;
}

html[data-theme="light"] #app .tabbar__container-item span {
  color: #526d5c !important;
}

html[data-theme="light"] #app .tabbar__container-item.active span,
html[data-theme="light"] #app .tabbar__container-item.active p {
  color: #024018 !important;
  font-weight: 800 !important;
}

html[data-theme="light"] #app .tabbar__container-item.active svg path {
  fill: #024018 !important;
}

html[data-theme="dark"] #app .tabbar__container {
  background: rgba(11, 25, 18, 0.96) !important;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(16, 185, 129, 0.22) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.50) !important;
  color: #86b89e !important;
}

html[data-theme="dark"] #app .tabbar__container-item span {
  color: #86b89e !important;
}

html[data-theme="dark"] #app .tabbar__container-item.active span,
html[data-theme="dark"] #app .tabbar__container-item.active p {
  color: #34d399 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] #app .tabbar__container-item.active svg path {
  fill: #34d399 !important;
}

/* ==================== NOTICE BAR ==================== */
html[data-theme="light"] #app .noticeBar__container,
html[data-theme="light"] #app #noticeBar.noticeBar__container,
html[data-theme="light"] #app .van-notice-bar {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.16) !important;
  box-shadow: 0 4px 14px rgba(2, 64, 24, 0.06) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .noticeBar__container .noticeBar__container-body-text,
html[data-theme="light"] #app .noticeBar__container .noticeBar__container-body-text *,
html[data-theme="light"] #app .van-notice-bar__content,
html[data-theme="light"] #app .van-notice-bar__wrap {
  color: #061b0e !important;
  font-weight: 600 !important;
}

html[data-theme="light"] #app .noticeBar__container>svg,
html[data-theme="light"] #app .noticeBar__container>svg path {
  color: #024018 !important;
  fill: #024018 !important;
}

html[data-theme="light"] #app .noticeBar__container button,
html[data-theme="light"] #app .noticeBar__container-btn {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0 12px !important;
}

html[data-theme="light"] #app .noticeBar__container button *,
html[data-theme="light"] #app .noticeBar__container-btn * {
  color: #ffffff !important;
  fill: #ffffff !important;
}

html[data-theme="dark"] #app .noticeBar__container,
html[data-theme="dark"] #app #noticeBar.noticeBar__container,
html[data-theme="dark"] #app .van-notice-bar {
  background: linear-gradient(135deg, #072916 0%, #0d3e22 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.30) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .noticeBar__container-body-text,
html[data-theme="dark"] #app .noticeBar__container-body-text *,
html[data-theme="dark"] #app .van-notice-bar__content {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .noticeBar__container>svg path {
  fill: #34d399 !important;
}

html[data-theme="dark"] #app .noticeBar__container button,
html[data-theme="dark"] #app .noticeBar__container-btn {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  border: none !important;
  color: #ffffff !important;
}

html[data-theme="dark"] #app .noticeBar__container button * {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* ==================== GAME CATEGORY CARDS (MENU_BOX1 / 2 / 3) ==================== */
html[data-theme="light"] #app .game_menu .menu_box1>div:nth-child(n),
html[data-theme="light"] #app .game_menu .menu_box2,
html[data-theme="light"] #app .game_menu .menu_box3>div:nth-child(n) {
  background: linear-gradient(160deg, #ffffff 0%, #eef6f1 100%) !important;
  background-image: linear-gradient(160deg, #ffffff 0%, #eef6f1 100%) !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(2, 64, 24, 0.07) !important;
}

html[data-theme="light"] #app .game_menu .menu_box2>div:nth-child(n) {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] #app .game_menu .menu_box2 .live_menu:before,
html[data-theme="light"] #app .game_menu .menu_box2 .live_menu:after {
  background: rgba(2, 64, 24, 0.12) !important;
}

html[data-theme="light"] #app .game_menu .menu_box1 div span,
html[data-theme="light"] #app .game_menu .menu_box2 div span,
html[data-theme="light"] #app .game_menu .menu_box3 div span,
html[data-theme="light"] #app .game_menu span {
  color: #024018 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] #app .game_menu .menu_box1>div:nth-child(n),
html[data-theme="dark"] #app .game_menu .menu_box2,
html[data-theme="dark"] #app .game_menu .menu_box3>div:nth-child(n) {
  background: linear-gradient(155deg, #0f2519 0%, #08160e 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] #app .game_menu .menu_box2>div:nth-child(n) {
  background: transparent !important;
  border: none !important;
}

html[data-theme="dark"] #app .game_menu .menu_box1 div span,
html[data-theme="dark"] #app .game_menu .menu_box2 div span,
html[data-theme="dark"] #app .game_menu .menu_box3 div span,
html[data-theme="dark"] #app .game_menu span {
  color: #ecfdf5 !important;
}

/* ==================== HOME HEADINGS, CARDS, LOTTERY & RANKINGS ==================== */
html[data-theme="light"] #app .gamesList__container-title,
html[data-theme="light"] #app .hot_container .title,
html[data-theme="light"] #app .hot_container .title *,
html[data-theme="light"] #app .hot_container .title span,
html[data-theme="light"] #app .hot_container .platform .title,
html[data-theme="light"] #app .hot_container .popular .title,
html[data-theme="light"] #app .gameListGrid__container-gameRec,
html[data-theme="light"] #app .gamesList__container-other,
html[data-theme="light"] #app .gameList .whiteColor,
html[data-theme="light"] #app .game_container .game_title,
html[data-theme="light"] #app .winning .title,
html[data-theme="light"] #app .gamelist .con .items .head h1,
html[data-theme="light"] #app .luckyWinners__container>h1,
html[data-theme="light"] #app .dailyProfitRank h1,
html[data-theme="light"] #app .slot_list .slot_item .slot_title,
html[data-theme="light"] #app .video_list .video_item .video_title,
html[data-theme="light"] #app .aloneGame .header .title,
html[data-theme="light"] #app .aloneGame .header .title *,
html[data-theme="light"] #app .sysMessage__container-msgWrapper__item-title span {
  color: #061b0e !important;
}

html[data-theme="dark"] #app .gamesList__container-title,
html[data-theme="dark"] #app .hot_container .title,
html[data-theme="dark"] #app .hot_container .title *,
html[data-theme="dark"] #app .winning .title,
html[data-theme="dark"] #app .aloneGame .header .title,
html[data-theme="dark"] #app .slot_list .slot_item .slot_title,
html[data-theme="dark"] #app .video_list .video_item .video_title,
html[data-theme="dark"] #app .luckyWinners__container>h1,
html[data-theme="dark"] #app .dailyProfitRank h1 {
  color: #ecfdf5 !important;
}

html[data-theme="light"] #app .hot_container .title:before,
html[data-theme="light"] #app .gamesList__container-title:before,
html[data-theme="light"] #app .luckyWinners__container>h1:before,
html[data-theme="light"] #app .dailyProfitRank h1:before {
  background: linear-gradient(180deg, #024018 0%, #05682b 100%) !important;
}

html[data-theme="light"] #app .hot_container .look_all,
html[data-theme="light"] #app .look_all[data-v-921fc0c4] {
  background: #ffffff !important;
  border: 1px solid #024018 !important;
  color: #024018 !important;
}

html[data-theme="light"] #app .lottery_container-tab {
  background: #e8f3ec !important;
  color: #526d5c !important;
  border-radius: 10px;
}

html[data-theme="light"] #app .lottery_container .lotterySlotItem,
html[data-theme="light"] #app .lotterySlotItem__container,
html[data-theme="light"] #app .hot_container .list .item,
html[data-theme="light"] #app .allGames__container .tab_item,
html[data-theme="light"] #app .onlineGames__container-list__item {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  color: #061b0e !important;
  box-shadow: 0 4px 12px rgba(2, 64, 24, 0.05) !important;
}

html[data-theme="light"] #app .lotterySlotItem__container .title,
html[data-theme="light"] #app .lotterySlotItem__container .tit,
html[data-theme="light"] #app .lotterySlotItem__container .desc {
  color: #061b0e !important;
}

html[data-theme="light"] #app .lotterySlotItem__container .tit:before {
  background: #024018 !important;
}

html[data-theme="light"] #app .lottery_container .lotterySlotItem span,
html[data-theme="light"] #app .lotterySlotItem__container .game_text {
  color: #024018 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  padding: 2px 8px !important;
  border-radius: 6px;
}

html[data-theme="light"] #app .hot_container .list .win-odds {
  background: #e3efe8 !important;
  color: #024018 !important;
}

html[data-theme="light"] #app .hot_container .list .win-odds .win-p {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
}

html[data-theme="light"] #app .hot_container .list .win-odds span:last-child {
  color: #024018 !important;
  font-weight: 700;
}

/* Winning Information (5 cards) & Today's Earnings Chart */
html[data-theme="light"] #app .luckyWinners__container-wrapper__item,
html[data-theme="light"] #app .dailyProfitRank__content-list__item {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(2, 64, 24, 0.06) !important;
}

html[data-theme="light"] #app .luckyWinners__container-wrapper__item-info h1,
html[data-theme="light"] #app .dailyProfitRank__content-list__item span.middle-name {
  color: #061b0e !important;
  font-weight: 700 !important;
}

html[data-theme="light"] #app .luckyWinners__container-wrapper__item-info span,
html[data-theme="light"] #app .luckyWinners__container-wrapper__item-winAmount span {
  color: #526d5c !important;
}

html[data-theme="light"] #app .luckyWinners__container-wrapper__item-winAmount h1,
html[data-theme="light"] #app .dailyProfitRank__content-list__item span.left-rank {
  color: #024018 !important;
  font-weight: 800 !important;
}

html[data-theme="light"] #app .luckyWinners__container-wrapper__item-winType img {
  background: #eaf3ed !important;
  border: 1px solid rgba(2, 64, 24, 0.18) !important;
  box-shadow: none !important;
}

html #app .dailyProfitRank__content-topThree {
  background: linear-gradient(180deg, #05682b 0%, #024018 100%), url(../png/stage-b481110d.png) no-repeat center center/100% 100% !important;
  background-blend-mode: multiply !important;
  border-radius: 14px 14px 0 0;
}

html #app .dailyProfitRank__content-topThree__item>span {
  color: #ffffff !important;
}

html #app .dailyProfitRank__content-topThree__item>span:last-of-type {
  background: rgba(2, 35, 16, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

html[data-theme="light"] #app .dailyProfitRank__content-list__item span.right-box {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.34rem !important;
}

html[data-theme="dark"] #app .luckyWinners__container-wrapper__item,
html[data-theme="dark"] #app .dailyProfitRank__content-list__item,
html[data-theme="dark"] #app .hot_container .list .item,
html[data-theme="dark"] #app .lottery_container .lotterySlotItem {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
}

html[data-theme="dark"] #app .luckyWinners__container-wrapper__item-info h1,
html[data-theme="dark"] #app .dailyProfitRank__content-list__item span.middle-name {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .luckyWinners__container-wrapper__item-winAmount h1,
html[data-theme="dark"] #app .dailyProfitRank__content-list__item span.left-rank {
  color: #34d399 !important;
}

/* ==================== GAME WALLET DEBIT CARD (Wallet__C IN ROOMS) ==================== */
.Wallet__C {
  padding: .28rem .32rem .08rem !important;
  position: relative !important;
}

.Wallet__C .Wallet__C-balance {
  position: relative !important;
  overflow: hidden !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: .18rem !important;
  padding: .42rem .48rem .4rem !important;
  border-radius: .44rem !important;
}

html[data-theme="light"] .Wallet__C .Wallet__C-balance {
  background: linear-gradient(135deg, #01240e 0%, #024018 55%, #05682b 100%) !important;
  border: 1px solid rgba(2, 64, 24, 0.30) !important;
  box-shadow: 0 10px 26px rgba(2, 64, 24, 0.18) !important;
}

html[data-theme="dark"] .Wallet__C .Wallet__C-balance {
  background: linear-gradient(145deg, #0b2416 0%, #024018 55%, #06180f 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.34) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
}

.Wallet__C .Wallet__C-balance::after {
  content: "BDG WIN PLAY" !important;
  position: absolute !important;
  top: .36rem !important;
  right: .4rem !important;
  z-index: 2 !important;
  padding: .08rem .24rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-size: .24rem !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  line-height: 1.2 !important;
}

.Wallet__C .Wallet__C-balance-l2 {
  color: rgba(255, 255, 255, 0.82) !important;
  height: auto !important;
  min-height: .46rem !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  font-size: .28rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.Wallet__C .Wallet__C-balance-l1 {
  color: #ffffff !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  min-height: .72rem !important;
  line-height: 1 !important;
  margin-top: .04rem !important;
}

.Wallet__C .Wallet__C-balance-l3 {
  display: none !important;
  margin: 0 !important;
}

/* ==================== ACTIVITY PAGE (#/activity — #qrxDamanActivity + Vue Activity) ==================== */
/* Remove redundant centered logo navbar & empty spacing above #qrxDamanActivity */
body.qrx-gameplan #app .navbar[data-v-2f448113],
body.qrx-gameplan #app .navbar-fixed[data-v-2f448113],
body.qrx-gameplan #app .activity-wrapper .activity-panel:not(:has(#qrxDamanActivity)) {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.qrx-gameplan #app .activity-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.qrx-gameplan #app .daman-activity {
  padding: .18rem .26rem calc(2.1rem + env(safe-area-inset-bottom, 16px)) !important;
  margin-top: 0 !important;
}
body.qrx-gameplan #app #myPositionSec {
  margin-top: 0 !important;
}

/* Top Section Buttons Grid & Dedicated Sub-Page Header (#/activity) */
#qrxDamanActivity .da-top-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .18rem;
  margin-bottom: .26rem;
}
#qrxDamanActivity .da-top-nav-btn {
  display: flex;
  align-items: center;
  gap: .16rem;
  width: 100%;
  padding: .2rem .22rem;
  border-radius: .24rem;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#qrxDamanActivity .da-top-nav-btn:active {
  transform: scale(0.97);
}
#qrxDamanActivity .da-top-nav-ic {
  width: .76rem;
  height: .76rem;
  border-radius: .18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .4rem;
  flex-shrink: 0;
}
#qrxDamanActivity .da-top-nav-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#qrxDamanActivity .da-top-nav-title {
  font-size: .29rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#qrxDamanActivity .da-top-nav-sub {
  font-size: .22rem;
  font-weight: 600;
  margin-top: .03rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#qrxDamanActivity .da-subpage-bar {
  display: flex;
  align-items: center;
  gap: .18rem;
  padding: .18rem .22rem;
  border-radius: .24rem;
  margin-bottom: .24rem;
}
#qrxDamanActivity .da-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .12rem .24rem;
  border-radius: 999px;
  font-size: .27rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
#qrxDamanActivity .da-subpage-title {
  font-size: .31rem;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Light Mode Top Buttons + Sub-page Header */
html[data-theme="light"] #app #qrxDamanActivity .da-top-nav-btn,
html[data-theme="light"] #app #qrxDamanActivity .da-subpage-bar {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.15) !important;
  box-shadow: 0 4px 12px rgba(2, 64, 24, 0.06) !important;
}
html[data-theme="light"] #app #qrxDamanActivity .da-top-nav-title,
html[data-theme="light"] #app #qrxDamanActivity .da-subpage-title {
  color: #061b0e !important;
}
html[data-theme="light"] #app #qrxDamanActivity .da-top-nav-sub {
  color: #4b6857 !important;
}
html[data-theme="light"] #app #qrxDamanActivity .da-ic-hot    { background: #fee2e2; }
html[data-theme="light"] #app #qrxDamanActivity .da-ic-green  { background: #dcfce7; }
html[data-theme="light"] #app #qrxDamanActivity .da-ic-blue   { background: #dbeafe; }
html[data-theme="light"] #app #qrxDamanActivity .da-ic-gold   { background: #fef3c7; }
html[data-theme="light"] #app #qrxDamanActivity .da-ic-purple { background: #f3e8ff; }
html[data-theme="light"] #app #qrxDamanActivity .da-ic-orange { background: #ffedd5; }
html[data-theme="light"] #app #qrxDamanActivity .da-back-btn {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

/* Dark Mode Top Buttons + Sub-page Header */
html[data-theme="dark"] #app #qrxDamanActivity .da-top-nav-btn,
html[data-theme="dark"] #app #qrxDamanActivity .da-subpage-bar {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme="dark"] #app #qrxDamanActivity .da-top-nav-title,
html[data-theme="dark"] #app #qrxDamanActivity .da-subpage-title {
  color: #ecfdf5 !important;
}
html[data-theme="dark"] #app #qrxDamanActivity .da-top-nav-sub {
  color: #86b89e !important;
}
html[data-theme="dark"] #app #qrxDamanActivity .da-top-nav-ic {
  background: #12271d !important;
  border: 1px solid rgba(16, 185, 129, 0.24) !important;
}
html[data-theme="dark"] #app #qrxDamanActivity .da-back-btn {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

/* Light Mode #qrxDamanActivity */
html[data-theme="light"] #app .daman-activity {
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-hero {
  background: linear-gradient(135deg, #01240e 0%, #024018 55%, #05682b 100%) !important;
  border: 1px solid rgba(2, 64, 24, 0.25) !important;
  box-shadow: 0 12px 30px rgba(2, 64, 24, 0.18) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-hero-badge {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-dot {
  background: #34d399 !important;
  box-shadow: 0 0 8px #34d399 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-gold-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-hero-sub-accent {
  color: #a7f3d0 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-hero .da-sub-title:not(.da-hero-sub-accent) {
  color: rgba(255, 255, 255, 0.85) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-stats-ticker {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-stat-val {
  color: #ffffff !important;
  text-shadow: none !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-stat-lbl {
  color: rgba(255, 255, 255, 0.80) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-stat-sep {
  background: rgba(255, 255, 255, 0.24) !important;
}

/* Quick Icon Grid (Light Mode) */
html[data-theme="light"] #app #qrxDamanActivity .da-icon-btn {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  box-shadow: 0 4px 12px rgba(2, 64, 24, 0.05) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-icon-btn span {
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-gold {
  background: #fef3c7 !important;
  border-color: #f59e0b66 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-orange {
  background: #ffedd5 !important;
  border-color: #fb923c66 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-green {
  background: #dcfce7 !important;
  border-color: #22c55e66 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-blue {
  background: #dbeafe !important;
  border-color: #3b82f666 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-purple {
  background: #f3e8ff !important;
  border-color: #a855f766 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-red {
  background: #fee2e2 !important;
  border-color: #ef444466 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-yellow {
  background: #fef9c3 !important;
  border-color: #eab30866 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-ic-cyan {
  background: #cffafe !important;
  border-color: #06b6d466 !important;
}

/* Filter Tabs (Light Mode) */
html[data-theme="light"] #app #qrxDamanActivity .da-tab {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.16) !important;
  color: #4b6857 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-tab.active {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  border-color: #024018 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 64, 24, 0.22) !important;
}

/* Position Dashboard & Plan Cards (Light Mode) */
html[data-theme="light"] #app #qrxDamanActivity .da-card,
html[data-theme="light"] #app #qrxDamanActivity .da-pos-card {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  box-shadow: 0 6px 20px rgba(2, 64, 24, 0.06) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pos-status-pill {
  background: #eaf3ed !important;
  border: 1px solid rgba(2, 64, 24, 0.25) !important;
  color: #024018 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pos-user-title,
html[data-theme="light"] #app #qrxDamanActivity .da-card-title,
html[data-theme="light"] #app #qrxDamanActivity .da-track-name,
html[data-theme="light"] #app #qrxDamanActivity .da-feature-box h4 {
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pos-user-sub,
html[data-theme="light"] #app #qrxDamanActivity .da-card-desc,
html[data-theme="light"] #app #qrxDamanActivity .da-card-foot,
html[data-theme="light"] #app #qrxDamanActivity .da-track-meta,
html[data-theme="light"] #app #qrxDamanActivity .da-prog-lbls,
html[data-theme="light"] #app #qrxDamanActivity .da-feature-box p,
html[data-theme="light"] #app #qrxDamanActivity .da-faq-list,
html[data-theme="light"] #app #qrxDamanActivity .da-usdt-sub {
  color: #4b6857 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-refresh-btn {
  background: #eaf3ed !important;
  color: #024018 !important;
  border: 1px solid rgba(2, 64, 24, 0.25) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-btn-deposit {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-status-banner {
  background: #eaf3ed !important;
  border: 1px solid rgba(2, 64, 24, 0.20) !important;
  border-radius: .2rem;
  padding: .16rem .22rem;
  margin-bottom: .24rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .12rem;
  flex-wrap: wrap;
}

html[data-theme="light"] #app #qrxDamanActivity .da-status-banner-lbl {
  font-size: .26rem;
  font-weight: 800;
  color: #024018 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-status-banner-val {
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pdf-link {
  font-size: .22rem;
  font-weight: 800;
  color: #05682b !important;
  text-decoration: underline;
}

html[data-theme="light"] #app #qrxDamanActivity .da-emph-green {
  color: #05682b !important;
  font-weight: 800;
}

html[data-theme="light"] #app #qrxDamanActivity .da-emph-accent {
  color: #024018 !important;
  font-weight: 800;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pos-kpi,
html[data-theme="light"] #app #qrxDamanActivity .da-track-box,
html[data-theme="light"] #app #qrxDamanActivity .da-feature-box,
html[data-theme="light"] #app #qrxDamanActivity .da-rules-box,
html[data-theme="light"] #app #qrxDamanActivity .da-game-types-box {
  background: #f3f8f5 !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  border-radius: .2rem;
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-rules-box {
  padding: .2rem .24rem;
  margin-bottom: .2rem;
}

html[data-theme="light"] #app #qrxDamanActivity .da-game-types-box {
  margin-top: .2rem;
  padding: .18rem .22rem;
  font-size: .25rem;
}

html[data-theme="light"] #app #qrxDamanActivity .da-rules-title {
  font-size: .27rem;
  font-weight: 800;
  color: #024018 !important;
  margin-bottom: .1rem;
}

html[data-theme="light"] #app #qrxDamanActivity .da-track-box.active-rank {
  background: #eaf5ee !important;
  border-color: rgba(5, 104, 43, 0.45) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pos-kpi-val,
html[data-theme="light"] #app #qrxDamanActivity .da-pos-kpi-val.green {
  color: #024018 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-pos-kpi-lbl {
  color: #4b6857 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-track-badge {
  background: #e1eee6 !important;
  color: #024018 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-track-badge.unlocked {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-prog-wrap {
  background: #d9e7de !important;
  border: 1px solid rgba(2, 64, 24, 0.12) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-prog-bar {
  background: linear-gradient(90deg, #024018 0%, #10b981 100%) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-card-icon {
  background: #eaf3ed !important;
  border: 1px solid rgba(2, 64, 24, 0.18) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-card-badge {
  background: #eaf3ed !important;
  border: 1px solid rgba(2, 64, 24, 0.25) !important;
  color: #024018 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-hot {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fca5a5 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-daily {
  background: #dcfce7 !important;
  color: #166534 !important;
  border-color: #86efac !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-agent {
  background: #e0f2fe !important;
  color: #075985 !important;
  border-color: #7dd3fc !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-rebate {
  background: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fcd34d !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-streak {
  background: #ffedd5 !important;
  color: #9a3412 !important;
  border-color: #fdba74 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-badge-vip {
  background: #fef9c3 !important;
  color: #854d0e !important;
  border-color: #fde047 !important;
}

/* Tables in Light Mode */
html[data-theme="light"] #app #qrxDamanActivity .da-table-wrap {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.16) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-table th {
  background: #eaf3ed !important;
  color: #024018 !important;
  border-bottom: 1px solid rgba(2, 64, 24, 0.16) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-table td {
  color: #061b0e !important;
  border-bottom: 1px solid rgba(2, 64, 24, 0.08) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-table tr.da-row-current td {
  background: #e6f6ec !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-table tr.da-row-next td {
  background: #fef9e7 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-table tr.da-row-claimed td {
  background: #f0faf4 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-highlight {
  color: #05682b !important;
  font-weight: 800 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-highlight-mega,
html[data-theme="light"] #app #qrxDamanActivity .da-total-val {
  color: #024018 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-chip-current,
html[data-theme="light"] #app #qrxDamanActivity .da-chip-claimed {
  background: #dcfce7 !important;
  border: 1px solid #16a34a66 !important;
  color: #166534 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-chip-next {
  background: #fef3c7 !important;
  border: 1px solid #d9770666 !important;
  color: #92400e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-chip-locked {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-btn-claim-now {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-btn-gold,
html[data-theme="light"] #app #qrxDamanActivity .da-btn-emerald {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(2, 64, 24, 0.22) !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-toggle20-btn {
  background: #eaf3ed !important;
  color: #024018 !important;
  border: 1px solid rgba(2, 64, 24, 0.25) !important;
  font-size: .25rem;
  padding: .16rem;
}

html[data-theme="light"] #app #qrxDamanActivity .da-gift-input {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.28) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-poster-item {
  border: 1px solid rgba(2, 64, 24, 0.20) !important;
  background: #ffffff !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-poster-lbl {
  background: rgba(2, 64, 24, 0.90) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-feedback-ok {
  color: #05682b !important;
}

html[data-theme="light"] #app #qrxDamanActivity .da-feedback-err {
  color: #b91c1c !important;
}

/* Dark Mode #qrxDamanActivity (Obsidian + Emerald #10b981) */
html[data-theme="dark"] #app .daman-activity {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-hero {
  background: linear-gradient(135deg, #022310 0%, #024018 55%, #05682b 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-hero-badge {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1px solid rgba(16, 185, 129, 0.42) !important;
  color: #6ee7b7 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-badge-dot {
  background: #34d399 !important;
  box-shadow: 0 0 8px #34d399 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-gold-text {
  color: #fbbf24 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-hero-sub-accent {
  color: #34d399 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-hero .da-sub-title:not(.da-hero-sub-accent) {
  color: rgba(236, 253, 245, 0.82) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-stats-ticker {
  background: rgba(0, 0, 0, 0.36) !important;
  border: 1px solid rgba(16, 185, 129, 0.24) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-stat-val {
  color: #34d399 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-stat-lbl {
  color: #86b89e !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-stat-sep {
  background: rgba(16, 185, 129, 0.25) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-icon-btn,
html[data-theme="dark"] #app #qrxDamanActivity .da-card,
html[data-theme="dark"] #app #qrxDamanActivity .da-pos-card {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-icon-btn span,
html[data-theme="dark"] #app #qrxDamanActivity .da-card-title,
html[data-theme="dark"] #app #qrxDamanActivity .da-pos-user-title,
html[data-theme="dark"] #app #qrxDamanActivity .da-track-name,
html[data-theme="dark"] #app #qrxDamanActivity .da-status-banner-val {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-pos-user-sub,
html[data-theme="dark"] #app #qrxDamanActivity .da-card-desc,
html[data-theme="dark"] #app #qrxDamanActivity .da-card-foot,
html[data-theme="dark"] #app #qrxDamanActivity .da-track-meta,
html[data-theme="dark"] #app #qrxDamanActivity .da-prog-lbls,
html[data-theme="dark"] #app #qrxDamanActivity .da-pos-kpi-lbl,
html[data-theme="dark"] #app #qrxDamanActivity .da-feature-box p,
html[data-theme="dark"] #app #qrxDamanActivity .da-faq-list,
html[data-theme="dark"] #app #qrxDamanActivity .da-usdt-sub {
  color: #86b89e !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-tab {
  background: #12271d !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #a7d4ba !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-tab.active,
html[data-theme="dark"] #app #qrxDamanActivity .da-btn-gold,
html[data-theme="dark"] #app #qrxDamanActivity .da-btn-emerald,
html[data-theme="dark"] #app #qrxDamanActivity .da-btn-deposit {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-pos-kpi,
html[data-theme="dark"] #app #qrxDamanActivity .da-track-box,
html[data-theme="dark"] #app #qrxDamanActivity .da-feature-box,
html[data-theme="dark"] #app #qrxDamanActivity .da-rules-box,
html[data-theme="dark"] #app #qrxDamanActivity .da-game-types-box,
html[data-theme="dark"] #app #qrxDamanActivity .da-table-wrap,
html[data-theme="dark"] #app #qrxDamanActivity .da-gift-input {
  background: #12271d !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-rules-box {
  padding: .2rem .24rem;
  margin-bottom: .2rem;
  border-radius: .2rem;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-game-types-box {
  margin-top: .2rem;
  padding: .18rem .22rem;
  font-size: .25rem;
  border-radius: .2rem;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-status-banner {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: .2rem;
  padding: .16rem .22rem;
  margin-bottom: .24rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .12rem;
  flex-wrap: wrap;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-status-banner-lbl,
html[data-theme="dark"] #app #qrxDamanActivity .da-emph-green,
html[data-theme="dark"] #app #qrxDamanActivity .da-highlight,
html[data-theme="dark"] #app #qrxDamanActivity .da-pos-kpi-val.green,
html[data-theme="dark"] #app #qrxDamanActivity .da-pos-status-pill {
  color: #34d399 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-emph-accent,
html[data-theme="dark"] #app #qrxDamanActivity .da-total-val,
html[data-theme="dark"] #app #qrxDamanActivity .da-rules-title,
html[data-theme="dark"] #app #qrxDamanActivity .da-pdf-link,
html[data-theme="dark"] #app #qrxDamanActivity .da-pos-kpi-val,
html[data-theme="dark"] #app #qrxDamanActivity .da-feature-box h4 {
  color: #fbbf24 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-table th {
  background: #0d2117 !important;
  color: #34d399 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.24) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-table td {
  color: #ecfdf5 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-prog-wrap {
  background: #040c08 !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-prog-bar {
  background: linear-gradient(90deg, #059669 0%, #34d399 100%) !important;
}

html[data-theme="dark"] #app #qrxDamanActivity .da-refresh-btn,
html[data-theme="dark"] #app #qrxDamanActivity .da-toggle20-btn {
  background: #12271d !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

/* Fallback Vue Activity & Daily Sign-In Views (No purple!) */
html[data-theme="light"] #app .activity-wrapper,
html[data-theme="light"] #app .dailySignIn__container {
  background: var(--erx-bg, #f4f8f5) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .activity-wrapper .activity-banner,
html[data-theme="light"] #app .dailySignIn__container-hero,
html[data-theme="light"] #app .dailySignIn__container .task-banner,
html[data-theme="light"] #app .dailySignInRules__container-hero__wrapper-title {
  background: linear-gradient(135deg, #01240e 0%, #024018 55%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .activity-wrapper .activitySection__container>.box,
html[data-theme="light"] #app .activity-wrapper .activity-panel-content .content-title,
html[data-theme="light"] #app .first_list-item,
html[data-theme="light"] #app .dailySignIn__container .task-panel .task-item,
html[data-theme="light"] #app .dailySignIn__container-content__wrapper-block,
html[data-theme="light"] #app .dailySignInRules__container-hero {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  color: #061b0e !important;
  box-shadow: 0 4px 14px rgba(2, 64, 24, 0.06) !important;
}

html[data-theme="light"] #app .dailySignIn__container-content__wrapper-block.signed {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] #app .activity-wrapper,
html[data-theme="dark"] #app .dailySignIn__container {
  background: var(--erx-bg, #040c08) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .activity-wrapper .activity-banner,
html[data-theme="dark"] #app .dailySignIn__container-hero,
html[data-theme="dark"] #app .dailySignIn__container .task-banner {
  background: linear-gradient(135deg, #022310 0%, #024018 55%, #05682b 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.32) !important;
}

html[data-theme="dark"] #app .activity-wrapper .activitySection__container>.box,
html[data-theme="dark"] #app .activity-wrapper .activity-panel-content .content-title,
html[data-theme="dark"] #app .first_list-item,
html[data-theme="dark"] #app .dailySignIn__container .task-panel .task-item,
html[data-theme="dark"] #app .dailySignIn__container-content__wrapper-block {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .dailySignIn__container-content__wrapper-block.signed {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
}

/* ==================== PROMOTION / AGENCY PAGE (#/promotion + Sub-pages) ==================== */
html #app .container[data-v-7fac80c7] {
  background: linear-gradient(135deg, var(--erx-hero-start, #01240e) 0%, #024018 55%, var(--erx-hero-end, #05682b) 100%) !important;
  padding: .48rem .32rem .36rem !important;
  border-bottom: none !important;
}

html[data-theme="light"] #app .container[data-v-7fac80c7]:after,
html[data-theme="light"] #app .content[data-v-fc2c35c1] {
  background: var(--erx-bg, #f4f8f5) !important;
  background-color: var(--erx-bg, #f4f8f5) !important;
  color: #061b0e !important;
}

html[data-theme="dark"] #app .container[data-v-7fac80c7]:after,
html[data-theme="dark"] #app .content[data-v-fc2c35c1] {
  background: var(--erx-bg, #040c08) !important;
  background-color: var(--erx-bg, #040c08) !important;
  color: #ecfdf5 !important;
}

html #app .container .amount[data-v-7fac80c7] {
  color: #ffffff !important;
  font-weight: 900 !important;
}

html #app .container .amount_txt[data-v-7fac80c7] {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

html #app .container .tip[data-v-7fac80c7] {
  color: rgba(255, 255, 255, 0.85) !important;
}

html[data-theme="light"] #app .container .info_content[data-v-7fac80c7],
html[data-theme="light"] #app .promote__cell-item[data-v-fc2c35c1],
html[data-theme="light"] #app .content .commission[data-v-fc2c35c1] {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  box-shadow: 0 6px 18px rgba(2, 64, 24, 0.06) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .container .info_content .info .head[data-v-7fac80c7] {
  background: #eaf3ed !important;
  color: #024018 !important;
  font-weight: 800 !important;
  border-bottom: 1px solid rgba(2, 64, 24, 0.12) !important;
}

html[data-theme="light"] #app .container .info_content .info .head.u2[data-v-7fac80c7] {
  border-left: 1px solid rgba(2, 64, 24, 0.12) !important;
}

html[data-theme="light"] #app .container .info_content .info .line1[data-v-7fac80c7],
html[data-theme="light"] #app .container .info_content .info .line2[data-v-7fac80c7],
html[data-theme="light"] #app .container .info_content .info .line3[data-v-7fac80c7] {
  color: #4b6857 !important;
  border-right: 1px solid rgba(2, 64, 24, 0.08) !important;
}

html[data-theme="light"] #app .container .info_content .info .line1>div,
html[data-theme="light"] #app .container .info_content .info .line2>div,
html[data-theme="light"] #app .container .info_content .info .line3>div,
html[data-theme="light"] #app .content .commission__body>div span[data-v-fc2c35c1]:first-of-type {
  color: #024018 !important;
  font-weight: 900 !important;
}

html[data-theme="light"] #app .promote__cell-item .label span[data-v-fc2c35c1],
html[data-theme="light"] #app .content .commission__title span[data-v-fc2c35c1] {
  color: #061b0e !important;
  font-weight: 700 !important;
}

html[data-theme="light"] #app .promote__cell-item .arrow span[data-v-fc2c35c1] {
  background: #eaf3ed !important;
  border: 1px solid rgba(2, 64, 24, 0.22) !important;
  color: #024018 !important;
  font-weight: 800 !important;
  padding: .06rem .18rem !important;
  border-radius: 999px !important;
}

html[data-theme="light"] #app .content .shareBtnContainer .shareBtn[data-v-fc2c35c1] {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 20px rgba(2, 64, 24, 0.22) !important;
}

html[data-theme="dark"] #app .container .info_content[data-v-7fac80c7],
html[data-theme="dark"] #app .promote__cell-item[data-v-fc2c35c1],
html[data-theme="dark"] #app .content .commission[data-v-fc2c35c1] {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .container .info_content .info .head[data-v-7fac80c7] {
  background: #12271d !important;
  color: #34d399 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.22) !important;
}

html[data-theme="dark"] #app .container .info_content .info .line1>div,
html[data-theme="dark"] #app .container .info_content .info .line2>div,
html[data-theme="dark"] #app .container .info_content .info .line3>div,
html[data-theme="dark"] #app .content .commission__body>div span[data-v-fc2c35c1]:first-of-type {
  color: #34d399 !important;
  font-weight: 900 !important;
}

html[data-theme="dark"] #app .promote__cell-item .arrow span[data-v-fc2c35c1] {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #6ee7b7 !important;
  padding: .06rem .18rem !important;
  border-radius: 999px !important;
}

html[data-theme="dark"] #app .content .shareBtnContainer .shareBtn[data-v-fc2c35c1] {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
}

/* ==================== WALLET PAGE (#/wallet & #bdWalletActions) ==================== */
html[data-theme="light"] #app .wallet-container {
  background: var(--erx-bg, #f4f8f5) !important;
  color: #061b0e !important;
  min-height: 100vh !important;
}

html[data-theme="light"] #app .wallet-container-header,
html[data-theme="light"] #app .userInfo__container[data-v-1d3372d8],
html[data-theme="light"] #app .about-container-header[data-v-b5e1a715],
html[data-theme="light"] #app .vip-header[data-v-4f5bf25e],
html[data-theme="light"] #app .customer-container-header,
html[data-theme="light"] #app .WHD__container-header {
  background: linear-gradient(135deg, #01240e 0%, #024018 55%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .wallet-container-content {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  box-shadow: 0 8px 24px rgba(2, 64, 24, 0.08) !important;
  border-radius: 16px !important;
  margin: -.6rem .32rem 0 !important;
  padding: .45rem .36rem !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .wallet-container-content .container[data-v-2c0e751d] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  top: 0 !important;
}

html[data-theme="light"] #app .wallet-container-content .van-circle__text {
  color: #024018 !important;
  text-shadow: none !important;
}

html[data-theme="light"] #app .wallet-container-content .container>div:not(.recycleBtnD):not(#bdWalletActions) p {
  color: #4b6857 !important;
}

html[data-theme="light"] #app .wallet-container-content .container>div:not(.recycleBtnD):not(#bdWalletActions) span,
html[data-theme="light"] #app .wallet-container-content .container .balance {
  color: #024018 !important;
}

html[data-theme="light"] #app .wallet-container .recycleBtnD,
html[data-theme="light"] #app #bdWalletActions #bdWalletDepBtn,
html[data-theme="light"] #app #bdWalletActions #bdWalletReturnBtn {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

html[data-theme="light"] #app #bdWalletActions #bdWalletAddBtn {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

html[data-theme="light"] #app #bdWalletActions #bdWalletTeamBtn,
html[data-theme="light"] #app #bdWalletActions #bdWalletAppBtn,
html[data-theme="light"] #bdWalletAppBtn {
  background: #eaf3ed !important;
  color: #024018 !important;
  border: 1px solid rgba(2, 64, 24, 0.25) !important;
}

html[data-theme="dark"] #app .wallet-container {
  background: var(--erx-bg, #040c08) !important;
  color: #ecfdf5 !important;
  min-height: 100vh !important;
}

html[data-theme="dark"] #app .wallet-container-header,
html[data-theme="dark"] #app .userInfo__container[data-v-1d3372d8],
html[data-theme="dark"] #app .about-container-header[data-v-b5e1a715],
html[data-theme="dark"] #app .vip-header[data-v-4f5bf25e],
html[data-theme="dark"] #app .customer-container-header,
html[data-theme="dark"] #app .WHD__container-header {
  background: linear-gradient(135deg, #022310 0%, #024018 55%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] #app .wallet-container-content {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 16px !important;
  margin: -.6rem .32rem 0 !important;
  padding: .45rem .36rem !important;
}

html[data-theme="dark"] #app .wallet-container-content .van-circle__text,
html[data-theme="dark"] #app .wallet-container-content .container span {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .wallet-container-content .container>div p {
  color: #86b89e !important;
}

html[data-theme="dark"] #app .wallet-container .recycleBtnD,
html[data-theme="dark"] #app #bdWalletActions #bdWalletDepBtn,
html[data-theme="dark"] #app #bdWalletActions #bdWalletAddBtn,
html[data-theme="dark"] #app #bdWalletActions #bdWalletReturnBtn {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

html[data-theme="dark"] #app #bdWalletActions #bdWalletTeamBtn,
html[data-theme="dark"] #app #bdWalletActions #bdWalletAppBtn {
  background: #12271d !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

/* ==================== GAME ROOMS (WinGo / K3 / 5D / TRX) SHELLS ==================== */
/* Preserves all betting balls, chips, Green/Violet/Red, Big/Small buttons */
html[data-theme="light"] #app .GameList__C,
html[data-theme="light"] #app .Betting__C,
html[data-theme="light"] #app .RecordNav__C>div,
html[data-theme="light"] #app .GameRecord__C-body>div,
html[data-theme="light"] #app .GameRecord__C-foot,
html[data-theme="light"] #app .Trend__C-body1,
html[data-theme="light"] #app .MyGameRecord__C-body>div,
html[data-theme="light"] #app .x-4d-content {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.12) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .GameList__C-item>div {
  color: #526d5c !important;
}

html[data-theme="light"] #app .GameList__C-item.active,
html[data-theme="light"] #app .RecordNav__C>div.active,
html[data-theme="light"] #app .GameRecord__C-head,
html[data-theme="light"] #app .Trend__C-head,
html[data-theme="light"] #app .GameRecord__C-foot-previous,
html[data-theme="light"] #app .GameRecord__C-foot-next {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .GameList__C-item.active>div {
  color: #ffffff !important;
}

html[data-theme="light"] #app .Betting__C-multiple-l,
html[data-theme="light"] #app .Trend__C-body1,
html[data-theme="light"] #app .GameRecord__C-body>div * {
  color: #061b0e !important;
}

html[data-theme="light"] #app .Betting__C-multiple-l {
  background: #eaf3ed !important;
  border-color: rgba(2, 64, 24, 0.25) !important;
}

html[data-theme="light"] #app .Betting__C-multiple-r.active {
  background: #024018 !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .TimeLeft__C-PreSale-body,
html[data-theme="light"] #app .x-4d-head .time .menu,
html[data-theme="light"] #app .x-4d-head .time .menu h3 {
  background: #ffffff !important;
  color: #061b0e !important;
}

html[data-theme="dark"] #app .GameList__C,
html[data-theme="dark"] #app .Betting__C,
html[data-theme="dark"] #app .RecordNav__C>div,
html[data-theme="dark"] #app .GameRecord__C-body>div,
html[data-theme="dark"] #app .GameRecord__C-foot,
html[data-theme="dark"] #app .Trend__C-body1 {
  background: var(--erx-surface, #0b1912) !important;
  border-color: rgba(16, 185, 129, 0.20) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .GameRecord__C-head,
html[data-theme="dark"] #app .Trend__C-head,
html[data-theme="dark"] #app .GameList__C-item.active,
html[data-theme="dark"] #app .RecordNav__C>div.active {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
}

/* ==================== ACCOUNT, VIP, AUTH, SETTINGS, ALL SUB-PAGES ==================== */
/* Main / Profile Page (#/main) Complete Light + Dark Polish */
html #app .userInfo__container[data-v-1d3372d8] {
  border-radius: 0 0 .56rem .56rem !important;
}
html #app .userInfo__container-content,
html #app .userInfo__container-content *,
html #app .userInfo__container-content-nickname,
html #app .userInfo__container-content-logintime,
html #app .userInfo__container-content-right h5 {
  color: #ffffff !important;
}
html #app .userInfo__container-content-logintime {
  color: rgba(255, 255, 255, 0.84) !important;
}
html #app .userInfo__container-content-right span {
  color: #a7f3d0 !important;
}
html #app .totalSavings__container {
  height: auto !important;
  padding: .34rem .36rem .26rem !important;
  border-radius: .34rem !important;
}
html #app .totalSavings__container-header {
  padding: 0 0 .22rem 0 !important;
}
html #app .totalSavings__container-header-box {
  padding-bottom: .22rem !important;
}
html #app .totalSavings__container-content {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  padding: .24rem 0 .04rem !important;
}
html[data-theme="light"] #app .totalSavings__container-header-box {
  border-bottom: 1px solid rgba(2, 64, 24, 0.10) !important;
}
html[data-theme="light"] #app .totalSavings__container-header__title span {
  color: #4b6857 !important;
  font-weight: 600 !important;
}
html[data-theme="light"] #app .totalSavings__container-header__subtitle span {
  color: #024018 !important;
  font-size: .56rem !important;
  font-weight: 900 !important;
}
html[data-theme="dark"] #app .totalSavings__container-header-box {
  border-bottom: 1px solid rgba(16, 185, 129, 0.18) !important;
}
html[data-theme="dark"] #app .totalSavings__container-header__title span {
  color: #86b89e !important;
}
html[data-theme="dark"] #app .totalSavings__container-header__subtitle span {
  color: #34d399 !important;
  font-size: .56rem !important;
  font-weight: 900 !important;
}

/* Safe / Vault & Points cards on #/main */
html[data-theme="light"] #app .financialServices__container-footer>div,
html[data-theme="light"] #app .financialServices__container-box>div {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  box-shadow: 0 4px 14px rgba(2, 64, 24, 0.06) !important;
  border-radius: .3rem !important;
  color: #061b0e !important;
}
html[data-theme="light"] #app .financialServices__container-footer>div>div {
  color: #061b0e !important;
}
html[data-theme="light"] #app .financialServices__container-footer>div>div>div span,
html[data-theme="light"] #app .financialServices__container-box-para h3 {
  color: #061b0e !important;
  font-weight: 700 !important;
}
html[data-theme="light"] #app .financialServices__container-footer>div>div>span,
html[data-theme="light"] #app .financialServices__container-box>div span {
  color: #4b6857 !important;
}
html[data-theme="light"] #app .financialServices__container-footer>div>div>div h4 {
  background: #eaf3ed !important;
  color: #024018 !important;
  font-weight: 800 !important;
  padding: .04rem .18rem !important;
}
html[data-theme="light"] #app .financialServices__container-footer .van-icon {
  color: #024018 !important;
}
html[data-theme="light"] #app .financialServices__container-header button {
  border-color: #024018 !important;
  color: #024018 !important;
  background: #ffffff !important;
}
html[data-theme="dark"] #app .financialServices__container-footer>div {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.24) !important;
  border-radius: .3rem !important;
  color: #ecfdf5 !important;
}
html[data-theme="dark"] #app .financialServices__container-footer>div>div>div h4 {
  background: #12271d !important;
  color: #34d399 !important;
  padding: .04rem .18rem !important;
}

/* Setting panel & notification badge + Service center + Log out button on #/main */
html[data-theme="light"] #app .settingPanel__container {
  padding: .1rem .32rem !important;
  border-radius: .3rem !important;
}
html[data-theme="light"] #app .settingPanel__container-items__item:not(:last-child) {
  border-bottom: 1px solid rgba(2, 64, 24, 0.08) !important;
}
html[data-theme="light"] #app .settingPanel__container-items-right span {
  color: #4b6857 !important;
}
html #app .settingPanel__container-items-right h5 {
  background: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
html #app .serviceCenter__container {
  height: auto !important;
  padding: .38rem .32rem !important;
  border-radius: .3rem !important;
}
html[data-theme="light"] #app .serviceCenter__container h1 {
  margin-bottom: .36rem !important;
  color: #061b0e !important;
  font-weight: 800 !important;
}
html[data-theme="light"] #app .serviceCenter-wrap-header {
  margin: .52rem 0 .32rem !important;
}
html[data-theme="light"] #app .serviceCenter-wrap-header button {
  background: #ffffff !important;
  border: 1.5px solid #024018 !important;
  color: #024018 !important;
  font-weight: 800 !important;
  height: 1.06rem !important;
  box-shadow: 0 4px 12px rgba(2, 64, 24, 0.08) !important;
}
html[data-theme="dark"] #app .serviceCenter-wrap-header button {
  background: #0b1912 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  font-weight: 800 !important;
  height: 1.06rem !important;
}
html[data-theme="light"] #app .userInfo__container .info-dialog-content input,
html[data-theme="light"] #app .popup-content .box .input {
  background: #eef6f1 !important;
  border: 1px solid rgba(2, 64, 24, 0.16) !important;
  color: #061b0e !important;
}

/* Account UID Badge */
.userInfo__container-content-uid {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: .1rem .24rem !important;
}

.userInfo__container-content-uid * {
  color: #ffffff !important;
}

/* Auth Pages (Login / Register / Reset Password) Heroes */
html #app .login__container-heading,
html #app .resgister__C-heading,
html #app .rpwd__C-heading {
  background: linear-gradient(135deg, var(--erx-hero-start, #01240e) 0%, #024018 55%, var(--erx-hero-end, #05682b) 100%) !important;
  color: #ffffff !important;
}

/* Light Mode Sub-Page Cards, Inputs, Tabs & Lists */
html[data-theme="light"] #app .userInfo__container-setting-center,
html[data-theme="light"] #app .totalSavings__container,
html[data-theme="light"] #app .financialServices__container-box>div,
html[data-theme="light"] #app .serviceCenter__container,
html[data-theme="light"] #app .settingPanel__container,
html[data-theme="light"] #app .about-container-content-item,
html[data-theme="light"] #app .sysMessage__container-msgWrapper__item,
html[data-theme="light"] #app .notification-container-content,
html[data-theme="light"] #app .content-item[data-v-6a5413fb],
html[data-theme="light"] #app .customer-container .cg,
html[data-theme="light"] #app .feedback-container-content-text,
html[data-theme="light"] #app .bet-container-lottery-card,
html[data-theme="light"] #app .bet-container-lottery-note,
html[data-theme="light"] #app .bet-container-lottery-note-box>div,
html[data-theme="light"] #app .gamestats-container-items,
html[data-theme="light"] #app .redeem-container-receive,
html[data-theme="light"] #app .redeem-container-record,
html[data-theme="light"] #app .setting_container .setting_container_item,
html[data-theme="light"] #app .phone_container,
html[data-theme="light"] #app .bonus-items,
html[data-theme="light"] #app .StrongBoxRecordCard__container,
html[data-theme="light"] #app .StrongBox__container-income,
html[data-theme="light"] #app .StrongBoxAbout__container-detail,
html[data-theme="light"] #app .Xg-list .item,
html[data-theme="light"] #app .jackpot-rule-owener,
html[data-theme="light"] #app .myCommission__container-content__item,
html[data-theme="light"] #app .subordinate__container-content__item,
html[data-theme="light"] #app .TeamReport__C-body-item,
html[data-theme="light"] #app .TeamReportDetail__C-head,
html[data-theme="light"] #app .TeamReportDetail__C-detail,
html[data-theme="light"] #app .TeamReportDetail__C-body,
html[data-theme="light"] #app .TeamReportDetail__C-body-grade-tr,
html[data-theme="light"] #app .partner-item,
html[data-theme="light"] #app .partner-link,
html[data-theme="light"] #app .partner-code,
html[data-theme="light"] #app .partner-rule,
html[data-theme="light"] #app .invitation-item,
html[data-theme="light"] #app .promotion-page .promotion-mian .promotion-box,
html[data-theme="light"] #app .promotion-page .promotion-mian .promotion-grade-tr,
html[data-theme="light"] #app .x-page-list .item,
html[data-theme="light"] #app .x-page .promotion-content .promotion-list__container-item__content>div,
html[data-theme="light"] #app .dropdown__list,
html[data-theme="light"] #app .ar-searchbar__selector>div,
html[data-theme="light"] #app .searchbar-container__searchbar,
html[data-theme="light"] #app .vip-content-empirical>div,
html[data-theme="light"] #app .vip-content-weal,
html[data-theme="light"] #app .vip-content-myWelfare,
html[data-theme="light"] #app .vip-RebateDetails-items,
html[data-theme="light"] #app .vip-content-recordVsrule-con,
html[data-theme="light"] #app .vip-content-recordVsrule-con .item,
html[data-theme="light"] #app .vip-content-recordVsrule-head>button:not(.active),
html[data-theme="light"] #app .Recharge__container-intro,
html[data-theme="light"] #app .Recharge__container-tabcard__items,
html[data-theme="light"] #app .boxStyle[data-v-2da6d91d],
html[data-theme="light"] #app .record__main-info,
html[data-theme="light"] #app .rechargeDetail__container-body,
html[data-theme="light"] #app .rechargeh__container .state_box,
html[data-theme="light"] #app .transRecord__container-content__card,
html[data-theme="light"] #app .c2cWithdraw__C,
html[data-theme="light"] #app .c2cUpi,
html[data-theme="light"] #app .c2cRecord__C-item,
html[data-theme="light"] #app .WC4__C,
html[data-theme="light"] #app .explain,
html[data-theme="light"] #app .addWithdrawType-top,
html[data-theme="light"] #app .canNotAdd,
html[data-theme="light"] #app .bankInfo .bankInfoItem,
html[data-theme="light"] #app .chooseBank__container-content,
html[data-theme="light"] #app .bankCard__container-content__card,
html[data-theme="light"] #app .type4_C-item,
html[data-theme="light"] #app .USDT__container-content__card,
html[data-theme="light"] #app .wallet-container .van-cell,
html[data-theme="light"] #app .wallet-container .van-panel,
html[data-theme="light"] #app .wallet-container .van-card,
html[data-theme="light"] #app .popup,
html[data-theme="light"] #app .popup-content,
html[data-theme="light"] #app .dialog__container,
html[data-theme="light"] #app .van-dialog,
html[data-theme="light"] #app .van-dialog__content,
html[data-theme="light"] #app .van-popup,
html[data-theme="light"] #app .van-picker,
html[data-theme="light"] #app .van-action-sheet,
html[data-theme="light"] #app .info-dialog-content {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  color: #061b0e !important;
  box-shadow: 0 4px 14px rgba(2, 64, 24, 0.06) !important;
}

/* Light Mode Auth & Form Inputs */
html[data-theme="light"] #app .phoneInput__container-input input,
html[data-theme="light"] #app .passwordInput__container-input input,
html[data-theme="light"] #app .emailinput__container-input input,
html[data-theme="light"] #app .verifyInput__container-input input,
html[data-theme="light"] #app .register__container-invitation__input input,
html[data-theme="light"] #app .addUSDT__container-content-item input,
html[data-theme="light"] #app .Recharge__content-paymoney__money-input,
html[data-theme="light"] #app .Recharge__content-quickInfo__item,
html[data-theme="light"] #app .c2cWithdraw__C-input,
html[data-theme="light"] #app .WC4__C-input,
html[data-theme="light"] #app .address_input,
html[data-theme="light"] #app .popup__container-input,
html[data-theme="light"] #app .popup__container-multiple>div,
html[data-theme="light"] #app .popup__container-numLine,
html[data-theme="light"] #app .promptContent,
html[data-theme="light"] #app .myCommission__container-content__item-header,
html[data-theme="light"] #app .myCommission__container-content__item-body>div,
html[data-theme="light"] #app .transRecord__container-content__card-mid .line,
html[data-theme="light"] #app .bankCard__container-content__card-mid .line,
html[data-theme="light"] #app .eWallet__container-content__card-mid .line,
html[data-theme="light"] #app .StrongBoxRecordCard__container-rale,
html[data-theme="light"] #app .StrongBox__container-dailyRate,
html[data-theme="light"] #app .StrongBoxAbout__container-dailyRate,
html[data-theme="light"] #app [data-v-7c746f97] .footer-tabBar .van-tabs__nav--card .van-tab--card {
  background: #eef6f1 !important;
  border-color: rgba(2, 64, 24, 0.16) !important;
  color: #061b0e !important;
}

/* Light Mode Typography Overrides for Nested Labels */
html[data-theme="light"] #app .userInfo__container-setting-center *,
html[data-theme="light"] #app .totalSavings__container *,
html[data-theme="light"] #app .financialServices__container-box>div *,
html[data-theme="light"] #app .settingPanel__container-items__title span,
html[data-theme="light"] #app .settingPanel__container-items-right span,
html[data-theme="light"] #app .settingPanel__container .van-icon,
html[data-theme="light"] #app .serviceCenter__container *,
html[data-theme="light"] #app .about-container-content-item *,
html[data-theme="light"] #app .first_list-item *,
html[data-theme="light"] #app .myCommission__container-content__item *,
html[data-theme="light"] #app .subordinate__container-content__item *,
html[data-theme="light"] #app .TeamReport__C-body-item *,
html[data-theme="light"] #app .TeamReportDetail__C-head *,
html[data-theme="light"] #app .TeamReportDetail__C-detail *,
html[data-theme="light"] #app .TeamReportDetail__C-body *,
html[data-theme="light"] #app .vip-content-empirical *,
html[data-theme="light"] #app .vip-content-weal *,
html[data-theme="light"] #app .vip-content-myWelfare *,
html[data-theme="light"] #app .vip-RebateDetails *,
html[data-theme="light"] #app .vip-content-recordVsrule-con *,
html[data-theme="light"] #app .Recharge__container-intro *,
html[data-theme="light"] #app .boxStyle[data-v-2da6d91d] *,
html[data-theme="light"] #app .record__main-title span,
html[data-theme="light"] #app .record__main-info *,
html[data-theme="light"] #app .bankCard__container-content__card-mid *,
html[data-theme="light"] #app .eWallet__container-content__card-mid *,
html[data-theme="light"] #app .USDT__container-content__card *,
html[data-theme="light"] #app .gamestats-container-items *,
html[data-theme="light"] #app .redeem-container-receive *,
html[data-theme="light"] #app .redeem-container-record *,
html[data-theme="light"] #app .notification-container-content *,
html[data-theme="light"] #app .setting_container_item *,
html[data-theme="light"] #app .phone_container *,
html[data-theme="light"] #app .StrongBox__container-income *,
html[data-theme="light"] #app .StrongBoxRecordCard__container *,
html[data-theme="light"] #app .phoneInput__container-label,
html[data-theme="light"] #app .passwordInput__container-label,
html[data-theme="light"] #app .emailinput__container-label,
html[data-theme="light"] #app .verifyInput__container-label,
html[data-theme="light"] #app .register__container-invitation__label,
html[data-theme="light"] #app .register__container-remember .van-checkbox__label span,
html[data-theme="light"] #app .register__container-tips,
html[data-theme="light"] #app .register__container-tip,
html[data-theme="light"] #app .phoneInput__container-tips,
html[data-theme="light"] #app .emailinput__container-tips,
html[data-theme="light"] #app .signIn__container .signIn_footer,
html[data-theme="light"] #app .login_container-tab .font30,
html[data-theme="light"] #app .Landty-Con-tips,
html[data-theme="light"] #app .Landty-Con-tips *,
html[data-theme="light"] #app .van-picker-column__item--selected,
html[data-theme="light"] #app .van-dialog__message {
  color: #061b0e !important;
}

html[data-theme="light"] #app .van-tabs__nav--card {
  background: #eaf3ed !important;
  border-color: rgba(2, 64, 24, 0.16) !important;
}

html[data-theme="light"] #app .van-tabs__nav--card .van-tab--card:not(.van-tab--active) {
  background: #ffffff !important;
  color: #4b6857 !important;
  border-color: rgba(2, 64, 24, 0.14) !important;
}

html[data-theme="light"] #app .van-tabs__nav--card .van-tab--card.van-tab--active,
html[data-theme="dark"] #app .van-tabs__nav--card .van-tab--card.van-tab--active {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  border-color: #024018 !important;
}

html[data-theme="dark"] #app .van-tabs__nav--card {
  background: #0b1912 !important;
  border-color: rgba(16, 185, 129, 0.22) !important;
}

html[data-theme="dark"] #app .van-tabs__nav--card .van-tab--card:not(.van-tab--active) {
  background: #12271d !important;
  color: #86b89e !important;
  border-color: rgba(16, 185, 129, 0.18) !important;
}

html[data-theme="light"] #app .login_container-tab .active {
  border-bottom: .05333rem solid #024018 !important;
}

html[data-theme="light"] #app .login_container-tab .active .font30 {
  color: #024018 !important;
  font-weight: 800 !important;
}

/* Keep gradient card tops readable in white */
html[data-theme="light"] #app .bankCard__container-content__card-top *,
html[data-theme="light"] #app .eWallet__container-content__card-top *,
html[data-theme="light"] #app .USDT__container-content__card-top *,
html[data-theme="light"] #app .transRecord__container-content__card-top *,
html[data-theme="light"] #app .vip-content-myWelfare-con .cards .card-head *,
html[data-theme="light"] #app .vip-content-card .itemInfo * {
  color: #ffffff !important;
}

/* Dark Mode Surface Consistency */
html[data-theme="dark"] #app .userInfo__container-setting-center,
html[data-theme="dark"] #app .totalSavings__container,
html[data-theme="dark"] #app .financialServices__container-box>div,
html[data-theme="dark"] #app .serviceCenter__container,
html[data-theme="dark"] #app .settingPanel__container,
html[data-theme="dark"] #app .first_list-item,
html[data-theme="dark"] #app .vip-content-empirical>div,
html[data-theme="dark"] #app .vip-content-weal,
html[data-theme="dark"] #app .vip-content-myWelfare,
html[data-theme="dark"] #app .vip-RebateDetails-items,
html[data-theme="dark"] #app .vip-content-recordVsrule-con,
html[data-theme="dark"] #app .myCommission__container-content__item,
html[data-theme="dark"] #app .subordinate__container-content__item,
html[data-theme="dark"] #app .TeamReport__C-body-item,
html[data-theme="dark"] #app .popup,
html[data-theme="dark"] #app .popup-content,
html[data-theme="dark"] #app .van-dialog,
html[data-theme="dark"] #app .van-popup,
html[data-theme="dark"] #app .van-picker {
  background: var(--erx-surface, #0b1912) !important;
  border-color: rgba(16, 185, 129, 0.22) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .Landty-Con-tips,
html[data-theme="dark"] #app .Landty-Con-tips * {
  color: #a7d4ba !important;
}

/* ==================== PRIMARY BUTTONS & ACTIVE TABS (LOGO GREEN #024018) ==================== */
[data-v-d2e2401d] .van-dialog .promptHeader,
[data-v-d2e2401d] .van-dialog__content .promptHeader,
.van-dialog__header {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .van-dialog__header {
  color: #ffffff !important;
}

[data-v-d2e2401d] .van-dialog .van-button__text,
.cg-default.van-button:not(.Betting__C-foot-b *):not(.Betting__C-numC *),
.van-button--primary,
.login_container-button button,
.register__container-button button,
.signIn__container-button button,
.popup-foot>div:first-child,
.lottery_container-tab li.active,
.onlineGamesItem[data-v-fc2b8246],
.gamesList__container-list__item,
.allGames__container .tab_active,
.onlineGames__container .fun-tabs .fun-tab-item.activeClassName,
.onlineGames__container-gameType__item.active,
.dailySignIn__container .task-panel .task-item .btnOther.status2,
.vip-content-recordVsrule-head>button.active,
.championship .btn.active {
  background: linear-gradient(135deg, #024018 0%, var(--erx-pri, #05682b) 100%) !important;
  border-color: #024018 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(2, 64, 24, 0.22) !important;
  text-shadow: none !important;
}

.gamesList__container-title:before {
  background: linear-gradient(180deg, #024018 0%, #05682b 100%) !important;
}

html[data-theme="light"] .content__right .down {
  color: #024018 !important;
}

html[data-theme="dark"] .content__right .down {
  color: #34d399 !important;
}

/* ==================== SPLASH / LOADING SCREEN ==================== */
.start-page,
.start-page.bdgwin {
  background: #022310 url(../png/qrx-start-screen.png?v=bdg2026) no-repeat center center !important;
  background-size: contain !important;
}

.start-page>div {
  display: none !important;
}

#qrx-boot-splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #022310;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

#qrx-boot-splash img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#qrx-boot-splash.qrx-hide {
  opacity: 0;
  pointer-events: none;
}

/* Home scroll polish */
.game_container,
.gamesList__container,
#gameList {
  scroll-margin-top: 96px;
}

/* Notification / Messages list polish */
#app .sysMessage__container .sysMessage__container-msgWrapper {
  padding: 12px 12px 84px !important;
  gap: 10px !important;
}

#app .sysMessage__container-msgWrapper__item {
  border-radius: 14px !important;
  padding: 14px !important;
  margin-bottom: 10px !important;
}

#app .sysMessage__container-msgWrapper__item-time {
  font-size: 12px !important;
  margin: 4px 0 8px !important;
  opacity: 0.72;
}

#app .sysMessage__container-msgWrapper__item-content {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

html[data-theme="dark"] #app .sysMessage__container-msgWrapper__item,
html[data-theme="dark"] #app .notification-container-content {
  background: var(--erx-surface, #0b1912) !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .sysMessage__container-msgWrapper__item * {
  color: #ecfdf5 !important;
}

.game_menu_list .gamen_item,
.game_menu .menu_box1>div,
.game_menu .menu_box2>div,
.game_menu .menu_box3>div {
  cursor: pointer;
}

/* ==================== DIALOGS / MODALS (LOGOUT, CONFIRM, ALERTS) ==================== */
html[data-theme="light"] #app .dialog__container,
html[data-theme="light"] .dialog__container {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.14) !important;
  box-shadow: 0 18px 48px rgba(2, 64, 24, 0.22) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .dialog__container-title,
html[data-theme="light"] .dialog__container-title,
html[data-theme="light"] #app .dialog-wrapper .dialog-title,
html[data-theme="light"] #app .dialog-wrapper .dialog-title span,
html[data-theme="light"] #app .RpwdPopup-head,
html[data-theme="light"] #app .RpwdPopup-topTip,
html[data-theme="light"] #app .idlockTip {
  color: #061b0e !important;
}

html[data-theme="light"] #app .dialog__container-content,
html[data-theme="light"] .dialog__container-content,
html[data-theme="light"] #app .dialog-wrapper .dialog-para,
html[data-theme="light"] #app .dialog-wrapper .dialog-tips,
html[data-theme="light"] #app .RpwdPopup-tip,
html[data-theme="light"] #app .RpwdPopup-errorTip,
html[data-theme="light"] #app .RpwdPopup .errorTip {
  color: #4b6857 !important;
}

html[data-theme="light"] #app .dialog__container-footer button,
html[data-theme="light"] .dialog__container-footer button,
html[data-theme="light"] #app .dialogBtn,
html[data-theme="light"] #app .RpwdPopup-foot .dialogBtn,
html[data-theme="light"] #app .RpwdPopup .gotuserver {
  background: #eff6f1 !important;
  color: #024018 !important;
  border: 1.5px solid #024018 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

html[data-theme="light"] #app .dialog__container-footer button:last-of-type,
html[data-theme="light"] .dialog__container-footer button:last-of-type,
html[data-theme="light"] #app .dialogBtn:last-of-type,
html[data-theme="light"] #app .RpwdPopup-foot .dialogBtn:last-of-type {
  background: linear-gradient(135deg, #024018 0%, #05682b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(2, 64, 24, 0.22) !important;
}

html[data-theme="light"] #app .van-dialog__cancel,
html[data-theme="light"] .van-dialog__cancel {
  background: #ffffff !important;
  color: #024018 !important;
  font-weight: 700 !important;
}

html[data-theme="light"] #app .van-dialog__confirm,
html[data-theme="light"] .van-dialog__confirm {
  background: #ffffff !important;
  color: #024018 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] #app .dialog__container,
html[data-theme="dark"] .dialog__container {
  background: #0b1912 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .dialog__container-title,
html[data-theme="dark"] .dialog__container-title {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .dialog__container-content,
html[data-theme="dark"] .dialog__container-content {
  color: #9bc5ae !important;
}

html[data-theme="dark"] #app .dialog__container-footer button,
html[data-theme="dark"] .dialog__container-footer button {
  background: #12271d !important;
  color: #6ee7b7 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  font-weight: 700 !important;
}

html[data-theme="dark"] #app .dialog__container-footer button:last-of-type,
html[data-theme="dark"] .dialog__container-footer button:last-of-type {
  background: linear-gradient(135deg, #05682b 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
}

/* ==================== LOGIN / REGISTER / RESET PASSWORD UI POLISH ==================== */
/* Country code dropdown (+91) alignment & Light/Dark theme consistency */
#app .dropdown__value {
  justify-content: center !important;
  padding-left: 0 !important;
  gap: 0.1rem !important;
}

#app .dropdown__value span {
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
}

#app .dropdown__value i,
#app .dropdown__value .van-icon {
  margin-left: 0.04rem !important;
}

html[data-theme="light"] #app .dropdown[data-v-6f85c91a],
html[data-theme="light"] #app .phoneInput__container-input .dropdown {
  background: #eef6f1 !important;
  border: 1px solid rgba(2, 64, 24, 0.18) !important;
  color: #024018 !important;
  border-radius: .26667rem !important;
}

html[data-theme="light"] #app .dropdown__value,
html[data-theme="light"] #app .dropdown__value span,
html[data-theme="light"] #app .dropdown__value i,
html[data-theme="light"] #app .dropdown__value .van-icon {
  color: #024018 !important;
}

html[data-theme="light"] #app .dropdown__list[data-v-6f85c91a],
html[data-theme="light"] #app .dropdown__list {
  background: #ffffff !important;
  border: 1px solid rgba(2, 64, 24, 0.18) !important;
  box-shadow: 0 10px 28px rgba(2, 64, 24, 0.14) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .dropdown__list-item {
  color: #061b0e !important;
}

html[data-theme="light"] #app .dropdown__list-item:hover,
html[data-theme="light"] #app .dropdown__list-item.active {
  background: #024018 !important;
  color: #ffffff !important;
}

html[data-theme="light"] #app .phoneInput__container-input input,
html[data-theme="light"] #app .passwordInput__container-input input,
html[data-theme="light"] #app .emailinput__container-input input,
html[data-theme="light"] #app .verifyInput__container-input input,
html[data-theme="light"] #app .register__container-invitation__input input {
  background: #eef6f1 !important;
  border: 1px solid rgba(2, 64, 24, 0.18) !important;
  color: #061b0e !important;
}

html[data-theme="light"] #app .phoneInput__container-input input::placeholder,
html[data-theme="light"] #app .passwordInput__container-input input::placeholder,
html[data-theme="light"] #app .emailinput__container-input input::placeholder,
html[data-theme="light"] #app .verifyInput__container-input input::placeholder,
html[data-theme="light"] #app .register__container-invitation__input input::placeholder {
  color: #6b8777 !important;
}

html[data-theme="light"] #app .signIn__container-remember .van-checkbox__label,
html[data-theme="light"] #app .register__container-remember .van-checkbox__label {
  color: #355543 !important;
  font-weight: 500 !important;
}

html[data-theme="light"] #app .signIn__container-remember .van-checkbox__icon:not(.van-checkbox__icon--checked) .van-icon,
html[data-theme="light"] #app .register__container-remember .van-checkbox__icon:not(.van-checkbox__icon--checked) .van-icon {
  border-color: rgba(2, 64, 24, 0.35) !important;
  background: #ffffff !important;
}

html[data-theme="light"] #app .signIn__container .signIn_footer .font24 {
  color: #061b0e !important;
  font-weight: 600 !important;
}

/* Primary vs Secondary Auth Buttons */
html[data-theme="light"] #app .signIn__container-button button.register,
html[data-theme="light"] #app .register__container-button button.login {
  background: #ffffff !important;
  color: #024018 !important;
  border: 1.5px solid #024018 !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] #app .dropdown[data-v-6f85c91a],
html[data-theme="dark"] #app .phoneInput__container-input .dropdown {
  background: #12271d !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .dropdown__value,
html[data-theme="dark"] #app .dropdown__value span,
html[data-theme="dark"] #app .dropdown__value i,
html[data-theme="dark"] #app .dropdown__value .van-icon {
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .dropdown__list[data-v-6f85c91a],
html[data-theme="dark"] #app .dropdown__list {
  background: #0b1912 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] #app .dropdown__list-item:hover,
html[data-theme="dark"] #app .dropdown__list-item.active {
  background: #05682b !important;
  color: #ffffff !important;
}

html[data-theme="dark"] #app .signIn__container-button button.register,
html[data-theme="dark"] #app .register__container-button button.login {
  background: #0b1912 !important;
  color: #34d399 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.5) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}