/* =====================================================================
 * /css/qk-cashier.css — Cashier (Deposit / Withdraw) redesign
 *
 * Body-scoped via [data-page="deposit"] and [data-page="withdraw"]. All
 * tokens come from stake.css (--s-*, --qk-*, --c-*); no :root drift.
 * Selector prefix `.qkc-` so we don't collide with the older `.dp-*` /
 * `.wd-*` chrome that still lives in stake.css for transitional bits
 * (history table, request rows, modal box).
 * =================================================================== */

body[data-page="deposit"],
body[data-page="withdraw"] {
  background: var(--s-bg);
}

/* The shell wraps everything below the hero so margins line up with the
   versus / vstats redesigns. Max width matches versus-stats.html. */
body[data-page="deposit"]  .qkc-shell,
body[data-page="withdraw"] .qkc-shell {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 64px;
}

/* =====================================================================
 * HERO — title + deck on the left, balance + "How it works" on the right
 * =================================================================== */
body[data-page="deposit"]  .qkc-hero,
body[data-page="withdraw"] .qkc-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 28px 0 22px;
  margin: 0 auto 24px;
  max-width: 1100px;
  border-bottom: 1px solid var(--s-line);
  position: relative;
}

/* A subtle accent strip across the hero to signal the cashier theme. */
body[data-page="deposit"]  .qkc-hero::after,
body[data-page="withdraw"] .qkc-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(127, 248, 0, .35) 18%,
    rgba(102, 255, 229, .25) 50%,
    rgba(255, 209, 102, .25) 82%,
    transparent 100%);
}

.qkc-hero-l { min-width: 0; }
.qkc-hero-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--s-muted-2);
  font-weight: 800;
  margin-bottom: 8px;
}
.qkc-hero-title {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--s-text);
}
.qkc-hero-title .accent { color: var(--s-green); }
.qkc-hero-deck {
  margin: 12px 0 0;
  max-width: 540px;
  color: var(--s-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.qkc-hero-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.qkc-hero-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.qkc-hero-balance-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--s-muted-2);
  font-weight: 800;
}
.qkc-hero-balance-val {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--s-green);
  letter-spacing: -.02em;
}
.qkc-hero-balance-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--s-muted);
}
.qkc-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(127, 248, 0, .08);
  border: 1px solid rgba(127, 248, 0, .28);
  color: var(--s-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
}
.qkc-hero-pill:hover {
  background: rgba(127, 248, 0, .16);
  border-color: rgba(127, 248, 0, .55);
  transform: translateY(-1px);
}
.qkc-hero-pill::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(127, 248, 0, .22);
  color: var(--s-green);
  font-size: 10px;
  font-weight: 900;
}

/* =====================================================================
 * GUEST CARD — same chrome on both pages. Shown by shell.js.
 * =================================================================== */
body[data-page="deposit"]  .qkc-guest-card,
body[data-page="withdraw"] .qkc-guest-card {
  max-width: 720px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px 28px;
  background: linear-gradient(160deg, var(--s-bg-3), var(--s-bg-2));
  border: 1px solid var(--s-line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
body[data-page="deposit"]  .qkc-guest-card::before,
body[data-page="withdraw"] .qkc-guest-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--s-green);
  opacity: .55;
}
.qkc-guest-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(127, 248, 0, .1);
  border: 1px solid rgba(127, 248, 0, .35);
  color: var(--s-green);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.qkc-guest-body strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--s-text);
  letter-spacing: -.01em;
}
.qkc-guest-body p {
  margin: 8px 0 16px;
  color: var(--s-muted);
  font-size: 14px;
  line-height: 1.55;
}
.qkc-guest-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =====================================================================
 * BETTING-CURRENCY BAR (deposit only). Sits above the two-column body.
 * =================================================================== */
body[data-page="deposit"] .qkc-betting-bar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px 18px;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 22px;
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 14px;
}
body[data-page="deposit"] .qkc-betting-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--s-muted-2);
  font-weight: 800;
}
body[data-page="deposit"] .qkc-betting-select {
  background: var(--s-bg-3);
  color: var(--s-text);
  border: 1px solid var(--s-line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  min-width: 220px;
}
body[data-page="deposit"] .qkc-betting-select:focus {
  border-color: var(--s-green);
  box-shadow: 0 0 0 3px rgba(127, 248, 0, .2);
}
body[data-page="deposit"] .qkc-holdings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
body[data-page="deposit"] .qkc-holdings .dp-holding {
  background: var(--s-bg-3);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  gap: 8px;
}
body[data-page="deposit"] .qkc-holdings .dp-holding-icon {
  width: 26px;
  height: 26px;
  font-size: 12px;
}
body[data-page="deposit"] .qkc-holdings .dp-holding-amt { font-size: 12px; }
body[data-page="deposit"] .qkc-holdings .dp-holding-usd { font-size: 11px; }

/* =====================================================================
 * 2-COLUMN GRID — left: currency picker, right: transaction panel
 * =================================================================== */
body[data-page="deposit"]  .qkc-grid,
body[data-page="withdraw"] .qkc-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
body[data-page="deposit"]  .qkc-side,
body[data-page="withdraw"] .qkc-side {
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 14px;
  padding: 18px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qkc-side-head { padding: 0 4px 4px; }
.qkc-side-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--s-muted);
  font-weight: 900;
}
.qkc-side-sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--s-muted-2);
  line-height: 1.5;
}
.qkc-side-empty {
  padding: 18px 12px;
  text-align: center;
  color: var(--s-muted);
  font-size: 12.5px;
  background: var(--s-bg-3);
  border: 1px dashed var(--s-line);
  border-radius: 10px;
}

/* =====================================================================
 * CURRENCY TILES — left column, deposit page
 * =================================================================== */
.qkc-currency-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qkc-currency-tile {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  color: var(--s-text);
  cursor: pointer;
  text-align: left;
  font: inherit;
  min-height: 56px;
  overflow: hidden;
  transition:
    border-color .18s,
    transform .18s,
    background .18s,
    box-shadow .18s;
  --qkc-cur-accent: var(--s-green);
}
.qkc-currency-tile[data-currency="BTC"] { --qkc-cur-accent: var(--c-btc, #f7931a); }
.qkc-currency-tile[data-currency="ETH"] { --qkc-cur-accent: var(--c-eth, #627eea); }
.qkc-currency-tile[data-currency="SOL"] { --qkc-cur-accent: var(--c-sol, #9945ff); }
.qkc-currency-tile[data-currency="LTC"] { --qkc-cur-accent: var(--c-ltc, #345d9d); }
.qkc-currency-tile[data-currency="BNB"] { --qkc-cur-accent: var(--c-bnb, #f0b90b); }
.qkc-currency-tile[data-currency="USD"] { --qkc-cur-accent: var(--c-usd, #85bb65); }

.qkc-cur-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--qkc-cur-accent);
  opacity: .55;
  transition: opacity .18s, width .18s;
}
.qkc-cur-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--s-bg-3);
  padding: 6px;
  box-sizing: border-box;
  flex: 0 0 auto;
  border: 1px solid var(--s-line);
}
.qkc-cur-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 1px;
  min-width: 0;
}
.qkc-cur-ticker {
  grid-row: 1;
  grid-column: 1;
  font-size: 13px;
  font-weight: 900;
  color: var(--s-text);
  letter-spacing: .04em;
}
.qkc-cur-name {
  grid-row: 1;
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--s-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qkc-cur-foot {
  grid-row: 2;
  grid-column: 1 / -1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--s-muted-2);
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qkc-cur-arrow {
  font-size: 18px;
  color: var(--s-muted-2);
  font-weight: 700;
  line-height: 1;
  transition: transform .18s, color .18s;
}
.qkc-currency-tile:hover {
  transform: translateY(-1px);
  border-color: var(--qkc-cur-accent);
  background: rgba(255, 255, 255, .015);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.qkc-currency-tile:hover .qkc-cur-strip { opacity: 1; width: 4px; }
.qkc-currency-tile:hover .qkc-cur-arrow { color: var(--qkc-cur-accent); transform: translateX(2px); }
.qkc-currency-tile:focus-visible {
  outline: none;
  border-color: var(--qkc-cur-accent);
  box-shadow: 0 0 0 3px rgba(127, 248, 0, .25);
}
.qkc-currency-tile.is-active {
  border-color: var(--qkc-cur-accent);
  background: linear-gradient(95deg,
    color-mix(in srgb, var(--qkc-cur-accent) 12%, transparent) 0%,
    transparent 60%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .42),
    inset 0 0 0 1px rgba(255, 255, 255, .02);
}
.qkc-currency-tile.is-active .qkc-cur-strip { opacity: 1; width: 4px; }
.qkc-currency-tile.is-active .qkc-cur-arrow { color: var(--qkc-cur-accent); }

/* =====================================================================
 * BALANCE LIST (withdraw page) — left column
 * =================================================================== */
body[data-page="withdraw"] .qkc-balance-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body[data-page="withdraw"] .qkc-balance-list .wd-bal-card {
  position: relative;
  background: transparent;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  padding: 12px 14px 12px 18px;
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
body[data-page="withdraw"] .qkc-balance-list .wd-bal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--s-green);
  opacity: .55;
}
body[data-page="withdraw"] .qkc-balance-list .wd-bal-card:hover {
  border-color: rgba(127, 248, 0, .3);
  transform: translateY(-1px);
}

/* =====================================================================
 * RIGHT PANEL (form area)
 * =================================================================== */
body[data-page="deposit"]  .qkc-panel,
body[data-page="withdraw"] .qkc-panel {
  position: relative;
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
  --qkc-panel-accent: var(--s-green);
}
body[data-page="deposit"] .qkc-panel[data-currency="BTC"] { --qkc-panel-accent: var(--c-btc, #f7931a); }
body[data-page="deposit"] .qkc-panel[data-currency="ETH"] { --qkc-panel-accent: var(--c-eth, #627eea); }
body[data-page="deposit"] .qkc-panel[data-currency="SOL"] { --qkc-panel-accent: var(--c-sol, #9945ff); }
body[data-page="deposit"] .qkc-panel[data-currency="LTC"] { --qkc-panel-accent: var(--c-ltc, #345d9d); }
body[data-page="deposit"] .qkc-panel[data-currency="BNB"] { --qkc-panel-accent: var(--c-bnb, #f0b90b); }
body[data-page="deposit"]  .qkc-panel::before,
body[data-page="withdraw"] .qkc-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--qkc-panel-accent);
  opacity: .85;
  transition: background .25s;
}

.qkc-panel-inner { padding: 22px 24px 24px; }
.qkc-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.qkc-panel-head-l { min-width: 0; flex: 1 1 320px; }
.qkc-panel-title {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--s-text);
  letter-spacing: -.005em;
}
.qkc-panel-sub {
  margin: 8px 0 0;
  color: var(--s-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.qkc-panel-head-r {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--s-bg-3);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  flex: 0 0 auto;
}
.qkc-active-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qkc-panel-accent);
  box-shadow: 0 0 8px var(--qkc-panel-accent);
}
.qkc-active-ticker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--s-text);
}

/* =====================================================================
 * FORM
 * =================================================================== */
.qkc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.qkc-form .qkc-field-currency { display: none; }  /* The select is hidden — tiles drive selection. */

.qkc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.qkc-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--s-muted-2);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
}
.qkc-field-aside {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--s-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.qkc-field-aside #wd-available { color: var(--s-text); font-weight: 800; }
.qkc-min {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--s-muted-2);
  font-size: 11px;
}
.qkc-required { color: #ff6b7c; font-weight: 900; }

.qkc-input,
.qkc-select {
  width: 100%;
  box-sizing: border-box;
  background: var(--s-bg-3);
  color: var(--s-text);
  border: 1px solid var(--s-line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.qkc-input:focus,
.qkc-select:focus {
  border-color: var(--qkc-panel-accent, var(--s-green));
  background: var(--s-bg-3);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--qkc-panel-accent, var(--s-green)) 22%, transparent);
}
.qkc-input.qkc-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  word-break: break-all;
}
.qkc-input[readonly] {
  background: var(--s-bg);
  color: var(--s-muted);
}

.qkc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
@media (max-width: 720px) {
  .qkc-field-row { grid-template-columns: 1fr; }
}

.qkc-hint {
  font-size: 12px;
  color: var(--s-muted);
  line-height: 1.5;
  min-height: 14px;
}
.qkc-hint.err { color: #ff8a8a; }
.qkc-hint strong { color: var(--s-text); }

.qkc-usd-preview {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--s-muted);
  min-height: 14px;
}

/* =====================================================================
 * ADDRESS + COPY + QR
 * =================================================================== */
.qkc-address-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}
.qkc-address-input {
  flex: 1 1 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
}
.qkc-copy-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.qkc-qr-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.qkc-qr-frame {
  position: relative;
  padding: 12px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .55),
    0 0 0 1px var(--s-line);
}
.qkc-qr-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--qkc-panel-accent, var(--s-green)) 50%, transparent),
    transparent 50%);
  z-index: -1;
  opacity: .7;
}
.qkc-qr-img {
  display: block;
  width: 184px;
  height: 184px;
  background: #ffffff;
  border-radius: 4px;
}
.qkc-qr-caption {
  font-size: 11.5px;
  color: var(--s-muted);
  text-align: center;
  max-width: 240px;
  line-height: 1.45;
}

/* =====================================================================
 * BANNERS (lock / no address / no balance)
 * =================================================================== */
.qkc-banner {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 4px 0;
  border: 1px solid transparent;
}
.qkc-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13.5px;
  font-weight: 900;
}
.qkc-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.qkc-banner-danger {
  background: rgba(255, 77, 77, .08);
  border-color: rgba(255, 77, 77, .42);
  color: #ff9b9b;
}
.qkc-banner-warning {
  background: rgba(245, 180, 0, .08);
  border-color: rgba(245, 180, 0, .42);
  color: #f7c14e;
}
.qkc-banner-muted {
  background: var(--s-bg-3);
  border: 1px dashed var(--s-line);
  color: var(--s-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* =====================================================================
 * ACTIONS / BUTTONS
 * =================================================================== */
.qkc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 4px;
}
.qkc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: filter .15s, opacity .15s, background .15s, border-color .15s, transform .12s;
  min-height: 44px;
  border: 1px solid transparent;
  text-decoration: none;
}
.qkc-btn-primary {
  background: var(--s-green);
  color: #061108;
  border-color: var(--s-green);
}
.qkc-btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.qkc-btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.qkc-btn-ghost {
  background: var(--s-bg-3);
  color: var(--s-text);
  border-color: var(--s-line);
}
.qkc-btn-ghost:hover:not(:disabled) {
  background: var(--s-bg-4);
  border-color: rgba(127, 248, 0, .35);
}
.qkc-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(127, 248, 0, .35);
}

/* ETA banner — under the form */
.qkc-eta {
  margin-top: 4px;
  padding: 11px 14px;
  background: rgba(127, 248, 0, .06);
  border: 1px solid rgba(127, 248, 0, .25);
  border-radius: 10px;
  color: #c2e9d1;
  font-size: 12.5px;
  line-height: 1.55;
}
.qkc-wallet-hint { color: var(--s-muted); }

/* =====================================================================
 * CARDS (history, tutorial, how-it-works, withdrawal lists)
 * =================================================================== */
.qkc-card {
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.qkc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: rgba(127, 248, 0, .35);
  opacity: .65;
}
.qkc-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.qkc-card-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.005em;
  color: var(--s-text);
}
.qkc-card-sub {
  font-size: 12.5px;
  color: var(--s-muted);
  line-height: 1.5;
}

.qkc-empty {
  color: var(--s-muted);
  font-size: 13px;
  padding: 16px 4px;
  text-align: center;
  background: var(--s-bg-3);
  border: 1px dashed var(--s-line);
  border-radius: 10px;
  margin-top: 8px;
}

.qkc-warn {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(245, 180, 0, .42);
  background: rgba(245, 180, 0, .08);
  color: #f7c14e;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

/* =====================================================================
 * HISTORY TABLE (deposit)
 * =================================================================== */
.qkc-table-wrap { overflow-x: auto; }
.qkc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.qkc-table th,
.qkc-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--s-line);
}
.qkc-table th {
  color: var(--s-muted-2);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: .18em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.qkc-table tbody tr:last-child td { border-bottom: none; }
.qkc-table tbody tr:hover { background: rgba(255, 255, 255, .015); }

/* dp-tx-cell already styled in stake.css; we just keep the override for the
   newer table chrome (force monospace + ellipsis). */
body[data-page="deposit"] .qkc-table .dp-tx-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--s-muted);
  max-width: 180px;
}

/* =====================================================================
 * ACCORDION (tutorial)
 * =================================================================== */
.qkc-acc {
  border: 1px solid var(--s-line);
  background: var(--s-bg-3);
  border-radius: 12px;
  margin-top: 10px;
  overflow: hidden;
  transition: border-color .15s;
}
.qkc-acc[open] { border-color: rgba(127, 248, 0, .35); }
.qkc-acc summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 16px;
  font-weight: 800;
  color: var(--s-text);
  position: relative;
  user-select: none;
  font-size: 14px;
}
.qkc-acc summary::-webkit-details-marker { display: none; }
.qkc-acc summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--s-bg);
  border: 1px solid var(--s-line);
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: var(--s-muted);
  font-weight: 900;
  transition: transform .2s, color .2s, border-color .2s;
}
.qkc-acc[open] summary::after {
  content: '−';
  color: var(--s-green);
  border-color: rgba(127, 248, 0, .5);
}
.qkc-acc summary:hover { background: var(--s-bg-4); }
.qkc-acc-body {
  padding: 4px 18px 18px;
  color: var(--s-muted);
  font-size: 13.5px;
  line-height: 1.65;
  border-top: 1px solid var(--s-line);
}
.qkc-acc-body p       { margin: 10px 0; }
.qkc-acc-body ul,
.qkc-acc-body ol      { margin: 10px 0 10px 18px; padding: 0; }
.qkc-acc-body li      { margin: 6px 0; }
.qkc-acc-body strong  { color: var(--s-text); font-weight: 800; }

/* =====================================================================
 * STEPS (how-to)
 * =================================================================== */
.qkc-steps {
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
  counter-reset: qkc-step;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qkc-steps li {
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--s-bg-3);
  border: 1px solid var(--s-line);
  border-radius: 12px;
  color: var(--s-muted);
  font-size: 13.5px;
  line-height: 1.55;
  counter-increment: qkc-step;
}
.qkc-steps li::before {
  content: counter(qkc-step, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(127, 248, 0, .12);
  border: 1px solid rgba(127, 248, 0, .35);
  color: var(--s-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
}
.qkc-steps li strong { color: var(--s-text); font-weight: 800; }

/* =====================================================================
 * LIST (open / closed requests on withdraw page)
 * Re-uses .wd-row styling from stake.css; we just bump the radius +
 * accent strip so they harmonize with the rest of the cashier chrome.
 * =================================================================== */
body[data-page="withdraw"] .qkc-list .wd-row {
  position: relative;
  background: var(--s-bg-3);
  border-radius: 12px;
  padding-left: 18px;
  overflow: hidden;
}
body[data-page="withdraw"] .qkc-list .wd-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--s-muted-2);
  opacity: .55;
}
body[data-page="withdraw"] .qkc-list .wd-row:has(.wd-pill-open)::before     { background: #f5b400; opacity: .8; }
body[data-page="withdraw"] .qkc-list .wd-row:has(.wd-pill-accepted)::before { background: var(--s-green); opacity: .85; }
body[data-page="withdraw"] .qkc-list .wd-row:has(.wd-pill-rejected)::before { background: #ff7687; opacity: .8; }

/* =====================================================================
 * MODAL (withdraw edit/cancel)
 * =================================================================== */
body[data-page="withdraw"] .qkc-modal-box {
  border-radius: 16px;
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
}
body[data-page="withdraw"] .qkc-modal-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--s-green);
  opacity: .8;
}
body[data-page="withdraw"] .qkc-modal-actions {
  margin-top: 6px;
}

/* =====================================================================
 * RESPONSIVE
 * =================================================================== */
@media (max-width: 900px) {
  body[data-page="deposit"]  .qkc-grid,
  body[data-page="withdraw"] .qkc-grid { grid-template-columns: 1fr; }
  body[data-page="deposit"]  .qkc-side,
  body[data-page="withdraw"] .qkc-side { order: -1; }
  .qkc-currency-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 720px) {
  body[data-page="deposit"]  .qkc-hero,
  body[data-page="withdraw"] .qkc-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0 20px;
  }
  body[data-page="deposit"]  .qkc-hero-r,
  body[data-page="withdraw"] .qkc-hero-r {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }
  .qkc-hero-balance { align-items: flex-start; }
  .qkc-hero-title { font-size: 30px; }
  .qkc-hero-balance-val { font-size: 24px; }
  .qkc-panel-inner { padding: 18px 18px 20px; }
  .qkc-card { padding: 18px 16px; }
  body[data-page="deposit"] .qkc-betting-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body[data-page="deposit"] .qkc-holdings { justify-content: flex-start; }
}

@media (max-width: 480px) {
  body[data-page="deposit"]  .qkc-hero-title,
  body[data-page="withdraw"] .qkc-hero-title { font-size: 26px; }
  .qkc-currency-list { grid-template-columns: 1fr; }
  .qkc-currency-tile {
    grid-template-columns: 32px 1fr 14px;
    padding: 11px 12px;
  }
  .qkc-cur-icon { width: 32px; height: 32px; }
  .qkc-actions { justify-content: stretch; }
  .qkc-actions .qkc-btn { flex: 1 1 100%; }
}

/* =====================================================================
 * TIER 0 DEPOSIT METHOD PICKER (Card vs Direct Crypto)
 *
 * Top-layer chooser that gates the existing deposit flow. Two giant
 * tiles — Card-or-bank (cyan) and Direct-crypto (lime, +5% bonus). When
 * a method is picked the chooser collapses into a switcher pill and the
 * matching flow renders below.
 *
 * All selectors are body-scoped to [data-page="deposit"] so they don't
 * collide with anything else on the site. Class prefixes:
 *   .qkc-method-*  (chooser tiles + switcher pill)
 *   .qkc-pay-*     (card-path coin grid, EUR amount, helpers)
 *   .qkc-bonus-*   (badge + banner + tooltip)
 * =================================================================== */
body[data-page="deposit"] .qkc-method-section {
  margin-bottom: 24px;
}
body[data-page="deposit"] .qkc-method-section h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--s-text);
}
body[data-page="deposit"] .qkc-method-section .qkc-method-lede {
  margin: 0 0 16px;
  color: var(--s-muted);
  font-size: 13px;
}

body[data-page="deposit"] .qkc-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  body[data-page="deposit"] .qkc-method-grid { grid-template-columns: 1fr; }
}

body[data-page="deposit"] .qkc-method-tile {
  position: relative;
  appearance: none;
  width: 100%;
  text-align: left;
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 16px;
  padding: 28px 28px 28px 36px;
  min-height: 240px;
  cursor: pointer;
  color: var(--s-text);
  font-family: inherit;
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease-out;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
body[data-page="deposit"] .qkc-method-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent, var(--s-line));
  transition: width 180ms ease-out, box-shadow 180ms ease-out;
}
/* Faint accent-coloured background wash so the two tiles are visually
   distinct at a glance even before hover. ::after sits behind content
   via z-index. */
body[data-page="deposit"] .qkc-method-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(140% 100% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 55%);
  opacity: 0.6;
  transition: opacity 180ms ease-out;
  z-index: 0;
}
body[data-page="deposit"] .qkc-method-tile > * { position: relative; z-index: 1; }
body[data-page="deposit"] .qkc-method-tile.is-card { --accent: var(--s-cyan); }
body[data-page="deposit"] .qkc-method-tile.is-crypto { --accent: var(--s-green); }
body[data-page="deposit"] .qkc-method-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 16px 48px -16px color-mix(in srgb, var(--accent) 50%, transparent);
}
body[data-page="deposit"] .qkc-method-tile:hover::before { width: 5px; box-shadow: 0 0 14px var(--accent); }
body[data-page="deposit"] .qkc-method-tile:hover::after { opacity: 1; }
body[data-page="deposit"] .qkc-method-tile:hover .qkc-method-arrow { transform: translateX(4px); color: var(--accent); }
body[data-page="deposit"] .qkc-method-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body[data-page="deposit"] .qkc-method-tile.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 24px -8px var(--accent);
}
body[data-page="deposit"] .qkc-method-tile.is-active::before {
  width: 4px;
  box-shadow: 0 0 12px var(--accent);
}

/* Large header glyph at the top of each tile. Stroke = accent so Card
   reads cyan and Crypto reads lime. */
body[data-page="deposit"] .qkc-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--accent);
  margin-bottom: 18px;
}
body[data-page="deposit"] .qkc-method-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Chevron at the bottom-right of each tile — slides 4px on hover. */
body[data-page="deposit"] .qkc-method-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--s-muted);
  transition: transform 180ms ease-out, color 180ms ease-out, background 180ms ease-out;
  z-index: 2;
}
body[data-page="deposit"] .qkc-method-arrow svg { width: 18px; height: 18px; display: block; }

body[data-page="deposit"] .qkc-method-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--s-text);
}
body[data-page="deposit"] .qkc-method-sub {
  font-size: 13px;
  color: var(--s-muted);
  margin: 0 0 16px;
}
body[data-page="deposit"] .qkc-method-cap {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--s-muted);
  padding: 14px 44px 0 0;
  border-top: 1px solid var(--s-line);
  margin: auto 0 0;
}
body[data-page="deposit"] .qkc-method-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--s-muted);
}
body[data-page="deposit"] .qkc-method-logos .qkc-mlogo {
  width: auto;
  height: 14px;
  flex: 0 0 auto;
}
/* Crypto-coin row: real coloured coin glyphs (img tags). Slightly
   larger than the wordmark logos and with a faint ring for weight. */
body[data-page="deposit"] .qkc-method-logos-coins { gap: 10px; }
body[data-page="deposit"] .qkc-method-logos .qkc-mcoin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 4px 10px -4px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Pulsing +5% Bonus badge anchored to the Direct-crypto tile + the
   bonus banner above the address/QR. Reduced-motion users get a
   stationary version. */
body[data-page="deposit"] .qkc-bonus-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--s-green);
  color: #050812;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(127, 248, 0, 0.4);
  animation: qkc-bonus-pulse 2.4s ease-in-out infinite;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  z-index: 3;
}
@keyframes qkc-bonus-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.95); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="deposit"] .qkc-bonus-badge { animation: none; }
}

/* Mobile: tiles can shrink a touch so they still feel premium without
   forcing massive vertical scroll on phones. */
@media (max-width: 720px) {
  body[data-page="deposit"] .qkc-method-tile {
    min-height: 200px;
    padding: 22px 22px 22px 28px;
    border-radius: 14px;
  }
  body[data-page="deposit"] .qkc-method-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }
  body[data-page="deposit"] .qkc-method-icon svg { width: 24px; height: 24px; }
  body[data-page="deposit"] .qkc-method-arrow { right: 14px; bottom: 14px; }
}

/* =====================================================================
 * SWITCHER PILL (rendered after a method is picked)
 * =================================================================== */
body[data-page="deposit"] .qkc-method-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px;
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  margin-bottom: 18px;
}
body[data-page="deposit"] .qkc-method-switcher .opts {
  display: flex;
  gap: 4px;
  flex: 1;
}
body[data-page="deposit"] .qkc-method-switcher button {
  flex: 1;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  font: 600 13px 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--s-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
body[data-page="deposit"] .qkc-method-switcher button.is-active {
  background: var(--s-bg-3);
  color: var(--s-text);
  box-shadow: inset 0 0 0 1px var(--accent, var(--s-line));
}
body[data-page="deposit"] .qkc-method-switcher button.is-active.is-crypto { --accent: var(--s-green); color: var(--s-green); }
body[data-page="deposit"] .qkc-method-switcher button.is-active.is-card { --accent: var(--s-cyan); color: var(--s-cyan); }
body[data-page="deposit"] .qkc-method-switcher .change {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s-muted);
  padding: 6px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
body[data-page="deposit"] .qkc-method-switcher .change:hover { color: var(--s-text); }
@media (max-width: 540px) {
  body[data-page="deposit"] .qkc-method-switcher {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
  }
  body[data-page="deposit"] .qkc-method-switcher .change { text-align: right; }
}

/* =====================================================================
 * CARD-PATH COIN GRID + EUR AMOUNT INPUT
 * Renders only when method = 'moonpay'. The existing crypto-path uses
 * the legacy .qkc-currency-tile flow on the left column.
 * =================================================================== */
body[data-page="deposit"] .qkc-card-flow {
  display: block;
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
}
body[data-page="deposit"] .qkc-card-flow h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}
body[data-page="deposit"] .qkc-card-flow p.qkc-card-sub {
  margin: 0 0 16px;
  color: var(--s-muted);
  font-size: 13px;
}

body[data-page="deposit"] .qkc-pay-pickhint {
  margin: 20px 0 8px;
  font: 700 11px 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-muted);
}
body[data-page="deposit"] .qkc-pay-coins {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 8px 0 16px;
}
@media (max-width: 520px) {
  body[data-page="deposit"] .qkc-pay-coins { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
body[data-page="deposit"] .qkc-pay-coin {
  appearance: none;
  background: var(--s-bg-2);
  border: 2px solid var(--s-line);
  border-radius: 12px;
  padding: 16px 12px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  position: relative;
  overflow: hidden;
  color: var(--s-text);
  font-family: inherit;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 520px) {
  body[data-page="deposit"] .qkc-pay-coin { min-height: 90px; padding: 12px 8px; }
}
body[data-page="deposit"] .qkc-pay-coin::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent, transparent);
  opacity: 0.55;
  transition: 0.15s;
}
body[data-page="deposit"] .qkc-pay-coin:hover {
  transform: translateY(-2px);
  background: var(--s-bg-3);
  border-color: var(--accent, var(--s-cyan));
  box-shadow: 0 6px 20px -8px var(--accent, var(--s-cyan));
}
body[data-page="deposit"] .qkc-pay-coin:hover::before { opacity: 1; }
body[data-page="deposit"] .qkc-pay-coin:focus-visible {
  outline: 2px solid var(--accent, var(--s-cyan));
  outline-offset: 2px;
}
body[data-page="deposit"] .qkc-pay-coin:active {
  transform: translateY(0);
  filter: brightness(0.9);
}
body[data-page="deposit"] .qkc-pay-coin.is-active {
  border-color: var(--accent, var(--s-line));
  background: var(--s-bg-3);
}
body[data-page="deposit"] .qkc-pay-coin.is-active::before { opacity: 1; }
body[data-page="deposit"] .qkc-pay-coin.is-loading { cursor: progress; opacity: 0.85; }
body[data-page="deposit"] .qkc-pay-coin-icon {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 auto;
  pointer-events: none;
}
body[data-page="deposit"] .qkc-pay-coin .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--s-muted);
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
}
body[data-page="deposit"] .qkc-pay-coin .label b {
  display: block;
  color: var(--s-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}
body[data-page="deposit"] .qkc-pay-coin-chev {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 11px;
  height: 11px;
  color: var(--accent, var(--s-muted));
  opacity: 0.7;
  transition: 0.15s;
  pointer-events: none;
}
body[data-page="deposit"] .qkc-pay-coin:hover .qkc-pay-coin-chev { opacity: 1; transform: translate(1px, -1px); }

body[data-page="deposit"] .qkc-pay-amount {
  background: var(--s-bg-3);
  border: 1px solid var(--s-line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
body[data-page="deposit"] .qkc-pay-amount label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-muted);
  margin-bottom: 6px;
}
body[data-page="deposit"] .qkc-pay-amount .row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
body[data-page="deposit"] .qkc-pay-amount .row .cur {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 18px;
  color: var(--s-muted);
  font-weight: 700;
}
body[data-page="deposit"] .qkc-pay-amount .row input {
  flex: 1;
  appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--s-text);
  font: 800 28px 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: -0.01em;
  width: 100%;
  min-width: 0;
}
body[data-page="deposit"] .qkc-pay-chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
body[data-page="deposit"] .qkc-pay-chips button {
  appearance: none;
  background: var(--s-bg-2);
  color: var(--s-text);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  cursor: pointer;
  padding: 5px 12px;
  font: 700 11px 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
}
body[data-page="deposit"] .qkc-pay-chips button:hover {
  border-color: var(--s-cyan);
  color: var(--s-cyan);
}

body[data-page="deposit"] .qkc-btn.qkc-btn-primary-cyan {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid var(--s-cyan);
  background: var(--s-cyan);
  color: #050812;
  font: 800 13px 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.02em;
  width: 100%;
  transition: 0.15s;
}
body[data-page="deposit"] .qkc-btn.qkc-btn-primary-cyan:hover {
  box-shadow: 0 0 24px -4px var(--s-cyan);
}
body[data-page="deposit"] .qkc-btn.qkc-btn-primary-cyan svg {
  width: 14px;
  height: 14px;
}

body[data-page="deposit"] .qkc-pay-caption {
  font-size: 12px;
  color: var(--s-muted);
  line-height: 1.55;
  padding: 12px;
  background: var(--s-bg-3);
  border: 1px solid var(--s-line);
  border-radius: 8px;
  margin: 12px 0;
}

body[data-page="deposit"] .qkc-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(102, 255, 229, 0.08);
  border: 1px solid rgba(102, 255, 229, 0.3);
  color: var(--s-text);
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
body[data-page="deposit"] .qkc-notice .spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 2px solid rgba(102, 255, 229, 0.2);
  border-top-color: var(--s-cyan);
  animation: qkc-spin 0.9s linear infinite;
}
@keyframes qkc-spin {
  to { transform: rotate(360deg); }
}

/* =====================================================================
 * CARD-PATH CONFIRM (tx_hash entry after MoonPay tab opens)
 * =================================================================== */
body[data-page="deposit"] .qkc-card-confirm {
  background: rgba(102, 255, 229, 0.05);
  border: 1px solid rgba(102, 255, 229, 0.25);
  border-radius: 12px;
  padding: 18px 18px 16px;
  margin: 16px 0 0;
}
body[data-page="deposit"] .qkc-card-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body[data-page="deposit"] .qkc-card-steps li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--s-text);
  padding-left: 4px;
}
body[data-page="deposit"] .qkc-card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body[data-page="deposit"] .qkc-card-form .qkc-actions { margin-top: 4px; }

/* =====================================================================
 * BONUS BANNER (Direct Crypto path) + tooltip
 * =================================================================== */
body[data-page="deposit"] .qkc-bonus-banner {
  background: var(--s-green);
  color: #050812;
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}
body[data-page="deposit"] .qkc-bonus-banner .bb-text {
  font: 800 13px 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body[data-page="deposit"] .qkc-bonus-banner .bb-info {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #050812;
  color: var(--s-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 11px 'JetBrains Mono', ui-monospace, monospace;
  cursor: help;
  flex: 0 0 auto;
  position: relative;
}
body[data-page="deposit"] .qkc-bonus-banner .bb-info::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  background: var(--s-bg-3);
  color: var(--s-text);
  border: 1px solid var(--s-line);
  padding: 10px 12px;
  border-radius: 8px;
  font: 500 11px 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 10;
}
body[data-page="deposit"] .qkc-bonus-banner .bb-info:hover::after,
body[data-page="deposit"] .qkc-bonus-banner .bb-info:focus::after {
  opacity: 1;
}

