/* USDT receiving form and its local demo card. */
.payout-method-sheet .payout-type-usdt {
  font-family: 'Segoe UI', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.my-page .usdt-payout-panel {
  min-width: 0;
  padding-bottom: 116px;
}
.my-page .usdt-payout-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #97a8c3;
  margin: 0 2px 15px;
}
.my-page .usdt-payout-form {
  min-width: 0;
  border: 1px solid #e1e9fa;
  border-radius: 16px;
  background: #fff;
  padding: 22px 19px 5px;
}
.my-page .usdt-payout-network-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 1px 11px;
}
.my-page .usdt-payout-network-heading h2 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #526b91;
}
.my-page .usdt-payout-network-heading > span {
  font-size: 10px;
  line-height: 1.7;
  color: #9baecb;
  white-space: nowrap;
}
.my-page .usdt-payout-network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.my-page .usdt-payout-network-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 86px;
  padding: 11px 7px;
  border: 1px solid #e2e9f7;
  border-radius: 10px;
  background: #fafcff;
  color: #8398b9;
}
.my-page .usdt-payout-network-grid button > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 100%;
  font-family: 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
.my-page .usdt-payout-network-grid button > span {
  font-family: 'Segoe UI', sans-serif;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #f0f4fb;
  color: #9aadc9;
}
.my-page .usdt-payout-network-grid button[aria-pressed='true'] {
  border-color: #abc2f1;
  background: #f0f5ff;
  color: #6286c4;
  box-shadow: inset 0 0 0 1px #abc2f122;
}
.my-page .usdt-payout-network-grid button[aria-pressed='true'] > span {
  background: #e5edff;
  color: #819fd6;
}
.my-page .usdt-payout-label {
  display: block;
  margin: 22px 1px 10px;
  color: #526b91;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.my-page .usdt-payout-label > span {
  font-size: 10px;
  font-weight: 400;
  color: #a3b2c8;
  line-height: 1.6;
  margin-left: 3px;
}
.my-page .usdt-payout-form input,
.my-page .usdt-payout-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe7f7;
  border-radius: 9px;
  background: #f8faff;
  color: #49658f;
  padding: 12px 13px;
  outline: none;
}
.my-page .usdt-payout-form input {
  min-height: 51px;
  font-size: 15px;
  line-height: 1.6;
}
.my-page .usdt-payout-form textarea {
  min-height: 101px;
  resize: vertical;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.my-page .usdt-payout-form input::placeholder,
.my-page .usdt-payout-form textarea::placeholder {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  color: #a7b5cc;
  font-size: 13px;
  word-break: normal;
  letter-spacing: 0;
}
.my-page .usdt-payout-form input:focus,
.my-page .usdt-payout-form textarea:focus {
  border-color: #8eacf0;
  box-shadow: 0 0 0 3px #edf3ff;
}
.my-page .usdt-payout-network-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 9px 1px 0;
  color: #9aacc8;
  font-size: 10px;
  line-height: 1.9;
}
.my-page .usdt-payout-network-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 1.4;
  margin-top: 3px;
}
.my-page .usdt-payout-error {
  min-height: 28px;
  font-size: 11px;
  color: #c86b78;
  line-height: 1.8;
  padding: 5px 1px 3px;
}
.my-page .usdt-payout-actions {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 14px 20px max(13px, env(safe-area-inset-bottom));
  border-top: 1px solid #e1e9f8;
  background: #ffffffed;
  backdrop-filter: blur(12px);
  box-shadow: 0 -5px 25px #24437b05;
}
.my-page .usdt-payout-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  margin: 0;
  border-radius: 11px;
  background: #2858ed;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 4px 12px #2858ed18;
}
.my-page .usdt-payout-submit:hover {
  background: #1b48d5;
}
.my-page .usdt-payout-submit:disabled {
  background: #e9effa;
  color: #98a9c7;
  opacity: 1;
  cursor: default;
  box-shadow: none;
}
.my-page .usdt-payout-service-note {
  font-size: 10px;
  line-height: 1.7;
  color: #aab7cb;
  text-align: center;
  margin: 9px 3px 0;
}
.my-page .payout-usdt-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce6fa;
  border-radius: 17px;
  padding: 20px 19px 14px;
  background: linear-gradient(115deg, #f9fbff, #eef4ff 54%, #e7efff);
  box-shadow: 0 5px 17px #32599606;
}
.my-page .payout-usdt-card.is-default {
  border-color: #c2d4fa;
  background: linear-gradient(115deg, #f8fbff, #edf3ff 54%, #e6eeff);
}
.my-page .payout-usdt-card::after {
  content: '';
  position: absolute;
  right: -53px;
  top: -43px;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 22px solid #dce7f95c;
  pointer-events: none;
}
.my-page .payout-usdt-card .payout-bank-demo-tag {
  position: relative;
  z-index: 1;
}
.my-page .payout-usdt-symbol {
  font-size: 19px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  color: #769bd2;
}
.my-page .payout-usdt-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-top: 18px;
}
.my-page .payout-usdt-network {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 9px;
  min-width: 0;
  margin-bottom: 11px;
  font-size: 12px;
  line-height: 1.7;
  color: #6d8cba;
}
.my-page .payout-usdt-network > span {
  font-size: 10px;
  color: #9bafd0;
}
.my-page .payout-usdt-network > strong {
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}
.my-page .payout-usdt-caption {
  font-size: 10px;
  line-height: 1.8;
  color: #9bafd0;
  margin-bottom: 6px;
}
.my-page .payout-usdt-address {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dce6f9;
  border-radius: 10px;
  background: #ffffffa6;
  color: #7d9bc5;
  font-family: 'Segoe UI', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

/* Selected method in the unchanged CNY withdrawal form. */
.withdraw-bank-dialog .withdraw-method-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  min-height: 76px;
  padding: 13px 12px;
  border: 1px solid #dfe8f8;
  border-radius: 12px;
  background: #f5f9ff;
  color: #7390bb;
  text-align: left;
}
.withdraw-bank-dialog .withdraw-method-trigger:disabled {
  opacity: 1;
  cursor: default;
  background: #f5f9ff;
  color: #7390bb;
}
.withdraw-bank-dialog .withdraw-selected-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  border: 1px solid #dfe9fb;
  border-radius: 9px;
  background: #eaf2ff;
  color: #8faad4;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.withdraw-bank-dialog .withdraw-selected-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.35;
}
.withdraw-bank-dialog .withdraw-selected-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  line-height: 1.6;
}
.withdraw-bank-dialog .withdraw-selected-title {
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: #6484b2;
  overflow-wrap: anywhere;
}
.withdraw-bank-dialog .withdraw-selected-meta {
  min-width: 0;
  font-size: 10px;
  line-height: 1.8;
  color: #9cb0cf;
  overflow-wrap: anywhere;
}
.withdraw-bank-dialog .withdraw-selected-side {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
  min-width: 0;
}
.withdraw-bank-dialog .withdraw-selected-tag {
  font-size: 9px;
  line-height: 1.7;
  padding: 0 4px;
  border: 1px solid #dce8fa;
  border-radius: 4px;
  background: #edf4ff;
  color: #9aafce;
  white-space: nowrap;
}
.withdraw-bank-dialog .withdraw-method-switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 10px;
  line-height: 1.7;
  color: #87a3cd;
  white-space: nowrap;
}
.withdraw-bank-dialog .withdraw-method-switch svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.65;
}
.withdraw-bank-dialog .withdraw-usdt-estimate {
  border: 1px solid #dfe9fb;
  border-radius: 11px;
  background: linear-gradient(125deg, #f6faff, #edf4ff);
  padding: 14px 15px;
  margin-top: 15px;
  min-width: 0;
}
.withdraw-bank-dialog .withdraw-usdt-estimate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 10px;
  min-width: 0;
  color: #8ca4c8;
  font-size: 11px;
  line-height: 1.8;
}
.withdraw-bank-dialog .withdraw-usdt-estimate-row > strong {
  font-family: 'Segoe UI', sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
  color: #658dc3;
  min-width: 0;
  overflow-wrap: anywhere;
}
.withdraw-bank-dialog .withdraw-usdt-network-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.8;
  min-width: 0;
  color: #96accd;
}
.withdraw-bank-dialog .withdraw-usdt-network-row > span:first-child {
  flex-shrink: 0;
}
.withdraw-bank-dialog .withdraw-usdt-network-row > span:last-child {
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.withdraw-bank-dialog .withdraw-usdt-estimate > small {
  display: block;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed #dce7f9;
  font-size: 9px;
  color: #a5b6d1;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* Native chooser sheet reuses the dynamic radio option structure. */
.withdraw-method-sheet {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: 480px;
  max-width: 100%;
  max-height: min(72dvh, 540px);
  padding: 14px 20px max(20px, env(safe-area-inset-bottom));
  border: 1px solid #dfe8f8;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: #fff;
  color: #29456d;
  box-shadow: 0 -15px 70px #19385e25;
  overflow-y: auto;
}
.withdraw-method-sheet[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.withdraw-method-sheet::backdrop {
  background: #12244370;
  backdrop-filter: blur(5px);
}
.withdraw-method-sheet .withdraw-method-handle {
  display: block;
  width: 36px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #dce5f3;
  margin: 0 auto 12px;
}
.withdraw-method-sheet .withdraw-method-close {
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  top: 17px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 11px;
  color: #9bacc7;
}
.withdraw-method-sheet .withdraw-method-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}
.withdraw-method-sheet .withdraw-method-close:hover {
  background: #f3f7fe;
}
.withdraw-method-sheet .withdraw-method-heading {
  flex-shrink: 0;
  padding: 3px 43px 0 2px;
  margin-bottom: 18px;
  min-width: 0;
}
.withdraw-method-sheet .withdraw-method-heading h2 {
  margin: 0;
  color: #29456d;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
}
.withdraw-method-sheet .withdraw-bank-choices {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-height: 0;
  min-width: 0;
  max-height: min(52dvh, 438px);
  overflow-y: auto;
  padding: 1px 2px 1px 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d4e0f4 transparent;
}
.withdraw-method-sheet .withdraw-bank-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  min-height: 72px;
  flex-shrink: 0;
  padding: 13px 12px;
  border: 1px solid #e1e9f8;
  border-radius: 12px;
  background: #f9fbff;
  color: #7e97ba;
  text-align: left;
}
.withdraw-method-sheet .withdraw-bank-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border: 1px solid #e3ecfa;
  border-radius: 9px;
  background: #f1f6ff;
  color: #9eb3d6;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.withdraw-method-sheet .withdraw-bank-symbol svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.35;
}
.withdraw-method-sheet .withdraw-bank-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  line-height: 1.55;
}
.withdraw-method-sheet .withdraw-bank-copy > strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: #718aad;
  overflow-wrap: anywhere;
}
.withdraw-method-sheet .withdraw-bank-copy > span {
  font-size: 11px;
  line-height: 1.7;
  color: #a0b0ca;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.withdraw-method-sheet .withdraw-bank-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.7;
  padding: 0 4px;
  border: 1px solid #e0e9f8;
  border-radius: 4px;
  background: #eff4fc;
  color: #96adce;
}
.withdraw-method-sheet .withdraw-bank-radio {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-left: auto;
  border: 1px solid #d0dff5;
  border-radius: 50%;
  background: #fff;
}
.withdraw-method-sheet .withdraw-bank-option[aria-checked='true'] {
  border-color: #a6bff1;
  background: #eff5ff;
  box-shadow: inset 0 0 0 1px #a6bff122;
}
.withdraw-method-sheet .withdraw-bank-option[aria-checked='true'] .withdraw-bank-copy > strong {
  color: #587fbd;
}
.withdraw-method-sheet .withdraw-bank-option[aria-checked='true'] .withdraw-bank-symbol {
  background: #e7efff;
  color: #8ca9d7;
  border-color: #d8e4fb;
}
.withdraw-method-sheet .withdraw-bank-option[aria-checked='true'] .withdraw-bank-radio {
  border-color: #82a5ec;
  background: #82a5ec;
  box-shadow: inset 0 0 0 4px #fff;
}
@media (max-width: 360px) {
  .my-page .usdt-payout-intro {
    font-size: 11px;
  }
  .my-page .usdt-payout-form {
    padding-left: 16px;
    padding-right: 16px;
  }
  .my-page .usdt-payout-network-heading h2,
  .my-page .usdt-payout-label {
    font-size: 13px;
  }
  .my-page .usdt-payout-network-grid button {
    padding-left: 6px;
    padding-right: 6px;
  }
  .my-page .usdt-payout-network-grid button > strong {
    font-size: 11px;
  }
  .my-page .usdt-payout-form input {
    font-size: 14px;
    padding-left: 11px;
  }
  .my-page .usdt-payout-form textarea {
    font-size: 13px;
    padding-left: 11px;
  }
  .my-page .usdt-payout-form input::placeholder,
  .my-page .usdt-payout-form textarea::placeholder {
    font-size: 12px;
  }
  .my-page .usdt-payout-actions {
    padding-left: 15px;
    padding-right: 15px;
  }
  .my-page .usdt-payout-service-note {
    font-size: 9px;
  }
  .my-page .payout-usdt-address {
    font-size: 11px;
    padding: 11px;
  }
  .withdraw-bank-dialog .withdraw-method-trigger {
    padding: 12px 10px;
    gap: 8px;
  }
  .withdraw-bank-dialog .withdraw-selected-icon {
    width: 28px;
    height: 28px;
  }
  .withdraw-bank-dialog .withdraw-selected-title {
    font-size: 12px;
  }
  .withdraw-bank-dialog .withdraw-selected-meta {
    font-size: 9px;
  }
  .withdraw-bank-dialog .withdraw-usdt-estimate {
    padding: 13px;
  }
  .withdraw-bank-dialog .withdraw-usdt-estimate-row > strong {
    font-size: 19px;
  }
  .withdraw-bank-dialog .withdraw-usdt-network-row {
    font-size: 9px;
  }
  .withdraw-method-sheet {
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 20px 20px 0 0;
  }
  .withdraw-method-sheet .withdraw-method-heading h2 {
    font-size: 18px;
  }
  .withdraw-method-sheet .withdraw-bank-option {
    padding: 12px 10px;
    gap: 8px;
  }
  .withdraw-method-sheet .withdraw-bank-symbol {
    width: 28px;
    height: 28px;
  }
  .withdraw-method-sheet .withdraw-bank-copy > strong {
    font-size: 12px;
  }
  .withdraw-method-sheet .withdraw-bank-copy > span {
    font-size: 10px;
  }
  .withdraw-method-sheet .withdraw-bank-tag {
    font-size: 8px;
  }
}
@media (max-width: 360px) {
  .my-page .payout-usdt-card {
    padding: 18px 16px 12px;
  }
}
