/* Keep the scanning area still, flat and high contrast. */
#qr-modal { padding: 16px; overflow-y: auto; }
#qr-modal > div { width: min(700px, 100%) !important; max-height: calc(100dvh - 32px); overflow-y: auto !important; background: #10171d !important; }
#qr-modal .crz-qr-card { padding: 10px !important; border-radius: 18px !important; background: #fff !important; border: 1px solid #e6eaed; box-shadow: 0 12px 32px #0004 !important; }
#qr-img, #qr-loading { width: 268px !important; height: 268px !important; max-width: 100%; }
#qr-img { border-radius: 0; }
.crz-qr-brand { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 11px 4px 3px; border-top: 1px solid #e9ecef; color: #333d45; font: 300 11px 'DM Sans',sans-serif; letter-spacing: .12em; }
.crz-qr-brand img { width: 23px; height: 23px; object-fit: contain; filter: brightness(0); }
.pwa-qr { width: fit-content; max-width: 100%; padding: 10px !important; border: 1px solid #e6eaed; border-radius: 18px !important; background: #fff !important; }
.pwa-qr > img { width: 268px !important; height: auto !important; max-width: 100%; display: block; }
@media (max-width: 600px) {
  #qr-modal > div > div:last-child > div:first-child { padding: 16px !important; gap: 10px !important; }
  #qr-modal > div > div:last-child > div:last-child { padding: 16px !important; gap: 12px !important; }
  #qr-img, #qr-loading { width: min(268px, calc(100vw - 90px)) !important; height: auto !important; aspect-ratio: 1; }
}
