.deposit-dialog {
  position: fixed;
  width: min(480px, calc(100vw - 32px));
  max-width: none;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .62);
}

.deposit-dialog::backdrop { background: rgba(5, 5, 5, .72); backdrop-filter: blur(10px) saturate(75%); }
.deposit-dialog[open] { animation: auth-dialog-in 180ms ease-out both; }
.deposit-dialog__eyebrow { color: var(--soft-gold); font-size: 11px; font-weight: 800; }
.deposit-dialog__heading h2 { margin: 8px 35px 25px 0; font-size: 23px; }
.deposit-form { display: grid; gap: 22px; }
.deposit-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.deposit-form legend { margin-bottom: 11px; color: var(--text-secondary); font-size: 13px; font-weight: 700; }
.deposit-methods__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.deposit-method { position: relative; height: 68px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-raised); cursor: pointer; transition: border-color 140ms ease, background 140ms ease; }
.deposit-method:hover { border-color: rgba(var(--gold-rgb), .65); }
.deposit-method[aria-pressed="true"] { border-color: var(--casino-red); background: var(--red-muted); box-shadow: inset 0 0 0 1px var(--casino-red); }
.deposit-method[aria-pressed="true"]::after { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; }
.deposit-method:focus-visible, .deposit-preset:focus-visible, .deposit-submit:focus-visible { outline: 2px solid var(--soft-gold); outline-offset: 2px; }
.deposit-presets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.deposit-preset { display: inline-flex; min-width: 0; height: 40px; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-raised); color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.deposit-preset img { width: 14px; height: 14px; flex: 0 0 auto; }
.deposit-preset:hover { border-color: var(--casino-red); color: var(--text); }
.deposit-preset[aria-pressed="true"] { border-color: var(--casino-red); background: var(--red-muted); color: #fff; }
.deposit-input-wrap { display: flex; align-items: center; gap: 10px; height: 48px; margin-top: 12px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--dark-black); }
.deposit-input-wrap:focus-within { border-color: var(--soft-gold); box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .18); }
.deposit-input-wrap input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.deposit-input-wrap input::placeholder { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.deposit-input-wrap img { width: 25px; height: 25px; }
.deposit-message { min-height: 18px; margin: -12px 0 -10px; color: var(--soft-gold); font-size: 12px; }
.deposit-submit { height: 48px; border: 0; border-radius: 6px; background: var(--casino-red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.deposit-submit:hover { background: var(--red-hover); }
.deposit-submit:active { transform: translateY(1px); }

@media (max-width: 480px) {
  .deposit-dialog { padding: 25px 18px 20px; }
  .deposit-presets { gap: 5px; }
  .deposit-preset { gap: 2px; padding: 0 2px; font-size: 11px; }
  .deposit-preset img { width: 12px; height: 12px; }
}

.deposit-submit:disabled { opacity: .6; cursor: wait; }
