/* Shareable Gripe Card Styles - Refined for Mustache Template *//* Shareable Gripe Card Styles - Refined for Mustache Template */
.gripe-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gripe-card-overlay.show {
    opacity: 1;
}

.gripe-card-wrapper {
    background: var(--background, #000);
    padding: 20px;
    border-radius: 14px;
    max-width: 580px;
    width: 90%;
    border: 1px solid var(--border);
}

.gripe-card-loading,
.gripe-card-error {
    padding: 60px;
    text-align: center;
    color: #fff;
    font-size: 18px;
}/* Capture target — no rounded corners on the exported image */

/* Capture target — no rounded corners on the exported image */
.gripe-card-content {
    border-radius: 0 !important;
    overflow: visible;
}/* Snapshot Card Internal Layout */

/* Snapshot Card Internal Layout */
.snapshot-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: var(--background, #000);
}

.snapshot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.snapshot-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.snapshot-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.snapshot-handle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.snapshot-content {}

.snapshot-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 800;
}

.snapshot-text {
    font-size: 18px;
    line-height: 1.6;
    color: #efeff1;
    white-space: pre-wrap;
    word-break: break-word;
}

.snapshot-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.snapshot-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.snapshot-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
}

.snapshot-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.snapshot-badge,
.snapshot-whinge-label {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.snapshot-time {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.snapshot-url {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 800;
    font-size: 12px;
}

.gripe-card-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.gripe-card-btn {
    padding: 11px 17px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.gripe-card-btn-download {
    background: #000;
    color: white;
}

.gripe-card-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 600px) {
    .gripe-card-wrapper {
        padding: 20px;
        margin: 10px;
    }

    .snapshot-text {
        font-size: 16px;
    }

    .gripe-card-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
