/* ════════════════════════════════════════════════
   Share Button & Modal
   ════════════════════════════════════════════════ */

/* === SHARE BUTTON + MODAL === */
.share-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 10px;
    border: 1px solid rgba(139,92,246,0.35);
    background: rgba(139,92,246,0.1); color: #c4b5fd;
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all 0.2s; white-space: nowrap;
}
.share-btn:hover { background: rgba(139,92,246,0.22); border-color: #7c3aed; }
.share-btn svg { width: 15px; height: 15px; }
.share-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px); z-index: 9998;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fcOverlayIn 0.2s ease;
}
.share-modal-overlay.hidden { display: none; }
.share-modal {
    background: #151523; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; width: 100%; max-width: 520px;
    overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    animation: fcModalIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.share-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.share-modal-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #f1f1f1; }
.share-modal-close {
    background: rgba(255,255,255,0.07); border: none; color: #888;
    width: 28px; height: 28px; border-radius: 7px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.15s;
}
.share-modal-close:hover { background: rgba(239,68,68,0.15); color: #f87171; }
.share-preview-card {
    margin: 16px; border-radius: 14px;
    border: 1px solid rgba(139,92,246,0.2);
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(99,102,241,0.04));
    padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.share-preview-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: #c4b5fd; text-transform: uppercase; }
.share-preview-title { font-size: 15px; font-weight: 700; color: #f1f1f1; line-height: 1.4; }
.share-preview-author { font-size: 12px; color: #666; }
.share-preview-summary { font-size: 12.5px; color: #aaa; line-height: 1.65; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; }
.share-preview-takeaways { display: flex; flex-direction: column; gap: 5px; }
.sp-ta-item { font-size: 12px; color: #aaa; padding: 4px 8px; background: rgba(255,255,255,0.04); border-radius: 6px; line-height: 1.5; }
.share-preview-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; font-size: 11px; color: #555;
}
.share-preview-footer span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c4b5fd; max-width: 70%; }
.share-actions { display: flex; gap: 10px; padding: 0 16px 16px; flex-wrap: wrap; }
.share-action-btn {
    flex: 1; min-width: 130px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 14px; border-radius: 11px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
    color: #f1f1f1; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s;
}
.share-action-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.share-action-btn:hover { background: rgba(255,255,255,0.1); }
.share-action-native { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.3); color: #c4b5fd; }
.share-action-native:hover { background: rgba(139,92,246,0.25); }
.share-action-copy:hover { background: rgba(234,179,8,0.12); border-color: rgba(234,179,8,0.3); color: #fde047; }
.share-action-link:hover { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: #34d399; }
@media (max-width: 480px) {
    .share-actions { flex-direction: column; }
    .share-action-btn { min-width: 100%; }
}

