

.bbq-share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: bbq-share-fade-in 0.18s ease-out;
}

@keyframes bbq-share-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bbq-share-modal {
    background: #f8fafc;
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
    animation: bbq-share-pop 0.22s cubic-bezier(.16,.84,.44,1);
}

@keyframes bbq-share-pop {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.bbq-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.bbq-share-header h3 {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbq-share-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.bbq-share-close:hover,
.bbq-share-close:active {
    background: #e2e8f0;
    color: #1e293b;
}

.bbq-share-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    overflow-y: auto;
    flex: 1;
}

.bbq-share-pending-tip {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 10px 12px;
    border-radius: 8px;
}

.bbq-share-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbq-share-qr-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    display: none;
}

.bbq-share-qr-section.show {
    display: block;
    animation: bbq-share-fade-in 0.2s;
}

.bbq-share-qr-img {
    width: 200px;
    height: 200px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    background: #ffffff;
    display: block;
    margin: 0 auto 12px;
}

.bbq-share-qr-tip {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}

.bbq-share-qr-tip strong {
    color: #3b82f6;
}

.bbq-share-qr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.bbq-share-qr-copy-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #3b82f6;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.bbq-share-qr-copy-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.bbq-share-qr-copy-btn:active {
    transform: scale(0.97);
}


@media (max-width: 680px) {
    .bbq-share-modal {
        max-width: 100%;
        max-height: calc(100dvh - 16px);
        border-radius: 14px;
    }

    .bbq-share-overlay {
        padding: 8px;
    }

    .bbq-share-body {
        padding: 16px;
        gap: 12px;
    }

    .bbq-share-qr-img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 380px) {
    .bbq-share-header {
        padding: 14px 16px;
    }

    .bbq-share-body {
        padding: 12px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .bbq-share-modal {
        max-height: calc(100vh - 16px);
    }
}
