/**
 * Live CAM 78 Styles
 */

/* Square widget in right panel */
.live-cam-widget {
    margin: 12px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.live-cam-widget h3 {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.live-cam-widget__container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio for square */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}

#cam78Canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}

.live-cam-widget__label {
    margin: 0;
    font-size: 11px;
    color: var(--muted-ink);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
}

/* Legacy full-width section (kept for backwards compatibility) */
#liveCam78 {
    background: #000;
    padding: 20px;
    border-radius: 12px;
    margin: 1rem 0;
}

#liveCam78 h2 {
    color: #fff;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .live-cam-widget {
        margin: 10px 0;
        padding: 10px;
    }
    
    .live-cam-widget h3 {
        font-size: 12px;
    }
    
    .live-cam-widget__label {
        font-size: 10px;
    }
    
    #liveCam78 {
        padding: 12px;
    }
    
    #liveCam78 h2 {
        font-size: 1rem;
    }
}

