        /* ============================================================
           WATCH PAGE (YOUTUBE-STYLE GRID & CUSTOM PLAYER)
           ============================================================ */
        .watch-page-container {
            max-width: 1480px;
            margin: 0 auto;
            width: 100%;
        }

        .watch-layout-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 390px;
            grid-template-areas:
                "player   playlist"
                "info     playlist"
                "lavhalar playlist";
            gap: 24px;
            align-items: start;
        }

        .grid-player   { grid-area: player; min-width: 0; }
        .grid-info     { grid-area: info; min-width: 0; }
        .grid-playlist { grid-area: playlist; min-width: 0; }
        .grid-lavha    { grid-area: lavhalar; min-width: 0; }

        /* ============================================================
           CUSTOM VIDEO PLAYER (DIZIZONA BRAND PLAYER)
           ============================================================ */
        .custom-player {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #000000;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
            user-select: none;
            -webkit-user-select: none;
        }

        .custom-player.fullscreen {
            border-radius: 0 !important;
            max-width: 100vw !important;
            max-height: 100vh !important;
            width: 100vw !important;
            height: 100vh !important;
        }

        .custom-video-element {
            width: 100%;
            height: 100%;
            background: #000;
            object-fit: contain;
            display: block;
            cursor: pointer;
        }

        /* Markaziy Boshqaruv Tugmalari (Faqat mobilda touch paytida yoki pausa holatida) */
        .center-controls-overlay {
            position: absolute;
            inset: 0;
            display: none !important;
            align-items: center;
            justify-content: center;
            gap: 28px;
            pointer-events: none;
            z-index: 5;
            transition: opacity 0.3s ease;
            opacity: 0;
        }

        /* Mobilda faqat ekranga bosilganda ko'rinadi */
        @media (max-width: 900px) {
            .center-controls-overlay {
                display: flex !important;
            }
        }

        .center-controls-overlay.active-touch {
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        .custom-player.hide-controls .center-controls-overlay {
            opacity: 0 !important;
            pointer-events: none !important;
        }

        .center-circle-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(14, 16, 24, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            cursor: pointer;
            pointer-events: auto;
            transition: var(--transition);
            backdrop-filter: blur(6px);
        }

        .center-circle-btn:hover {
            background: rgba(229, 9, 20, 0.85);
            transform: scale(1.1);
            border-color: transparent;
        }

        .center-circle-btn.center-play-main {
            width: 68px;
            height: 68px;
            background: var(--primary-gradient);
            border: none;
            box-shadow: 0 0 25px var(--primary-red-glow);
        }

        .center-circle-btn.center-play-main:hover {
            transform: scale(1.12);
        }

        .center-circle-btn .svg-icon {
            width: 24px;
            height: 24px;
        }

        .center-circle-btn.center-play-main .svg-icon {
            width: 28px;
            height: 28px;
            margin-left: 2px;
        }

        /* 10s Double Tap indicator */
        .double-tap-ripple {
            position: absolute;
            top: 0;
            bottom: 60px;
            width: 40%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            background: rgba(229, 9, 20, 0.16);
            backdrop-filter: blur(4px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
            z-index: 6;
        }

        .double-tap-ripple.left {
            left: 0;
            border-top-right-radius: 50%;
            border-bottom-right-radius: 50%;
        }

        .double-tap-ripple.right {
            right: 0;
            border-top-left-radius: 50%;
            border-bottom-left-radius: 50%;
        }

        .double-tap-ripple.active {
            opacity: 1;
        }

        /* Player Controls Layer (100% pastda - Bottom Pinned) */
        .player-controls-layer {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to top,
                rgba(0, 0, 0, 0.95) 0%,
                rgba(0, 0, 0, 0.5) 25%,
                rgba(0, 0, 0, 0.05) 50%,
                transparent 70%
            );
            display: flex;
            flex-direction: column;
            justify-content: flex-end !important;
            padding: 10px 14px;
            opacity: 1;
            transition: opacity 0.3s ease;
            z-index: 10;
            pointer-events: none;
        }

        .custom-player.fullscreen .player-controls-layer {
            background: linear-gradient(
                to top,
                rgba(0, 0, 0, 0.95) 0%,
                rgba(0, 0, 0, 0.5) 25%,
                transparent 55%,
                rgba(0, 0, 0, 0.75) 100%
            );
            justify-content: space-between !important;
        }

        .custom-player.hide-controls .player-controls-layer {
            opacity: 0;
            pointer-events: none;
        }

        .custom-player.hide-controls {
            cursor: none;
        }

        /* Top Title Bar - FAQAT TO'LIQ EKRANDA (Fullscreen) ko'rinadi */
        .player-top-bar {
            display: none !important;
        }

        .custom-player.fullscreen .player-top-bar {
            display: flex !important;
            align-items: center;
            justify-content: space-between;
            padding: 4px 6px;
            margin-bottom: auto !important;
            pointer-events: auto;
        }

        .player-top-title {
            color: #ffffff;
            font-size: 15px;
            font-weight: 700;
            text-shadow: 0 2px 6px rgba(0,0,0,0.9);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Bottom Controls Bar (Doimo videoning eng ostida) */
        .player-bottom-bar {
            display: flex;
            flex-direction: column;
            gap: 6px;
            width: 100%;
            margin-top: auto !important;
            pointer-events: auto;
        }

        /* Timeline / Scrub Bar */
        .player-timeline-container {
            position: relative;
            height: 16px;
            display: flex;
            align-items: center;
            cursor: pointer;
            padding: 4px 0;
        }

        .player-timeline-bg {
            position: relative;
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.22);
            border-radius: 3px;
            transition: height 0.15s ease;
        }

        .player-timeline-container:hover .player-timeline-bg {
            height: 6.5px;
        }

        .player-buffered-bar {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 0%;
            background: rgba(255, 255, 255, 0.38);
            border-radius: 3px;
            pointer-events: none;
        }

        .player-progress-bar {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 0%;
            background: var(--primary-gradient);
            border-radius: 3px;
            pointer-events: none;
        }

        .player-scrubber-head {
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%) scale(0);
            width: 13px;
            height: 13px;
            background: #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(229, 9, 20, 0.9);
            transition: transform 0.15s ease;
        }

        .player-timeline-container:hover .player-scrubber-head {
            transform: translateY(-50%) scale(1);
        }

        .player-time-tooltip {
            position: absolute;
            bottom: 22px;
            transform: translateX(-50%);
            background: rgba(14, 15, 21, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #ffffff;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 4px;
            pointer-events: none;
            display: none;
            white-space: nowrap;
        }

        /* Buttons Row */
        .player-buttons-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .ctrl-group-left, .ctrl-group-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ctrl-btn {
            background: transparent;
            border: none;
            color: #ffffff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px;
            border-radius: 6px;
            transition: var(--transition);
            line-height: 1;
        }

        .ctrl-btn:hover {
            color: var(--primary-red);
            background: rgba(255, 255, 255, 0.1);
        }

        .ctrl-btn .svg-icon {
            width: 20px;
            height: 20px;
        }

        /* Ovoz (Volume) Slider */
        .volume-control-wrap {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .volume-slider-box {
            width: 0;
            overflow: hidden;
            transition: width 0.22s ease;
            display: flex;
            align-items: center;
        }

        .volume-control-wrap:hover .volume-slider-box {
            width: 60px;
        }

        .volume-slider {
            width: 55px;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            outline: none;
            cursor: pointer;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ffffff;
            cursor: pointer;
        }

        /* Vaqt matni */
        .ctrl-time-text {
            color: #cbd5e1;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

        .time-divider {
            color: #64748b;
            margin: 0 3px;
        }

        /* Sifat va Tezlik Popover Menyulari */
        .quality-dropdown-wrap, .speed-dropdown-wrap {
            position: relative;
        }

        .quality-badge, .speed-badge {
            font-size: 11.5px;
            font-weight: 800;
            background: rgba(255, 255, 255, 0.12);
            padding: 3px 8px;
            border-radius: 5px;
            letter-spacing: 0.5px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .quality-menu-popup, .speed-menu-popup {
            position: absolute;
            bottom: 40px;
            right: 0;
            background: rgba(18, 20, 28, 0.98);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            padding: 8px;
            display: none;
            flex-direction: column;
            gap: 3px;
            min-width: 135px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
            z-index: 25;
        }

        .quality-menu-popup.active, .speed-menu-popup.active {
            display: flex;
        }

        .quality-menu-header {
            font-size: 10.5px;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding: 4px 8px 6px 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            margin-bottom: 2px;
        }

        .quality-opt-btn, .speed-opt-btn {
            background: transparent;
            border: none;
            color: #e2e8f0;
            font-size: 12.5px;
            font-weight: 600;
            padding: 7px 10px;
            border-radius: 6px;
            text-align: left;
            cursor: pointer;
            transition: var(--transition);
        }

        .quality-opt-btn:hover, .speed-opt-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
        }

        .quality-opt-btn.active, .speed-opt-btn.active {
            background: rgba(229, 9, 20, 0.18);
            color: #ff4a68;
            font-weight: 700;
        }

        /* ============================================================
           VIP QULFLANGAN EKRAN VA HERO BANNER (BACKDROP BILAN)
           ============================================================ */
        .vip-locked-hero {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            min-height: 220px;
            max-height: 480px;
            background: #0b0c10;
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
            user-select: none;
            -webkit-user-select: none;
        }

        .vip-locked-backdrop-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            filter: brightness(0.45);
            transform: scale(1.02);
            transition: transform 0.6s ease;
        }

        .vip-locked-overlay {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px 16px;
            width: 100%;
            max-width: 540px;
            background: radial-gradient(circle at center, rgba(11, 12, 16, 0.65) 0%, rgba(11, 12, 16, 0.9) 100%);
            border-radius: var(--radius-lg);
            margin: auto;
        }

        .vip-hero-crown {
            color: #fbbf24;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.65));
            animation: crownFloat 2.8s ease-in-out infinite alternate;
        }

        .vip-hero-crown .svg-icon {
            width: 44px;
            height: 44px;
        }

        @keyframes crownFloat {
            0% { transform: translateY(0); filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.5)); }
            100% { transform: translateY(-4px); filter: drop-shadow(0 0 22px rgba(251, 191, 36, 0.85)); }
        }

        .vip-hero-badge {
            background: rgba(251, 191, 36, 0.2);
            color: #fde047;
            border: 1px solid rgba(251, 191, 36, 0.45);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            padding: 3px 12px;
            border-radius: var(--radius-pill);
            margin-bottom: 10px;
        }

        .vip-hero-timer-box {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(14, 16, 24, 0.85);
            border: 1px solid rgba(251, 191, 36, 0.4);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            padding: 8px 18px;
            border-radius: var(--radius-pill);
            color: #ffffff;
            font-size: 13.5px;
            font-weight: 600;
            margin-bottom: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        }

        .vip-hero-timer-icon {
            color: #fbbf24;
            display: inline-flex;
        }

        .vip-hero-timer-icon .svg-icon {
            width: 16px;
            height: 16px;
        }

        .vip-hero-timer-txt strong {
            color: #fde047;
            font-weight: 800;
        }

        .vip-hero-sub {
            color: #cbd5e1;
            font-size: 12px;
            margin-bottom: 16px;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
            max-width: 440px;
            line-height: 1.4;
        }

        .vip-hero-cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 26px;
            background: var(--primary-gradient);
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            border-radius: var(--radius-pill);
            box-shadow: 0 4px 20px var(--primary-red-glow);
            text-decoration: none;
            transition: var(--transition);
        }

        .vip-hero-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 26px rgba(229, 9, 20, 0.7);
            color: #ffffff;
        }

        /* ============================================================
           TELEGRAM MEHMON UCHUN BLOKLASH EKRANI (GUEST AUTH HERO)
           ============================================================ */
        .guest-auth-player-hero {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            min-height: 300px;
            max-height: 540px;
            background: #090b10;
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
            user-select: none;
            -webkit-user-select: none;
        }

        .guest-auth-backdrop-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            filter: brightness(0.25) blur(10px);
            transform: scale(1.08);
            pointer-events: none;
        }

        .guest-auth-overlay {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 22px 18px;
            width: 92%;
            max-width: 520px;
            background: radial-gradient(circle at center, rgba(14, 18, 28, 0.82) 0%, rgba(9, 11, 16, 0.96) 100%);
            border: 1px solid rgba(56, 189, 248, 0.28);
            border-radius: var(--radius-lg);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 136, 204, 0.2);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            margin: auto;
        }

        .guest-auth-icon-wrap {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            box-shadow: 0 0 25px rgba(0, 136, 204, 0.6);
            animation: tgHeroPulse 2.5s infinite ease-in-out;
        }

        .guest-auth-icon-wrap .svg-icon {
            width: 32px;
            height: 32px;
            transform: translate(-1px, 1px);
        }

        @keyframes tgHeroPulse {
            0% { transform: scale(1); box-shadow: 0 0 16px rgba(0, 136, 204, 0.5); }
            50% { transform: scale(1.06); box-shadow: 0 0 30px rgba(0, 136, 204, 0.85); }
            100% { transform: scale(1); box-shadow: 0 0 16px rgba(0, 136, 204, 0.5); }
        }

        .guest-auth-badge {
            background: rgba(56, 189, 248, 0.15);
            color: #38bdf8;
            border: 1px solid rgba(56, 189, 248, 0.4);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            padding: 3px 12px;
            border-radius: var(--radius-pill);
            margin-bottom: 8px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .guest-auth-title {
            color: #ffffff;
            font-size: 19px;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 6px;
        }

        .guest-auth-desc {
            color: #cbd5e1;
            font-size: 13px;
            line-height: 1.45;
            margin-bottom: 16px;
            max-width: 440px;
        }

        .btn-tg-auth-hero {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, #0088cc 0%, #0099e6 100%);
            color: #ffffff !important;
            font-size: 14.5px;
            font-weight: 700;
            padding: 11px 24px;
            border-radius: var(--radius-pill);
            text-decoration: none;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 18px rgba(0, 136, 204, 0.45);
            transition: all 0.25s ease;
        }

        .btn-tg-auth-hero:hover {
            background: linear-gradient(135deg, #0099e6 0%, #29b6f6 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 26px rgba(0, 136, 204, 0.7);
        }

        .btn-tg-auth-hero .svg-icon {
            width: 20px;
            height: 20px;
        }

        /* Polling & Waiting Status Box */
        .auth-polling-status {
            margin-top: 12px;
            padding: 8px 14px;
            background: rgba(0, 0, 0, 0.45);
            border: 1px solid rgba(56, 189, 248, 0.25);
            border-radius: var(--radius-md);
            font-size: 12px;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            max-width: 380px;
        }

        .auth-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(56, 189, 248, 0.25);
            border-top-color: #38bdf8;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            flex-shrink: 0;
        }

        .auth-polling-success {
            background: rgba(34, 197, 94, 0.15) !important;
            border-color: rgba(34, 197, 94, 0.4) !important;
            color: #4ade80 !important;
            font-weight: 700;
        }

        .vip-lock-screen {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .vip-lock-glass {
            position: absolute;
            inset: 0;
            background: rgba(10, 11, 16, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 24px;
        }

        .vip-lock-crown {
            color: #fbbf24;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.5));
        }

        .vip-lock-crown .svg-icon {
            width: 44px;
            height: 44px;
        }

        .vip-lock-title {
            color: #ffffff;
            font-size: 21px;
            font-weight: 800;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .vip-countdown-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(90deg, rgba(229, 9, 20, 0.25) 0%, rgba(251, 191, 36, 0.25) 100%);
            border: 1px solid rgba(251, 191, 36, 0.4);
            padding: 8px 18px;
            border-radius: var(--radius-pill);
            color: #fef08a;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .vip-lock-desc {
            color: #cbd5e1;
            font-size: 13px;
            max-width: 460px;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .vip-lock-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: var(--primary-gradient);
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            border-radius: var(--radius-pill);
            box-shadow: 0 4px 20px var(--primary-red-glow);
            transition: var(--transition);
        }

        .vip-lock-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 26px rgba(229, 9, 20, 0.7);
        }

        /* ============================================================
           VIDEO MA'LUMOTLARI VA TUGMALAR
           ============================================================ */
        .watch-info-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 14px;
        }

        .watch-main-title {
            font-size: 19px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.35;
        }

        .watch-channel-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .channel-info-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .channel-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid rgba(255, 255, 255, 0.12);
        }

        .channel-name {
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
        }

        .channel-sub {
            font-size: 12px;
            color: var(--text-secondary);
        }

        /* 3 ta bir xil zamonaviy qora shishasimon harakat tugmalari */
        .watch-actions-row {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
        }

        .watch-action-pill {
            flex: 1;
            height: 38px;
            border-radius: var(--radius-pill);
            background: #181a24;
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #e2e8f0;
            font-size: 12.5px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
            transition: var(--transition);
            text-decoration: none;
            box-sizing: border-box;
        }

        .watch-action-pill:hover {
            color: #ffffff;
            background: #222534;
            border-color: rgba(255, 255, 255, 0.18);
        }

        .watch-action-pill .svg-icon {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        /* Qisqartirilgan tavsif satri */
        .desc-compact-bar {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            padding: 8px 12px;
            font-size: 12px;
            color: #94a3b8;
            line-height: 1.45;
        }

        .desc-text-line {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: all 0.2s ease;
        }

        .desc-text-line.expanded {
            display: block;
            -webkit-line-clamp: unset;
        }

        .desc-more-link {
            color: #ffffff;
            font-weight: 700;
            cursor: pointer;
            margin-top: 4px;
            display: inline-block;
            font-size: 11.5px;
        }

        .desc-more-link:hover {
            color: var(--primary-red);
        }

        /* VIP Xabarnoma qutisi (Pleyer ostida) */
        .vip-countdown-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            background: linear-gradient(135deg, rgba(34, 9, 14, 0.95) 0%, rgba(18, 4, 7, 0.95) 100%);
            border: 1px solid #5c1422;
            border-radius: var(--radius-lg);
            padding: 12px 16px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        .vip-banner-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .vip-banner-icon {
            color: #fbbf24;
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .vip-banner-icon .svg-icon {
            width: 28px;
            height: 28px;
        }

        .vip-banner-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .vip-banner-title {
            color: #ffffff;
            font-size: 13.5px;
            font-weight: 700;
        }

        .vip-banner-desc {
            color: #fca5a5;
            font-size: 11.5px;
            line-height: 1.4;
        }

        .vip-banner-btn {
            flex-shrink: 0;
            padding: 8px 18px;
            background: var(--primary-gradient);
            color: #ffffff;
            font-size: 12px;
            font-weight: 700;
            border-radius: var(--radius-pill);
            box-shadow: 0 4px 14px var(--primary-red-glow);
            transition: var(--transition);
        }

        .vip-banner-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(229, 9, 20, 0.65);
        }

        /* ============================================================
           QISMLAR PLEYLISTI (YOUTUBE PLAYLIST UI)
           ============================================================ */
        .playlist-sidebar-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: sticky;
            top: 80px;
            max-height: calc(100vh - 100px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        .playlist-header {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border-color);
            background: #151722;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

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

        .playlist-title {
            font-size: 15.5px;
            font-weight: 800;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .playlist-counter-badge {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-secondary);
            font-size: 11px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 99px;
        }

        /* Saralash tugmasi (Sort: 1..N / N..1) */
        .playlist-sort-btn {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: #1e212f;
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #e2e8f0;
            font-size: 11.5px;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: var(--radius-pill);
            transition: var(--transition);
            cursor: pointer;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .playlist-sort-btn:hover {
            background: #272a3c;
            border-color: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        .playlist-sort-btn:hover {
            background: #272a3c;
            border-color: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        /* Tarjimalar / Ovozlar qatori (Filter tabs) */
        .playlist-vo-bar {
            display: flex;
            align-items: center;
            gap: 6px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 2px;
            -webkit-overflow-scrolling: touch;
        }

        .playlist-vo-bar::-webkit-scrollbar {
            display: none;
        }

        .vo-tab-pill {
            padding: 5px 12px;
            border-radius: var(--radius-pill);
            background: #181a25;
            color: var(--text-secondary);
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition);
            cursor: pointer;
        }

        .vo-tab-pill:hover {
            background: #202333;
            color: #ffffff;
        }

        .vo-tab-pill.active {
            background: var(--primary-gradient);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 2px 8px var(--primary-red-glow);
        }

        /* Qismlar ro'yxati */
        .playlist-items-scroll {
            overflow-y: auto;
            padding: 8px 10px;
            display: flex;
            flex-direction: column;
            gap: 7px;
            flex: 1;
            scrollbar-width: thin;
            scrollbar-color: #2b2e3d transparent;
            box-sizing: border-box;
            width: 100%;
        }

        /* QISM KARTASI (Har doim 100% bir xil balandlikda, to'liq to'ldirilgan) */
        .ep-card-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 7px 10px;
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
            position: relative;
            box-sizing: border-box;
            width: 100%;
            height: 64px;
            min-height: 64px;
            max-height: 64px;
            overflow: hidden;
        }

        .ep-card-item:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.1);
        }

        .ep-card-item.active {
            background: linear-gradient(90deg, rgba(229, 9, 20, 0.18) 0%, rgba(20, 22, 32, 0.88) 100%) !important;
            border: 1px solid rgba(229, 9, 20, 0.35) !important;
            border-left: 3.5px solid var(--primary-red) !important;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
        }

        .ep-card-thumb-wrap {
            position: relative;
            width: 88px;
            min-width: 88px;
            height: 50px;
            border-radius: 6px;
            overflow: hidden;
            background: #000;
            flex-shrink: 0;
        }

        .ep-card-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .ep-card-num-badge {
            position: absolute;
            top: 3px;
            left: 3px;
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            font-size: 9.5px;
            font-weight: 700;
            padding: 1px 5px;
            border-radius: 3px;
            z-index: 2;
        }

        .ep-card-dur-badge {
            position: absolute;
            bottom: 3px;
            right: 3px;
            background: rgba(0, 0, 0, 0.82);
            color: #fff;
            font-size: 9px;
            font-weight: 600;
            padding: 1px 4px;
            border-radius: 3px;
            z-index: 2;
        }

        /* Equalizer animatsiyasi (Aktiv qism thumbnailida) */
        .ep-playing-thumb-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.45);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            z-index: 1;
        }

        .ep-play-pulsar {
            display: flex;
            align-items: flex-end;
            gap: 2.5px;
            height: 14px;
            padding: 0 3px;
        }

        .eq-col {
            width: 3px;
            background: var(--primary-red);
            border-radius: 2px;
            animation: eqPulse 0.9s ease-in-out infinite alternate;
        }

        .eq-1 { height: 50%; animation-delay: 0.1s; }
        .eq-2 { height: 100%; animation-delay: 0.35s; }
        .eq-3 { height: 40%; animation-delay: 0.2s; }

        @keyframes eqPulse {
            0% { height: 25%; }
            100% { height: 100%; }
        }

        /* QISM MATNLARI (O'rtada chiroyli to'ldiriladi) */
        .ep-card-details {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 3px;
            overflow: hidden;
        }

        .ep-card-title {
            font-size: 13.5px;
            font-weight: 700;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.25;
        }

        .ep-card-item.active .ep-card-title {
            color: #ffffff !important;
            font-weight: 800;
        }

        .ep-card-meta {
            font-size: 11px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }

        .ep-meta-dot {
            opacity: 0.5;
        }

        /* O'NG TOMON: Aniq 28px o'lchamli, hech qachon ekrandan chiqmaydi */
        .ep-card-right-action {
            width: 28px;
            min-width: 28px;
            height: 28px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
        }

        .ep-active-indicator {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: rgba(229, 9, 20, 0.2);
            border: 1px solid rgba(229, 9, 20, 0.45);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ff5470;
            box-shadow: 0 0 10px rgba(229, 9, 20, 0.35);
        }

        .ep-active-indicator .svg-icon {
            width: 11px;
            height: 11px;
            margin-left: 1px;
        }

        .ep-play-arrow {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            transition: var(--transition);
        }

        .ep-play-arrow .svg-icon {
            width: 10px;
            height: 10px;
            margin-left: 1px;
        }

        .ep-card-item:hover .ep-play-arrow {
            background: var(--primary-red);
            border-color: var(--primary-red);
            color: #ffffff;
            box-shadow: 0 0 8px var(--primary-red-glow);
        }

        .ep-status-icon {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ep-status-icon.vip {
            color: #fbbf24;
            filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
        }

        .ep-status-icon.vip .svg-icon {
            width: 16px;
            height: 16px;
        }

        .ep-status-icon.timer {
            color: #ff94a4;
        }

        .ep-status-icon.timer .svg-icon {
            width: 15px;
            height: 15px;
        }

        /* ============================================================
           MOBIL MOSLASHUVCHANLIK (YOUTUBE KABI TARTIB)
           ============================================================ */
        @media (max-width: 900px) {
            .watch-layout-grid {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }

            .content-wrapper {
                padding: 0 0 30px 0 !important;
            }

            /* 1. Pleyer mobil ekranda eng tepada butun eniga */
            .grid-player {
                order: 1;
            }

            .custom-player,
            .vip-locked-hero,
            .guest-auth-player-hero {
                border-radius: 0 !important;
                box-shadow: none !important;
            }

            .vip-locked-hero {
                min-height: 240px !important;
                aspect-ratio: auto !important;
                padding: 16px 10px !important;
                box-sizing: border-box !important;
            }

            .guest-auth-player-hero {
                min-height: 320px !important;
                height: auto !important;
                aspect-ratio: auto !important;
                padding: 24px 12px !important;
                box-sizing: border-box !important;
            }

            .guest-auth-overlay {
                width: 100% !important;
                max-width: 100% !important;
                padding: 16px 12px !important;
                box-sizing: border-box !important;
                margin: 0 !important;
            }

            .guest-auth-icon-wrap {
                width: 46px !important;
                height: 46px !important;
                margin-bottom: 8px !important;
            }

            .guest-auth-icon-wrap .svg-icon {
                width: 24px !important;
                height: 24px !important;
            }

            .guest-auth-badge {
                font-size: 10.5px !important;
                padding: 2px 10px !important;
                margin-bottom: 6px !important;
            }

            .guest-auth-title {
                font-size: 16px !important;
                line-height: 1.3 !important;
                margin-bottom: 6px !important;
                word-wrap: break-word !important;
                overflow-wrap: break-word !important;
            }

            .guest-auth-desc {
                font-size: 12px !important;
                line-height: 1.4 !important;
                margin-bottom: 14px !important;
                max-width: 100% !important;
            }

            .btn-tg-auth-hero {
                width: 100% !important;
                max-width: 320px !important;
                padding: 11px 16px !important;
                font-size: 13.5px !important;
                box-sizing: border-box !important;
            }

            .auth-polling-status {
                width: 100% !important;
                max-width: 320px !important;
                font-size: 11.5px !important;
                padding: 6px 10px !important;
                margin-top: 10px !important;
            }

            .vip-hero-crown .svg-icon {
                width: 36px;
                height: 36px;
            }

            .vip-hero-timer-box {
                padding: 6px 14px;
                font-size: 12px;
            }

            .vip-hero-sub {
                font-size: 11.5px;
                margin-bottom: 12px;
            }

            .vip-hero-cta-btn {
                padding: 9px 20px;
                font-size: 12.5px;
            }

            /* 2. Sarlavha va qisqartirilgan tavsif */
            .grid-info {
                order: 2;
                padding: 0 14px;
            }

            .watch-info-card {
                padding: 12px 14px !important;
                border-radius: 14px !important;
                margin-top: 0;
                gap: 10px;
            }

            .watch-main-title {
                font-size: 16px;
            }

            .watch-channel-row {
                padding-bottom: 8px;
            }

            /* 3. MOBILDA TAVSIF O'RNIGA QISMLAR PLELISTI CHIQADI */
            .grid-playlist {
                order: 3;
                padding: 0 14px;
            }

            .playlist-sidebar-card {
                position: static !important;
                max-height: none !important;
                border-radius: var(--radius-lg);
                width: 100% !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
            }

            .playlist-items-scroll {
                max-height: 480px;
                padding: 8px 10px !important;
                gap: 7px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .ep-card-item {
                padding: 7px 10px !important;
                gap: 10px !important;
                height: 64px !important;
                min-height: 64px !important;
                max-height: 64px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .ep-card-thumb-wrap {
                width: 88px !important;
                min-width: 88px !important;
                height: 50px !important;
            }

            /* 4. Qisqa lavhalar pastda */
            .grid-lavha {
                order: 4;
                padding: 0 14px;
            }

            .vip-countdown-banner {
                flex-direction: column;
                align-items: flex-start;
            }

            .vip-banner-btn {
                width: 100%;
                text-align: center;
                justify-content: center;
            }

            /* Mobilda kontrol tugmalarining o'lchami */
            .ctrl-group-left, .ctrl-group-right {
                gap: 6px;
            }

            .volume-control-wrap {
                display: none !important; /* Mobilda telefon tugmasi ishlatiladi */
            }
        }

        @media (max-width: 440px) {
            #ctrlRewind10, #ctrlForward10 {
                display: none !important; /* Mobilda markaziy doira va 2 marta bosish (double-tap) ishlaydi */
            }

            .watch-actions-row {
                gap: 6px;
            }

            .watch-action-pill {
                font-size: 11px !important;
                gap: 4px;
                padding: 0 4px;
                height: 36px;
            }

            .watch-action-pill .svg-icon {
                width: 14px;
                height: 14px;
            }

            .ctrl-time-text {
                font-size: 11px;
            }
        }

        /* Like / Sevimlilarda saqlanganda qizil yurak */
        .watch-action-pill.active {
            color: #ff4a68 !important;
            border-color: rgba(255, 74, 104, 0.4) !important;
            background: rgba(255, 74, 104, 0.12) !important;
        }

        .watch-action-pill.active .svg-icon {
            fill: #ff4a68;
            stroke: #ff4a68;
            filter: drop-shadow(0 0 6px rgba(255, 74, 104, 0.6));
        }

        /* Davom ettirish (Resume Playback) oynasi */
        .resume-play-banner {
            position: absolute;
            bottom: 74px;
            left: 20px;
            background: rgba(14, 16, 24, 0.94);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 9, 20, 0.5);
            border-radius: var(--radius-md);
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 10;
            color: #ffffff;
            font-size: 13px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
            animation: modalFadeIn 0.3s ease;
        }

        .resume-btn {
            background: var(--primary-gradient);
            color: #ffffff;
            font-weight: 700;
            font-size: 12px;
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            box-shadow: 0 2px 10px var(--primary-red-glow);
            transition: var(--transition);
        }

        .resume-btn:hover {
            transform: scale(1.05);
        }

        .resume-close-btn {
            color: var(--text-muted);
            font-size: 18px;
            line-height: 1;
            padding: 2px 6px;
            transition: var(--transition);
        }

        .resume-close-btn:hover {
            color: #ffffff;
        }

