/* AnomicFlip — Deposit Coins modal (placeholder) */
.dp-overlay, .dp-overlay * { box-sizing: border-box; }
.dp-overlay {
  position: fixed; inset: 0; z-index: 1000; padding: 16px;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 10, 12, .72); backdrop-filter: blur(3px);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #fff;
}
.dp-overlay.open { display: flex; animation: dp-fade .18s ease-out; }
@keyframes dp-fade { from { opacity: 0 } to { opacity: 1 } }

.dp-modal {
  position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 44px 36px 36px; background: #1e2125; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.dp-close {
  position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: #262a2f; color: #e6e8eb; cursor: pointer; display: grid; place-items: center;
}
.dp-close:hover { background: #30343b; }

.dp-title { margin: 0; font-size: 34px; font-weight: 800; }
.dp-sub { margin: 14px 0 0; font-size: 19px; color: #9a9ea6; }
.dp-divider { height: 1px; background: #2e3238; margin: 30px 0 28px; }

.dp-label { display: block; margin-bottom: 14px; font-size: 16px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #a7abb2; }
.dp-input-wrap {
  display: flex; align-items: center; gap: 16px; height: 82px; padding: 0 24px;
  background: #2a2d33; border: 2px solid transparent; border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.dp-input-wrap:focus-within { border-color: #3fd68f; box-shadow: 0 0 0 1px rgba(63,214,143,.15); }
.dp-input-wrap.error { border-color: #ff5c6c; }
.dp-bag {
  flex: none; width: 26px; height: 34px;
  background: url('/coin.png') center / contain no-repeat;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.dp-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 500 22px 'Archivo', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.dp-input::placeholder { color: #7d8189; }

.dp-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.dp-chip {
  height: 64px; border: 0; border-radius: 10px; background: #2a2d33; color: #9a9ea6;
  font: 700 18px 'Archivo', system-ui, sans-serif; cursor: pointer; transition: background .12s, color .12s;
}
.dp-chip:hover { background: #30343b; color: #fff; }
.dp-chip.on { background: rgba(63,214,143,.14); color: #3fd68f; box-shadow: inset 0 0 0 1px rgba(63,214,143,.45); }

/* withdraw extras */
.dp-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dp-avail { font-size: 15px; color: #8b8f97; }
.dp-avail b { color: #fff; font-variant-numeric: tabular-nums; }
.dp-max { color: #f5c84a; }
.dp-max:hover { color: #ffd76a; }
.dp-max.on { background: rgba(245,200,74,.12); color: #f5c84a; box-shadow: inset 0 0 0 1px rgba(245,200,74,.45); }

.dp-msg { min-height: 0; margin-top: 14px; font-size: 15px; }
.dp-msg:empty { display: none; }
.dp-msg.err { color: #ff8b97; }
.dp-msg.ok { color: #3fd68f; }

.dp-pending {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 14px 16px;
  background: rgba(245,200,74,.08); border: 1px solid rgba(245,200,74,.25); border-radius: 10px;
  font-size: 15px; line-height: 1.4; color: #c9ccd1;
}
.dp-pending[hidden] { display: none; }
.dp-pending b { color: #f5c84a; }
.dp-pending button { flex: none; border: 0; background: none; color: #ff8b97; font: 700 14px 'Archivo', system-ui, sans-serif; cursor: pointer; }
.dp-pending button:hover { text-decoration: underline; }

.dp-submit {
  width: 100%; height: 76px; margin-top: 28px; border: 0; border-radius: 10px;
  background: #3fbf7f; color: #fff; font: 800 21px 'Archivo', system-ui, sans-serif; cursor: pointer;
  transition: background .15s, opacity .15s;
}
.dp-submit:hover:not(:disabled) { background: #46cc8a; }
.dp-submit:disabled { opacity: .45; cursor: not-allowed; }

.dp-close:focus-visible, .dp-chip:focus-visible, .dp-submit:focus-visible { outline: 2px solid #3fd68f; outline-offset: 2px; }

@media (max-width: 600px) {
  .dp-modal { padding: 32px 20px 24px; }
  .dp-title { font-size: 26px; padding-right: 56px; }
  .dp-sub { font-size: 16px; }
  .dp-input-wrap { height: 64px; }
  .dp-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-chip { height: 52px; }
  .dp-submit { height: 62px; }
}
@media (prefers-reduced-motion: reduce) { .dp-overlay.open { animation: none; } }
