.live-master {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
}

.theater-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.player-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.video-viewport {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.video-viewport iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.viewport-offline {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.viewport-offline i {
    font-size: 3.5rem;
    color: var(--accent-red);
}

.viewport-offline h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-main);
}

.stream-meta-box {
    padding: 30px;
}

.stream-meta-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.stream-meta-title-row h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.stream-badge {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--primary);
}

.stream-category-badge {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    display: inline-block;
}

/* Channels Sidebar */
.channels-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.sidebar-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
}

.channels-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.channel-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.channel-item-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

.channel-item-card.active {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.channel-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.channel-title-row h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.channel-indicator {
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.channel-indicator.offline {
    color: var(--text-muted);
}

.pulse-green-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

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