        body { font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif; background: #050505; color: #e2e8f0; margin: 0; padding: 0; }
        .watch-container { display: flex; flex-wrap: wrap; padding: 2px 20px 20px 20px; gap: 20px; max-width: 1400px; margin: auto; align-items: flex-start; } /* Reduced top padding to move content up */

        /* Custom Video Player Styles from example_player.html */
        .video-container {
            position: relative;
            width: 100%; /* Changed from 800px to 100% to fit main-content */
            max-width: 100%;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(99, 102, 241, 0.2);
            background: #000;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
        }
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: block;
            cursor: pointer;
            touch-action: manipulation; /* Prevents double-tap to zoom on mobile devices */
        }
        .controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
            padding: 20px 15px 15px 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
.video-container:hover .controls, 
.video-container.paused .controls,
        .video-container.show-controls .controls,
        .watch-video-container:hover .controls, 
        .watch-video-container.paused .controls,
        .watch-video-container.show-controls .controls {
            opacity: 1; /* Show controls on hover or pause */
            pointer-events: auto;
        }
        .progress-bar {
            width: 100%;
            -webkit-appearance: none;
    background: linear-gradient(to right, #0d6efd 0%, #0d6efd var(--progress, 0%), rgba(255, 255, 255, 0.4) var(--progress, 0%), rgba(255, 255, 255, 0.4) var(--buffer, 0%), rgba(255, 255, 255, 0.2) var(--buffer, 0%), rgba(255, 255, 255, 0.2) 100%);
            height: 3px;
            border-radius: 5px;
            outline: none;
            cursor: pointer;
            transition: height 0.1s ease;
        }
        .progress-bar:hover {
            height: 5px;
        }
        .progress-bar::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            transform: scale(0);
            border-radius: 50%;
            background: #0d6efd; /* Blue accent color */
            cursor: pointer;
            box-shadow: 0 0 5px rgba(0,0,0,0.5);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .progress-bar:hover::-webkit-slider-thumb {
            transform: scale(1);
            box-shadow: 0 0 10px rgba(169, 13, 253, 0.8), 0 0 5px rgba(0,0,0,0.5);
        }
        .control-buttons {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .left-controls, .right-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .video-container button { /* Specificity for player buttons */
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, color 0.2s;
    pointer-events: auto;
    z-index: 100;
        }
        .video-container button:hover {
            transform: scale(1.1);
            color: #0d6efd;
        }
        
        .settings-wrapper {
            position: relative;
        }
        .settings-menu {
            position: absolute;
            bottom: 45px;
            right: -10px;
            background: rgba(20, 20, 20, 0.95);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 8px 0;
            display: none;
            width: 240px;
            box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
            max-height: 250px;
            overflow-y: auto;
            z-index: 100;
        }
        .settings-menu::-webkit-scrollbar { width: 5px; }
        .settings-menu::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.2);
            border-radius: 5px;
        }
        .settings-menu.show {
            display: block;
        }
        .menu-panel {
            display: none;
            flex-direction: column;
        }
        .menu-panel.active {
            display: flex;
            animation: slideIn 0.2s ease;
        }
        @keyframes slideIn { from { transform: translateX(10px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        .settings-item {
            padding: 8px 15px;
            font-size: 0.9rem;
            color: white;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .settings-item:hover {
            background: rgba(255,255,255,0.1);
        }
        .settings-item.active {
            color: #0d6efd;
            font-weight: bold;
        }
        .settings-header-back {
            padding: 10px 15px;
            font-size: 0.95rem;
            color: white;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        .settings-header-back:hover {
            background: rgba(255,255,255,0.1);
        }
        .time-display {
            font-size: 0.9rem;
            user-select: none;
            font-weight: 600;
        }
        .volume-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .volume-slider {
            width: 80px;
            -webkit-appearance: none;
            background: rgba(255, 255, 255, 0.2);
            height: 4px;
            border-radius: 4px;
            outline: none;
            cursor: pointer;
        }
        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #fff;
            cursor: pointer;
        }
        /* YouTube Style Double Tap Skip Animation */
        .yt-skip-anim {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 40%;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            opacity: 0;
            z-index: 10;
            transition: opacity 0.3s ease-out;
            overflow: hidden;
        }
        .yt-skip-left { left: 0; border-top-right-radius: 50%; border-bottom-right-radius: 50%; }
        .yt-skip-right { right: 0; border-top-left-radius: 50%; border-bottom-left-radius: 50%; }
        .yt-skip-content { display: flex; flex-direction: column; align-items: center; gap: 5px; transform: scale(0.8); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .yt-skip-anim.show { opacity: 1; }
        .yt-skip-anim.show .yt-skip-content { transform: scale(1); }
        .yt-skip-arrows i { width: 32px; height: 32px; }
        .yt-skip-text { font-size: 0.9rem; font-weight: bold; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

        .watch-main-content { flex: 1 1 65%; max-width: 100%; }
        .watch-sidebar { flex: 1 1 30%; display: flex; flex-direction: column; gap: 15px; }
        .video-container { width: 100%; background: #000; border-radius: 16px; overflow: hidden; position: relative; padding-bottom: 56.25%; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(99, 102, 241, 0.1); border: 1px solid rgba(255,255,255,0.05); }
        .video-container iframe { position: absolute !important; top: 0; left: 0; width: 100% !important; height: 100% !important; outline: none; }
        .info { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .title { font-size: 1.5rem; margin: 0 0 15px 0; font-weight: bold; }
        .author-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; }
        .author-info { display: flex; align-items: center; gap: 12px; }
        .author-info img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid #87ceeb; cursor: pointer; }
        .actions { display: flex; gap: 10px; }
        .btn { background: rgba(255,255,255,0.1); border: none; color: white; padding: 10px 18px; border-radius: 20px; cursor: pointer; font-weight: bold; display:block; align-items: center; gap: 8px; transition: background 0.2s; }
        .btn:hover { background: rgba(255,255,255,0.2); }
        .watch-desc-box { background: transparent; padding: 15px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; line-height: 1.5; color: #ddd; }
        .watch-suggestion-card { display: flex; gap: 10px; cursor: pointer; border-radius: 12px; padding: 8px; transition: all 0.2s; background: transparent; border: 1px solid rgba(255,255,255,0.02); }
        .watch-suggestion-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: translateX(4px); }
        .desc-box { background: transparent; padding: 15px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; line-height: 1.5; color: #ddd; }
        .suggestion-card { display: flex; gap: 10px; cursor: pointer; border-radius: 12px; padding: 8px; transition: all 0.2s; background: transparent; border: 1px solid rgba(255,255,255,0.02); }
        .suggestion-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: translateX(4px); }
        .suggestion-card img { width: 168px; height: 94px; border-radius: 8px; object-fit: cover; }
        .suggestion-info h4 { margin: 0 0 5px 0; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
        .suggestion-info p { margin: 0; font-size: 0.85rem; color: #aaa; }
        
        .desc-content { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: all 0.3s ease; }
        .desc-content.expanded { display: block; -webkit-line-clamp: unset; }
        .show-more-btn { background: none; border: none; color: #aaa; cursor: pointer; font-weight: bold; padding: 8px 0 0 0; font-size: 0.9rem; }
        .double-tap-center { position: absolute; top: 50%; z-index: 10; pointer-events: none; opacity: 0; left: 50%; transform: translate(-50%, -50%) scale(0); font-size: 5rem; color: #ff0050; background: transparent; padding: 0; border-radius: 0; transition: transform 0.2s ease-out, opacity 0.2s ease-out; text-shadow: 0 0 20px rgba(0,0,0,0.5); }
        
        /* Modern Comment Styles */
        .comment-wrapper { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
        .comment-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid #333; cursor: pointer; }
        .comment-body { flex: 1; }
        .comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
        .comment-author { font-weight: bold; color: #f1f1f1; font-size: 0.9rem; text-decoration: none; cursor: pointer; }
        .comment-date { font-size: 0.75rem; color: #888; }
        .comment-text { font-size: 1.05rem; color: #eee; margin: 0 0 6px 0; word-wrap: break-word; line-height: 1.4; }
        .comment-actions { display: flex; gap: 16px; align-items: center; font-size: 0.8rem; color: #aaa; }
        .comment-action-btn { background: transparent; border: none; color: #aaa; cursor: pointer; padding: 0; font-weight: 500; transition: color 0.2s; display: flex; align-items: center; gap: 4px; }
        .comment-action-btn:hover { color: #fff; }
        .author-liked-badge { display: flex; align-items: center; gap: 4px; background: rgba(255, 0, 80, 0.1); padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; color: #ff0050; border: 1px solid rgba(255, 0, 80, 0.2); }
        .author-liked-badge img { width: 14px; height: 14px; border-radius: 50%; }
        .mention-link { color: #3ea6ff; text-decoration: none; font-weight: bold; }
        .mention-link:hover { text-decoration: underline; }
        .reply-list { margin-left: 48px; margin-top: 12px; position: relative; }
        .reply-list::before { content: ''; position: absolute; left: -24px; top: 0; bottom: 0; width: 2px; background: #333; border-radius: 2px; }
        .mention-dropdown { position: absolute; bottom: 100%; left: 0; right: 0; background: #222; border: 1px solid #444; border-radius: 8px; max-height: 150px; overflow-y: auto; z-index: 100; box-shadow: 0 -4px 15px rgba(0,0,0,0.5); display: none; }
        .mention-item { padding: 10px; border-bottom: 1px solid #333; cursor: pointer; display: flex; align-items: center; gap: 10px; color: #fff; transition: background 0.2s; }
        .mention-item:hover { background: #333; }
        .reply-input-container { display: none; margin-top: 10px; gap: 10px; position: relative; }

        /* Theme Dropdown Styles from index.html */
        .theme-dropdown-container { position: relative; display: inline-block; margin-left: auto; }
        .theme-dropdown { position: absolute; top: 100%; right: 0; background: rgba(20, 20, 20, 0.9); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 10px; display: none; flex-direction: column; gap: 8px; z-index: 1000; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-top: 10px; max-height: 75vh; overflow-y: auto; overflow-x: hidden; }
        .theme-dropdown.show { display: flex; animation: slideUp 0.2s ease; }
        .theme-dropdown::-webkit-scrollbar { width: 4px; }
        .theme-dropdown::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }
        @keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .theme-option { padding: 10px 15px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; font-weight: bold; text-align: left; display: flex; align-items: center; justify-content: flex-start; gap: 12px; transition: transform 0.2s, box-shadow 0.2s; font-family: inherit; font-size: 0.9rem; width: 100%; box-sizing: border-box; white-space: nowrap; }
        .theme-option:hover { transform: scale(1.05); }
        .theme-option.active { border: 2px solid #f59e0b; box-shadow: 0 0 12px rgba(245, 158, 11, 0.4); transform: scale(1.02); }
        .theme-btn { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; padding: 5px; }

        @media (max-width: 900px) {
            .container { flex-direction: column; padding: 10px; }
            .sidebar { width: 100%; }
            .title { font-size: 1.25rem; }
            .pc-only-btn { display: none !important; }
            .pc-only-search { display: none !important; }
        }

        /* YouTube Style Theater Mode (PC Only) */
        @media screen and (min-width: 901px) {
            .video-container, .watch-video-container {
                max-width: 90%;
                margin: 0 auto;
            }
            .watch-container.theater-mode {
                max-width: 100%;
                padding-top: 0;
                padding-left: 0;
                padding-right: 0;
            }
            .watch-container.theater-mode .main-content, .watch-container.theater-mode .watch-main-content {
                flex: 1 1 100%;
                max-width: 100%;
            }
            .watch-container.theater-mode .video-container, .watch-container.theater-mode .watch-video-container {
                border-radius: 0;
                height: 75vh;
                padding-bottom: 0;
                max-width: 100% !important;
            }
            .watch-container.theater-mode .video-container video,
            .watch-container.theater-mode .video-container iframe,
            .watch-container.theater-mode .watch-video-container video,
            .watch-container.theater-mode .watch-video-container iframe {
                position: relative;
                height: 100%;
                background: #000;
            }
            .watch-container.theater-mode .info, .watch-container.theater-mode .watch-info,
            .watch-container.theater-mode #comments-section, .watch-container.theater-mode #watch-comments-section, .watch-container.theater-mode .watch-comments-container,
            .watch-container.theater-mode .sidebar, .watch-container.theater-mode .watch-sidebar {
                max-width: 1400px;
                margin-left: auto;
                margin-right: auto;
                padding: 20px;
                box-sizing: border-box;
            }
            .watch-container.theater-mode .sidebar, .watch-container.theater-mode .watch-sidebar { flex: 1 1 100%; padding-top: 0; }
            .watch-container.theater-mode .sidebar #suggestions, .watch-container.theater-mode .watch-sidebar #watch-suggestions {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 15px;
            }
        }

    /* Light Mode */
    body.light-mode { background: #f4f7f6; color: #333; }
    body.light-mode .navbar { background: rgba(255,255,255,0.9); border-bottom-color: #ddd; }
    body.light-mode .navbar a, body.light-mode .navbar .theme-btn { color: #333 !important; }
    body.light-mode .title, body.light-mode .watch-title { color: #333 !important; }
    body.light-mode .author-info strong, body.light-mode .watch-author-info strong { color: #333 !important; }
    body.light-mode .suggestion-info h4, body.light-mode .watch-suggestion-info h4 { color: #333 !important; }
    body.light-mode .comment-author { color: #333 !important; }
    
    body.light-mode .desc-box, body.light-mode .watch-desc-box { background: transparent !important; border-color: #ddd !important; color: #444 !important; }
    body.light-mode .suggestion-card, body.light-mode .watch-suggestion-card { background: transparent !important; border-color: #ddd !important; }
    body.light-mode .suggestion-card:hover, body.light-mode .watch-suggestion-card:hover { background: #f0f0f0 !important; }
    
    body.light-mode #comments-section > div, body.light-mode #watch-comments-section > div { background: transparent !important; border-color: transparent !important; }
    body.light-mode #comments-section h3, body.light-mode #watch-comments-section h3 { color: #333 !important; border-bottom-color: #ddd !important; }
    
    body.light-mode #comment-input, body.light-mode .watch-comment-input-class, body.light-mode .reply-input-container input { background: #f0f0f0 !important; color: #333 !important; border-color: #ccc !important; }
    
    body.light-mode .btn { background: rgba(0,0,0,0.05) !important; color: #333 !important; }
    body.light-mode .btn:hover { background: rgba(0,0,0,0.1) !important; }
    body.light-mode .btn[id^="like-btn"] i.lucide-fill { color: #ff0050 !important; }
    
    /* Universal white text overrides */
    body.light-mode [style*="color: #fff"], 
    body.light-mode [style*="color: white"],
    body.light-mode [style*="color:#fff"], 
    body.light-mode [style*="color:white"],
    body.light-mode [style*="color: #ffffff"],
    body.light-mode [style*="color:#ffffff"],
    body.light-mode [style*="color: #eee"],
    body.light-mode [style*="color:#eee"],
    body.light-mode [style*="color: #ddd"],
    body.light-mode [style*="color:#ddd"] {
        color: #333 !important;
    }
    body.light-mode .video-container [style*="color"],
    body.light-mode .watch-video-container [style*="color"],
    body.light-mode .video-container button,
    body.light-mode .watch-video-container button,
    body.light-mode .time-display {
        color: #fff !important; /* Keep video player controls white */
    }
    
    body.light-mode .theme-dropdown { background: rgba(255,255,255,0.95) !important; border-color: #ddd !important; color: #333 !important; }
    body.light-mode .theme-option { border-color: #eee !important; color: #333 !important; }
    body.light-mode .theme-option:hover { background: rgba(0,0,0,0.05) !important; }
    
    body.light-mode .comment-wrapper { border-color: #ddd !important; }
    body.light-mode .comment-actions { color: #666 !important; }
    body.light-mode .comment-action-btn { color: #666 !important; }
    body.light-mode .comment-action-btn:hover { color: #333 !important; }

    /* 5 New Futuristic Themes */
    body.cyberpunk-mode { background: radial-gradient(circle at top right, #501b87, #130321); color: #e2e8f0; }
    body.cyberpunk-mode .navbar { border-bottom-color: rgba(255, 0, 124, 0.2); }
    body.cyberpunk-mode .title, body.cyberpunk-mode .watch-title { color: #00f0ff !important; }
    body.cyberpunk-mode .btn { background: linear-gradient(135deg, #ff007c, #7000ff); color: #fff; border: none; }
    
    body.matrix-mode { background: radial-gradient(circle at top, #004d00, #021a02); color: #e2e8f0; }
    body.matrix-mode .navbar { border-bottom-color: rgba(0, 255, 65, 0.2); }
    body.matrix-mode .title, body.matrix-mode .watch-title { color: #00ff41 !important; }
    body.matrix-mode .btn { background: linear-gradient(135deg, #008f11, #00ff41); color: #000; border: none; font-weight: bold; }
    
    body.ocean-mode { background: radial-gradient(circle at top left, #005f8a, #011b2e); color: #e2e8f0; }
    body.ocean-mode .navbar { border-bottom-color: rgba(0, 180, 216, 0.2); }
    body.ocean-mode .title, body.ocean-mode .watch-title { color: #90e0ef !important; }
    body.ocean-mode .btn { background: linear-gradient(135deg, #0077b6, #00b4d8); color: #fff; border: none; }
    
    body.dracula-mode { background: #32354b; color: #f8f8f2; }
    body.dracula-mode .navbar { border-bottom-color: rgba(255, 121, 198, 0.2); }
    body.dracula-mode .title, body.dracula-mode .watch-title { color: #ff79c6 !important; }
    body.dracula-mode .btn { background: linear-gradient(135deg, #bd93f9, #ff79c6); color: #fff; border: none; }
    
    body.solar-mode { background: radial-gradient(circle at center, #6b1426, #1a0a24); color: #e2e8f0; }
    body.solar-mode .navbar { border-bottom-color: rgba(255, 186, 8, 0.2); }
    body.solar-mode .title, body.solar-mode .watch-title { color: #ffba08 !important; }
    body.solar-mode .btn { background: linear-gradient(135deg, #dc2f02, #ffba08); color: #fff; border: none; }

        /* Mobile specific sticky player */
        @media (max-width: 768px) {
            .watch-container {
                padding-top: 0;
                padding-left: 0;
                padding-right: 0;
                gap: 0;
            }
            .video-container, .watch-video-container {
                position: sticky !important;
                top: 56px !important;
                z-index: 95 !important;
                border-radius: 0 !important;
                border-left: none !important;
                border-right: none !important;
                border-top: none !important;
                box-shadow: none !important;
                width: 100% !important;
                max-width: 100% !important;
            }
            .info, #comments-section, .sidebar, .watch-info, #watch-comments-section, .watch-sidebar {
                padding-left: 15px;
                padding-right: 15px;
                box-sizing: border-box;
            }
        }
