/* One copyable line, with the same warm secondary material as the account. */
body #accountView .povod-stars-account .stars-link{display:block;margin:10px 0 0}
body #accountView .povod-stars-account .stars-referral-copy,body .povod-referral-share .stars-referral-copy{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:44px;padding:8px 10px;text-align:left;cursor:pointer;user-select:none}
.stars-referral-url{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 11px/1.4 Onest,system-ui}
.stars-referral-copy-icon{display:grid;place-items:center;flex:none;width:24px;height:26px;color:#987260}.stars-referral-copy-icon svg{width:18px;height:18px}
.stars-referral-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 10px}.stars-referral-actions>.btn{min-width:0}
body .povod-referral-share{width:min(360px,calc(100vw - 32px));text-align:left}
.povod-referral-share header{position:relative;padding-right:24px;margin-bottom:14px}body .povod-referral-share header h2{margin:0;font:400 16px/1.35 Onest,system-ui}
body .povod-referral-share .referral-close{position:absolute;right:-12px;top:-12px;width:44px;height:44px;padding:0;border:0;background:none;box-shadow:none;border-radius:50%;color:#987260;font:300 26px/1 Onest,system-ui;cursor:pointer}
.referral-share-body video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:0 0 12px}
body .povod-referral-share .referral-message-preview{display:block;width:100%;border:0;padding:0 0 9px;background:none;box-shadow:none;cursor:pointer;text-align:left;color:#665e57;font:400 12px/1.5 Onest,system-ui}
.referral-message-preview>span{display:block;white-space:pre-wrap}.referral-message-preview small{display:block;margin-top:5px;color:#987260;font:400 10px/1.4 Onest,system-ui;text-decoration:underline;text-underline-offset:3px}
.referral-link-hint{display:block;margin:4px 0 0;color:#827a74;font:400 10px/1.4 Onest,system-ui}
body .povod-referral-share [role=status]{margin:10px 0 0;font:400 11px/1.45 Onest,system-ui}.povod-referral-share [role=status]:empty{display:none}
body .povod-referral-share [data-referral-next]{width:100%;margin-top:14px;font:400 12px/1.4 Onest,system-ui}
@media(max-width:350px){.stars-referral-actions{gap:6px}body #accountView .povod-stars-account .stars-referral-actions>.btn{padding-inline:7px;font-size:11px}}
body .studio-field-editor[data-referral-message] textarea{white-space:pre-wrap;overflow-x:hidden;overflow-y:auto}
/* Match the established notice background blur when WebKit omits the native backdrop blur. */
body:has(dialog.povod-notice.povod-referral-share[open]) :is(.shell>.view.active>*,.shell>.topbar>.brand,.shell>.topbar .top-actions>*,.povod-nav-trigger,.povod-problem,.toast){filter:blur(7px)}
