/* V84 — 1goplus Deposit overlay
   Palette: page #1E2020, chrome #232626, tiles #323738 */

html.v84-deposit,
html.v84-deposit body,
html.v84-deposit #app,
html.v84-deposit .Recharge__box,
html.v84-deposit .Recharge__container {
  background: #1e2020 !important;
}

html.v84-deposit .Recharge__container {
  position: relative !important;
  min-height: 100vh !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.v84-deposit .Recharge__box {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Always — not only while html.v84-deposit. Back-from-Deposit drops that
   class one tick before Vue unmounts Recharge, which used to flash Method /
   amount / Payment Guarantee. Overlay is the only allowed child. */
.Recharge__container > *:not(#v84-deposit-root),
.Recharge__content,
.Recharge__container-tabcard,
.Recharge__container-rechageBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.v84-deposit .Recharge__container > *:not(#v84-deposit-root) {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.v84-deposit .van-tabbar,
html.v84-deposit .van-tabbar-item,
html.v84-deposit [class*="tabbar"] {
  display: none !important;
}

html.v84-deposit .navbar,
html.v84-deposit .navbar-fixed,
html.v84-deposit .van-nav-bar,
html.v84-deposit .van-nav-bar__placeholder {
  display: none !important;
}

/* Hold / prehide hide #app. Deposit is mounted inside .Recharge__container
   under #app, so it must opt back into visibility or the page stays blank. */
html.co-route-hold.v84-deposit #v84-deposit-root,
html.co-prehide.v84-deposit #v84-deposit-root,
html.co-lot-hold.v84-deposit #v84-deposit-root {
  visibility: visible !important;
  pointer-events: auto !important;
}

#v84-deposit-root.is-body {
  position: fixed;
  inset: 0;
  z-index: 80;
}

#v84-deposit-root {
  position: relative;
  z-index: 20;
  min-height: 100vh;
  max-width: none;
  width: 100%;
  margin: 0;
  background: #1e2020;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Avenir Next", sans-serif;
  box-sizing: border-box;
  overflow-x: hidden;
}

#v84-deposit-root *,
#v84-deposit-root *::before,
#v84-deposit-root *::after {
  box-sizing: border-box;
}

.v84-hd {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  width: 100%;
  padding: 0 12px;
  margin: 0;
  background: #232626;
  overflow: hidden;
}

.v84-hd-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #323738;
  border: 1px solid #3d4446;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex: 0 0 32px;
  z-index: 1;
}

.v84-hd-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
}

.v84-hd-history {
  z-index: 1;
  border: 1px solid #3d4446;
  background: #323738;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 28px;
  height: 28px;
  border-radius: 999px;
  padding: 0 12px 0 14px;
  cursor: pointer;
  white-space: nowrap;
}

.v84-hd-history span {
  color: #fff;
  margin-left: 3px;
  font-size: 13px;
  font-weight: 500;
}

.v84-body {
  padding: 8px 14px 28px;
}

.v84-wallet {
  margin: 2px 0 14px;
}

.v84-wallet .v84-lab {
  margin-bottom: 4px;
}

.v84-wallet-val {
  font-size: 22px;
  font-weight: 800;
  color: #24ee89;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.v84-lab {
  font-size: 15px;
  font-weight: 700;
  margin: 6px 0 8px;
}

.v84-credit {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #24ee89;
  color: #111;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 10px;
  width: fit-content;
  max-width: 100%;
}

.v84-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 6px;
}

/* Method tiles — 1goplus .content .method .ul .li (1rem = 16px) */
.v84-mtile {
  position: relative;
  box-sizing: border-box;
  color: #fff;
  background: #3a4142;
  border: 2.4px solid #414849;
  border-radius: 8px;
  min-height: 32px;
  height: 32px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 28px;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  cursor: pointer;
  overflow: visible;
}

.v84-mtile.is-on {
  background: #326654;
  border: 2.4px solid #24ee89;
  color: #24ee89;
}

.v84-mbadge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #f28518;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 7px 7px 7px 0;
  z-index: 2;
  pointer-events: none;
}

.v84-amts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

/* Amount tiles — 1goplus .content .Amount .ul .li (taller than Method) */
.v84-atile {
  position: relative;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  background: #3a4142;
  border: 2.4px solid #414849;
  border-radius: 6px;
  min-height: 46px;
  height: 46px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 42px;
  cursor: pointer;
  overflow: visible;
}

.v84-atile.is-on {
  background: #326654;
  border: 2.4px solid #24ee89;
  color: #24ee89;
}

.v84-chs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.v84-ctile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 0 4px;
  border: 2.4px solid #414849;
  border-radius: 6px;
  background: #3a4142;
  color: #fff;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}

.v84-ctile.is-on {
  background: #326654;
  border-color: #24ee89;
  color: #24ee89;
}

.v84-ctile-n {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v84-ctile-b {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
  opacity: 0.75;
  white-space: nowrap;
}

.v84-abadge {
  position: absolute;
  top: -7px;
  right: -5px;
  left: auto;
  transform: none;
  background: #f28518;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  min-width: 0;
  padding: 3px 5px;
  border-radius: 8px 8px 8px 2px;
  z-index: 2;
  pointer-events: none;
  text-align: center;
}

.v84-bon-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.v84-turn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: #f28518;
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.v84-turn b {
  font-size: 12px;
}

.v84-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #24ee89;
  color: #111;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.v84-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: default;
}

button.v84-card {
  cursor: pointer;
}

.v84-card-on {
  border: 1.5px solid #24ee89;
  background: #24332c;
}

.v84-card-off {
  border: 1.5px solid #3a3f42;
  background: #2a2e30;
  opacity: 0.55;
  filter: grayscale(0.35);
}

.v84-card-kicker {
  color: #d4b84a;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.v84-card-off .v84-card-kicker {
  color: #8b8f92;
}

.v84-card-line {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.v84-card-line em {
  color: #24ee89;
  font-style: normal;
}

.v84-card-off .v84-card-line em {
  color: #c5c8ca;
}

.v84-gift {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.v84-gift-dim {
  filter: grayscale(1) brightness(0.85);
}

.v84-check {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #24ee89;
  box-shadow: 0 0 0 2px #1e2020;
}

.v84-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.v84-get {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 2px 12px;
  font-size: 14px;
  font-weight: 700;
}

.v84-get-v {
  color: #24ee89;
}

.v84-cta {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 24px;
  background: #24ee89;
  color: #111;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.v84-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.v84-piggy {
  width: 24px;
  height: 24px;
  display: flex;
}

.v84-piggy svg {
  width: 24px;
  height: 24px;
  display: block;
}

.v84-g {
  margin-top: 22px;
}

.v84-g-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 12px;
}

.v84-g-h img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-left: -6px;
}

.v84-g-h h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.v84-g-b {
  color: #d5d8da;
  font-size: 13px;
  line-height: 1.45;
}

.v84-g-b p {
  margin: 0 0 8px;
}

.v84-g-b em,
.v84-g-f em {
  color: #24ee89;
  font-style: normal;
  font-weight: 700;
}

.v84-g-gap {
  margin-top: 14px !important;
}

.v84-g-f {
  margin-top: 14px;
  color: #9aa0a6;
  font-size: 12px;
  line-height: 1.4;
}

.v84-lock {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-radius: 3px;
  background: #24ee89;
  vertical-align: -1px;
}

.v84-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.v84-modal-box {
  width: 100%;
  max-width: 320px;
  background: #232626;
  border-radius: 12px;
  padding: 18px 16px 14px;
}

.v84-modal-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.v84-modal-box p {
  margin: 0 0 14px;
  color: #c8cdd0;
  font-size: 13px;
  line-height: 1.45;
}

.v84-modal-box button {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 20px;
  background: #24ee89;
  color: #111;
  font-weight: 800;
  cursor: pointer;
}
