/* ============================================================
   v58-wingo-ref — dmwin1.co 8 polish (V55/v30 + deep fix)
   Style only. Loads LAST. No bet/API logic.
   ============================================================ */

/* --- Game-route tokens (real lottery colors — NEVER gold-as-green) --- */
body.v40-route-game,
body.v40-route-game #app,
html body.v40-route-game,
html body.v40-route-game #app,
html body.v40-route-game :root,
#app{
  --v40-gold:#F5C24C;
  --v40-gold-deep:#E5A92C;
  --v40-gold-grad:linear-gradient(135deg,#F8D169 0%,#E5A92C 60%,#B07A14 100%);
  --v40-gold-ticket:linear-gradient(180deg,#F8E7A8 0%,#F5D78A 18%,#E8B84A 50%,#D9A030 100%);
  --v40-digit:linear-gradient(180deg,#2A1B4D 0%,#1B0B36 100%);
  --v40-bg-base:#14082B;
  --v40-bg-card-flat:#231140;
  --v40-text-hi:#FFFFFF;
  --v40-text-mid:rgba(255,255,255,.78);
  --v40-text-lo:rgba(255,255,255,.5);
  --v40-shadow-gold:0 1px 2px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.16);
  --main_gradient-color2:var(--v40-gold-grad)!important;
  --v8bc2fdec:none!important;
}

/* Nuclear: only on game route restore real G/R/V/blue */
body.v40-route-game,
body.v40-route-game #app,
html body.v40-route-game #app{
  --norm_green-color:#18B660!important;
  --norm_green_color:#18B660!important;
  --Secondary_green_color:#18B660!important;
  --norm_red-color:#FB5B5B!important;
  --norm_red_color:#FB5B5B!important;
  --Secondary_red_color:#FD565C!important;
  --norm_Purple-color:#B659FE!important;
  --norm_Purple_color:#B659FE!important;
  --norm_purple1_color:#B659FE!important;
  --norm_purple2_color:#B659FE!important;
  --norm_bule-color:#6CA6F3!important;
  --norm_blue_color:#6CA6F3!important;
  --norm_blue2_color:#87BCF5!important;
  --norm_blue3_color:#609DEC!important;
  --bgcolor-21:#B659FE!important;
  --bgcolor-22:#18B660!important;
  --van-success-color:#18B660!important;
}

/* ============================================================
   1) Wallet / notice / duration — stock dmwin sizes, NO borders
   Nuclear specificity beats index-4c3462ab #app
   Shared gutter: calc(100% - .69333rem) centered (Vue WinGo stock)
   ============================================================ */
html body.v40-route-game #app .WinGo__C,
html body.v40-route-game #app .K3__C,
html body.v40-route-game #app .FD__C,
html body.v40-route-game #app .WinTrx__C,
html body.v40-route-game #app .lottery-info{
  padding-top:0!important;
  margin-top:0!important;
}

/* --- Wallet shell --- */
html body.v40-route-game #app .WinGo__C > .Wallet__C,
html body.v40-route-game #app .K3__C > .Wallet__C,
html body.v40-route-game #app .FD__C > .Wallet__C,
html body.v40-route-game #app .WinTrx__C > .Wallet__C,
html body.v40-route-game #app .lottery-info .Wallet__C,
html body.v40-route-game #app .Wallet__C{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:.08rem .34667rem 0!important;
  background:transparent!important;
  border:none!important;
  outline:none!important;
  box-shadow:none!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
html body.v40-route-game #app .WinGo__C .Wallet__C:before,
html body.v40-route-game #app .Wallet__C:before{
  content:none!important;
  display:none!important;
  height:0!important;
  background:none!important;
}

/* --- Wallet card: stock dmwin min-height 3.57333rem, NO border --- */
html body.v40-route-game #app .WinGo__C .Wallet__C-balance,
html body.v40-route-game #app .K3__C .Wallet__C-balance,
html body.v40-route-game #app .FD__C .Wallet__C-balance,
html body.v40-route-game #app .WinTrx__C .Wallet__C-balance,
html body.v40-route-game #app .lottery-info .Wallet__C-balance,
html body.v40-route-game #app .Wallet__C-balance,
html body.v40-route-game #app .Wallet__C-balance[data-v-7dd1adab],
html body.v40-route-game #app .Wallet__C-balance[data-v-7b3870ea]{
  width:100%!important;
  max-width:100%!important;
  min-height:3.57333rem!important;
  height:auto!important;
  margin:0!important;
  padding:.46667rem .54667rem .4rem!important;
  background:#231140!important;
  background-color:#231140!important;
  background-image:none!important;
  border:none!important;
  outline:none!important;
  border-width:0!important;
  border-radius:.53333rem!important;
  box-shadow:0 4px 14px rgba(0,0,0,.22)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
html body.v40-route-game #app .Wallet__C-balance:after{
  display:none!important;
  content:none!important;
  opacity:0!important;
}
html body.v40-route-game #app .Wallet__C-balance-l1,
html body.v40-route-game #app .Wallet__C-balance-l1[data-v-7dd1adab]{
  min-height:.58667rem!important;
  height:auto!important;
  line-height:.58667rem!important;
  font-size:.48rem!important;
  font-weight:700!important;
  color:#fff!important;
  text-align:center!important;
}
html body.v40-route-game #app .Wallet__C-balance-l1>div:after,
html body.v40-route-game #app .Wallet__C-balance-l1 .refresh{
  width:.48rem!important;
  height:.48rem!important;
  background-size:.48rem!important;
}
html body.v40-route-game #app .Wallet__C-balance-l2,
html body.v40-route-game #app .Wallet__C-balance-l2[data-v-7dd1adab]{
  height:.53333rem!important;
  min-height:.53333rem!important;
  margin-top:.18667rem!important;
  font-size:.34667rem!important;
  font-weight:700!important;
  color:var(--v40-gold,#F5C24C)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
html body.v40-route-game #app .Wallet__C-balance-l2>svg,
html body.v40-route-game #app .Wallet__C-balance-l2>span{
  width:.53333rem!important;
  height:.53333rem!important;
  margin-right:.13333rem!important;
}
html body.v40-route-game #app .Wallet__C-balance-l3,
html body.v40-route-game #app .Wallet__C-balance-l3[data-v-7dd1adab]{
  margin-top:.46667rem!important;
  display:flex!important;
  justify-content:space-between!important;
  gap:.2rem!important;
}
html body.v40-route-game #app .Wallet__C-balance-l3>div,
html body.v40-route-game #app .Wallet__C-balance-l3>div[data-v-7dd1adab]{
  flex:1 1 0!important;
  width:3.46667rem!important;
  max-width:none!important;
  height:.93333rem!important;
  line-height:.93333rem!important;
  font-size:.4rem!important;
  font-weight:600!important;
  border-radius:.53333rem!important;
  border:none!important;
  box-shadow:0 4px 12px rgba(0,0,0,.22)!important;
}

/* --- Notice bar: SAME width band as wallet, NO border --- */
html body.v40-route-game #app .WinGo__C .noticeBar__container,
html body.v40-route-game #app .K3__C .noticeBar__container,
html body.v40-route-game #app .FD__C .noticeBar__container,
html body.v40-route-game #app .WinTrx__C .noticeBar__container,
html body.v40-route-game #app .lottery-info .noticeBar__container,
html body.v40-route-game #app .noticeBar__container.lottery-notice,
html body.v40-route-game #app .WinGo__C .noticeBar__container.lottery-notice,
html body.v40-route-game #app .noticeBar__container{
  width:calc(100% - .69333rem)!important;
  max-width:calc(100% - .69333rem)!important;
  height:.93333rem!important;
  min-height:.93333rem!important;
  max-height:.93333rem!important;
  margin:.34667rem auto .08rem!important;
  padding:0 .21333rem!important;
  box-sizing:border-box!important;
  border-radius:.26667rem!important;
  border:none!important;
  outline:none!important;
  border-width:0!important;
  background:#231140!important;
  background-color:#231140!important;
  background-image:none!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  position:relative!important;
  z-index:1!important;
  top:0!important;
  color:rgba(255,255,255,.88)!important;
}
html body.v40-route-game #app .WinGo__C .noticeBar__container-body,
html body.v40-route-game #app .noticeBar__container-body,
html body.v40-route-game #app .noticeBar__container-body-text{
  height:.93333rem!important;
  line-height:.93333rem!important;
  font-size:.29333rem!important;
  color:rgba(255,255,255,.88)!important;
  width:auto!important;
  flex:1 1 auto!important;
  min-width:0!important;
}
html body.v40-route-game #app .WinGo__C .noticeBar__container button,
html body.v40-route-game #app .WinGo__C .noticeBar__container button.hotIcon,
html body.v40-route-game #app .noticeBar__container button,
html body.v40-route-game #app .noticeBar__container button.hotIcon{
  height:.61333rem!important;
  min-height:.61333rem!important;
  line-height:.61333rem!important;
  font-size:.26667rem!important;
  font-weight:800!important;
  padding:0 .26667rem!important;
  min-width:1.55rem!important;
  border-radius:999px!important;
  border:none!important;
  color:#1B0B36!important;
  background:linear-gradient(135deg,#F8D169 0%,#E5A92C 60%,#B07A14 100%)!important;
  background-image:linear-gradient(135deg,#F8D169 0%,#E5A92C 60%,#B07A14 100%)!important;
  box-shadow:0 2px 8px rgba(229,169,44,.28)!important;
  flex-shrink:0!important;
}
html body.v40-route-game #app .noticeBar__container button.hotIcon:before{
  display:none!important;
}
html body.v40-route-game #app .noticeBar__container .notice_svg,
html body.v40-route-game #app .noticeBar__container > svg{
  width:.42667rem!important;
  height:.42667rem!important;
  flex-shrink:0!important;
  margin-right:.18667rem!important;
  color:var(--v40-gold,#F5C24C)!important;
}

/* --- Duration tabs: stock Vue 2.4rem, same width, NO border --- */
html body.v40-route-game #app .WinGo__C .GameList__C,
html body.v40-route-game #app .GameList__C,
html body.v40-route-game #app .timer-cards,
html body.v40-route-game #app .GameList__C[data-v-17d56002]{
  display:flex!important;
  display:-webkit-flex!important;
  height:2.4rem!important;
  min-height:2.4rem!important;
  max-height:2.4rem!important;
  width:calc(100% - .69333rem)!important;
  max-width:calc(100% - .69333rem)!important;
  margin:.34667rem auto 0!important;
  padding:0!important;
  gap:0!important;
  box-sizing:border-box!important;
  background:#231140!important;
  background-image:none!important;
  border-radius:.26667rem!important;
  border:none!important;
  outline:none!important;
  border-width:0!important;
  box-shadow:none!important;
  position:relative!important;
  overflow:hidden!important;
}
html body.v40-route-game #app .GameList__C-item,
html body.v40-route-game #app .GameList__C-item[data-v-17d56002],
html body.v40-route-game #app .timer-card,
html body.v40-route-game #app .timer-card[data-v-7341bb60]{
  width:25%!important;
  max-width:25%!important;
  min-width:0!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  border-radius:.26667rem!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:block!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border:none!important;
  outline:none!important;
  position:relative!important;
  z-index:2!important;
  text-align:center!important;
}
html body.v40-route-game #app .GameList__C-item img,
html body.v40-route-game #app .GameList__C-item .timeIcon,
html body.v40-route-game #app .timer-card .clock-icon,
html body.v40-route-game #app .timer-card .clock-icon .timeIcon,
html body.v40-route-game #app .timer-card .clock-icon img{
  width:1.17333rem!important;
  height:1.17333rem!important;
  max-width:1.17333rem!important;
  max-height:1.17333rem!important;
  margin:.18667rem auto 0!important;
  display:block!important;
  object-fit:contain!important;
}
html body.v40-route-game #app .GameList__C-item>div,
html body.v40-route-game #app .GameList__C-item[data-v-17d56002]>div,
html body.v40-route-game #app .timer-card .card-title,
html body.v40-route-game #app .timer-card .card-duration,
html body.v40-route-game #app .timer-card .noActive{
  height:100%!important;
  line-height:.4rem!important;
  font-size:.32rem!important;
  margin:auto!important;
  padding-top:1.44rem!important;
  padding-left:0!important;
  padding-right:0!important;
  padding-bottom:0!important;
  text-align:center!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  min-height:0!important;
  box-sizing:border-box!important;
}

/* ============================================================
   Duration tabs — GOLD active; kill GREEN clock icon
   ============================================================ */
body.v40-route-game .GameList__C-item.active,
body.v40-route-game .GameList__C-item.active[data-v-17d56002],
body.v40-route-game .GameList__C-item[data-v30-gold-pill="1"],
body.v40-route-game .timer-card.active,
body.v40-route-game .timer-card.active[data-v-7341bb60],
body.v40-route-game .timer-card[data-v30-gold-pill="1"],
body.v40-route-game .lottery-info .list .item.active,
body.v40-route-game .tabs .item.active{
  background:var(--v40-gold-grad)!important;
  background-color:transparent!important;
  background-image:linear-gradient(135deg,#F8D169 0%,#E5A92C 60%,#B07A14 100%)!important;
  border:none!important;
  outline:none!important;
  box-shadow:none!important;
  filter:none!important;
  border-radius:.32rem!important;
  color:#1B0B36!important;
  justify-content:center!important;
}

body.v40-route-game .GameList__C-item.active>div,
body.v40-route-game .GameList__C-item[data-v30-gold-pill="1"]>div,
body.v40-route-game .timer-card.active .card-title,
body.v40-route-game .timer-card.active .card-duration,
body.v40-route-game .timer-card.active .noActive,
body.v40-route-game .timer-card[data-v30-gold-pill="1"] .card-title,
body.v40-route-game .timer-card[data-v30-gold-pill="1"] .card-duration{
  color:#1B0B36!important;
  font-weight:700!important;
}

/* Inactive tab labels MUST stay light (refresh look) — never inherit active #1B0B36 */
html body.v40-route-game #app .GameList__C-item:not(.active):not([data-v30-gold-pill="1"])>div,
html body.v40-route-game #app .GameList__C-item:not(.active)>div[data-v-17d56002],
body.v40-route-game .GameList__C-item:not(.active):not([data-v30-gold-pill="1"])>div,
body.v40-route-game .timer-card:not(.active):not([data-v30-gold-pill="1"]) .card-title,
body.v40-route-game .timer-card:not(.active):not([data-v30-gold-pill="1"]) .card-duration,
body.v40-route-game .timer-card:not(.active):not([data-v30-gold-pill="1"]) .noActive{
  color:rgba(255,255,255,.85)!important;
  -webkit-text-fill-color:rgba(255,255,255,.85)!important;
  font-weight:600!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Kill green circle on active duration icon (ref: dark/gold icon)
   Real DOM: .GameList__C-item > div uses background-image time / time_a webp */
body.v40-route-game .GameList__C-item > div,
body.v40-route-game .GameList__C-item[data-v-17d56002] > div{
  background-image:none!important;
  position:relative!important;
}
body.v40-route-game .GameList__C-item > div::before,
body.v40-route-game .timer-card .timeIcon::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:.18667rem!important;
  transform:translateX(-50%)!important;
  width:1.17333rem!important;
  height:1.17333rem!important;
  background-image:url(/assets/png/time-5d4e96a3.webp)!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  filter:grayscale(1) brightness(1.15) opacity(.9)!important;
  pointer-events:none!important;
  z-index:1!important;
}
body.v40-route-game .GameList__C-item.active > div::before,
body.v40-route-game .GameList__C-item[data-v30-gold-pill="1"] > div::before,
body.v40-route-game .timer-card.active .timeIcon::before,
body.v40-route-game .timer-card[data-v30-gold-pill="1"] .timeIcon::before{
  background-image:url(/assets/png/time_a-526b807b.webp)!important;
  filter:sepia(1) saturate(4.8) hue-rotate(358deg) brightness(1.12) contrast(1.05)!important;
}

body.v40-route-game .GameList__C-item.active img,
body.v40-route-game .GameList__C-item.active .timeIcon,
body.v40-route-game .GameList__C-item[data-v30-gold-pill="1"] img,
body.v40-route-game .GameList__C-item[data-v30-gold-pill="1"] .timeIcon,
body.v40-route-game .timer-card.active .timeIcon,
body.v40-route-game .timer-card.active img,
body.v40-route-game .timer-card[data-v30-gold-pill="1"] .timeIcon,
body.v40-route-game .timer-card[data-v30-gold-pill="1"] img{
  filter:sepia(1) saturate(4.8) hue-rotate(358deg) brightness(1.12) contrast(1.05)!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:none!important;
  box-shadow:none!important;
}
body.v40-route-game .GameList__C-item.active .clock-icon,
body.v40-route-game .GameList__C-item.active .clock-circle,
body.v40-route-game .timer-card.active .clock-icon .clock-circle{
  background:transparent!important;
  background-color:transparent!important;
  border-color:#1B0B36!important;
  box-shadow:none!important;
}
body.v40-route-game .GameList__C-item:not(.active) img,
body.v40-route-game .GameList__C-item:not(.active) .timeIcon,
body.v40-route-game .timer-card:not(.active) .timeIcon{
  filter:grayscale(1) brightness(1.15) opacity(.9)!important;
}

/* ============================================================
   V55 TimeLeft — PURE GOLD ticket ONLY on root .TimeLeft__C
   NEVER use [class*="TimeLeft__C"] — it breaks children layout.
   Do NOT override child position/size — Vue chunk owns layout.
   ============================================================ */
body.v40-route-game .TimeLeft__C,
body.v40-route-game .TimeLeft__C[data-v-5f093580],
body.v40-route-game .TimeLeft__C[data-v-3e4c6499],
body.v40-route-game .WinGo__C > .TimeLeft__C,
body.v40-route-game .winGo3 .TimeLeft__C{
  background-color:#E8B84A!important;
  background-image:linear-gradient(180deg,#F8E7A8 0%,#F5D78A 18%,#E8B84A 50%,#D9A030 100%)!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  border:none!important;
  box-shadow:0 4px 16px rgba(229,169,44,.22)!important;
  /* keep Vue size; never clip absolute children */
  height:2.66667rem!important;
  min-height:2.66667rem!important;
  overflow:visible!important;
  position:relative!important;
  color:#8B2942!important;
}

/* Kill red wingoissue / wingo_bg webp if set inline */
body.v40-route-game .TimeLeft__C[style*="wingo"],
body.v40-route-game .TimeLeft__C[style*="wingoissue"],
body.v40-route-game .TimeLeft__C[style*="wingo_bg"]{
  background-image:linear-gradient(180deg,#F8E7A8 0%,#F5D78A 18%,#E8B84A 50%,#D9A030 100%)!important;
}

/* Text colors only — no layout */
body.v40-route-game .TimeLeft__C-text,
body.v40-route-game .TimeLeft__C-name,
body.v40-route-game .TimeLeft__C-id{
  color:#8B2942!important;
  visibility:visible!important;
  opacity:1!important;
}
body.v40-route-game .TimeLeft__C-rule{
  color:#1B0B36!important;
  border-color:rgba(139,41,66,.35)!important;
  background:rgba(255,255,255,.55)!important;
  visibility:visible!important;
  opacity:1!important;
}
body.v40-route-game .TimeLeft__C-time,
body.v40-route-game .TimeLeft__C-num{
  visibility:visible!important;
  opacity:1!important;
  z-index:2!important;
}

/* Countdown digit tiles — color only */
body.v40-route-game .TimeLeft__C-time>div{
  background:linear-gradient(180deg,#2A1B4D 0%,#1B0B36 100%)!important;
  background-color:#1B0B36!important;
  color:#fff!important;
  font-weight:800!important;
  border-radius:.08rem!important;
  box-shadow:none!important;
}
body.v40-route-game .TimeLeft__C-time>div:nth-child(3){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#1B0B36!important;
  box-shadow:none!important;
}

/* v60 timerClean3 — kill flip/ghost overlay; clean MM:SS digits; no blink */
body.v40-route-game .TimeLeft__C-time{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  overflow:visible!important;
}
/* 91club-smooth: Betting__C-mark ONLY when data-v60-mark=on (last 5s). Else never visible. */
body.v40-route-game .Betting__C-mark:not([data-v60-mark="on"]),
body.v40-route-game [class*="Betting__C-mark"]:not([data-v60-mark="on"]),
body.v40-route-game .Betting__C-mark:empty{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:-1!important;
}
body.v40-route-game .Betting__C-mark[data-v60-mark="on"],
body.v40-route-game [class*="Betting__C-mark"][data-v60-mark="on"]{
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:99!important;
  pointer-events:auto!important;
}
body.v40-route-game .Betting__C-mark[data-v60-mark="on"] > div{
  font-variant-numeric:tabular-nums!important;
  font-weight:700!important;
  color:#F5C24C!important;
  transition:none!important;
  animation:none!important;
}
/* Timer digits: no flip/blink — clean like 91club */
body.v40-route-game .TimeLeft__C-time>div{
  transition:none!important;
  animation:none!important;
}
body.v40-route-game .TimeLeft__C-time>div{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  white-space:nowrap!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}
body.v40-route-game .TimeLeft__C-time>div[data-v60-digit="1"]{
  font-variant-numeric:tabular-nums!important;
}
/* Flatten any nested flip layers Vue may re-inject */
body.v40-route-game .TimeLeft__C-time>div[data-v60-digit="1"] > *,
body.v40-route-game .TimeLeft__C-time>div[data-v60-digit="1"] span,
body.v40-route-game .TimeLeft__C-time>div[data-v60-digit="1"] i,
body.v40-route-game .TimeLeft__C-time>div[data-v60-digit="1"]::before,
body.v40-route-game .TimeLeft__C-time>div[data-v60-digit="1"]::after{
  display:none!important;
  content:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.v40-route-game .TimeLeft__C-time>div[data-v60-colon="1"],
body.v40-route-game .TimeLeft__C-time>div:nth-child(3){
  width:.28rem!important;
  min-width:.28rem!important;
  max-width:.36rem!important;
  padding:0!important;
  margin:0 .04rem!important;
  background:transparent!important;
  background-image:none!important;
  color:#1B0B36!important;
  font-weight:900!important;
  overflow:visible!important;
  box-shadow:none!important;
}

/* ============================================================
   RecordNav
   ============================================================ */
body.v40-route-game .winGo3 .history .nav>.nav-container>div.active,
body.v40-route-game .history .nav>.nav-container>div.active,
body.v40-route-game .RecordNav__C>div.active,
body.v40-route-game .t-head>div.active{
  background:var(--v40-gold-grad)!important;
  color:#1B0B36!important;
  border:1px solid rgba(245,194,76,.32)!important;
  box-shadow:var(--v40-shadow-gold)!important;
  font-weight:800!important;
}
body.v40-route-game .RecordNav__C>div:not(.active),
body.v40-route-game .winGo3 .history .nav>.nav-container>div:not(.active){
  background:#231140!important;
  color:rgba(255,255,255,.78)!important;
  font-weight:600!important;
}

/* ============================================================
   GameRecord — NUCLEAR odd=green / even=red / 0+5 mix dots
   ============================================================ */
body.v40-route-game .record-head,
body.v40-route-game .t-head,
body.v40-route-game .t .t_head,
body.v40-route-game .Trend__C-head,
body.v40-route-game .GameRecord__C-head,
#app body.v40-route-game .GameRecord__C-head,
body.v40-route-game #app .GameRecord__C-head{
  background:var(--v40-gold-grad)!important;
  color:#1B0B36!important;
  border:1px solid rgba(245,194,76,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important;
  font-weight:800!important;
}

/* Odd / greenColor — #app specificity beats theme lock gold */
body.v40-route-game #app .GameRecord__C-body .greenColor,
body.v40-route-game #app .GameRecord__C-body-greenC,
body.v40-route-game #app .GameRecord__C-body .van-col .greenColor,
body.v40-route-game #app .GameRecord__C-body-num.greenColor,
html body.v40-route-game #app .GameRecord__C-body .greenColor,
html body.v40-route-game #app .GameRecord__C-body-num.greenColor,
body.v40-route-game .GameRecord__C-body .greenColor,
body.v40-route-game .GameRecord__C-body-greenC,
body.v40-route-game .GameRecord__C-body-num.greenColor{
  color:#18B660!important;
  -webkit-text-fill-color:#18B660!important;
  background:none!important;
  background-image:none!important;
  filter:none!important;
}
body.v40-route-game #app .GameRecord__C-body .defaultColor,
body.v40-route-game #app .GameRecord__C-body-redC,
body.v40-route-game #app .GameRecord__C-body-num.defaultColor,
html body.v40-route-game #app .GameRecord__C-body .defaultColor,
html body.v40-route-game #app .GameRecord__C-body-num.defaultColor,
body.v40-route-game .GameRecord__C-body .defaultColor,
body.v40-route-game .GameRecord__C-body-redC,
body.v40-route-game .GameRecord__C-body-num.defaultColor{
  color:#FB5B5B!important;
  -webkit-text-fill-color:#FB5B5B!important;
  background:none!important;
  background-image:none!important;
}

/* 0 = red+violet mix, 5 = green+violet mix (gradient text) */
body.v40-route-game #app .GameRecord__C-body .mixedColor0,
body.v40-route-game #app .GameRecord__C-body-num.mixedColor0,
body.v40-route-game .GameRecord__C-body .mixedColor0,
body.v40-route-game .GameRecord__C-body-num.mixedColor0{
  background:linear-gradient(180deg,#FB5B5B 50.96%,#B659FE 50.97%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
}
body.v40-route-game #app .GameRecord__C-body .mixedColor5,
body.v40-route-game #app .GameRecord__C-body-num.mixedColor5,
body.v40-route-game .GameRecord__C-body .mixedColor5,
body.v40-route-game .GameRecord__C-body-num.mixedColor5{
  background:linear-gradient(180deg,#18B660 51.48%,#B659FE 51.49%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
}

body.v40-route-game .GameRecord__C-origin,
body.v40-route-game #app .GameRecord__C-origin{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.v40-route-game .GameRecord__C-origin>div+div{
  margin-left:.26667rem!important;
}
body.v40-route-game .GameRecord__C-origin-I,
body.v40-route-game #app .GameRecord__C-origin-I{
  width:.26667rem!important;
  height:.26667rem!important;
  border-radius:50%!important;
  flex:none!important;
}
body.v40-route-game #app .GameRecord__C-origin-I.green,
body.v40-route-game .GameRecord__C-origin-I.green{
  background:#18B660!important;
  background-color:#18B660!important;
  filter:none!important;
}
body.v40-route-game #app .GameRecord__C-origin-I.red,
body.v40-route-game .GameRecord__C-origin-I.red{
  background:#FB5B5B!important;
  background-color:#FB5B5B!important;
}
body.v40-route-game #app .GameRecord__C-origin-I.violet,
body.v40-route-game .GameRecord__C-origin-I.violet{
  background:#B659FE!important;
  background-color:#B659FE!important;
}

body.v40-route-game .record-foot-previous:not(.disabled),
body.v40-route-game .record-foot-next:not(.disabled),
body.v40-route-game .my_r-foot-previous:not(.disabled),
body.v40-route-game .my_r-foot-next:not(.disabled),
body.v40-route-game .GameRecord__C-foot-previous:not(.disabled),
body.v40-route-game .GameRecord__C-foot-next:not(.disabled),
body.v40-route-game .pagination-page.active{
  background:var(--v40-gold-grad)!important;
  color:#1B0B36!important;
  border:1px solid rgba(245,194,76,.32)!important;
}

/* ============================================================
   Betting
   ============================================================ */
body.v40-route-game .Betting__C-head-g,
body.v40-route-game .Betting__C-head-green,
body.v40-route-game .Betting__C-head .green,
body.v40-route-game [class*="Betting__C-head-g"]:not([class*="Betting__C-head-p"]):not([class*="Betting__C-head-r"]){
  background:#18B660!important;
  background-image:none!important;
  background-color:#18B660!important;
}
body.v40-route-game .Betting__C-head-p,
body.v40-route-game .Betting__C-head-violet,
body.v40-route-game .Betting__C-head .violet,
body.v40-route-game [class*="Betting__C-head-p"]{
  background:#B659FE!important;
  background-image:none!important;
  background-color:#B659FE!important;
}
body.v40-route-game .Betting__C-head-r,
body.v40-route-game .Betting__C-head-red,
body.v40-route-game .Betting__C-head .red,
body.v40-route-game [class*="Betting__C-head-r"]{
  background:#FB5B5B!important;
  background-image:none!important;
  background-color:#FB5B5B!important;
}
body.v40-route-game .winGo3 .Betting__C-foot-big,
body.v40-route-game .Betting__C-foot-big,
body.v40-route-game .Betting__C-foot-b,
body.v40-route-game [class*="Betting__C-foot-b"]:not([class*="Betting__C-foot-s"]){
  background:linear-gradient(135deg,#F8D169 0%,#E5A92C 55%,#D48812 100%)!important;
  color:#1B0B36!important;
  font-weight:800!important;
  box-shadow:0 4px 12px rgba(229,169,44,.28)!important;
}
body.v40-route-game .winGo3 .Betting__C-foot-small,
body.v40-route-game .Betting__C-foot-small,
body.v40-route-game .Betting__C-foot-s,
body.v40-route-game [class*="Betting__C-foot-s"]{
  background:linear-gradient(90deg,#6CA6F3,#87BCF5)!important;
  background-color:#6CA6F3!important;
  color:#fff!important;
  font-weight:800!important;
}
body.v40-route-game .Betting__C-numC>div.Betting__C-numC-item0,
body.v40-route-game .Betting__C-numC>div.n0,
body.v40-route-game .TimeLeft__C-num>div.n0{
  background-image:url(/assets/png/n0-30bd92d1.webp)!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
}
body.v40-route-game .Betting__C-numC>div.Betting__C-numC-item5,
body.v40-route-game .Betting__C-numC>div.n5,
body.v40-route-game .TimeLeft__C-num>div.n5{
  background-image:url(/assets/png/n5-49d0e9c5.webp)!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
}
body.v40-route-game .WinGo__C .Betting__C,
body.v40-route-game .winGo3 .Betting__C,
body.v40-route-game .Betting__C{
  background:var(--v40-bg-card-flat)!important;
}
body.v40-route-game .Betting__C-num .active,
body.v40-route-game .Betting__C [class*="multiple"] .active,
body.v40-route-game .Betting__C .btnList .active,
body.v40-route-game .Betting__C .ramd .r.active{
  background:var(--v40-gold-grad)!important;
  color:#1B0B36!important;
  border-color:transparent!important;
}

/* ============================================================
   My history — compact .96rem icons + Big/Small + status (ref img 4)
   ============================================================ */
body.v40-route-game .my_r,
body.v40-route-game .my_r-body,
body.v40-route-game .MyGameRecordList__C,
body.v40-route-game .MyGameRecord__C-body{
  background:#231140!important;
  max-height:none!important;
  overflow:visible!important;
}

body.v40-route-game .my_r-body .list-item,
body.v40-route-game .MyGameRecordList__C-item{
  display:flex!important;
  align-items:center!important;
  visibility:visible!important;
  opacity:1!important;
  height:1.76rem!important;
  min-height:1.76rem!important;
  max-height:1.9rem!important;
  padding:.12rem .13333rem!important;
  box-sizing:border-box!important;
}

/* Icon box — exact .96rem like ref myRecord */
body.v40-route-game .my_r-body .list-item-l,
body.v40-route-game .MyGameRecordList__C-item-l{
  width:.96rem!important;
  height:.96rem!important;
  min-width:.96rem!important;
  min-height:.96rem!important;
  max-width:.96rem!important;
  max-height:.96rem!important;
  line-height:.96rem!important;
  border-radius:.26667rem!important;
  margin-right:.29333rem!important;
  flex:none!important;
  overflow:hidden!important;
  text-align:center!important;
  font-size:.32rem!important;
  font-weight:700!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.v40-route-game .my_r-body .list-item-l>div,
body.v40-route-game .MyGameRecordList__C-item-l>div{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:.32rem!important;
  line-height:1!important;
}

body.v40-route-game .my_r-body .list-item-l-small,
body.v40-route-game .MyGameRecordList__C-item-l-small{
  background:#6CA6F3!important;
  background-color:#6CA6F3!important;
  color:#fff!important;
  font-size:.28rem!important;
  text-transform:capitalize!important;
}
body.v40-route-game .my_r-body .list-item-l-big,
body.v40-route-game .MyGameRecordList__C-item-l-big{
  background:#E5A92C!important;
  background-color:#E5A92C!important;
  color:#1B0B36!important;
  font-size:.28rem!important;
  text-transform:capitalize!important;
}

body.v40-route-game .my_r-body .list-item-l-0,
body.v40-route-game .MyGameRecordList__C-item-l-0{
  background-image:linear-gradient(to bottom right,#FB5B5B 50%,#B659FE 0)!important;
  background-color:transparent!important;
  color:#fff!important;
}
body.v40-route-game .my_r-body .list-item-l-5,
body.v40-route-game .MyGameRecordList__C-item-l-5{
  background-image:linear-gradient(to bottom right,#18B660 50%,#B659FE 0)!important;
  background-color:transparent!important;
  color:#fff!important;
}
body.v40-route-game .my_r-body .list-item-l-1,
body.v40-route-game .my_r-body .list-item-l-3,
body.v40-route-game .my_r-body .list-item-l-7,
body.v40-route-game .my_r-body .list-item-l-9,
body.v40-route-game .my_r-body .list-item-l-green,
body.v40-route-game .MyGameRecordList__C-item-l-1,
body.v40-route-game .MyGameRecordList__C-item-l-3,
body.v40-route-game .MyGameRecordList__C-item-l-7,
body.v40-route-game .MyGameRecordList__C-item-l-9,
body.v40-route-game .MyGameRecordList__C-item-l-green{
  background-color:#18B660!important;
  color:#fff!important;
}
body.v40-route-game .my_r-body .list-item-l-2,
body.v40-route-game .my_r-body .list-item-l-4,
body.v40-route-game .my_r-body .list-item-l-6,
body.v40-route-game .my_r-body .list-item-l-8,
body.v40-route-game .my_r-body .list-item-l-red,
body.v40-route-game .MyGameRecordList__C-item-l-2,
body.v40-route-game .MyGameRecordList__C-item-l-4,
body.v40-route-game .MyGameRecordList__C-item-l-6,
body.v40-route-game .MyGameRecordList__C-item-l-8,
body.v40-route-game .MyGameRecordList__C-item-l-red{
  background-color:#FB5B5B!important;
  color:#fff!important;
}
body.v40-route-game .my_r-body .list-item-l-violet,
body.v40-route-game .MyGameRecordList__C-item-l-violet{
  background-color:#B659FE!important;
  color:#fff!important;
}

/* Middle: period + time */
body.v40-route-game .my_r-body .list-item-m,
body.v40-route-game .MyGameRecordList__C-item-m{
  flex:none!important;
  min-width:0!important;
}
body.v40-route-game .my_r-body .list-item-m-top,
body.v40-route-game .MyGameRecordList__C-item-m-top{
  height:.48rem!important;
  line-height:.48rem!important;
  font-size:.34rem!important;
  font-weight:600!important;
  color:#fff!important;
  margin-bottom:.06rem!important;
}
body.v40-route-game .my_r-body .list-item-m-bottom,
body.v40-route-game .MyGameRecordList__C-item-m-bottom{
  font-size:.28rem!important;
  line-height:.4rem!important;
  color:rgba(255,255,255,.55)!important;
}

/* Right: Lose / success — FORCE visible */
body.v40-route-game .my_r-body .list-item-r,
body.v40-route-game .MyGameRecordList__C-item-r{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  flex:1!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  height:auto!important;
  min-height:.96rem!important;
  font-size:.32rem!important;
  color:#FB5B5B!important;
}
body.v40-route-game .my_r-body .list-item-r div,
body.v40-route-game .MyGameRecordList__C-item-r div{
  display:block!important;
  visibility:visible!important;
  color:#FB5B5B!important;
  border:.01333rem solid #FB5B5B!important;
  border-radius:.13333rem!important;
  height:.48rem!important;
  line-height:.48rem!important;
  font-size:.28rem!important;
  padding:0 .36rem!important;
  margin-bottom:.08rem!important;
  white-space:nowrap!important;
}
body.v40-route-game .my_r-body .list-item-r.success,
body.v40-route-game .MyGameRecordList__C-item-r.success{
  color:#13C164!important;
}
body.v40-route-game .my_r-body .list-item-r.success div,
body.v40-route-game .MyGameRecordList__C-item-r.success div{
  color:#18B660!important;
  border-color:#18B660!important;
}

body.v40-route-game .my_r-body .list-inlineB.green,
body.v40-route-game .MyGameRecordList__C-inlineB.greenColor{
  color:#13C164!important;
}
body.v40-route-game .my_r-body .list-inlineB.red,
body.v40-route-game .MyGameRecordList__C-inlineB.redColor{
  color:#F23F3F!important;
}
body.v40-route-game .my_r-body .list-inlineB.violet{color:#A043E8!important;}
body.v40-route-game .my_r-body .list-inlineB.small{color:#609DEC!important;}
body.v40-route-game .my_r-body .list-inlineB.big{color:#F8B460!important;}

body.v40-route-game .my_r .list-detail{
  display:flex!important;
  flex-direction:column!important;
  visibility:visible!important;
  opacity:1!important;
}
body.v40-route-game .my_r-body .list-detail-line .red{color:#FB5B5B!important;}
body.v40-route-game .my_r-body .list-detail-line .green{color:#18B660!important;}
body.v40-route-game .my_r-body .list-detail-line .small{color:#609DEC!important;}

/* Keep header→wallet flush */
body.v40-route-game .lottery-info .bg,
html body.v40-route-game .lottery-info .bg{
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:0!important;
  background:var(--v40-bg-base)!important;
  background-image:none!important;
  display:none!important;
}

/* ============================================================
   B9g FINAL — copy from dmwin1.co 8 + reference screenshots
   History odd=green, 0/5 violet-mix, My history sizes, tabs gold
   ============================================================ */

/* Force lottery tokens on game route (beat theme-lock gold-as-green) */
html body.v40-route-game,
html body.v40-route-game #app,
html body.v40-route-game :root{
  --norm_green-color:#18B660!important;
  --norm_green_color:#18B660!important;
  --Secondary_green_color:#18B660!important;
  --norm_red-color:#FB5B5B!important;
  --norm_red_color:#FB5B5B!important;
  --norm_Purple-color:#B659FE!important;
  --norm_Purple_color:#B659FE!important;
  --norm_bule-color:#6CA6F3!important;
  --norm_blue_color:#6CA6F3!important;
  --norm_blue3_color:#609DEC!important;
  --bgcolor-21:#B659FE!important;
  --bgcolor-22:#18B660!important;
  --van-success-color:#18B660!important;
}

/* Game history NUMBER — hard hex, NO CSS-var (gold-as-green theme cannot win).
   Also apply without route class so history paints even if body class races. */
html body #app .GameRecord__C-body .greenColor,
html body #app .GameRecord__C-body-num.greenColor,
html body #app .GameRecord__C-body .greenColor[class],
html body #app .GameRecord__C-body-num.greenColor[class],
html body #app .GameRecord__C-body-greenC,
html body.v40-route-game #app .GameRecord__C-body .greenColor,
html body.v40-route-game #app .GameRecord__C-body-num.greenColor,
html body.v40-route-game #app .GameRecord__C-body .greenColor[class],
html body.v40-route-game #app .GameRecord__C-body-num.greenColor[class],
html body.v40-route-game #app .GameRecord__C-body-greenC{
  color:#18B660!important;
  -webkit-text-fill-color:#18B660!important;
  background:none!important;
  background-image:none!important;
  filter:none!important;
}
html body #app .GameRecord__C-body .defaultColor,
html body #app .GameRecord__C-body-num.defaultColor,
html body #app .GameRecord__C-body-redC,
html body.v40-route-game #app .GameRecord__C-body .defaultColor,
html body.v40-route-game #app .GameRecord__C-body-num.defaultColor,
html body.v40-route-game #app .GameRecord__C-body .defaultColor[class],
html body.v40-route-game #app .GameRecord__C-body-num.defaultColor[class],
html body.v40-route-game #app .GameRecord__C-body-redC{
  color:#FB5B5B!important;
  -webkit-text-fill-color:#FB5B5B!important;
  background:none!important;
  background-image:none!important;
}

/* 0 = red+violet mix text (ref record-E mixedColor0) */
html body #app .GameRecord__C-body .mixedColor0,
html body #app .GameRecord__C-body-num.mixedColor0,
html body.v40-route-game #app .GameRecord__C-body .mixedColor0,
html body.v40-route-game #app .GameRecord__C-body-num.mixedColor0,
html body.v40-route-game #app .GameRecord__C-body .mixedColor0[class]{
  background:linear-gradient(180deg,#FB5B5B 50.96%,#B659FE 50.97%)!important;
  background-image:linear-gradient(180deg,#FB5B5B 50.96%,#B659FE 50.97%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
}
/* 5 = green+violet mix text (ref Vue GameRecord mixedColor5) */
html body #app .GameRecord__C-body .mixedColor5,
html body #app .GameRecord__C-body-num.mixedColor5,
html body.v40-route-game #app .GameRecord__C-body .mixedColor5,
html body.v40-route-game #app .GameRecord__C-body-num.mixedColor5,
html body.v40-route-game #app .GameRecord__C-body .mixedColor5[class]{
  background:linear-gradient(180deg,#18B660 51.48%,#B659FE 51.49%)!important;
  background-image:linear-gradient(180deg,#18B660 51.48%,#B659FE 51.49%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
}

/* Color dots — hard hex (never CSS var / gold) */
html body #app .GameRecord__C-origin-I.green,
html body.v40-route-game #app .GameRecord__C-origin-I.green{
  background:#18B660!important;
  background-color:#18B660!important;
  filter:none!important;
}
html body #app .GameRecord__C-origin-I.red,
html body.v40-route-game #app .GameRecord__C-origin-I.red{
  background:#FB5B5B!important;
  background-color:#FB5B5B!important;
}
html body #app .GameRecord__C-origin-I.violet,
html body.v40-route-game #app .GameRecord__C-origin-I.violet{
  background:#B659FE!important;
  background-color:#B659FE!important;
}

/* RecordNav / Game history tabs — gold active (ref images 2+3) */
html body.v40-route-game #app .RecordNav__C>div.active,
html body.v40-route-game #app .winGo3 .history .nav>.nav-container>div.active{
  background:linear-gradient(135deg,#F8D169 0%,#E5A92C 60%,#B07A14 100%)!important;
  color:#1B0B36!important;
  font-weight:700!important;
}
html body.v40-route-game #app .GameRecord__C-head{
  background:linear-gradient(135deg,#F8D169 0%,#E5A92C 60%,#B07A14 100%)!important;
  color:#1B0B36!important;
}

/* My history — copy myRecord-CXwai1Fl + MayrecordList sizes */
html body.v40-route-game #app .MyGameRecordList__C-item-l,
html body.v40-route-game #app .my_r-body .list-item-l{
  width:.96rem!important;
  height:.96rem!important;
  line-height:.96rem!important;
  border-radius:.26667rem!important;
  margin-right:.29333rem!important;
  color:#fff!important;
  font-size:.32rem!important;
  overflow:hidden!important;
  flex:none!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-l-small,
html body.v40-route-game #app .my_r-body .list-item-l-small{
  background:#6CA6F3!important;
  background-color:#6CA6F3!important;
  font-size:.32rem!important;
  color:#fff!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-l-big,
html body.v40-route-game #app .my_r-body .list-item-l-big{
  background:#E5A92C!important;
  background-color:#E5A92C!important;
  font-size:.32rem!important;
  color:#1B0B36!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-l-0{
  background-image:linear-gradient(to bottom right,#FB5B5B 50%,#B659FE 0)!important;
  background-color:transparent!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-l-5{
  background-image:linear-gradient(to bottom right,#18B660 50%,#B659FE 0)!important;
  background-color:transparent!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-r,
html body.v40-route-game #app .my_r-body .list-item-r{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  color:#FB5B5B!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-r div,
html body.v40-route-game #app .my_r-body .list-item-r div{
  color:#FB5B5B!important;
  border:.01333rem solid #FB5B5B!important;
  border-radius:.13333rem!important;
  height:.48rem!important;
  line-height:.48rem!important;
  font-size:.29333rem!important;
  padding:0 .48rem!important;
  margin-bottom:.08rem!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-r.success,
html body.v40-route-game #app .my_r-body .list-item-r.success{
  color:#13C164!important;
}
html body.v40-route-game #app .MyGameRecordList__C-item-r.success div,
html body.v40-route-game #app .my_r-body .list-item-r.success div{
  color:#18B660!important;
  border-color:#18B660!important;
}
html body.v40-route-game #app .MyGameRecordList__C-inlineB.greenColor{color:#18B660!important;}
html body.v40-route-game #app .MyGameRecordList__C-inlineB.redColor{color:#FB5B5B!important;}
html body.v40-route-game #app .MyGameRecordList__C-inlineB.purpleColor{color:#B659FE!important;}
html body.v40-route-game #app .MyGameRecordList__C-inlineB.small{color:#609DEC!important;}
html body.v40-route-game #app .MyGameRecordList__C-inlineB.big{color:#F8B460!important;}
html body.v40-route-game #app .MyGameRecordList__C-detail-line .green{color:#18B660!important;}
html body.v40-route-game #app .MyGameRecordList__C-detail-line .red{color:#FB5B5B!important;}

/* Big gold / Small blue — ref images */
html body.v40-route-game #app .Betting__C-foot-big,
html body.v40-route-game #app .Betting__C-foot-b{
  background:linear-gradient(135deg,#F8D169 0%,#E5A92C 55%,#D48812 100%)!important;
  color:#1B0B36!important;
}
html body.v40-route-game #app .Betting__C-foot-small,
html body.v40-route-game #app .Betting__C-foot-s{
  background:linear-gradient(90deg,#6CA6F3,#87BCF5)!important;
  color:#fff!important;
}

/* ===== Win/Lose popup: Period + game name + issue (ref layout) ===== */
html body.v40-route-game #app .WinningTip__C-body-l3{
  height:auto!important;
  min-height:2.26667rem!important;
  overflow:visible!important;
}
html body.v40-route-game #app .WinningTip__C-body-l3 .isLose{
  padding-top:.2rem!important;
  margin-bottom:.12rem!important;
  line-height:.72rem!important;
}
html body.v40-route-game #app .WinningTip__C-body-l3 .bonus{
  margin-bottom:.12rem!important;
}
html body.v40-route-game #app .WinningTip__C-body-l3 .gameDetail{
  height:auto!important;
  min-height:.72rem!important;
  line-height:.36rem!important;
  font-size:.29333rem!important;
  text-align:center!important;
  white-space:pre-line!important;
  overflow:visible!important;
  color:#4a5568!important;
}
html body.v40-route-game #app .WinningTip__C-body.isL .WinningTip__C-body-l3 .gameDetail{
  color:#7190b4!important;
}
