.referral-invite .eyebrow { color:var(--gold,#a77d3f); }
.referral-invite h2 { margin:9px 0 8px; }
.referral-invite > p { line-height:1.55; }




.referral-qr-frame, .access-qr-frame { width:min(100%,248px); aspect-ratio:1; margin:20px auto 10px; padding:6px; background:#fbf7ee; border:1px solid #d9c196; border-radius:22px; box-shadow:0 8px 24px #3a2a1418; }
.access-qr-frame { margin:6px auto 4px; }
.referral-qr, .access-qr-frame .access-qr-code { width:100%; height:100%; display:block; border-radius:16px; shape-rendering:geometricPrecision; }
html[data-appearance="dark"] :is(.referral-qr-frame,.access-qr-frame) { border-color:#93632e; box-shadow:0 1px 0 #ffffff26 inset,0 10px 28px #0000004d; }
.referral-qr-caption { margin:0 0 19px; text-align:center; font-size:12px; color:var(--muted); }
.referral-invite #referral-url { width:100%; overflow:hidden; text-overflow:ellipsis; font-size:14px; }
.referral-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:14px; }
.referral-actions > :first-child { grid-column:1/-1; }
.referral-actions > :last-child:nth-child(4) { grid-column:1/-1; }
.referral-actions .btn { min-width:0; min-height:46px; white-space:normal; }
.referral-fineprint { margin:16px 0 0; font-size:12px; }
@media(max-width:350px) { .referral-qr-frame { width:min(100%,190px); } .referral-actions { grid-template-columns:1fr; } .referral-actions > * { grid-column:1!important; } }
.profile-account { margin-bottom:14px; padding:20px!important; border-color:#c9aa78!important; }
.profile-account h2 { margin:8px 0; font-size:19px; }
.profile-account p { margin:0 0 10px; line-height:1.5; }
.profile-account .profile-account-methods { font-size:12px; color:var(--muted); }
.profile-account .btn { margin-top:8px; }
.web-entry-back { display:inline-flex; align-items:center; min-height:42px; margin:-9px 0 13px -9px; padding:0 9px; border:0; background:none; color:var(--ink); font:inherit; font-size:14px; cursor:pointer; }
.web-entry-back:focus-visible { outline:2px solid var(--gold,#a77d3f); outline-offset:2px; border-radius:6px; }
.panel.profile-account p.profile-access-hint{margin:14px 0 8px;font-size:12px;color:var(--muted);line-height:1.5}
.profile-account .identity-actions{display:grid;gap:10px;margin-top:8px}
