/* 存款页 — 大平台充值风格 | 站点色 #ede9e7 / #ebb463 / #d9a050 */

.recharge-page.sdg,
.recharge-page[data-v-39532dc7].sdg {
  min-height: 100vh;
  background: #f0eeec !important;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.recharge-page .recharge-page-inner {
  width: 100%;
  min-height: 100vh;
  padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.recharge-page .recharge-nav-spacer {
  height: 46px;
}

.recharge-page .van-nav-bar {
  background: #ede9e7 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.recharge-page .van-nav-bar .van-nav-bar__title {
  font-size: 17px;
  font-weight: 600;
  color: #2c2c2c;
}

.recharge-page .van-nav-bar.van-hairline--bottom::after {
  border-bottom-width: 0;
}

/* —— 卡片区块 —— */
.recharge-page .recharge-section {
  margin: 10px 12px 0;
  padding: 16px 14px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.recharge-page .recharge-section__title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
  padding: 0;
  border: none;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.recharge-page .recharge-section__hint {
  font-size: 13px;
  color: #999;
  line-height: 1.45;
  margin-bottom: 10px;
}

.recharge-page .recharge-section--pay {
  margin-top: 6px;
  padding: 14px 12px 12px;
}

.recharge-page .recharge-section--form {
  padding: 12px 12px 14px;
}

.recharge-page .recharge-section--form + .recharge-section--form,
.recharge-page .recharge-section--form + .recharge-section--tips {
  margin-top: 10px;
}

.recharge-page .recharge-section--tips {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 10px 12px 0;
}

.recharge-page .recharge-section--tips .recharge-tips-card {
  margin: 0;
}

/* —— 支付方式网格（参考主流盘 3 列图标卡） —— */
.recharge-page .typelis,
.recharge-page .typelis[data-v-39532dc7],
.recharge-page .recharge-pay-grid {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  background: transparent !important;
  box-sizing: border-box;
}

.recharge-page .typelis .pay-way-item {
  width: calc(25% - 6px) !important;
  flex: 0 0 calc(25% - 6px) !important;
  max-width: calc(25% - 6px);
  box-sizing: border-box;
}

.recharge-page .typelis .pay-way-item--service {
  width: calc(25% - 6px) !important;
  flex: 0 0 calc(25% - 6px) !important;
  max-width: calc(25% - 6px);
}

.recharge-page .typelis .pay-way-item > .tyls,
.recharge-page .typelis .tyls {
  width: 100% !important;
  margin: 0 !important;
  min-height: 0;
  height: auto;
  border-radius: 8px !important;
  border: 1px solid #ebebeb !important;
  text-align: center;
  padding: 9px 4px 8px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  color: #666 !important;
  box-sizing: border-box !important;
  background: #fafafa !important;
  transition: border-color 0.2s ease, background 0.2s ease;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.recharge-page .typelis .pay-way-item--service > .tyls {
  border-style: dashed !important;
  border-color: #e0d5c5 !important;
  background: #fffdf9 !important;
}

.recharge-page .typelis .pay-way-item > .tyls img,
.recharge-page .typelis .tyls img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto 5px !important;
}

.recharge-page .typelis .pay-way-item > .tyls.atc,
.recharge-page .typelis .tyls.atc,
.recharge-page .typelis .tyls.atc.bank,
.recharge-page .typelis .tyls.atc.usdt,
.recharge-page .typelis .tyls.atc.wechat,
.recharge-page .typelis .tyls.atc.alipay,
.recharge-page .typelis .tyls.atc.bobi_pay {
  border: 1.5px solid #d9a050 !important;
  background: #fffbf5 !important;
  color: #333 !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.recharge-page .typelis .pay-way-item > .tyls.atc::after,
.recharge-page .typelis .tyls.atc::after {
  display: none !important;
  content: none !important;
}

/* —— 表单区 —— */
.recharge-page .recharge-section--form .usrse {
  padding: 0;
  width: 100%;
}

.recharge-page .recharge-section--form .hgs {
  margin-bottom: 0;
  width: 100%;
}

.recharge-page .recharge-section--form .hgs + .hgs,
.recharge-page .recharge-section--form .hgs + .recharge-tips-card {
  margin-top: 12px;
}

.recharge-page .recharge-section--form .hgs .nams,
.recharge-page .recharge-amount-block .nams {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 0 0 10px;
  margin: 0;
  border: none;
  line-height: 1.35;
}

.recharge-page .recharge-section--form .hgs .nams::before,
.recharge-page .recharge-amount-block .nams::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ebb463, #d9a050);
}

.recharge-page .recharge-section--form .hgs > div[style*="border-bottom"] {
  border-bottom: none !important;
}

.recharge-page .recharge-section--form .van-cell-group {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
}

.recharge-page .recharge-section--form .van-cell {
  padding: 13px 14px;
  background: transparent;
  font-size: 15px;
}

.recharge-page .recharge-section--form .van-field__control {
  font-size: 16px;
  color: #222;
}

.recharge-page .recharge-section--form .van-field__control::placeholder {
  color: #bbb;
}

/* 收款信息卡 */
.recharge-page .recharge-section--form .bans {
  margin-bottom: 10px;
  padding: 14px;
  background: linear-gradient(180deg, #fffbf6 0%, #fff 100%);
  border-radius: 12px;
  border: 1px solid #f0e6d8;
  box-shadow: 0 1px 8px rgba(207, 158, 86, 0.08);
}

.recharge-page .recharge-section--form .bans:last-child {
  margin-bottom: 0;
}

.recharge-page .recharge-section--form .bans p {
  margin: 0;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  border-bottom: 1px solid #f5f0ea;
}

.recharge-page .recharge-section--form .bans p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recharge-page .recharge-section--form .bans p:first-child {
  padding-top: 0;
}

.recharge-page .recharge-section--form .bans .frists {
  color: #999;
  flex: 0 0 auto;
  min-width: 4.5em;
}

.recharge-page .recharge-section--form .bans .sdsw {
  color: #222;
  font-weight: 500;
  word-break: break-all;
  flex: 1 1 auto;
}

.recharge-page .recharge-section--form .bans .copy,
.recharge-page .bans .copy {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 12px;
  font-size: 13px;
  color: #d9a050 !important;
  background: rgba(217, 160, 80, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(217, 160, 80, 0.25);
  line-height: 1.3;
}

.recharge-page .recharge-section--form .lasthg {
  font-size: 13px;
  color: #999;
  padding: 6px 0 0;
  line-height: 1.55;
}

/* —— 存款金额（紧凑，避免挤压） —— */
.recharge-page .recharge-section--form .hgs.recharge-amount-block {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.recharge-page .recharge-amount-block {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.recharge-page .recharge-section--form .usrse .hgs.recharge-amount-block,
.recharge-page .recharge-section--form .hgs.recharge-amount-block[data-v-39532dc7] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.recharge-page .recharge-amount-block .nams {
  padding-bottom: 8px;
  font-size: 16px;
}

.recharge-page .recharge-amount-field-wrap {
  border: none;
}

.recharge-page .recharge-amount-group {
  margin: 0;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.recharge-page .recharge-amount-field-wrap:focus-within .recharge-amount-group {
  border-color: #e6cbb0;
  box-shadow: 0 0 0 2px rgba(235, 180, 99, 0.12);
}

.recharge-page .recharge-amount-group::after {
  border: none !important;
}

.recharge-page .recharge-amount-field.van-cell {
  padding: 11px 13px !important;
  background: transparent;
  align-items: center;
  min-height: 0 !important;
  line-height: normal;
}

.recharge-page .recharge-amount-field .van-field__label {
  width: 30px !important;
  min-width: 30px;
  max-width: 30px;
  margin-right: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #d9a050;
  line-height: 1.2;
  text-align: center;
}

.recharge-page .recharge-amount-field .van-field__control {
  font-size: 18px;
  font-weight: 500;
  color: #222;
  height: 26px;
  line-height: 26px;
  letter-spacing: 0;
}

.recharge-page .recharge-amount-field .van-field__control::placeholder {
  color: #bbb;
  font-size: 14px;
  font-weight: 400;
}

.recharge-page .recharge-amount-field .van-field__body {
  align-items: center;
}

.recharge-page .recharge-amount-unit {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  padding-left: 2px;
}

/* —— 快捷固定金额（仅在存款金额区块内显示） —— */
.recharge-page .recharge-section--tips .recharge-quick-amounts,
.recharge-page .bobi-pay-tips .recharge-quick-amounts,
.recharge-page .recharge-tips-card .recharge-quick-amounts,
.recharge-page .recharge-tips-card__title .recharge-quick-amounts,
.recharge-page .recharge-page-inner > .recharge-quick-amounts {
  display: none !important;
}

.recharge-page .recharge-amount-block > .recharge-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 4px;
  width: 100%;
  max-width: 100%;
  clear: both;
  box-sizing: border-box;
}

.recharge-page .recharge-section--form + .recharge-section--tips {
  clear: both;
}

.recharge-page .recharge-quick-amounts__item {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 10px 2px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.recharge-page .recharge-quick-amounts__item.is-active {
  border-color: #d9a050;
  background: #fffbf5;
  color: #d9a050;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(217, 160, 80, 0.12);
}

.recharge-page .recharge-quick-amounts__item:active {
  opacity: 0.92;
  transform: scale(0.98);
}

.recharge-page .recharge-amount-block .lasthg {
  margin-top: 10px;
  padding: 0 2px;
  font-size: 12px;
  color: #999;
  background: none;
  border-radius: 0;
  line-height: 1.45;
}

.recharge-page .recharge-amount-block .lasthg span[style*="red"] {
  color: #d9a050 !important;
  font-weight: 600;
}

/* —— 温馨提示 —— */
.recharge-page .recharge-tips-card {
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0ebe4;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

.recharge-page .recharge-tips-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.recharge-page .recharge-tips-card__title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ebb463, #d9a050);
  flex-shrink: 0;
}

.recharge-page .recharge-tips-card__links {
  font-size: 13px;
  color: #666;
  line-height: 1.85;
  margin-bottom: 8px;
  word-break: break-all;
}

.recharge-page .recharge-tips-card__links a {
  color: #cf9e56;
  text-decoration: none;
  font-weight: 500;
}

.recharge-page .recharge-tips-card__links span {
  color: #e0d5c5;
  margin: 0 4px;
}

.recharge-page .recharge-tips-card__desc {
  font-size: 13px;
  color: #777;
  line-height: 1.75;
  padding: 0;
  background: none;
  border-radius: 0;
}

.recharge-page .usdt-pay-tips.recharge-tips-card--plain,
.recharge-page .usdt-pay-tips {
  background: #fff;
  border: 1px solid #f0ebe4;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

.recharge-page .usdt-pay-tips .recharge-tips-card__desc,
.recharge-page .usdt-pay-tips .recharge-tips-card__desc--gap {
  background: none !important;
  padding: 4px 0 4px 1.4em !important;
  margin: 0;
  position: relative;
  text-indent: 0;
}

.recharge-page .usdt-pay-tips .recharge-tips-card__desc::before,
.recharge-page .usdt-pay-tips .recharge-tips-card__desc--gap::before {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #d9a050;
  line-height: 1.75;
}

.recharge-page .usdt-pay-tips .recharge-tips-card__desc::before {
  content: "1";
}

.recharge-page .usdt-pay-tips .recharge-tips-card__desc--gap::before {
  content: "2";
}

.recharge-page .usdt-pay-tips .recharge-tips-card__desc--gap {
  margin-top: 2px;
}

/* —— 底部提交 —— */
.recharge-page .recharge-submit-area {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.recharge-page .recharge-submit-btn.van-button--info {
  height: 50px;
  border: none;
  border-radius: 25px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff !important;
  background: linear-gradient(90deg, #ebb463 0%, #e0ad58 35%, #d9a050 100%) !important;
  box-shadow: 0 8px 20px rgba(217, 160, 80, 0.38);
}

.recharge-page .recharge-submit-btn.van-button--info:active {
  opacity: 0.94;
  transform: scale(0.99);
}

.recharge-page .recharge-footer-help {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  padding: 10px 0 2px;
  line-height: 1.5;
}

.recharge-page .recharge-footer-help__link {
  color: #d9a050;
  font-weight: 600;
}

.recharge-page .nams.sc .ssa.acti {
  background: linear-gradient(90deg, #ebb463, #d9a050) !important;
  color: #fff !important;
  border-radius: 6px;
}

.recharge-page .van-dialog__confirm,
.recharge-page .van-dialog__confirm:active {
  color: #d9a050;
}

/* 隐藏旧版灰色占位条 */
.recharge-page .recharge-section--form > div[style*="0.2rem"],
.recharge-page .usrse > div[style*="0.2rem"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 360px) {
  .recharge-page .typelis .pay-way-item,
  .recharge-page .typelis .pay-way-item--service {
    width: calc(33.333% - 6px) !important;
    flex: 0 0 calc(33.333% - 6px) !important;
    max-width: calc(33.333% - 6px);
  }

  .recharge-page .recharge-quick-amounts__item {
    font-size: 12px;
    padding: 9px 1px;
  }
}
