/* Wallet: glacier blue, navy typography, one continuous deposit card. */
.jg-wallet-page { min-height: 100dvh; background: #f3f6fb; }
.jg-payments.recharge, .jg-payments.withdraw {
  --wallet-blue: #087ce6;
  --wallet-ink: #102d4d;
  position: relative; box-sizing: border-box; height: auto !important; min-height: 100dvh;
  padding-bottom: calc(2.1rem + env(safe-area-inset-bottom)) !important;
  background: linear-gradient(155deg, #dceeff 0, #edf5ff 4.8rem, #f3f6fb 9rem) !important;
  color: var(--wallet-ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.jg-payments > .head_area { display: none !important; }
.jg-wallet-header { display: flex; justify-content: space-between; align-items: center; padding: .4rem .48rem .32rem; }
.jg-wallet-header button { display: flex; align-items: center; border: 0; background: transparent; cursor: pointer; padding: 0; }
.jg-wallet-brand { gap: .21rem; }
.jg-wallet-brand img { width: 2.1rem; height: .9rem; object-fit: contain; }
.jg-wallet-brand span { border-left: 1px solid #b9d3eb; padding-left: .24rem; font-size: .35rem !important; font-weight: 700; color: #254b73 !important; }
.jg-wallet-records { flex-direction: column; gap: .06rem; color: #315f8d !important; font-size: .25rem !important; }
.jg-wallet-records svg { width: .64rem; height: .64rem; }
.jg-payments .topart { padding: 0 .48rem !important; }
.jg-payments .topart .noticecont { display: none !important; }
.jg-payments .jg-funds-seg { width: 5.6rem; margin: .08rem auto .32rem; border: 1px solid #fff; background: #fff9; box-shadow: none; padding: .08rem; }
.jg-payments .jg-funds-seg__tab { height: .94rem; }
.jg-payments .jg-funds-seg__tab[aria-selected=true] { background: #087ce6; box-shadow: 0 .08rem .2rem #1475c72b; }
.jg-payments .topart .navhead { position: absolute; top: 1.65rem; right: .48rem; width: 1rem; height: 1rem !important; padding: 0 !important; background: none !important; }
.jg-payments .navhead .source-tab { width: 100%; padding: 0; font-size: .29rem !important; color: #315f8d !important; }
.jg-payments .navhead .source-tab:first-child, .jg-payments .source-tabs-line { display: none !important; }
.jg-payments.jg-show-orders .navhead .source-tab:first-child { display: block !important; }
.jg-payments.jg-show-orders .navhead .source-tab:last-of-type { display: none !important; }
.jg-payments .rccontent { height: auto !important; overflow: visible !important; padding: 0 !important; }
.jg-payments .rcinner { display: flex !important; flex-direction: column; padding: 0 .48rem !important; box-sizing: border-box; }
.jg-channel-picker { margin: .28rem 0 .44rem; }
.jg-channel-picker .jg-funds-title { margin: 0 0 .28rem; }
.jg-channel-picker h3 { color: #102d4d; font-size: .44rem; }
.jg-channel-picker small { color: #657e98; font-size: .29rem; }
.jg-channel-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .2rem; }
.jg-channel { position: relative; display: flex; align-items: center; justify-content: center; gap: .16rem; height: 1.16rem; padding: 0 .12rem; border: 1px solid #d7e5f4; border-radius: .34rem; background: #ffffffd9; cursor: pointer; }
.jg-channel img { width: .62rem; height: .62rem; object-fit: cover; border-radius: 50%; }
.jg-channel span { color: #193650 !important; font-size: .34rem !important; font-weight: 750; }
.jg-channel[aria-pressed=true] { border-color: #087ce6; background: #e4f1ff; box-shadow: inset 0 -.08rem #087ce6; }
.jg-channel[aria-pressed=true] span { color: #087ce6 !important; }
.jg-channel:disabled { opacity: .48; cursor: not-allowed; }
.jg-payments .newContent > .outTypeList, .jg-payments .newContent > .jg-funds-title { display: none !important; }
.jg-payments:not(.jg-usdt-selected):not(.jg-show-orders) .chain-recharge { display: none !important; }
.jg-payments.jg-usdt-selected:not(.jg-show-orders) #offlinerechage { display: none !important; }
.jg-payments.jg-show-orders .jg-channel-picker { display: none; }
.jg-payments .newContent { margin: 0 !important; }
.jg-payments .newContent .moneyContent {
  display: flex; flex-direction: column; margin: 0 !important; padding: .53rem .48rem .35rem !important;
  border: 1px solid #e0eaf5 !important; border-bottom: 0 !important; border-radius: .55rem .55rem 0 0 !important;
  background: #fff !important; box-shadow: none !important;
}
.jg-payments .jg-amount-heading { order: 0; margin: 0 0 .28rem; color: #102d4d !important; font-size: .37rem !important; font-weight: 700; }
.jg-payments .newContent .moneyList { order: 1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .2rem; margin: 0 0 .48rem !important; }
.jg-payments .newContent .moneyList .money_item {
  height: 1.13rem !important; border-radius: .26rem !important; border: 1px solid #e0e9f3 !important;
  background: #f2f6fa !important; color: #193650 !important; font-size: .42rem !important; font-weight: 700 !important;
  font-variant-numeric: tabular-nums; box-shadow: none !important;
}
.jg-payments .newContent .moneyList .money_item.moneyactive { color: #087ce6 !important; border-color: #087ce6 !important; background: #e8f4ff !important; }
.jg-payments .moneyContent .main_tittle { order: 2; height: auto !important; min-height: 0 !important; line-height: 1.5 !important; }
.jg-payments .moneyContent .meneyInput { order: 3; height: 1.15rem !important; margin: .22rem 0 0 !important; border: 1px solid #d9e5f2 !important; border-radius: .28rem !important; background: #f3f7fb !important; }
.jg-payments .moneyContent .meneyInput:focus-within { outline: 2px solid #087ce6; outline-offset: 2px; }
.jg-payments .moneyContent .meneyInput .input { font-size: .43rem !important; color: #102d4d !important; }
.jg-payments .jg-amount-hint { order: 4; margin: .2rem 0 0; font-size: .27rem; line-height: 1.6; color: #657e98; }
.jg-payments .newContent .btn-wrap { margin: 0 !important; padding: .22rem .48rem .5rem !important; border: 1px solid #e0eaf5; border-top: 0; border-radius: 0 0 .55rem .55rem; background: #fff !important; }
.jg-payments .newContent .btn-wrap .chargeBtn { height: 1.23rem !important; border: 0; border-radius: .3rem !important; background: #b5cee4 !important; box-shadow: none !important; }
.jg-payments .newContent .btn-wrap .chargeBtn.chargeBtnActive { background: linear-gradient(100deg,#199aff,#0065ce) !important; }
.jg-payments .newContent .btn-wrap .chargeBtn:not(:disabled) { opacity: 1 !important; }
.jg-payments .newContent .tips { margin: .24rem .24rem 0 !important; }
.jg-payments .newContent .ReceivingAccount { margin: 0 0 .3rem !important; }
.jg-payments .rcinner > .jg-wallet__help { box-sizing: border-box; width: 100%; gap: .2rem; margin: .4rem 0 .6rem !important; padding: .4rem .3rem; border: 1px solid #e0eaf5; border-radius: .42rem; box-shadow: none; }
.jg-payments .jg-wallet__help p { font-size: .29rem; line-height: 1.6; }
.jg-payments .jg-wallet__help-btn { height: .94rem; padding: 0 .28rem; border-radius: .27rem; box-shadow: none; font-size: .29rem !important; }
.jg-payments .rcinner .chain-recharge { margin: 0 !important; border-radius: .5rem !important; box-shadow: none; }
.jg-payments .withdraw_wrap { min-height: 0 !important; }
.jg-payments .withdraw_main { margin: .25rem .48rem !important; }
.jg-payments .bottom_tops { margin-top: .2rem !important; }
.jg-wallet-nav { position: fixed; z-index: 20; bottom: max(.24rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: calc(100% - .7rem); max-width: 9.3rem; border: 1px solid #fff; border-radius: .5rem; background: #fafdfff2; box-shadow: 0 .08rem .6rem #153d6a12; backdrop-filter: blur(16px); }
.jg-wallet-nav .jn-nav { height: 1.48rem; padding: 0 .15rem; }
.jg-wallet-nav .jn-nav__sel { border-radius: .35rem; box-shadow: none; background: #e4f0fd; border: 0; }
.jg-payments button:focus-visible { outline: 2px solid #087ce6 !important; outline-offset: 3px; }
@media (max-width: 350px) {
  .jg-wallet-brand span { display: none; }
  .jg-payments .jg-funds-seg { width: 5rem; }
}
