* {
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0;
        }

        body {
            overflow: hidden;
            background: #1a1a1a;
            color: #fff;
            font: 16px Arial, sans-serif;
        }

        .player-container,
        .content {
            width: 100%;
            height: 100%;
        }

        .video-container {
            position: relative;
            background: #000;
            overflow: hidden;
        }

        #videoPlayer {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
            background: #000;
            object-fit: contain;
        }

        .playlist {
            min-width: 0;
            min-height: 0;
            padding: 15px;
            background: #2a2a2a;
            overflow: hidden;
        }

        .playlist-items {
            height: 100%;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
            list-style: none;
            overflow-y: auto;
            scrollbar-width: none;
        }

        .playlist-items::-webkit-scrollbar {
            display: none;
        }

        .playlist-items li {
            flex-shrink: 0;
            padding: 12px 15px;
            background: #333;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.15s ease;
        }

        .playlist-items li:hover {
            background: #444;
        }

        .playlist-items li.active {
            background: #3a3a3a;
            border-left: 4px solid #00bcd4;
        }

        .channel-name {
            display: block;
            color: #fff;
            line-height: 1.4;
            margin-top: 2px;
            overflow-wrap: anywhere;
        }

        .channel-time-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .channel-time {
            display: block;
            color: #aaa;
            line-height: 1.4;
        }

        /* Animasi Kedip & Badge LIVE */
        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0.2; }
            100% { opacity: 1; }
        }

        .live-badge {
            background-color: #ff0000;
            color: #ffffff;
            font-size: 10px;
            font-weight: bold;
            padding: 1px 5px;
            border-radius: 3px;
            animation: blink 1s infinite;
            letter-spacing: 0.5px;
        }

        /* Desktop Layout */
        @media (min-width: 901px) {
            body {
                padding: 3vh;
            }
            .player-container {
                height: calc(100vh - 6vh);
            }
            .content {
                display: flex;
                gap: 3vh;
                align-items: flex-start;
                height: 100%;
            }
            .video-container {
                height: 100%;
                aspect-ratio: 16 / 9;
                max-width: calc(100% - 400px);
                flex-shrink: 0;
            }
            .playlist {
                flex: 1;
                height: 100%;
            }
        }

        /* Mobile Layout */
        @media (max-width: 900px) {
            .content {
                display: flex;
                flex-direction: column;
            }
            .video-container {
                width: 100%;
                aspect-ratio: 16 / 9;
                flex-shrink: 0;
            }
            .playlist {
                flex: 1;
            }
        }
