.dep-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.78);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.dep-modal-backdrop.hidden {
  display: none;
}
.dep-modal {
  width: min(420px, 100%);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  color: #e2e8f0;
}
.dep-modal-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.dep-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  text-align: center;
}
.dep-modal-back,
.dep-modal-close {
  border: none;
  background: rgba(255,255,255,.06);
  color: #cbd5e1;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.dep-modal-close {
  justify-self: end;
  font-size: 1.4rem;
}
.dep-step-hint {
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0 0 14px;
  line-height: 1.4;
}
.dep-modal input[type="number"] {
  width: 100%;
  margin: 0 0 14px;
  background: #151b24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 1.05rem;
  box-sizing: border-box;
  text-align: center;
}
.dep-btn-confirm {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  background: linear-gradient(180deg, #fde68a 0%, #fbbf24 45%, #d97706 100%);
  color: #1c1917;
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.35);
}
.dep-btn-confirm:disabled {
  opacity: 0.55;
  cursor: wait;
}
.hidden { display: none !important; }
.dep-muted {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 8px;
  margin-bottom: 6px;
}
.dep-modal input,
.dep-modal select {
  width: 100%;
  margin: 0 0 10px;
  background: #151b24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 1rem;
  box-sizing: border-box;
}
.dep-wallet-select.hidden {
  display: none;
}
.dep-card-wrap {
  margin: 0 0 12px;
}
.dep-tier {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255,255,255,.08);
  color: #fde68a;
  vertical-align: middle;
}
.dep-vcard-locked {
  min-height: 170px;
  display: grid;
  place-items: center;
  opacity: 0.75;
  filter: saturate(0.4);
}
.dep-lock {
  font-size: 2rem;
  opacity: 0.85;
}
.dep-vcard-normal { border-color: rgba(96,165,250,.35); }
.dep-vcard-orta { border-color: rgba(250,204,21,.4); }
.dep-vcard-premium { border-color: rgba(244,114,182,.4); }
.dep-bank-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0 0 8px 2px;
}
.dep-vcard {
  position: relative;
  border-radius: 18px;
  padding: 18px 16px 16px;
  min-height: 188px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(145deg, #1a2230 0%, #0d1118 55%, #06080d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 16px 40px rgba(0,0,0,.45);
  overflow: hidden;
}
.dep-vcard-crypto {
  min-height: 150px;
}
.dep-vcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.dep-vcard-chip {
  width: 42px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  position: relative;
}
.dep-vcard-chip::after {
  content: '';
  position: absolute;
  inset: 6px 8px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 3px;
}
.dep-vcard-brand {
  display: inline-flex;
  align-items: center;
  gap: -6px;
}
.dep-mc {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
}
.dep-mc-a {
  background: #ef4444;
  opacity: .95;
}
.dep-mc-b {
  background: #f97316;
  margin-left: -12px;
  opacity: .95;
}
.dep-vcard-net {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #86efac;
}
.dep-vcard-num-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.dep-vcard-num {
  flex: 1;
  min-width: 0;
  font-size: clamp(1rem, 4.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f8fafc;
  word-break: break-all;
  cursor: pointer;
}
.dep-vcard-addr {
  font-size: .92rem;
  letter-spacing: 0.02em;
}
.dep-copy-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
  font-size: 1rem;
  cursor: pointer;
}
.dep-copy-btn.copied {
  background: rgba(34,197,94,.2);
  border-color: rgba(34,197,94,.45);
  color: #4ade80;
}
.dep-vcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.dep-vcard-holder {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #f8fafc;
}
.dep-vcard-exp {
  text-align: right;
}
.dep-vcard-exp-l {
  display: block;
  font-size: .58rem;
  letter-spacing: .12em;
  color: #64748b;
}
.dep-vcard-exp-v {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #e2e8f0;
}
.dep-vcard-note {
  margin-top: 10px;
  font-size: .78rem;
  color: #94a3b8;
  word-break: break-all;
}
.dep-card-empty {
  padding: 24px;
  text-align: center;
  color: #64748b;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 14px;
}
.dep-receipt-row {
  margin-top: 6px;
}
.dep-receipt-btn {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #151b24;
  color: #cbd5e1;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}
.dep-receipt-btn.has-file {
  border-color: rgba(34,197,94,.35);
  color: #86efac;
}
#depMReceiptPreview img,
.dep-receipt-preview img {
  max-width: 100%;
  max-height: 140px;
  border-radius: 10px;
  margin-top: 8px;
  display: block;
}
.dep-hint {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}
.dep-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.dep-modal-actions.single {
  display: block;
}
.dep-modal-actions button {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}
.dep-btn-cancel {
  background: #334155;
  color: #fff;
}
.dep-btn-ok {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: none;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 42%, #16a34a 100%);
  color: #052e16;
  box-shadow: 0 8px 22px rgba(34,197,94,.35);
}
.dep-btn-ok:disabled {
  opacity: 0.55;
  cursor: wait;
}
