        .navbar{
            display: none;
        }
        
        .view-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        .view-header {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 200;
        }

        .back-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            color: #fff;
            text-decoration: none;
            font-size: 20px;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .back-button:hover {
            background: rgba(0,0,0,0.7);
            transform: scale(1.05);
        }

        .back-button svg {
            width: 24px;
            height: 24px;
        }

        .view-layout {
            display: flex;
            gap: 0;
            position: relative;
            height: 100vh;
        }

        .video-main {
            flex: 1;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .video-player {
            position: relative;
            background: #000;
            height: 100%;
        }

        .video-player video {
            height: 100%;
            display: block;
            object-fit: cover;
        }

        /* Custom Video Controls */
        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
            padding: 60px 15px 15px;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 10;
        }

        .video-player:hover .video-controls,
        .video-controls.show {
            opacity: 1;
        }

        .progress-bar {
            width: 100%;
            height: 4px;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            cursor: pointer;
            margin-bottom: 15px;
            position: relative;
        }

        .progress-bar:hover {
            height: 6px;
        }

        .progress-filled {
            height: 100%;
            background: linear-gradient(90deg, #ff0080, #ff8c00);
            border-radius: 2px;
            width: 0%;
            position: relative;
        }

        .progress-filled::after {
            content: '';
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .progress-bar:hover .progress-filled::after {
            opacity: 1;
        }

        .controls-row {
            display: flex;
            align-items: center;
        }

        .control-btn {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .control-btn:hover {
            transform: scale(1.1);
        }

        .control-btn svg {
            width: 24px;
            height: 24px;
        }



        .time-display {
            color: #fff;
            font-size: 13px;
            font-weight: 500;
            min-width: 90px;
        }

        .controls-right {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .volume-slider {
            width: 0;
            opacity: 0;
            transition: all 0.3s;
            -webkit-appearance: none;
            height: 4px;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            outline: none;
        }

        .volume-control:hover .volume-slider {
            width: 60px;
            opacity: 1;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            cursor: pointer;
        }

        .volume-slider::-moz-range-thumb {
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }

        .speed-control {
            position: relative;
        }

        .speed-menu {
            position: absolute;
            bottom: 100%;
            right: 0;
            background: rgba(20,20,20,0.95);
            border-radius: 8px;
            padding: 8px 0;
            margin-bottom: 10px;
            display: none;
            min-width: 100px;
        }

        .speed-menu.show {
            display: block;
        }

        .speed-option {
            padding: 8px 16px;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;
        }

        .speed-option:hover {
            background: rgba(255,255,255,0.1);
        }

        .speed-option.active {
            color: #ff0080;
            font-weight: bold;
        }

        .loading-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            border: 4px solid rgba(255,255,255,0.3);
            border-top-color: #ff0080;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
            z-index: 5;
        }

        .loading-spinner.show {
            display: block;
        }

        @keyframes spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .center-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: all 0.3s;
            z-index: 5;
        }

        .video-player.paused .center-play-btn {
            opacity: 1;
        }

        .center-play-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .center-play-btn svg {
            width: 36px;
            height: 36px;
            color: #fff;
        }

        .resume-notification {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            padding: 12px 20px;
            border-radius: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-size: 14px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s;
            z-index: 20;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .resume-notification.show {
            opacity: 1;
            bottom: 90px;
        }

        .resume-notification svg {
            width: 20px;
            height: 20px;
            color: #00d97e;
        }

        .resume-notification strong {
            color: #ff0080;
        }

        .video-copyright {
            position: absolute;
            bottom: 70px;
            right: 15px;
            font-size: 11px;
            color: rgba(255,255,255,0.5);
            font-weight: 500;
            z-index: 15;
            pointer-events: none;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .copyright-logo {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 36px;
            height: 36px;
            z-index: 15;
            pointer-events: none;
        }

        .episode-info-overlay,
        .swipe-indicator,
        .gesture-hint,
        .tiktok-actions {
            display: none;
        }

        .episode-sidebar {
            width: 410px;
            flex-shrink: 0;
            background: #1a1a1a;
            padding: 25px;
            height: 100%;
            overflow-y: auto;
        }

        .breadcrumb {
            font-size: 12px;
            color: #888;
            margin-bottom: 15px;
        }

        .breadcrumb a {
            color: #888;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            color: #fff;
        }

        .sidebar-title {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
            margin-bottom: 20px;
            line-height: 1.3;
        }

        .plot-section {
            margin-bottom: 25px;
        }

        .plot-title {
            font-size: 16px;
            font-weight: bold;
            color: #fff;
            margin-bottom: 10px;
        }

        .plot-text {
            font-size: 14px;
            color: #ccc;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .plot-more {
            color: #ff0080;
            cursor: pointer;
            font-size: 14px;
        }

        .plot-tags {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            padding: 6px 6px 10px 6px;
            position: relative;
        }

        /* Hide native scrollbar but keep scrolling usable */
        .plot-tags {
            scrollbar-width: none; /* Firefox */
        }
        .plot-tags::-webkit-scrollbar { height: 0; } /* Chrome, Safari */

        /* Fade masks to indicate more content left/right */
        .plot-tags::before,
        .plot-tags::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 6px;
            width: 48px;
            pointer-events: none;
            z-index: 5;
        }
        .plot-tags::before { left: 0; background: linear-gradient(to right, rgba(26,26,26,0.95), rgba(26,26,26,0)); }
        .plot-tags::after { right: 0; background: linear-gradient(to left, rgba(26,26,26,0.95), rgba(26,26,26,0)); }

        /* Individual tag pills */
        .plot-tag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            padding: 8px 14px;
            background: rgba(255,255,255,0.06);
            border-radius: 999px;
            font-size: 13px;
            color: #fff;
            text-decoration: none;
            transition: transform 0.12s ease, background 0.12s ease;
            scroll-snap-align: center;
        }

        .plot-tag:hover {
            transform: translateY(-3px);
            background: rgba(255,255,255,0.12);
        }

        /* When the container is hovered show a thin scrollbar for discoverability */
        .plot-tags:hover::-webkit-scrollbar { height: 6px; }
        .plot-tags:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 3px; }

        .video-stats {
            display: flex;
            gap: 40px;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .stat-item:hover {
            transform: scale(1.1);
        }

        .stat-icon {
            margin-bottom: 5px;
        }

        .stat-icon.liked {
            color: #fe2c55;
            fill: #fe2c55;
        }

        .stat-count {
            font-size: 14px;
            color: #fff;
        }

        .episode-section {
            margin-bottom: 25px;
        }

        .episode-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .episode-range {
            display: flex;
            gap: 10px;
        }

        .range-btn {
            padding: 6px 14px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 6px;
            color: #fff;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.3s;
        }

        .range-btn.active {
            background: linear-gradient(135deg, #ff0080, #ff8c00);
        }

        .view-all-episodes {
            color: #888;
            font-size: 13px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .episode-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
            margin-bottom: 20px;
        }

        .episode-item {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            color: #fff;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
        }

        .episode-item:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.05);
        }

        .episode-item.active {
            background: linear-gradient(135deg, #ff0080, #ff8c00);
            font-weight: bold;
        }

        .episode-item.unavailable {
            opacity: 0.5;
            pointer-events: none;
        }

        .episode-item.unavailable:hover {
            background: rgba(255,255,255,0.05);
            transform: none;
        }

        .top-dramas {
            margin-top: 30px;
        }

        .top-dramas-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #fff;
        }

        .top-drama-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            text-decoration: none;
            color: #fff;
            transition: opacity 0.3s;
        }

        .top-drama-item:hover {
            opacity: 0.8;
        }

        .top-drama-img {
            width: 80px;
            height: 110px;
            border-radius: 8px;
            object-fit: cover;
        }

        .top-drama-info {
            flex: 1;
        }

        .top-drama-title {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .top-drama-meta {
            font-size: 12px;
            color: #888;
        }

        .sidebar-close-btn {
            display: none;
        }

        /* Mobile Short Drama Style */
        @media (max-width: 768px) {
            body {
                overflow: hidden;
            }

            .navbar {
                display: none;
            }

            .view-header {
                position: fixed;
                top: 10px;
                left: 10px;
                z-index: 200;
            }

            .back-button {
                width: 24px;
                height: 24px;
                font-size: 18px;
            }
            
            .back-button svg {
                width: 20px;
                height: 20px;
            }

            .view-layout {
                flex-direction: column;
                height: 100vh;
            }

            .view-container {
                height: 100vh;
            }

            .video-main {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                z-index: 1;
            }

            .video-player {
                width: 100%;
                height: 100vh;
            }

            .video-player video {
                width: 100%;
                height: 100vh;
                object-fit: contain;
            }

            .episode-sidebar {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                height: auto;
                max-height: 50vh;
                background: linear-gradient(to top, rgba(0,0,0,0.98) 70%, transparent);
                padding: 60px 16px 20px;
                transform: translateY(calc(100% - 90px));
                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
                z-index: 0;
                overflow-y: auto;
            }
            
            .episode-sidebar.hide-on-play {
                opacity: 0;
                pointer-events: none;
            }

            .episode-sidebar.expanded {
                transform: translateY(0);
                background: rgba(0,0,0,0.98);
                backdrop-filter: blur(20px);
                max-height: 70vh;
                z-index: 100;
            }

            .sidebar-close-btn {
                display: flex;
                position: absolute;
                top: 15px;
                right: 15px;
                width: 36px;
                height: 36px;
                background: rgba(255,255,255,0.1);
                border: none;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.3s;
                z-index: 10;
            }

            .sidebar-close-btn:hover {
                background: rgba(255,255,255,0.2);
            }

            .sidebar-close-btn svg {
                width: 20px;
                height: 20px;
                color: #fff;
            }

            .episode-info-overlay,
            .swipe-indicator,
            .gesture-hint {
                display: block;
            }

            /* TikTok-style Action Buttons */
            .tiktok-actions {
                display: flex;
                flex-direction: column;
                gap: 18px;
                position: fixed;
                right: 12px;
                bottom: 100px;
                z-index: 60;
                transition: opacity 0.3s;
            }
            
            .tiktok-actions.hide-on-play {
                opacity: 0;
                pointer-events: none;
            }

            .tiktok-action-btn {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 4px;
                background: none;
                border: none;
                cursor: pointer;
                transition: all 0.2s;
                padding: 0;
            }

            .tiktok-action-icon {
                width: 44px;
                height: 44px;
                border-radius: 50%;
                background: rgba(50,50,50,0.7);
                backdrop-filter: blur(8px);
                display: flex;
                align-items: center;
                justify-content: center;
                color: #fff;
                transition: all 0.2s;
                box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            }

            .tiktok-action-btn:active .tiktok-action-icon {
                transform: scale(0.85);
            }

            .tiktok-action-icon.liked {
                background: #fe2c55;
                box-shadow: 0 2px 12px rgba(254,44,85,0.5);
            }

            .tiktok-action-icon.liked svg {
                color: #fff;
            }

            .tiktok-action-icon svg {
                width: 22px;
                height: 22px;
                filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
            }

            .tiktok-action-count {
                color: #fff;
                font-size: 11px;
                font-weight: 700;
                text-shadow: 0 1px 2px rgba(0,0,0,0.8);
                min-width: 44px;
                text-align: center;
            }

            .avatar-btn {
                position: relative;
                margin-bottom: 8px;
            }

            .avatar-btn img {
                width: 44px;
                height: 44px;
                border-radius: 50%;
                border: 1.5px solid #fff;
                object-fit: cover;
                box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            }

            .follow-icon {
                position: absolute;
                bottom: -6px;
                left: 50%;
                transform: translateX(-50%);
                width: 18px;
                height: 18px;
                background: #fe2c55;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: #fff;
                font-weight: bold;
                border: 1.5px solid #000;
                box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            }

            .breadcrumb {
                display: none;
            }

            .sidebar-title {
                font-size: 18px;
                margin-bottom: 10px;
            }

            .plot-section {
                margin-bottom: 15px;
            }

            .plot-title {
                font-size: 14px;
            }

            .plot-text {
                font-size: 13px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .plot-text.expanded {
                -webkit-line-clamp: unset;
            }

            .video-stats {
                gap: 25px;
                margin-bottom: 15px;
                padding-bottom: 15px;
            }

            .episode-grid {
                grid-template-columns: repeat(7, 1fr);
                gap: 6px;
            }

            .episode-item {
                font-size: 11px;
            }

            .video-controls {
                padding: 40px 15px 15px;
            }

            .video-copyright {
                right: 12px;
                font-size: 12px;
                opacity: 0.5;
            }

            .copyright-logo {
                top: 10px;
                right: 10px;
                width: 24px;
                height: 24px;
            }

            .resume-notification {
                bottom: 150px;
                font-size: 12px;
                padding: 10px 16px;
            }

            .resume-notification.show {
                bottom: 160px;
            }

            .resume-notification svg {
                width: 18px;
                height: 18px;
            }

            /* Swipe indicators */
            .swipe-indicator {
                position: fixed;
                right: 20px;
                top: 50%;
                transform: translateY(-50%);
                z-index: 60;
                display: flex;
                flex-direction: column;
                gap: 8px;
            }

            .swipe-dot {
                width: 8px;
                height: 8px;
                background: rgba(255,255,255,0.3);
                border-radius: 50%;
                transition: all 0.3s;
            }

            .swipe-dot.active {
                height: 24px;
                background: linear-gradient(135deg, #ff0080, #ff8c00);
                border-radius: 4px;
            }

            /* Episode info overlay */
            .episode-info-overlay {
                position: fixed;
                left: 12px;
                bottom: 70px;
                right: 85px;
                z-index: 60;
                color: #fff;
                transition: opacity 0.3s;
            }
            
            .episode-info-overlay.hide-on-play {
                opacity: 0;
                pointer-events: none;
            }

            .episode-number {
                font-size: 12px;
                color: rgba(255,255,255,0.85);
                margin-bottom: 6px;
                font-weight: 600;
                text-shadow: 0 1px 3px rgba(0,0,0,0.8);
            }

            .episode-title {
                font-size: 15px;
                font-weight: 700;
                margin-bottom: 0;
                line-height: 1.3;
                text-shadow: 0 1px 3px rgba(0,0,0,0.8);
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            /* Swipe indicators - hidden when using TikTok style */
            .swipe-indicator {
                display: none;
            }

            /* Touch gestures hint */
            .gesture-hint {
                position: fixed;
                bottom: 140px;
                left: 50%;
                transform: translateX(-50%);
                color: rgba(255,255,255,0.95);
                font-size: 11px;
                text-align: center;
                z-index: 60;
                animation: fadeInOut 3s ease-in-out;
                pointer-events: none;
                background: rgba(0,0,0,0.8);
                padding: 8px 16px;
                border-radius: 20px;
                backdrop-filter: blur(12px);
                font-weight: 500;
                letter-spacing: 0.2px;
                box-shadow: 0 2px 8px rgba(0,0,0,0.4);
            }

            @keyframes fadeInOut {
                0%, 100% { opacity: 0; }
                10%, 90% { opacity: 1; }
            }
        }

        /* Toast Notifications */
        .message-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.9);
            color: #fff;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 14px;
            z-index: 1000;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .message-toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .message-toast.success {
            border-left: 4px solid #00d97e;
        }

        .message-toast.error {
            border-left: 4px solid #ff4757;
        }

        @media (max-width: 768px) {
            .message-toast {
                top: 10px;
                right: 10px;
                left: 10px;
                font-size: 13px;
                padding: 10px 16px;
            }
        }

        @media (max-width: 1024px) and (min-width: 769px) {
            .view-layout {
                flex-direction: column;
            }

            .video-main {
                height: 60vh;
            }

            .video-player {
                width: 100%;
                max-width: 600px;
            }

            .episode-sidebar {
                position: static;
                width: 100%;
                height: auto;
            }
        }
