/* The share sheet and the invite notice (static/js/share_sheet.js, static/js/referral_capture.js; docs/features/growth.md). */
.lr-share {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(4, 4, 6, .72);
    animation: lr-share-in .16s ease-out;
}
.lr-share[hidden] { display: none; }
html.lr-share-open { overflow: hidden; }
.lr-share-panel {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 22px 22px 18px;
    border: 1px solid rgba(229, 184, 92, .35);
    border-radius: 14px;
    background: linear-gradient(180deg, #16151a, #0c0c0f);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    color: #f5f0e6;
}
.lr-share-title {
    margin: 0 32px 14px 0;
    font-family: 'Cinzel', serif; font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
    color: #e5b85c;
}
.lr-share-x {
    position: absolute; top: 10px; right: 12px;
    width: 32px; height: 32px; border: 0; border-radius: 8px;
    background: transparent; color: #a8a29e; font-size: 22px; line-height: 1; cursor: pointer;
}
.lr-share-x:hover, .lr-share-x:focus-visible { background: rgba(255, 255, 255, .08); color: #f5f0e6; }
.lr-share-img {
    display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630;
    margin-bottom: 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .08);
}
.lr-share-img[hidden], .lr-share-row[hidden], .lr-share-nets[hidden], .lr-share-note[hidden],
.lr-share-btn[hidden] { display: none; }
.lr-share-status { margin: 0 0 10px; font-size: 14px; color: #a8a29e; }
.lr-share-status:empty { display: none; }
.lr-share-status.lr-share-err { color: #fca5a5; }
.lr-share-row { display: flex; gap: 8px; }
.lr-share-url {
    flex: 1; min-width: 0;
    padding: 9px 11px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .14); background: #08080a;
    color: #f5f0e6; font: 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.lr-share-note { margin: 10px 0 0; font-size: 12px; color: #a8a29e; }
.lr-share-nets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lr-share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 38px; padding: 0 14px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
    color: #f5f0e6; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.lr-share-btn:hover, .lr-share-btn:focus-visible { border-color: rgba(229, 184, 92, .6); background: rgba(229, 184, 92, .08); }
.lr-share-gold { border-color: rgba(229, 184, 92, .55); background: rgba(229, 184, 92, .14); color: #f4cf7d; }
.lr-share-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 9001;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
    padding: 10px 16px; border-radius: 10px;
    border: 1px solid rgba(229, 184, 92, .4); background: #121115; color: #f5f0e6; font-size: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}
@keyframes lr-share-in { from { opacity: 0; } to { opacity: 1; } }
html.calm-motion .lr-share { animation: none; }
