/* 首页右上角 USDT 充值弹窗 — 对齐 X7 存款弹层 */

html.jb-usdt-popup-open {
  overflow: hidden;
}

#jb-usdt-popup-root {
  position: fixed;
  inset: 0;
  z-index: 12000;
}

.jb-usdt-pop-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.jb-usdt-pop-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(86vw, 360px);
  max-height: min(84vh, 640px);
  overflow: auto;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(36, 28, 68, 0.96), rgba(18, 14, 40, 0.98));
  border: 1px solid hsla(0, 0%, 100%, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  padding: 16px 16px 18px;
  box-sizing: border-box;
}

.jb-usdt-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.jb-usdt-pop-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 650;
}

.jb-usdt-pop-coin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: url(/assets/tsyl-rw/usdt-icon.png) center / 100% 100% no-repeat;
  background-color: #26a17b;
  flex-shrink: 0;
}

.jb-usdt-pop-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: hsla(0, 0%, 100%, 0.75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.jb-usdt-pop-body {
  text-align: center;
}

.jb-usdt-pop-loading,
.jb-usdt-pop-err {
  padding: 28px 8px;
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 13px;
}

.jb-usdt-pop-err p {
  margin: 0 0 14px;
}

.jb-usdt-pop-retry,
.jb-usdt-pop-goto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 36px;
  margin: 0 4px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid hsla(0, 0%, 100%, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.jb-usdt-pop-qr {
  width: 180px;
  height: 180px;
  margin: 4px auto 14px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-sizing: border-box;
}

.jb-usdt-pop-qr canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
}

.jb-usdt-pop-label {
  margin: 0 0 8px;
  font-size: 13px;
  color: hsla(0, 0%, 100%, 0.7);
}

.jb-usdt-pop-addr {
  margin: 0 0 16px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
  color: #ffe63d;
  font-weight: 600;
  cursor: pointer;
}

.jb-usdt-pop-copy {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid hsla(0, 0%, 100%, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.jb-usdt-pop-copy.is-copied {
  border-color: rgba(36, 238, 137, 0.55);
  color: #24ee89;
}
