.friend-qr-launch{padding:10px 19px 0}.friend-qr-launch button{width:100%;min-height:44px;color:#b1f7d7;border-color:#347b63}
.friend-qr-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #347b63;border-radius:18px;background:#0c151b;color:#d7eae5;overflow-y:auto;box-shadow:0 20px 90px #0009}
.friend-qr-dialog::backdrop{background:#02060bbb;backdrop-filter:blur(5px)}
.friend-qr-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.friend-qr-dialog h2{font:600 19px var(--font,Inter,sans-serif);margin:0 0 6px}.friend-qr-dialog header p{font-size:12px;color:#90aaa0;margin:0;line-height:1.5}
.friend-qr-dialog button,.friend-qr-dialog .file-button{min-height:44px;font-size:12px;cursor:pointer}.friend-qr-dialog button:disabled{opacity:.5;cursor:default}.friend-qr-dialog button:focus-visible,.friend-qr-dialog input:focus-visible{outline:2px solid #9cf4cd;outline-offset:3px}
.friend-qr-modes,.friend-qr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.friend-qr-modes button{flex:1;background:#111f27;color:#9ec6b8;border:1px solid #314e45;border-radius:8px}.friend-qr-modes button[aria-pressed=true]{background:#124d38;color:#bfffe0;border-color:#54b88f}
.friend-qr-image{display:block;max-width:100%;width:270px;height:auto;margin:8px auto 14px;border-radius:0;image-rendering:pixelated;background:white}
.friend-qr-own-alias{text-align:center;display:block;font:600 16px var(--mono);overflow-wrap:anywhere;margin-bottom:12px}.friend-qr-dialog .microcopy{font-size:12px;line-height:1.6;color:#93ada3;margin:8px 0 16px}
.friend-qr-dialog label:not(.file-button){display:block;font-size:12px;color:#a5cbbc;margin:12px 0 7px}.friend-qr-dialog input[type=text]{box-sizing:border-box;width:100%;background:#071015;color:#d9f5e7;border:1px solid #345446;border-radius:7px;padding:12px;font-size:12px;min-height:44px}
.friend-qr-dialog #friend-qr-own-link{font:11px var(--mono);margin-bottom:12px}.friend-qr-actions>*{flex:1;white-space:nowrap;text-align:center}.friend-qr-camera-preview{border:1px solid #367d61;border-radius:10px;overflow:hidden;margin-bottom:14px;background:#000}.friend-qr-video{width:100%;max-height:300px;object-fit:contain;display:block}.friend-qr-link-form button{margin-top:10px;width:100%}
.friend-qr-candidate{padding:16px;border:1px solid #3b8f6b;background:#102e24;border-radius:12px;margin-top:16px}.friend-qr-candidate strong{display:block;overflow-wrap:anywhere;font-size:20px}.friend-qr-candidate p{font-size:13px;line-height:1.5;color:#a0c3b6}.friend-qr-candidate button{width:100%;margin:0}
.friend-qr-status{font-size:13px;line-height:1.5;color:#a8dac5;margin-bottom:0;min-height:20px}.friend-qr-status.error{color:#ffb2aa}
@media(max-width:420px){.friend-qr-dialog{padding:17px}.friend-qr-dialog .friend-qr-actions>*{flex-basis:calc(50% - 8px)}.friend-qr-image{width:240px}}
