/**
 * NEXUS LIVE CINEMA - VISUAL PROTOCOL (v40.20.2)
 * High-Fidelity UI for simulated broadcasting.
 */

.entry-node-icon {
    position: relative;
    overflow: hidden;
}

.nx-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px 8px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: width 0.3s ease;
}

.nx-live-dot {
    width: 6px;
    height: 6px;
    background: #ff3e3e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 62, 62, 0.8);
    animation: nxLivePulse 1.5s infinite;
}

.nx-live-badge.is-offline {
    color: rgba(255, 255, 255, 0.5);
}

.nx-live-badge.is-offline .nx-live-dot {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    animation: none;
}

.nx-live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.nx-live-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.nx-live-intel {
    text-align: center;
    width: 100%;
    max-width: 120px;
    padding: 10px;
}

.nx-live-countdown-title {
    font-size: 8px;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.nx-live-timer {
    font-size: 24px;
    font-weight: 900;
    color: white;
    font-family: var(--font-tech, 'Courier New', monospace);
    margin-bottom: 8px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.nx-live-status-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.nx-live-progress {
    height: 100%;
    width: 0%;
    background: var(--accent-gold);
    transition: width 0.1s linear;
}

.entry-node-video.is-blurred {
    filter: blur(15px) grayscale(0.5);
    transform: scale(1.1);
    transition: all 0.8s ease;
}

@keyframes nxLivePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
