        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #222;
            overflow: hidden;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
            height: 100vh;
            height: 100dvh;
        }

        /* SCROLL CONTAINER */
        #reels {
            height: 100vh;
            height: 100dvh;
            overflow-y: scroll;
            scroll-snap-type: y mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        #reels::-webkit-scrollbar { display: none; }

        .section {
            height: 100vh;
            height: 100dvh;
            scroll-snap-align: start;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            background: #222;
            overflow: hidden;
        }

        .reel-box {
            width: 100%;
            max-width: 450px; /* Mobile portrait width */
            height: calc(100vh - 120px);
            background: #000;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 12px; /* Premium slightly rounded corners on desktop */
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
        }

        .reel-box iframe {
            position: absolute;
            top: -80px; /* Push iframe up to hide YT title */
            left: 0;
            width: 100%;
            height: calc(100% + 160px); /* Increase height so video stays centered */
            border: none;
            pointer-events: none; /* Hide YouTube hover UI and title */
            z-index: 1;
            transform: scale(1.35); /* Zoom in to crop/hide YouTube branding & watermark */
            transform-origin: center center;
        }

        .player-poster {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 2; /* Sits above the iframe (1) but below the overlays (10) */
            pointer-events: none; /* Let clicks pass through to the overlay-ui */
            transition: opacity 0.3s ease, visibility 0.3s ease;
            opacity: 1;
            visibility: visible;
        }

        /* OVERLAY UI */
        .overlay-ui {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10;
            pointer-events: auto; /* Capture wheel and clicks */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .overlay-ui > * {
            pointer-events: auto;
        }

        /* HEADER */
        .header-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 20px 40px;
            background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
            border-radius: 12px 12px 0 0;
        }
        
        .header-logo {
            display: flex;
            align-items: center;
        }
        .header-logo img {
            height: 32px;
            object-fit: contain;
        }

        .btn-read-news {
            border: 1.5px solid rgba(255,255,255,0.7);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            text-decoration: none;
            backdrop-filter: blur(4px);
            font-weight: 600;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .btn-read-news:hover {
            background: rgba(255,255,255,0.2);
            color: #fff;
        }

        /* SIDEBAR */
        .sidebar {
            position: absolute;
            right: 16px;
            bottom: 150px;
            display: flex;
            flex-direction: column;
            gap: 24px;
            align-items: center;
        }

        .side-btn {
            background: rgba(255,255,255,0.15);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            backdrop-filter: blur(8px);
            text-decoration: none;
            transition: 0.3s;
            position: relative;
        }
        .side-btn:hover { background: rgba(255,255,255,0.3); }

        .side-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            color: white;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            text-align: center;
        }
        .side-action .icon-circle {
            background: rgba(0,0,0,0.6);
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: 0.3s;
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .side-action:hover .icon-circle { background: rgba(0,0,0,0.9); border-color: rgba(255,255,255,0.3); }

        /* BOTTOM FOOTER */
        .footer-bar {
            background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.4) 80%, transparent 100%);
            padding: 40px 20px 20px;
            width: 100%;
        }

        .video-title {
            color: white;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.5;
            margin-bottom: 16px;
            text-shadow: 0 1px 4px rgba(0,0,0,0.8);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            padding-right: 60px; /* Leave space so it doesn't overlap sidebar */
        }

        /* CUSTOM CONTROLS */
        .controls-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }
        
        .time-display {
            color: rgba(255,255,255,0.9);
            font-size: 12px;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .center-controls {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .btn-control {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, color 0.2s;
        }
        .btn-control:hover {
            color: #e44d26;
            transform: scale(1.1);
        }
        
        #btnPlayPause {
            font-size: 26px;
        }

        .btn-speed {
            background: transparent;
            color: white;
            border: none;
            font-size: 13px;
            cursor: pointer;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: color 0.2s;
        }
        .btn-speed:hover { color: #e44d26; }

        /* PROGRESS BAR */
        .progress-container {
            width: 100%;
            height: 6px;
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
        }
        .progress-bar-fill {
            height: 100%;
            background: #e44d26; /* Brand color */
            width: 0%;
            border-radius: 3px;
            position: relative;
            transition: width 0.1s linear;
        }
        .progress-bar-thumb {
            position: absolute;
            right: -6px;
            top: -3px;
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 0 6px rgba(0,0,0,0.5);
            /* display: none; */
        }
        /* .progress-container:hover .progress-bar-thumb { display: block; } */

        /* BACK BUTTON ON BIG SCREEN */
        .desktop-back {
            position: fixed;
            top: 24px;
            left: 24px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            z-index: 999;
            font-size: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            transition: 0.3s;
        }
        .desktop-back:hover {
            background: rgba(255,255,255,0.3);
        }

        .google-news-btn { 
            display: none;
        }

        .desktop-nav-arrows {
            position: fixed;
            right: 40px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 16px;
            z-index: 999;
        }
        .desktop-arrow { 
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            transition: 0.2s;
        }
        .desktop-arrow:hover {
            background: #fff;
            transform: scale(1.05);
        }

        .external-title {
            color: #ffffffff;
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            padding: 16px 20px;
            /* max-width: 450px; */
            width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }

        .category-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(0,0,0,0.6);
            border: 1px solid rgba(255,255,255,0.4);
            color: white;
            font-size: 13px;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 20px;
            text-decoration: none;
            backdrop-filter: blur(4px);
            align-self: flex-start;
            margin-bottom: 4px;
            transition: 0.2s;
        }
        .category-badge:hover {
            background: rgba(255,255,255,0.3);
        }

        /* ANIMATIONS */
        @keyframes slideOutUp {
            from { transform: translateY(0); opacity: 1; }
            to { transform: translateY(-100%); opacity: 0; }
        }

        @keyframes slideOutDown {
            from { transform: translateY(0); opacity: 1; }
            to { transform: translateY(100vh); opacity: 0; }
        }
        
        @keyframes slideInUp {
            from { transform: translateY(100vh); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        @keyframes slideInDown {
            from { transform: translateY(-100vh); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .anim-slide-out-up {
            animation: slideOutUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .anim-slide-out-down {
            animation: slideOutDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        
        .anim-slide-in-up {
            animation: slideInUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        
        .anim-slide-in-down {
            animation: slideInDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        /* Responsive */
        @media (max-width: 800px) {
            .desktop-nav-arrows { display: none; }
            .external-title { display: none; }
            .reel-box { height: 100vh; height: 100dvh; border-radius: 0; }
            .header-logo img { height: 24px; }
            .header-logo span { font-size: 16px !important; }
            .footer-bar { padding-bottom: max(30px, env(safe-area-inset-bottom, 30px)) !important; }
            .header-bar { padding-top: max(20px, env(safe-area-inset-top, 20px)) !important; }
        }
        @media (max-width: 500px) {
            .reel-box { max-width: 100%; }
        }
