.stream-status-schedule,
.stream-status-note {
    margin: 0 0 0.8rem;
    color: var(--text-color);
    font-size: clamp(0.78rem, 0.73rem + 0.2vw, 0.9rem);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.stream-status-schedule {
    font-weight: 700;
}

.stream-status-schedule[hidden],
.stream-status-note[hidden],
.stream-preview[hidden],
.stream-actions[hidden] {
    display: none;
}

.stream-status-warming .stream-main-content {
    grid-template-columns: 1fr;
}

.stream-is-live .stream-card-container {
    border-color: var(--primary-dark);
    box-shadow: 4px 4px 0 var(--primary-dark), 0 0 0 4px rgba(79, 195, 247, 0.12);
}

.stream-is-live .stream-badge-container {
    background: var(--primary-color);
}

.stream-live-indicator {
    position: relative;
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    flex: 0 0 auto;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--primary-dark);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.68);
    animation: yowane-live-pulse 1.8s ease-out infinite;
}

.stream-live-indicator[hidden] {
    display: none;
}

.stream-live-preview-notice {
    margin: 0;
    padding: 0.55rem 1rem;
    color: var(--text-color);
    background: #eef9ff;
    border-bottom: 1px dashed var(--primary-color);
    font-size: clamp(0.72rem, 0.69rem + 0.14vw, 0.82rem);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.video-grid-latest .video-meta-upcoming {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 0.42rem;
    padding: 3px 9px 3px 4px;
    color: var(--text-color);
    background: #eef9ff;
    border: 1px solid rgba(3, 155, 229, 0.2);
    white-space: nowrap;
}

.video-grid-latest .video-meta-status {
    padding: 2px 7px;
    color: #07526f;
    background: #d8f2ff;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.video-grid-latest .video-meta-upcoming time {
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

/* Four-column cards are narrow around small desktop widths. Stack only there. */
@media (min-width: 992px) and (max-width: 1180px) {
    .video-grid-latest .video-meta-upcoming {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
        padding: 5px 8px;
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .video-grid-latest .video-meta-upcoming {
        gap: 0.32rem;
        padding-right: 7px;
        font-size: 0.78rem;
    }

    .video-grid-latest .video-meta-status {
        padding-inline: 6px;
        font-size: 0.64rem;
    }
}

@keyframes yowane-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.68);
    }
    70%, 100% {
        box-shadow: 0 0 0 0.55rem rgba(255, 255, 255, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stream-live-indicator {
        animation: none;
    }
}

