.friend-share-dialog,.received-address-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}.friend-lookup-controls{display:grid;gap:14px}.friend-lookup-controls label{display:grid;gap:7px}.friend-code-row,.friend-scan-actions,.friend-channel-actions,.received-dialog-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.friend-code-row input{flex:1;min-width:150px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;text-transform:uppercase;font-weight:700;letter-spacing:.06em}.friend-scan-actions button,.friend-scan-actions label,.friend-channel-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.friend-scan-actions img,.friend-channel-actions img{width:20px;height:20px}.friend-qr-video,.friend-qr-preview{width:100%;max-height:300px;object-fit:contain;border-radius:13px;background:#102129}.friend-recipient{display:grid;gap:5px;padding:14px;border:1px solid #8fcfc5;border-radius:13px;background:#e6f8f3}.friend-recipient strong{font-size:1.15rem}.friend-recipient .friend-change{justify-self:start;margin-top:6px}.friend-share-status,.received-dialog-status,#receivedStatus{min-height:1.4em;color:var(--muted)}.download-user-qr,.show-user-qr{white-space:nowrap}.my-user-qr-dialog{width:min(430px,calc(100% - 24px));text-align:center}.my-user-qr-card{display:grid;justify-items:center;gap:6px;padding:14px;border:1px solid #9acdc6;border-radius:16px;background:#f4fbf9}.my-user-qr-card img{display:block;width:min(290px,100%);aspect-ratio:1;object-fit:contain;background:#fff;border-radius:10px}.my-user-qr-card strong{font:800 1.45rem ui-monospace,monospace;letter-spacing:.08em;color:#17222b}.my-user-qr-card small{color:var(--muted)}.my-user-qr-dialog .premium-dialog-actions{justify-content:center}.received-address-page{max-width:1050px}.received-address-panel{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.received-transfer-list{display:grid;gap:10px;max-height:65dvh;overflow:auto}.received-transfer-card{display:flex;align-items:center;gap:8px;border:1px solid #b7c9c7;border-radius:13px;background:#fff;overflow:hidden}.received-transfer-card.received-pending{border-color:#76bea8;background:#eaf9f3}.received-transfer-card.received-rejected{opacity:.72}.received-transfer-main{display:grid;gap:3px;flex:1;padding:14px;text-align:left;border:0;background:transparent;cursor:pointer}.received-transfer-main strong{font-size:1rem}.received-transfer-main span,.received-transfer-main small{font-weight:400;color:var(--muted)}.received-address-list{display:grid;gap:10px;max-height:52dvh;overflow:auto}.received-address-card{padding:14px;border:1px solid #b8d5d1;border-radius:13px;background:#f4fbf9}.received-address-card h3{margin:0 0 7px}.received-address-card p{margin:0;white-space:pre-line;line-height:1.5}.received-dialog-actions{justify-content:flex-end;margin-top:14px}
@media(max-width:480px){.friend-code-row{align-items:stretch;flex-direction:column}.friend-scan-actions,.friend-channel-actions{display:grid;grid-template-columns:1fr}.friend-scan-actions>*{width:100%;box-sizing:border-box}.received-transfer-card{align-items:stretch}.received-transfer-main{padding:11px}.received-address-panel{padding:12px}}
.my-user-qr-dialog{position:relative}.user-qr-share-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px}.user-qr-share-toggle img{width:19px;height:19px}.my-user-qr-dialog .user-qr-share-options{position:absolute;right:18px;top:50%;z-index:1200;display:flex;flex-direction:column;align-items:center;gap:7px;width:auto;margin:0;padding:7px;border:1px solid color-mix(in srgb,var(--receiver-accent) 38%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--page-bg-soft) 92%,transparent);box-shadow:0 10px 28px rgba(4,35,43,.3);transform:translateY(-50%);backdrop-filter:blur(10px)}.my-user-qr-dialog .user-qr-share-options[hidden]{display:none}.my-user-qr-dialog .user-qr-share-options button{display:grid;place-items:center;width:42px;height:42px;min-height:42px;margin:0;padding:0}.my-user-qr-dialog .user-qr-share-options img{width:21px;height:21px}
.profile-details>div.profile-public-id-row{position:relative;grid-template-columns:minmax(0,1fr) 40px;padding-right:10px}.profile-public-id-row>span{grid-column:1/-1}.profile-public-id-row>strong{align-self:center}.profile-user-qr-icon{grid-column:2;grid-row:2;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid color-mix(in srgb,var(--receiver-accent) 38%,var(--line));border-radius:10px;background:var(--receiver-soft);cursor:pointer}.profile-user-qr-icon:hover,.profile-user-qr-icon:focus-visible{background:color-mix(in srgb,var(--receiver-accent) 18%,var(--page-bg-soft));transform:translateY(-1px)}.profile-user-qr-icon img{width:22px;height:22px}
.friend-lookup-controls[hidden],.friend-recipient[hidden],.friend-channel-actions[hidden]{display:none!important}
body:has(#themeToggle:checked) .friend-code-row input{background:#182235;color:#f3f4f6;border-color:#46546b}body:has(#themeToggle:checked) .friend-code-row input::placeholder{color:#9ca8ba}body:has(#themeToggle:checked) .friend-recipient{background:#12362f;border-color:#39977f;color:#f3f4f6}body:has(#themeToggle:checked) .friend-recipient span,body:has(#themeToggle:checked) .friend-recipient small{color:#c9e9df}body:has(#themeToggle:checked) .my-user-qr-card,body:has(#themeToggle:checked) .received-address-card{background:#182a2b;border-color:#477875;color:#f3f4f6}body:has(#themeToggle:checked) .my-user-qr-card strong{color:#f3f4f6}body:has(#themeToggle:checked) .received-transfer-card{background:#182235;border-color:#46546b;color:#f3f4f6}body:has(#themeToggle:checked) .received-transfer-card.received-pending{background:#12362f;border-color:#39977f}
html[data-printaddress-theme="dark"] .received-transfer-card{background:#182235;border-color:#46546b;color:#f3f4f6}html[data-printaddress-theme="dark"] .received-transfer-card.received-pending{background:#12362f;border-color:#39977f}html[data-printaddress-theme="dark"] .received-address-card{background:#182a2b;border-color:#477875;color:#f3f4f6}
.friend-transfer-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 14px;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--receiver-soft);color:var(--text)}.friend-transfer-summary span{grid-column:1;color:var(--muted);font-size:.8rem;font-weight:750}.friend-transfer-summary strong,.friend-transfer-summary small{grid-column:2;overflow-wrap:anywhere}.friend-transfer-confirm-dialog>p{line-height:1.5;color:var(--muted)}@media(max-width:420px){.friend-transfer-summary{grid-template-columns:1fr}.friend-transfer-summary span,.friend-transfer-summary strong,.friend-transfer-summary small{grid-column:1}.friend-consent-dialog .premium-dialog-actions,.friend-transfer-confirm-dialog .premium-dialog-actions{display:grid;grid-template-columns:1fr}.friend-consent-dialog .premium-dialog-actions button,.friend-transfer-confirm-dialog .premium-dialog-actions button{width:100%}}
