.share-bar {
    position: fixed;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.share-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease;
}

.share-fab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.64rem 0.95rem;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #7a51e2, #6a41d2);
    box-shadow: 0 12px 26px rgba(38, 20, 92, 0.38);
}

.share-fab:hover,
.share-fab:focus-visible {
    transform: translateY(-1px);
}

.share-panel {
    display: none;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    max-width: min(94vw, 620px);
    padding: 0.5rem;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    background: rgba(15, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.share-bar.is-open .share-panel {
    display: flex;
}

.share-chip:hover,
.share-chip:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
    color: #fff;
}

.share-native {
    background: linear-gradient(135deg, #7a51e2, #6a41d2);
}

.share-copy {
    background: linear-gradient(135deg, #20c997, #0ca678);
}

.share-toast {
    min-width: 80px;
    text-align: center;
    color: #d9ffe7;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .share-bar {
        right: 0.6rem;
        bottom: 0.6rem;
    }

    .share-panel {
        max-width: calc(100vw - 1.2rem);
    }

    .share-chip span,
    .share-fab span {
        font-size: 0.8rem;
    }

    .share-toast {
        min-width: 70px;
        font-size: 0.76rem;
    }
}
