/**
 * CGAUIW Live Now Widget Styles
 * Dark theme with gold accents, matching Cam Elegance brand.
 * Managed by Ansible. Do not edit on server.
 */

.cgauiw-live-now {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cgauiw-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.cgauiw-live-card {
    display: block;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #e0e0e0;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.cgauiw-live-card:hover {
    border-color: #c9a96e;
    transform: translateY(-2px);
}

/* Thumbnail */
.cgauiw-live-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f0f0f;
}

.cgauiw-live-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Live pulse indicator */
.cgauiw-live-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #e53e3e;
    border-radius: 50%;
    animation: cgauiw-pulse 1.5s ease-in-out infinite;
}

@keyframes cgauiw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Info section */
.cgauiw-live-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cgauiw-live-name {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cgauiw-live-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.cgauiw-live-viewers {
    color: #888;
}

/* Platform badges */
.cgauiw-live-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cgauiw-badge-chaturbate {
    background: #f47b20;
    color: #fff;
}

.cgauiw-badge-stripchat {
    background: #e91e63;
    color: #fff;
}

.cgauiw-badge-streamate {
    background: #2196f3;
    color: #fff;
}

.cgauiw-badge-livejasmin {
    background: #d32f2f;
    color: #fff;
}

/* Empty state */
.cgauiw-live-empty {
    color: #888;
    font-size: 13px;
    font-style: italic;
    padding: 12px 0;
    margin: 0;
}

/* Responsive: stack to single column in sidebar */
.widget .cgauiw-live-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 600px) {
    .cgauiw-live-grid {
        grid-template-columns: 1fr;
    }
}
