/* Deposit (QR) pop-up for the funding wallet (js/depositqr.js): frosted wpop shell, network picker, QR card */
.dq-layer .wpop-bg.dq-bg { z-index: var(--z-nest-scrim, 82); }
html:root .dq-layer .wpop.dq { z-index: var(--z-nest, 83); width: min(500px, calc(100vw - 32px)); }
.wpop.dq .wpop-h h3 { font-size: 16px; }
.wpop.dq .imp-hic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ac-hi, var(--ac)); background: rgba(201,220,242,.06); box-shadow: inset 0 0 0 1px rgba(201,220,242,.1); }
.wpop.dq .dq-b { gap: 12px; padding: 18px 20px 16px; overflow: visible; }
.dq-fl { display: block; margin-bottom: 6px; font: 500 12px var(--f); color: var(--tx3); }

/* network: a dropdown-looking selector; only this launch's chain is pickable */
.dq-sel { position: relative; }
.dq-selb { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; cursor: pointer;
  font: 500 14px var(--f); color: var(--tx); background: rgba(201,220,242,.05); box-shadow: inset 0 0 0 1px rgba(201,220,242,.12); }
.dq-selb b { font-weight: 600; }
.dq-selb > .i { color: var(--tx3); transition: transform .15s; }
.dq-sel.open .dq-selb > .i { transform: rotate(180deg); }
.dq-selb:hover, .dq-selb:focus-visible { background: rgba(201,220,242,.08); box-shadow: inset 0 0 0 1px rgba(201,220,242,.22); outline: none; }
.dq-logo { flex: none; display: block; border-radius: 50%; object-fit: contain; }
.dq-menu { position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% + 6px); display: grid; gap: 2px; padding: 6px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), rgba(22,27,35,.97);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08), 0 24px 48px -16px rgba(0,0,0,.8); }
.dq-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: none; text-align: left; font: 500 13px var(--f); color: var(--tx); }
.dq-opt > span { flex: 1; display: grid; gap: 1px; } .dq-opt small { font-size: 11.5px; color: var(--tx3); }
button.dq-opt { cursor: pointer; } button.dq-opt:hover { background: rgba(201,220,242,.07); }
.dq-opt.on { background: rgba(201,220,242,.06); } .dq-opt.on > .i { color: var(--ac-hi, var(--ac)); }
.dq-opt.off { opacity: .42; cursor: not-allowed; }
.dq-mnote { margin: 4px 4px 2px; padding-top: 8px; border-top: 1px solid rgba(201,220,242,.08); font-size: 11.5px; line-height: 1.4; color: var(--tx3); }

.dq-warn { display: flex; align-items: center; gap: 7px; margin: -2px 0 0; font-size: 12.5px; color: var(--tx2); }
.dq-warn .i { flex: none; color: var(--tx3); }

/* QR card: white rounded tile (quiet zone in the SVG) with the chain badge in the centre, the address beside it */
.dq-card { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px; border-radius: 16px;
  background: rgba(201,220,242,.04); box-shadow: inset 0 0 0 1px rgba(201,220,242,.09); }
.dq-qr { position: relative; width: 168px; height: 168px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px -10px rgba(0,0,0,.6); }
.dq-qrsvg { display: block; width: 100%; height: 100%; }
.dq-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #fff; }
.dq-ad { min-width: 0; display: grid; justify-items: start; gap: 8px; }
.dq-ad .dq-fl { margin: 0; }
.dq-addr { display: grid; gap: 2px; font: 500 13.5px/1.35 var(--fm); color: var(--tx); letter-spacing: .01em; word-break: break-all; }
.dq-copy { gap: 6px; } .dq-copy.ok { color: var(--up, #4ade80); }
.dq-bal { margin: 2px 0 0; font-size: 11.5px; color: var(--tx3); } .dq-bal > span { white-space: nowrap; } .dq-bal b { font-weight: 600; color: var(--tx2); } .dq-bal b.dn { color: var(--dn, #ff6b6b); }
.dq-short { margin: -4px 0 0; font-size: 11.5px; color: var(--dn, #ff6b6b); }
.dq-alt { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font: 500 12.5px var(--f); color: var(--tx2); text-decoration: none; }
.dq-alt span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201,220,242,.3); }
.dq-alt:hover { color: var(--tx); }
.wpop.dq .wpop-f .btn { min-width: 96px; justify-content: center; }

@media (max-width: 520px) {
  .dq-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dq-ad { justify-items: center; }
}

/* light theme */
html:root:root[data-theme="light"] .wpop.dq .imp-hic { background: rgba(20,40,70,.05); box-shadow: inset 0 0 0 1px rgba(20,40,70,.1); }
html:root:root[data-theme="light"] .dq-selb { background: #fff; box-shadow: inset 0 0 0 1px rgba(20,40,70,.14), 0 1px 2px rgba(20,40,70,.05); }
html:root:root[data-theme="light"] .dq-selb:hover, html:root:root[data-theme="light"] .dq-selb:focus-visible { box-shadow: inset 0 0 0 1px rgba(20,40,70,.28); }
html:root:root[data-theme="light"] .dq-menu { background: rgba(255,255,255,.98); box-shadow: inset 0 0 0 1px rgba(20,40,70,.1), 0 20px 40px -16px rgba(28,40,58,.35); }
html:root:root[data-theme="light"] :is(button.dq-opt:hover, .dq-opt.on) { background: rgba(20,40,70,.05); }
html:root:root[data-theme="light"] .dq-mnote { border-top-color: rgba(20,40,70,.08); }
html:root:root[data-theme="light"] .dq-card { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(20,40,70,.1); }
html:root:root[data-theme="light"] .dq-qr { box-shadow: inset 0 0 0 1px rgba(20,40,70,.1), 0 6px 18px -10px rgba(28,40,58,.4); }
html:root:root[data-theme="light"] .dq-alt span { text-decoration-color: rgba(20,40,70,.3); }
