/* Screen codes use page colours and four built-in quiet modules.
   The containing boxes add no decorative padding or ground. */
[data-venue] { --qr-ink: var(--primary-ink); }   /* a venue page: the code in the venue's primary colour, on the page ground */
[data-qr-text] { cursor: zoom-in; }
[data-qr-text] svg { display: block; width: 100%; height: 100%; }
.venue-qr .qr-thumb { display: block; width: 184px; height: 184px; padding: 0; margin: 0 auto 6px; background: none; box-sizing: border-box; border: 0; border-radius: 0; }
footer.mega-footer .venue-qr { margin-top: var(--sp-4); }
footer.mega-footer .venue-qr .qr-thumb { margin-bottom: var(--sp-4); }
.venue-qr .qr-host { display: block; }
/* Large view (F76, F76a): the one overlay box (dialog.css, ck-dialog), as wide as its code. A tap on the code closes it too. */
.ck-dialog.qr-full { inline-size: fit-content; cursor: zoom-out; }
.qr-full-box { padding: 0; text-align: center; max-width: 100vw; box-sizing: border-box; }
.qr-full-code { width: min(100vw - 68px, 100dvh - 280px, 720px); height: min(100vw - 68px, 100dvh - 280px, 720px); margin: 0 auto; box-sizing: border-box; }
.qr-full-code svg { display: block; width: 100%; height: 100%; }
.qr-full-note { margin: 8px 0 0; font: 600 1rem/1.3 system-ui, sans-serif; }
.qr-full-host { margin: 8px 0 0; font: 600 clamp(1rem, 4.5vw, 1.5rem)/1.3 system-ui, sans-serif; overflow-wrap: anywhere; }

.qr-full-addr { display: block; margin: 8px 0 0; font: inherit; color: inherit; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
/* Copy address and Close: one row, equal width, the page's own button look. */
.qr-full-actions { display: flex; gap: 12px; width: min(100%, 360px); margin: 16px auto 0; }
.qr-full-actions > button { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
