/* jb698 hwrecharge USDT 通道 — 对齐截图 */

.jb-hw-page {
  min-height: 100dvh;
  width: 100%;
  color: #fff;
  font-size: min(3.2vw, 13.696px);
  background: url(/assets/tsyl-rw/inner-bg.png) repeat-y top;
  background-size: 100% auto;
  overflow-x: hidden;
}

.jb-hw-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: min(11.733vw, 50.219px);
  padding: 0 min(2.667vw, 11.413px);
  position: relative;
  z-index: 20;
}

.jb-hw-back,
.jb-hw-more {
  width: min(8.533vw, 36.523px);
  height: min(8.533vw, 36.523px);
  border: 0;
  padding: 0;
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
}

.jb-hw-back {
  background: url(/assets/tsyl-records/back-arrow.webp) center / 100% 100% no-repeat;
}

.jb-hw-more {
  background: url(/assets/tsyl-rw/history-icon.webp) center / 100% 100% no-repeat;
}

.jb-hw-title-name {
  flex: 1;
  text-align: center;
  font-size: min(4.267vw, 18.261px);
  font-weight: 600;
}

.jb-hw-body {
  padding: min(2.667vw, 11.413px) min(4vw, 17.12px) min(10.667vw, 45.653px);
}

.jb-hw-tabs {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: min(3.2vw, 13.696px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: min(4.267vw, 18.261px);
  padding-bottom: min(0.533vw, 2.282px);
}

.jb-hw-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(18.667vw, 79.893px);
  height: min(9.6vw, 41.088px);
  padding: 0 min(3.2vw, 13.696px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: min(3.733vw, 15.979px);
  font-weight: 500;
  flex-shrink: 0;
  cursor: pointer;
}

.jb-hw-tab.is-active {
  background: none;
  color: #fff;
  font-weight: 600;
}

.jb-hw-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(8vw, 34.24px);
  height: 2px;
  border-radius: 1px;
  background: #fff;
}

.jb-hw-tab-badge {
  position: absolute;
  top: max(-3.733vw, -15.979px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: min(0.267vw, 1.141px) min(1.6vw, 6.848px);
  border-radius: min(2.133vw, 9.131px) min(2.133vw, 9.131px) min(2.133vw, 9.131px) min(0.533vw, 2.282px);
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: min(2.4vw, 10.272px);
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.35);
}

/* USDT card */
.jb-usdt-card {
  position: relative;
  height: min(114.933vw, 491.915px);
  background: url(/assets/tsyl-rw/usdt-recharge-bg.png) center / 100% 100% no-repeat;
  border-radius: min(2.133vw, 9.131px);
  overflow: hidden;
}

.jb-usdt-first {
  display: flex;
  align-items: center;
  font-size: min(5.333vw, 22.827px);
  font-weight: 700;
  padding-top: min(4.267vw, 18.261px);
  height: min(6.4vw, 27.392px);
  line-height: min(6.4vw, 27.392px);
  position: relative;
}

.jb-usdt-first .icon-pic {
  width: min(6.4vw, 27.392px);
  height: min(6.4vw, 27.392px);
  margin-left: min(5.333vw, 22.827px);
  background: url(/assets/tsyl-rw/usdt-icon-hw.png) center / 100% 100% no-repeat;
  flex-shrink: 0;
}

.jb-usdt-first .u-label {
  margin: 0 min(2.133vw, 9.131px) 0 min(2.133vw, 9.131px);
}

.jb-usdt-first .t-label {
  font-size: min(3.733vw, 15.979px);
  font-weight: 600;
  color: #fff;
  opacity: 0.92;
  margin-left: 0;
}

.jb-usdt-guide {
  position: absolute;
  top: min(2.133vw, 9.131px);
  right: min(3.733vw, 15.979px);
  border: 0;
  padding: 0;
  background: linear-gradient(97deg, #fdfdfd, #c48bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: min(3.2vw, 13.696px);
  line-height: min(5.333vw, 22.827px);
  cursor: pointer;
}

.jb-usdt-qr {
  width: min(42.667vw, 182.613px);
  height: min(42.667vw, 182.613px);
  margin: min(5.333vw, 22.827px) auto 0;
  position: relative;
  top: min(2.133vw, 9.131px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jb-usdt-qr-inner {
  padding: min(2.933vw, 12.555px);
  background: #fff;
  border-radius: min(3.467vw, 14.837px);
  box-sizing: border-box;
}

.jb-usdt-qr-inner canvas {
  display: block;
  width: 146px;
  height: 146px;
  max-width: min(34.133vw, 146px);
  max-height: min(34.133vw, 146px);
}

.jb-usdt-bag-label {
  margin-top: min(12vw, 51.36px);
  font-size: min(4.267vw, 18.261px);
  font-weight: 600;
  text-align: center;
  width: 100%;
  margin-bottom: min(1.067vw, 4.565px);
  line-height: min(5.867vw, 25.109px);
}

.jb-usdt-bag-value {
  font-size: min(3.2vw, 13.696px);
  text-align: center;
  width: 100%;
  margin-bottom: min(6.4vw, 27.392px);
  line-height: min(5.333vw, 22.827px);
  font-weight: 500;
  word-break: break-all;
  padding: 0 min(4vw, 17.12px);
  box-sizing: border-box;
  color: #ffc400;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: all;
}

.jb-usdt-bag-value .hi {
  color: #ffc400;
}

/* 对齐参考站：紫蓝渐变胶囊「复制地址，转账完成自动上分」 */
.jb-usdt-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: min(1.6vw, 6.848px);
  box-sizing: border-box;
  width: calc(100% - min(5.333vw, 22.827px));
  height: min(11.733vw, 50.219px);
  line-height: 1;
  margin: 0 auto;
  border: 1px solid rgba(196, 181, 253, 0.55);
  border-radius: 999px;
  padding: 0 min(3.2vw, 13.696px);
  color: #fff;
  font-size: min(3.467vw, 14.837px);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background-color: #4c1d95;
  background-image: url(/assets/tsyl-rw/btn-copy-address.webp);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(112, 112, 239, 0.25), 0 6px 16px rgba(76, 29, 149, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.jb-usdt-copy:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.jb-usdt-copy.is-copied,
.jb-usdt-copy:disabled {
  opacity: 0.85;
}

.jb-usdt-check {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  color: #00b7ff;
  text-align: center;
  line-height: min(13.333vw, 57.067px);
  font-size: min(3.733vw, 15.979px);
  cursor: pointer;
  padding: 0;
}

.jb-usdt-tips {
  margin-top: min(4vw, 17.12px);
  padding: 0 min(1.067vw, 4.565px);
}

.jb-usdt-tip {
  display: flex;
  margin: min(2.667vw, 11.413px) 0;
  color: #ffc400;
  font-size: min(3.2vw, 13.696px);
  line-height: min(5.333vw, 22.827px);
}

.jb-usdt-tip .coin {
  width: min(3.2vw, 13.696px);
  height: min(3.2vw, 13.696px);
  margin: min(0.8vw, 3.424px) min(1.6vw, 6.848px) min(0.8vw, 3.424px) 0;
  background: url(/assets/tsyl-rw/usdt-tip-coin.webp) center / 100% 100% no-repeat;
  flex-shrink: 0;
}

.jb-usdt-tip .text {
  flex: 1;
  color: #ffc400;
  font-weight: 500;
  line-height: min(4.8vw, 20.544px);
  text-align: justify;
}

.jb-usdt-state {
  text-align: center;
  color: #9fa7bc;
  padding: min(8vw, 34.24px) min(4vw, 17.12px);
}

.jb-usdt-state.is-err {
  color: #ff8a8a;
}

.jb-usdt-retry {
  margin-top: min(2.667vw, 11.413px);
  border: 0;
  background: none;
  color: #87b7ff;
  cursor: pointer;
}

/* 非 USDT 通道：沿用金额表单 */
.jb-hw-panel {
  border-radius: min(3.2vw, 13.696px);
  background-image: linear-gradient(178deg, rgba(252, 245, 255, 0.1), rgba(96, 64, 111, 0.14));
  padding: min(3.733vw, 15.979px);
}

.jb-hw-label {
  font-size: min(3.733vw, 15.979px);
  color: hsla(0, 0%, 100%, 0.7);
  line-height: min(5.333vw, 22.827px);
  margin: min(2.133vw, 9.131px) 0;
}

.jb-hw-input {
  width: 100%;
  height: min(10.667vw, 45.653px);
  border: 0;
  outline: none;
  border-radius: min(1.6vw, 6.848px);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 0 min(4vw, 17.12px);
  font-size: min(3.733vw, 15.979px);
  box-sizing: border-box;
}

.jb-hw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: min(2.133vw, 9.131px);
  width: 100%;
}

.jb-hw-chip {
  width: calc((100% - min(4.266vw, 18.262px)) / 3);
  height: min(10.667vw, 45.653px);
  border: 0;
  border-radius: min(1.6vw, 6.848px);
  background: hsla(0, 0%, 100%, 0.08);
  color: #fff;
  font-size: min(3.733vw, 15.979px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jb-hw-chip.is-active {
  background-image: linear-gradient(-81deg, rgba(36, 11, 253, 0.3), rgba(180, 45, 255, 0.3));
}

.jb-hw-pay {
  margin-top: min(8vw, 34.24px);
  width: 100%;
  height: min(11.733vw, 50.219px);
  border: 0;
  padding: 0;
  color: #fff;
  font-size: min(3.733vw, 15.979px);
  font-weight: 600;
  letter-spacing: 0.12em;
  background: url(/assets/tsyl-rw/btn-pay.webp) center / 100% 100% no-repeat;
}

.jb-hw-pay:disabled {
  opacity: 0.55;
}
