/* Item 30: "Share profile" QR card (x-profile-qr-dialog). Fits 1366×640 and phones without scrolling. */
.pqr { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; color: #fff; overflow: auto; }
.pqr-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; flex: none; }
.pqr-icon { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.pqr-icon:hover { background: rgba(255, 255, 255, 0.14); }
.pqr-pill { padding: 6px 18px; border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 999px; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255, 255, 255, 0.12); }
.pqr-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 8px 16px 24px; min-height: 0; }
.pqr-card { width: min(360px, 100%, calc((100dvh - 230px) * 0.82)); background: #fff; border-radius: 24px; padding: 28px 28px 20px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; box-sizing: border-box; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); }
.pqr-code { position: relative; width: 100%; aspect-ratio: 1; }
.pqr-svg, .pqr-svg svg { width: 100%; height: 100%; display: block; }
.pqr-ring { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; }
.pqr-ring::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; padding: 11%; background: linear-gradient(225deg, var(--ring-to, #5DD3C2), var(--ring-from, #2E5BE0)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pqr-name { max-width: 100%; text-align: center; font-weight: 700; font-size: clamp(20px, 6vw, 28px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: linear-gradient(90deg, var(--qr-a), var(--qr-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pqr-actions { width: min(360px, 100%); background: #fff; border-radius: 20px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 8px; color: #0A0C11; }
.pqr-actions button { display: grid; justify-items: center; gap: 6px; font-size: 14px; color: inherit; }
.pqr-actions button span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #E5E7EB; }
.pqr-actions button:hover span { background: #F3F4F6; }
