:root {
  --bg0: #070b14;
  --bg1: #0e1524;
  --card: #141c2e;
  --line: rgba(255,255,255,.08);
  --gold: #e8c36a;
  --gold2: #f3dc9a;
  --text: #f4f6fb;
  --muted: #9aa6b8;
  --ok: #3dd68c;
  --danger: #ff6b7a;
  --accent: #4ea8ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, Segoe UI, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232,195,106,.16), transparent 50%),
    radial-gradient(900px 500px at 100% 0%, rgba(78,168,255,.12), transparent 45%),
    var(--bg0);
  color: var(--text);
}
.shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 18px 14px 28px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.brand { font-weight: 700; letter-spacing: .02em; }
.brand span { color: var(--gold); }
.timer {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(232,195,106,.08);
  border: 1px solid rgba(232,195,106,.22);
  padding: 7px 10px;
  border-radius: 999px;
}
.timer.ended { color: var(--danger); border-color: rgba(255,107,122,.3); background: rgba(255,107,122,.08); }
h1 { font-size: 18px; margin: 0 0 4px; }
.sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.grid { display: grid; gap: 10px; }
.coins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.coin {
  display: flex; align-items: center; gap: 10px;
  padding: 11px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg1);
}
.coin.active { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(232,195,106,.35); }
.coin.disabled { opacity: .45; cursor: not-allowed; }
.coin img { width: 28px; height: 28px; }
.coin b { display: block; font-size: 13px; }
.coin small { color: var(--muted); font-size: 11px; }
.row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.row:last-child { border-bottom: 0; }
.k { color: var(--muted); }
.v { font-weight: 600; text-align: right; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.copy {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); cursor: pointer; font-size: 12px; font-weight: 700;
  background: none; border: 0; padding: 0;
}
.qrwrap { text-align: center; margin: 8px 0 4px; }
.qrwrap img { width: 168px; height: 168px; border-radius: 12px; background: #fff; padding: 8px; }
.note {
  margin-top: 12px; font-size: 12px; line-height: 1.5; color: #f6c6cc;
  background: rgba(255,107,122,.08); border: 1px solid rgba(255,107,122,.2);
  border-radius: 12px; padding: 11px 12px;
}
.btn {
  width: 100%; margin-top: 14px; border: 0; cursor: pointer;
  border-radius: 12px; padding: 13px 16px; font-weight: 800; font-size: 14px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #1a1406;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ok { background: var(--ok); color: #062414; }
.toast {
  position: fixed; left: 50%; top: 16px; transform: translateX(-50%);
  background: #111827; color: #fff; padding: 8px 12px; border-radius: 999px;
  font-size: 12px; display: none; z-index: 9;
}
.amount-box { display: flex; gap: 8px; margin-bottom: 14px; }
.amount-box input {
  flex: 1; background: var(--bg1); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 11px 12px;
}
.amount-box button {
  border: 0; border-radius: 12px; padding: 0 14px; font-weight: 700;
  background: #243250; color: var(--text); cursor: pointer;
}
@media (max-width: 480px) { .coins { grid-template-columns: 1fr; } }

/* Link Havale banners — crop yok */
img[src*="/payment/linkhavale/"],
.deposit_linkhavalehavale img,
.deposit_linkhavalepapara img,
.deposit_linkhavalecreditcard img,
.deposit_linkhavalecrypto img,
.m-block-nav-items-bc img[src*="linkhavale"] {
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}

/* LH banner no-crop v2 */
.m-block-nav-items-bc a img[src*="linkhavale"],
.m-block-nav-items-bc button img[src*="linkhavale"],
.m-block-nav-items-bc [class*="payment"] img[src*="linkhavale"],
img[src*="/payment/linkhavale/"] {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
