            /* Modern Watch Page High-End Styling */
            body.page-watch,
            html body.page-watch,
            html.light-mode body.page-watch {
                padding-top: 64px !important;
            }

            /* ─── MODAL POPUP THÔNG BÁO PHIM CHIẾU RẠP (CHUẨN ẢNH SỐ 3) ─── */
            .cinema-notice-modal-backdrop {
                position: fixed !important;
                inset: 0 !important;
                z-index: 99999 !important;
                background: rgba(0, 0, 0, 0.6) !important;
                backdrop-filter: blur(5px) !important;
                -webkit-backdrop-filter: blur(5px) !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding: 20px !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                animation: cinemaFadeIn 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
            }
            @keyframes cinemaFadeIn {
                from { opacity: 0; }
                to { opacity: 1; }
            }
            .cinema-notice-card {
                position: relative !important;
                max-width: 680px !important;
                width: calc(100% - 32px) !important;
                border-radius: 20px !important;
                background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%) !important;
                border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
                box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 35px rgba(37, 99, 235, 0.3) !important;
                padding: 10px 46px 10px 14px !important;
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                gap: 12px !important;
                overflow: hidden !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                animation: cinemaScaleUp 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
            }
            @keyframes cinemaScaleUp {
                from { transform: scale(0.92); opacity: 0; }
                to { transform: scale(1); opacity: 1; }
            }
            html.light-mode .cinema-notice-card {
                background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%) !important;
                box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4), 0 0 35px rgba(37, 99, 235, 0.25) !important;
            }
            .cinema-notice-close-btn {
                position: absolute !important;
                top: 7px !important;
                right: 9px !important;
                width: 25px !important;
                height: 25px !important;
                border-radius: 50% !important;
                background: rgba(0, 0, 0, 0.28) !important;
                border: 1px solid rgba(255, 255, 255, 0.25) !important;
                color: #ffffff !important;
                cursor: pointer !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                transition: background 0.15s ease, transform 0.08s ease !important;
                z-index: 10 !important;
            }
            .cinema-notice-close-btn:hover {
                background: rgba(0, 0, 0, 0.55) !important;
                transform: scale(1.1) !important;
            }
            .cinema-notice-close-btn:active {
                background: rgba(0, 0, 0, 0.75) !important;
                transform: scale(0.88) !important;
            }
            .cinema-notice-mascot {
                width: 135px !important;
                height: 120px !important;
                min-width: 135px !important;
                max-width: 135px !important;
                background: transparent !important;
                border: none !important;
                border-radius: 0 !important;
                box-shadow: none !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                flex-shrink: 0 !important;
                overflow: visible !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                pointer-events: none !important;
            }
            .cinema-notice-mascot dotlottie-wc {
                width: 140px !important;
                height: 140px !important;
                display: block !important;
                transform: scale(1.38) !important;
                transform-origin: center center !important;
            }
            .cinema-notice-content {
                flex: 1 1 auto !important;
                min-width: 0 !important;
                text-align: left !important;
            }
            .cinema-notice-title {
                font-size: 16.5px !important;
                font-weight: 800 !important;
                color: #ffffff !important;
                line-height: 1.3 !important;
                margin: 0 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
            .cinema-notice-desc {
                font-size: 13px !important;
                color: rgba(255, 255, 255, 0.95) !important;
                line-height: 1.4 !important;
                margin: 3px 0 0 0 !important;
                white-space: normal !important;
            }
            .cinema-notice-btn {
                flex-shrink: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                background-color: #ffffff !important;
                color: #e11d48 !important;
                border: 2px solid #fb7185 !important;
                border-radius: 9999px !important;
                padding: 8px 20px !important;
                font-size: 14px !important;
                font-weight: 800 !important;
                text-decoration: none !important;
                white-space: nowrap !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                cursor: pointer !important;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
                transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease !important;
            }
            .cinema-notice-btn:hover {
                transform: scale(1.04) !important;
                background-color: #fff1f2 !important;
                color: #be123c !important;
                box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
            }
            .cinema-notice-btn:active {
                transform: scale(0.94) !important;
                background-color: #ffe4e6 !important;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
            }
            @media (max-width: 768px) {
                .cinema-notice-card {
                    max-width: 520px !important;
                    padding: 10px 42px 10px 12px !important;
                    gap: 10px !important;
                }
                .cinema-notice-mascot {
                    width: 100px !important;
                    height: 95px !important;
                    min-width: 100px !important;
                    max-width: 100px !important;
                }
                .cinema-notice-mascot dotlottie-wc {
                    width: 105px !important;
                    height: 105px !important;
                    transform: scale(1.22) !important;
                }
                .cinema-notice-title {
                    font-size: 15px !important;
                }
                .cinema-notice-desc {
                    font-size: 12px !important;
                }
                .cinema-notice-btn {
                    padding: 7px 16px !important;
                    font-size: 13px !important;
                }
            }
            @media (max-width: 520px) {
                .cinema-notice-card {
                    flex-direction: column !important;
                    text-align: center !important;
                    max-width: 330px !important;
                    width: calc(100% - 32px) !important;
                    padding: 12px 14px !important;
                    gap: 6px !important;
                    border-radius: 18px !important;
                }
                .cinema-notice-mascot {
                    width: 80px !important;
                    height: 75px !important;
                    min-width: 80px !important;
                    max-width: 80px !important;
                    margin: 0 auto !important;
                }
                .cinema-notice-mascot dotlottie-wc {
                    width: 85px !important;
                    height: 85px !important;
                    transform: scale(1.28) !important;
                }
                .cinema-notice-title {
                    font-size: 14.5px !important;
                    margin-bottom: 2px !important;
                }
                .cinema-notice-desc {
                    font-size: 12px !important;
                    line-height: 1.35 !important;
                    margin: 2px 0 0 0 !important;
                }
                .cinema-notice-btn {
                    width: 100% !important;
                    justify-content: center !important;
                    padding: 7px 14px !important;
                    font-size: 13px !important;
                    margin-top: 4px !important;
                }
            }

            @media (max-width: 1023px) {
                body.page-watch,
                html body.page-watch,
                html.light-mode body.page-watch {
                    padding-top: 60px !important;
                }
            }

            .action-control-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                padding: 8px 14px;
                background: rgba(255, 255, 255, 0.07);
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 9999px;
                color: #e2e8f0;
                font-size: 13px;
                font-weight: 600;
                transition: all 0.2s ease;
                cursor: pointer;
                white-space: nowrap;
            }

            .action-control-btn:hover {
                background: rgba(255, 255, 255, 0.15);
                color: #ffffff;
                border-color: rgba(255, 255, 255, 0.25);
                transform: translateY(-1px);
            }

            .action-control-btn.active {
                background: #ff9900 !important;
                color: #000000 !important;
                border-color: #ff9900 !important;
                box-shadow: 0 4px 14px rgba(255, 153, 0, 0.4);
            }

            .action-control-btn .material-icons-round {
                font-size: 18px;
            }

            /* Toggle Switches (Auto Next, Auto Play, Auto Skip) */
            .toggle-checkbox:checked+.toggle-pill {
                background-color: #ff9900;
                border-color: #ff9900;
            }

            .toggle-checkbox:checked+.toggle-pill::after {
                transform: translateX(16px);
                background-color: #000000;
            }

            .toggle-pill {
                position: relative;
                display: inline-block;
                width: 36px;
                height: 20px;
                background-color: rgba(255, 255, 255, 0.15);
                border: 1px solid rgba(255, 255, 255, 0.2);
                border-radius: 9999px;
                transition: all 0.3s ease;
            }

            .toggle-pill::after {
                content: '';
                position: absolute;
                top: 2px;
                left: 2px;
                width: 14px;
                height: 14px;
                background-color: #ffffff;
                border-radius: 50%;
                transition: all 0.3s ease;
            }

            /* Player Control Bar Styling (Dính liền khung chiếu phim, Nền đen Khung Phim Hoàn Toàn, Không Nền Xám) */
            .player-ctrl-bar {
                background: transparent !important;
                background-color: transparent !important;
                border: none !important;
                border-top: none !important;
                border-radius: 0 !important;
                padding: 10px 16px;
                margin-top: 0 !important;
                box-shadow: none !important;
            }

            .player-ctrl-item {
                display: inline-flex;
                align-items: center;
                gap: 7px;
                color: #e2e8f0;
                font-size: 14.5px;
                font-weight: 600;
                transition: all 0.2s ease;
                cursor: pointer;
                white-space: nowrap;
                background: transparent !important;
                border: none !important;
                border-radius: 8px;
            }

            /* ─── MODERN MOVIE ACTIONS BAR (IMAGE 1 SPEC) ─── */
            .player-ctrl-bar {
                width: 100% !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                margin-top: 10px !important;
                margin-bottom: 10px !important;
            }

            .player-ctrl-bar-container {
                background: transparent !important;
                border: none !important;
                outline: none !important;
                box-shadow: none !important;
                border-radius: 0 !important;
                padding: 6px 0 !important;
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                flex-wrap: wrap !important;
                gap: 8px 16px !important;
            }

            .player-ctrl-item {
                display: inline-flex !important;
                align-items: center !important;
                gap: 6px !important;
                background: transparent !important;
                border: none !important;
                color: #cbd5e1 !important;
                font-size: 13px !important;
                font-weight: 600 !important;
                cursor: pointer !important;
                padding: 4px 6px !important;
                border-radius: 8px !important;
                transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease !important;
                flex-shrink: 0 !important;
            }

            .player-ctrl-item:hover {
                color: #fcd576 !important;
                background: rgba(255, 255, 255, 0.06) !important;
            }

            .player-ctrl-item.is-active,
            .player-ctrl-item.active {
                color: #fcd576 !important;
            }

            .player-ctrl-item .player-item-svg {
                width: 16px !important;
                height: 16px !important;
                stroke-width: 2.1 !important;
                flex-shrink: 0 !important;
                display: inline-block !important;
                fill: none !important;
                transition: color 0.15s ease, stroke 0.15s ease, fill 0.15s ease !important;
            }

            .player-ctrl-item .player-item-svg path,
            .player-ctrl-item .player-item-svg rect,
            .player-ctrl-item .player-item-svg polygon,
            .player-ctrl-item .player-item-svg circle,
            .player-ctrl-item .player-item-svg line {
                fill: none !important;
            }

            .player-ctrl-item.is-active .player-item-svg {
                stroke: #fcd576 !important;
            }

            .player-ctrl-item.is-favorite-active {
                color: #ef4444 !important;
            }

            .player-ctrl-item.is-favorite-active .player-item-svg {
                stroke: #ef4444 !important;
                fill: #ef4444 !important;
            }

            .badge-status-on {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(252, 213, 118, 0.15) !important;
                color: #fcd576 !important;
                border: 1px solid rgba(252, 213, 118, 0.45) !important;
                font-size: 10px !important;
                font-weight: 800 !important;
                padding: 1px 5px !important;
                border-radius: 3px !important;
                margin-left: 4px !important;
                line-height: 1.2 !important;
                box-shadow: 0 0 6px rgba(252, 213, 118, 0.2) !important;
            }

            .badge-status-off {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(255, 255, 255, 0.08) !important;
                color: #94a3b8 !important;
                border: 1px solid rgba(255, 255, 255, 0.12) !important;
                font-size: 10px !important;
                font-weight: 700 !important;
                padding: 1px 5px !important;
                border-radius: 3px !important;
                margin-left: 4px !important;
                line-height: 1.2 !important;
            }

            .player-ctrl-help-btn {
                padding: 4px !important;
                border-radius: 50% !important;
                color: #94a3b8 !important;
            }

            .player-ctrl-help-btn:hover {
                color: #fcd576 !important;
                background: rgba(255, 255, 255, 0.08) !important;
            }

            .player-ctrl-help-btn .player-item-svg {
                width: 17px !important;
                height: 17px !important;
            }

            /* Episode Grid & Server Tabs */
            .ep-tab-btn {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 8px 16px;
                background: rgba(255, 255, 255, 0.05);
                border: 1.5px solid rgba(255, 255, 255, 0.12);
                border-radius: 10px;
                color: #cbd5e1;
                font-size: 13px;
                font-weight: 700;
                transition: all 0.2s ease;
                cursor: pointer;
                white-space: nowrap;
            }

            .ep-tab-btn:hover {
                background: rgba(255, 255, 255, 0.12);
                color: #ffffff;
            }

            .ep-tab-btn.active {
                background: linear-gradient(135deg, rgba(255, 153, 0, 0.25) 0%, rgba(242, 242, 13, 0.15) 100%) !important;
                border-color: #ff9900 !important;
                color: #ff9900 !important;
                box-shadow: 0 0 12px rgba(255, 153, 0, 0.25);
            }

            .ep-grid-btn {
                background: rgba(255, 255, 255, 0.07);
                border: 1px solid rgba(255, 255, 255, 0.1);
                color: #e2e8f0;
                font-size: 13px;
                font-weight: 700;
                padding: 8px 12px;
                border-radius: 8px;
                transition: all 0.2s ease;
                text-align: center;
                cursor: pointer;
                white-space: nowrap;
            }

            .ep-grid-btn:hover {
                background: rgba(255, 153, 0, 0.2);
                color: #ff9900;
                border-color: rgba(255, 153, 0, 0.5);
                transform: translateY(-1px);
            }

            .ep-grid-btn.active {
                background: linear-gradient(135deg, #ff9900 0%, #f2f20d 100%) !important;
                color: #000000 !important;
                border-color: #ff9900 !important;
                font-weight: 900 !important;
                box-shadow: 0 4px 14px rgba(255, 153, 0, 0.5);
            }

            /* SVAP Alternate Server Buttons */
            .svap-btn {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                padding: 8px 16px;
                border-radius: 8px;
                font-size: 13px;
                font-weight: 700;
                cursor: pointer;
                transition: all 0.2s ease;
                border: 1px solid transparent;
            }

            .svap-btn-amber {
                background: rgba(245, 158, 11, 0.15);
                color: #fbbf24;
                border-color: rgba(245, 158, 11, 0.3);
            }

            .svap-btn-amber:hover {
                background: rgba(245, 158, 11, 0.3);
            }

            .svap-btn-pink {
                background: rgba(236, 72, 153, 0.15);
                color: #f472b6;
                border-color: rgba(236, 72, 153, 0.3);
            }

            .svap-btn-pink:hover {
                background: rgba(236, 72, 153, 0.3);
            }

            .svap-btn-emerald {
                background: rgba(16, 185, 129, 0.25);
                color: #34d399;
                border-color: #10b981;
                box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
            }

            /* Emoji Rating Buttons */
            .emoji-rate-btn {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 4px;
                padding: 8px 10px;
                background: rgba(255, 255, 255, 0.05);
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 12px;
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .emoji-rate-btn:hover {
                background: rgba(255, 255, 255, 0.15);
                transform: scale(1.08);
            }

            .emoji-rate-btn.active {
                background: rgba(255, 153, 0, 0.2);
                border-color: #ff9900;
            }

            /* Ranking Badges */
            .rank-badge-1 {
                background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
                color: #000;
                font-weight: 900;
            }

            .rank-badge-2 {
                background: linear-gradient(135deg, #e0e0e0 0%, #9e9e9e 100%);
                color: #000;
                font-weight: 900;
            }

            .rank-badge-3 {
                background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%);
                color: #fff;
                font-weight: 900;
            }

            /* Cinema Mode Overlay & Ambient Theater Spotlight */
            #cinemaOverlay {
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.94);
                z-index: 9980;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.45s ease;
                cursor: pointer;
                backdrop-filter: blur(0px);
                -webkit-backdrop-filter: blur(0px);
            }

            body.cinema-active #cinemaOverlay {
                opacity: 1 !important;
                pointer-events: auto !important;
                display: block !important;
                backdrop-filter: blur(8px) !important;
                -webkit-backdrop-filter: blur(8px) !important;
            }

            /* 🖥️ DESKTOP CINEMA MODE (>= 1024px): Sân khấu trung tâm 100vh 50/50 đối xứng */
            @media (min-width: 1024px) {
                body.cinema-active {
                    overflow: hidden !important;
                }

                body.cinema-active main,
                body.cinema-active .watch-main-container {
                    position: static !important;
                }

                header,
                nav {
                    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
                }

                body.cinema-active header,
                body.cinema-active nav {
                    opacity: 0 !important;
                    pointer-events: none !important;
                    transform: translateY(-100%) !important;
                }

                .watch-top-bar {
                    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.4s ease !important;
                }

                body.cinema-active .watch-top-bar {
                    opacity: 0 !important;
                    pointer-events: none !important;
                    max-height: 0 !important;
                    overflow: hidden !important;
                    margin: 0 !important;
                    transform: translateY(-15px) !important;
                }

                #player-and-controls {
                    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
                }

                body.cinema-active #player-and-controls {
                    position: fixed !important;
                    inset: 0 !important;
                    z-index: 9992 !important;
                    display: flex !important;
                    flex-direction: column !important;
                    align-items: center !important;
                    justify-content: center !important;
                    width: 100vw !important;
                    height: 100vh !important;
                    margin: 0 !important;
                    padding: 16px 24px !important;
                    box-sizing: border-box !important;
                    pointer-events: none !important;
                }

                body.cinema-active #main-player-box {
                    width: 100% !important;
                    max-width: min(1540px, calc((100vh - 110px) * 16 / 9)) !important;
                    margin: 0 auto !important;
                }

                body.cinema-active #player-and-controls > div:not(#main-player-box) {
                    display: none !important;
                }

                body.cinema-active #sidebar-col,
                body.cinema-active #comments-section,
                body.cinema-active #movie-gallery-container,
                body.cinema-active footer {
                    opacity: 0 !important;
                    pointer-events: none !important;
                }

                /* Floating Cinema Mode Exit Hint */
                #cinemaExitHint {
                    position: fixed;
                    top: 10px;
                    left: 50%;
                    transform: translateX(-50%) translateY(-35px) scale(0.92);
                    background: rgba(15, 23, 42, 0.95);
                    border: 1px solid rgba(245, 158, 11, 0.5);
                    color: #fcd576;
                    padding: 6px 18px;
                    border-radius: 9999px;
                    font-size: 11.5px;
                    font-weight: 700;
                    z-index: 99999;
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.25);
                    pointer-events: none;
                    opacity: 0;
                    visibility: hidden;
                    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    backdrop-filter: blur(12px);
                    -webkit-backdrop-filter: blur(12px);
                    cursor: pointer;
                    user-select: none;
                }

                body.cinema-active #cinemaExitHint {
                    opacity: 1 !important;
                    visibility: visible !important;
                    transform: translateX(-50%) translateY(0) scale(1) !important;
                    pointer-events: auto !important;
                }
            }

            /* 📱 MOBILE CINEMA MODE (< 1024px): Giữ nguyên đúng vị trí tự nhiên, không nhảy ra giữa, ẩn hoàn toàn thông báo */
            @media (max-width: 1023px) {
                #cinemaExitHint {
                    display: none !important;
                }

                body.cinema-active main,
                body.cinema-active .watch-main-container {
                    position: relative !important;
                    z-index: 9990 !important;
                    pointer-events: none !important;
                }

                body.cinema-active #player-and-controls {
                    position: relative !important;
                    z-index: 9992 !important;
                    display: block !important;
                    width: 100% !important;
                    height: auto !important;
                    margin: 0 !important;
                    padding: 0 !important;
                }

                body.cinema-active #main-player-box {
                    position: relative !important;
                    z-index: 9996 !important;
                    pointer-events: auto !important;
                    width: 100% !important;
                    max-width: 100% !important;
                    margin: 0 !important;
                }

                body.cinema-active header,
                body.cinema-active nav,
                body.cinema-active .watch-top-bar,
                body.cinema-active #player-and-controls > div:not(#main-player-box),
                body.cinema-active #sidebar-col,
                body.cinema-active #comments-section,
                body.cinema-active #movie-gallery-container,
                body.cinema-active footer {
                    opacity: 0.05 !important;
                    pointer-events: none !important;
                    transition: opacity 0.35s ease !important;
                }
            }

            /* Mobile Layout Alignment Enhancements (< 640px) - Ultra Sleek & Aesthetic */
            /* Mobile Layout Alignment Enhancements (< 640px) - Tight, Borderless & Sleek */
            @media (max-width: 639px) {
                .player-ctrl-bar {
                    padding: 4px 8px 4px 8px !important;
                    border-radius: 0 !important;
                    background: transparent !important;
                    background-color: transparent !important;
                    border: none !important;
                    box-shadow: none !important;
                }

                .player-ctrl-bar {
                    margin-top: 6px !important;
                    margin-bottom: 6px !important;
                    width: 100% !important;
                }

                .player-ctrl-bar-container {
                    display: flex !important;
                    flex-direction: row !important;
                    align-items: center !important;
                    justify-content: space-between !important;
                    flex-wrap: nowrap !important;
                    width: 100% !important;
                    padding: 4px 4px !important;
                    gap: 0 !important;
                    border: none !important;
                    background: transparent !important;
                    box-shadow: none !important;
                }

                .player-ctrl-bar-actions-row {
                    display: flex !important;
                    align-items: center !important;
                    gap: 6px !important;
                    flex-shrink: 0 !important;
                    width: auto !important;
                }

                .player-ctrl-bar-toggles-row {
                    display: flex !important;
                    align-items: center !important;
                    gap: 6px !important;
                    flex-shrink: 0 !important;
                    width: auto !important;
                }

                /* Mobile Icon-Only Buttons (Image 2 Spec) */
                .player-ctrl-bar .player-ctrl-item,
                .player-ctrl-bar-actions-row .player-ctrl-item,
                .player-ctrl-bar-toggles-row .player-ctrl-item {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    width: 34px !important;
                    height: 34px !important;
                    min-width: 34px !important;
                    padding: 0 !important;
                    margin: 0 !important;
                    background: transparent !important;
                    border: none !important;
                    border-radius: 8px !important;
                    color: #cbd5e1 !important;
                    cursor: pointer !important;
                    transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease !important;
                }

                .player-ctrl-bar .player-ctrl-item:active {
                    background: rgba(255, 255, 255, 0.1) !important;
                    transform: scale(0.92) !important;
                }

                /* Hide text labels and ON/OFF badges on mobile for sleek space-saving single row */
                .player-ctrl-bar .player-ctrl-item span,
                .player-ctrl-bar-actions-row .player-ctrl-item span,
                .player-ctrl-bar-toggles-row .player-ctrl-item span,
                .player-ctrl-bar .badge-status-on,
                .player-ctrl-bar .badge-status-off {
                    display: none !important;
                }

                /* Mobile Icon Dimensions */
                .player-ctrl-bar .player-ctrl-item svg,
                .player-ctrl-bar .player-ctrl-item .player-item-svg {
                    width: 19px !important;
                    height: 19px !important;
                    stroke-width: 2 !important;
                    opacity: 1 !important;
                    display: block !important;
                    margin: 0 auto !important;
                }

                .player-ctrl-bar .player-ctrl-item.is-active svg,
                .player-ctrl-bar .player-ctrl-item.is-active .player-item-svg {
                    stroke: #fcd576 !important;
                }

                .player-ctrl-bar .player-ctrl-item.is-favorite-active svg,
                .player-ctrl-bar .player-ctrl-item.is-favorite-active .player-item-svg {
                    stroke: #ef4444 !important;
                    fill: #ef4444 !important;
                }

                .player-ctrl-bar .player-ctrl-help-btn {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    color: #fcd576 !important;
                    background: transparent !important;
                    border: none !important;
                    padding: 4px !important;
                    cursor: pointer !important;
                    transition: transform 0.15s ease, opacity 0.15s ease !important;
                }

                .player-ctrl-bar .player-ctrl-help-btn:active {
                    transform: scale(0.92) !important;
                }

                .player-ctrl-bar .player-ctrl-help-btn svg,
                .player-ctrl-bar .player-ctrl-help-btn .player-item-svg {
                    width: 22px !important;
                    height: 22px !important;
                    stroke: #fcd576 !important;
                    stroke-width: 2.2 !important;
                    fill: none !important;
                }

                /* Episode Search & Sort Bar Mobile Grid */
                #episode-search-container {
                    display: flex !important;
                    align-items: center !important;
                    gap: 8px !important;
                    width: 100% !important;
                }

                #episode-search-container>div:first-child {
                    flex: 1 !important;
                    width: 100% !important;
                }

                #sort-episodes-btn {
                    flex-shrink: 0 !important;
                    padding: 7px 12px !important;
                    font-size: 12px !important;
                }

                /* Episode Grid Mobile 3 Symmetrical Equal Columns */
                #episode-list {
                    grid-template-columns: repeat(3, 1fr) !important;
                    gap: 8px !important;
                }

                .ep-grid-btn {
                    padding: 8px 4px !important;
                    font-size: 12px !important;
                    height: 38px !important;
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                }

                /* Mobile Video Player Overlay Scale Fix (< 640px) */
                /* 3D Meta block mobile: compact padding */
                #playerPlaceholder .player-overlay-meta {
                    padding: 40px 12px 12px 12px !important;
                }

                #playerPlaceholder .player-meta-3d-card {
                    gap: 6px !important;
                }

                #playerPlaceholder .badge-aphim-studio {
                    font-size: 7px !important;
                    padding: 2.5px 7px !important;
                    letter-spacing: 1px !important;
                }

                #playerPlaceholder .badge-quality-sub {
                    font-size: 7px !important;
                    padding: 2.5px 7px !important;
                }

                #playerPlaceholder h3.player-movie-title,
                #playerPlaceholder h1#playerMovieTitle {
                    font-size: 13px !important;
                    line-height: 1.2 !important;
                    max-width: 200px !important;
                }

                #playerPlaceholder .badge-ep-name {
                    font-size: 9px !important;
                    padding: 2px 7px !important;
                }

                #play-btn,
                #playerPlaceholder .w-\[55px\] {
                    width: 38px !important;
                    height: 38px !important;
                }
            }

            /* Desktop Controls Restored & Refined (>= 640px) */
            @media (min-width: 640px) {
                .player-ctrl-bar {
                    padding: 8px 16px !important;
                    background: transparent !important;
                    background-color: transparent !important;
                    border: none !important;
                    border-radius: 0 !important;
                    box-shadow: none !important;
                }

                .player-ctrl-bar-container {
                    display: flex !important;
                    flex-direction: row !important;
                    align-items: center !important;
                    width: 100% !important;
                    gap: 8px !important;
                }

                .player-ctrl-bar-actions-row,
                .player-ctrl-bar-toggles-row {
                    display: contents !important;
                }

                .player-ctrl-bar .player-ctrl-item,
                .player-ctrl-bar-actions-row .player-ctrl-item,
                .player-ctrl-bar-toggles-row .player-ctrl-item {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    height: 32px !important;
                    padding: 0 10px !important;
                    font-size: 13px !important;
                    font-weight: 600 !important;
                    color: #cbd5e1 !important;
                    line-height: 1 !important;
                    background: transparent !important;
                    border: none !important;
                    border-radius: 8px !important;
                    box-sizing: border-box !important;
                    margin: 0 !important;
                    gap: 6px !important;
                    vertical-align: middle !important;
                    order: 1 !important;
                }

                .player-ctrl-bar .player-ctrl-item span,
                .player-ctrl-bar-actions-row .player-ctrl-item span,
                .player-ctrl-bar-toggles-row .player-ctrl-item span {
                    display: inline-flex !important;
                    align-items: center !important;
                    font-size: 13px !important;
                    line-height: 1 !important;
                    vertical-align: middle !important;
                }

                .player-ctrl-bar .player-ctrl-item svg {
                    width: 15px !important;
                    height: 15px !important;
                    flex-shrink: 0 !important;
                    display: block !important;
                    margin: 0 !important;
                }

                .badge-status-on,
                .badge-status-off {
                    display: inline-flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    height: 17px !important;
                    font-size: 10px !important;
                    font-weight: 800 !important;
                    padding: 0 5px !important;
                    margin: 0 0 0 4px !important;
                    border-radius: 3px !important;
                    line-height: 1 !important;
                    vertical-align: middle !important;
                    box-sizing: border-box !important;
                }

                /* Nút Báo lỗi đứng 1 mình bên góc phải trên Desktop */
                .player-ctrl-bar .player-ctrl-item.player-ctrl-report-btn,
                .player-ctrl-bar-actions-row .player-ctrl-item.player-ctrl-report-btn,
                .player-ctrl-bar-actions-row button.player-ctrl-report-btn,
                .player-ctrl-report-btn {
                    margin-left: auto !important;
                    margin-right: 0 !important;
                    order: 99 !important;
                }

                /* Nút Trợ giúp ẩn trên Desktop để giữ nguyên bố cục */
                .player-ctrl-bar .player-ctrl-help-btn,
                .player-ctrl-help-btn {
                    display: none !important;
                }
            }

            /* Notice Banner Spacing Alignment (Đồng bộ khoảng cách dãn cách như giao diện sáng) */
            #dismissibleNotice {
                margin-top: 6px !important;
                margin-bottom: 14px !important;
            }

            /* Sidebar Cast Horizontal Slider (Hàng ngang cuộn mượt, không rớt dòng) */
            #sidebar-cast {
                display: flex !important;
                flex-wrap: nowrap !important;
                overflow-x: auto !important;
                overflow-y: hidden !important;
                scrollbar-width: none !important;
                -ms-overflow-style: none !important;
                scroll-behavior: smooth;
                -webkit-overflow-scrolling: touch;
            }

            #sidebar-cast::-webkit-scrollbar {
                display: none !important;
                width: 0 !important;
                height: 0 !important;
            }

            /* ?? Watch-to-Earn Pill Dark & Light mode Styling */
            .watch-to-earn-pill {
                background: rgba(245, 158, 11, 0.15) !important;
                border: 1px solid rgba(245, 158, 11, 0.35) !important;
                color: #fcd576 !important;
            }

            .watch-to-earn-pill:hover {
                background: rgba(245, 158, 11, 0.25) !important;
            }

            .watch-to-earn-text {
                color: #fcd576 !important;
                font-weight: 800 !important;
            }

            .watch-to-earn-dot {
                background: #f59e0b !important;
                box-shadow: 0 0 8px #f59e0b !important;
            }

            /* Light Mode High Contrast */
            html.light-mode .watch-to-earn-pill {
                background: #fffbeb !important;
                border: 1.5px solid #d97706 !important;
                box-shadow: 0 2px 8px rgba(180, 83, 9, 0.15) !important;
            }

            html.light-mode .watch-to-earn-pill:hover {
                background: #fef3c7 !important;
            }

            html.light-mode .watch-to-earn-text {
                color: #78350f !important;
                font-weight: 900 !important;
            }

            html.light-mode .watch-to-earn-dot {
                background: #b45309 !important;
                box-shadow: 0 0 6px #b45309 !important;
            }

            html.light-mode #watchBreadcrumbEpName {
                color: #b45309 !important;
                font-weight: 900 !important;
            }

            /* 📱 Mobile: Không đổ viền bọc, hiển thị phẳng liền mạch tinh tế */
            @media (max-width: 768px) {

                .watch-to-earn-pill,
                html.light-mode .watch-to-earn-pill {
                    background: transparent !important;
                    border: none !important;
                    box-shadow: none !important;
                    padding: 0 !important;
                }
            }

            /* 🐞 Modal Báo Lỗi Phim - Dark Theme (Mặc Định) & Light Theme Siêu Chuẩn */
            #reportMovieModal {
                font-family: inherit;
            }

            #reportMovieModalCard {
                background: #141722 !important;
                border: 1px solid rgba(255, 255, 255, 0.15) !important;
                color: #f1f5f9 !important;
                box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8) !important;
            }

            #reportModalHeader {
                border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
            }

            .report-modal-label {
                color: #cbd5e1 !important;
                font-size: 12.5px !important;
                font-weight: 600 !important;
                margin-bottom: 6px !important;
                display: block !important;
            }

            #reportMovieModalCard {
                width: 100% !important;
                max-width: 440px !important;
                box-sizing: border-box !important;
            }

            @media (max-width: 480px) {
                #reportMovieModal {
                    padding: 12px !important;
                }
                #reportMovieModalCard {
                    padding: 16px 14px !important;
                    border-radius: 14px !important;
                }
            }

            #reportMovieTitleDisplay {
                background: #1a1e2d !important;
                border: 1px solid rgba(255, 255, 255, 0.12) !important;
                color: #fcd576 !important;
                font-weight: 700 !important;
                font-size: 13px !important;
                padding: 10px 12px !important;
                border-radius: 8px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            #reportIssueType {
                background-color: #1e2230 !important;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
                background-position: right 12px center !important;
                background-repeat: no-repeat !important;
                background-size: 16px 16px !important;
                border: 1px solid rgba(255, 255, 255, 0.2) !important;
                color: #ffffff !important;
                font-size: 13px !important;
                font-weight: 500 !important;
                padding: 10px 36px 10px 12px !important;
                border-radius: 8px !important;
                outline: none !important;
                appearance: none !important;
                -webkit-appearance: none !important;
                cursor: pointer;
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                text-overflow: ellipsis;
            }

            #reportIssueType option {
                background-color: #161822 !important;
                color: #ffffff !important;
                padding: 10px !important;
                font-size: 13px !important;
                max-width: 100% !important;
            }

            #reportIssueType:focus {
                border-color: #f59e0b !important;
                box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25) !important;
            }

            #reportIssueDesc {
                background-color: #1e2230 !important;
                border: 1px solid rgba(255, 255, 255, 0.2) !important;
                color: #ffffff !important;
                font-size: 13px !important;
                padding: 10px 12px !important;
                border-radius: 8px !important;
                outline: none !important;
                min-height: 80px !important;
            }

            #reportIssueDesc::placeholder {
                color: #64748b !important;
            }

            #reportIssueDesc:focus {
                border-color: #f59e0b !important;
                box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25) !important;
            }

            #btnSubmitReport {
                background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
                color: #000000 !important;
                font-weight: 800 !important;
                font-size: 13px !important;
                border: none !important;
                border-radius: 8px !important;
                padding: 9px 20px !important;
                box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
                cursor: pointer !important;
                transition: all 0.2s ease !important;
            }

            #btnSubmitReport:hover {
                transform: translateY(-1px) !important;
                box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5) !important;
            }

            .report-btn-cancel {
                background: rgba(255, 255, 255, 0.08) !important;
                border: 1px solid rgba(255, 255, 255, 0.12) !important;
                color: #e2e8f0 !important;
                font-size: 13px !important;
                font-weight: 600 !important;
                border-radius: 8px !important;
                padding: 9px 16px !important;
                cursor: pointer !important;
                transition: all 0.2s ease !important;
            }

            .report-btn-cancel:hover {
                background: rgba(255, 255, 255, 0.15) !important;
                color: #ffffff !important;
            }

            #reportSuccessTitle {
                color: #ffffff !important;
                font-size: 16px !important;
                font-weight: 700 !important;
            }

            #reportSuccessDesc {
                color: #94a3b8 !important;
                font-size: 13px !important;
                line-height: 1.5 !important;
            }

            .report-btn-close {
                background: rgba(255, 255, 255, 0.1) !important;
                border: 1px solid rgba(255, 255, 255, 0.15) !important;
                color: #ffffff !important;
                font-size: 13px !important;
                font-weight: 600 !important;
                border-radius: 8px !important;
                padding: 8px 24px !important;
                cursor: pointer !important;
            }

            .report-btn-close:hover {
                background: rgba(255, 255, 255, 0.2) !important;
            }

            /* --- LIGHT MODE SPECIFIC STYLING --- */
            html.light-mode #reportMovieModalCard {
                background: #fdfbf7 !important;
                border: 1px solid #e2d9cc !important;
                color: #1e293b !important;
                box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2) !important;
            }

            html.light-mode #reportModalHeader {
                border-bottom: 1px solid #ede4d8 !important;
            }

            html.light-mode .report-modal-label {
                color: #475569 !important;
                font-weight: 700 !important;
            }

            html.light-mode #reportMovieTitleDisplay {
                background: #f4ede4 !important;
                border: 1px solid #e2d9cc !important;
                color: #b45309 !important;
                font-weight: 700 !important;
            }

            html.light-mode #reportIssueType {
                background-color: #ffffff !important;
                border: 1.5px solid #dcd3c6 !important;
                color: #1e293b !important;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
            }

            html.light-mode #reportIssueType option {
                background-color: #ffffff !important;
                color: #1e293b !important;
            }

            html.light-mode #reportIssueType:focus {
                border-color: #d97706 !important;
                box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2) !important;
            }

            html.light-mode #reportIssueDesc {
                background-color: #ffffff !important;
                border: 1.5px solid #dcd3c6 !important;
                color: #1e293b !important;
            }

            html.light-mode #reportIssueDesc::placeholder {
                color: #94a3b8 !important;
            }

            html.light-mode #reportIssueDesc:focus {
                border-color: #d97706 !important;
                box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2) !important;
            }

            html.light-mode #btnSubmitReport {
                background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
                color: #ffffff !important;
                box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
            }

            html.light-mode .report-btn-cancel {
                background: #ede4d8 !important;
                border: 1px solid #dcd3c6 !important;
                color: #475569 !important;
            }

            html.light-mode .report-btn-cancel:hover {
                background: #e2d7c7 !important;
                color: #1e293b !important;
            }

            html.light-mode #reportSuccessTitle {
                color: #1e293b !important;
            }

            html.light-mode #reportSuccessDesc {
                color: #64748b !important;
            }

            html.light-mode .report-btn-close {
                background: #ede4d8 !important;
                border: 1px solid #dcd3c6 !important;
                color: #1e293b !important;
            }

            html.light-mode .report-btn-close:hover {
                background: #dfd3c1 !important;
            }

            /* ==========================================================================
               🎬 NATIVE VIDEO PLAYER STYLING (100% Original Brightness & Full HD)
               ========================================================================== */
            #videoPlayer {
                width: 100% !important;
                height: 100% !important;
                object-fit: contain !important;
                background-color: #000000 !important;
                outline: none !important;
            }

            #aphim-player-wrapper {
                position: relative;
                width: 100%;
                height: 100%;
                background-color: #000;
                overflow: hidden;
                user-select: none;
                -webkit-user-select: none;
            }

            #aphim-player-wrapper:fullscreen,
            #aphim-player-wrapper:-webkit-full-screen,
            #aphim-player-wrapper.aphim-web-fullscreen {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important;
                width: 100vw !important;
                height: 100vh !important;
                max-width: 100vw !important;
                max-height: 100vh !important;
                border-radius: 0 !important;
                z-index: 99999999 !important;
                background: #000000 !important;
            }

            body.aphim-body-fullscreen {
                overflow: hidden !important;
            }

            /* ─── CENTER ANIMATED PLAY / PAUSE INDICATOR (BRILLIANT BRIGHT) ─── */
            #aphim-center-indicator {
                position: absolute !important;
                top: 50% !important;
                left: 50% !important;
                transform: translate(-50%, -50%) scale(0.6) !important;
                width: 76px !important;
                height: 76px !important;
                border-radius: 50% !important;
                background: rgba(15, 18, 26, 0.75) !important;
                backdrop-filter: blur(12px) !important;
                -webkit-backdrop-filter: blur(12px) !important;
                border: 2px solid rgba(255, 255, 255, 0.5) !important;
                box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 255, 255, 0.3) !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                pointer-events: none !important;
                z-index: 20 !important;
                opacity: 0;
                transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
            }

            #aphim-center-indicator.active {
                opacity: 1 !important;
                transform: translate(-50%, -50%) scale(1.15) !important;
            }

            #aphim-center-icon {
                color: #ffffff !important;
                font-size: 46px !important;
                width: 46px !important;
                height: 46px !important;
                line-height: 46px !important;
                text-align: center !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.95)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) !important;
            }

            /* ─── SEEK OVERLAY FEEDBACK (-10s / +10s NATURAL & SOFT) ─── */
            #aphim-seek-overlay {
                pointer-events: none !important;
                position: absolute !important;
                z-index: 30 !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                transition: opacity 0.25s ease !important;
            }

            .aphim-seek-badge {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 2px !important;
                padding: 0 !important;
                background: transparent !important;
                border: none !important;
                box-shadow: none !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .aphim-seek-icon {
                color: #ffffff !important;
                font-size: 32px !important;
                width: 32px !important;
                height: 32px !important;
                line-height: 32px !important;
                text-align: center !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) !important;
            }

            .aphim-seek-text {
                color: #ffffff !important;
                font-size: 15px !important;
                font-weight: 700 !important;
                letter-spacing: 0.5px !important;
                text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
            }

            #aphim-player-wrapper {
                transition: cursor 0.2s ease !important;
            }

            #aphim-player-wrapper.aphim-hide-cursor,
            #aphim-player-wrapper.aphim-hide-cursor *,
            :fullscreen.aphim-hide-cursor,
            :fullscreen.aphim-hide-cursor *,
            :-webkit-full-screen.aphim-hide-cursor,
            :-webkit-full-screen.aphim-hide-cursor * {
                cursor: none !important;
            }

            #aphim-controls {
                position: absolute !important;
                bottom: 0 !important;
                left: 0 !important;
                right: 0 !important;
                z-index: 25 !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: flex-end !important;
                padding-left: 20px !important;
                padding-right: 20px !important;
                padding-bottom: 24px !important;
                padding-top: 60px !important;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0.2) 80%, transparent 100%) !important;
                transition: opacity 0.16s cubic-bezier(0, 0, 0.2, 1), visibility 0.16s cubic-bezier(0, 0, 0.2, 1) !important;
                pointer-events: auto;
                will-change: opacity;
            }

            :fullscreen #aphim-controls,
            :-webkit-full-screen #aphim-controls,
            .aphim-web-fullscreen #aphim-controls {
                padding-left: 36px !important;
                padding-right: 36px !important;
                padding-bottom: 30px !important;
                padding-top: 80px !important;
            }

            #aphim-controls.aphim-controls-hidden {
                opacity: 0 !important;
                pointer-events: none !important;
                visibility: hidden !important;
                transition: opacity 0.14s ease-in, visibility 0.14s ease-in !important;
            }

            @media (max-width: 640px) {
                #aphim-controls {
                    padding-left: 8px !important;
                    padding-right: 8px !important;
                    padding-bottom: 6px !important;
                    padding-top: 30px !important;
                }
            }

            /* ─── TIMELINE SCRUBBER BAR (VIBRANT SITE GOLD #fcd576) ─── */
            #aphim-timeline-container {
                position: relative !important;
                width: 100% !important;
                height: 24px !important;
                display: flex !important;
                align-items: center !important;
                cursor: pointer !important;
                margin-bottom: 8px !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                touch-action: none !important;
            }

            #aphim-timeline-rail {
                position: relative !important;
                width: 100% !important;
                height: 4.5px !important;
                background: rgba(255, 255, 255, 0.25) !important;
                border-radius: 9999px !important;
                overflow: hidden !important;
                transition: height 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
                will-change: height;
            }

            #aphim-timeline-container:hover #aphim-timeline-rail,
            #aphim-timeline-container.is-scrubbing #aphim-timeline-rail {
                height: 7px !important;
            }

            #aphim-buffer-bar {
                position: absolute !important;
                top: 0 !important;
                bottom: 0 !important;
                left: 0 !important;
                background: rgba(255, 255, 255, 0.45) !important;
                border-radius: 9999px !important;
                width: 0%;
                pointer-events: none !important;
                transition: width 0.2s linear !important;
            }

            #aphim-progress-bar {
                position: absolute !important;
                top: 0 !important;
                bottom: 0 !important;
                left: 0 !important;
                background: linear-gradient(90deg, #f59e0b 0%, #fcd576 60%, #ffe484 100%) !important;
                border-radius: 9999px !important;
                width: 0%;
                box-shadow: 0 0 12px rgba(252, 213, 118, 0.95), 0 0 24px rgba(245, 158, 11, 0.4) !important;
                pointer-events: none !important;
                will-change: width;
            }

            #aphim-scrubber-dot {
                position: absolute !important;
                top: 50% !important;
                transform: translate(-50%, -50%) scale(0.85) !important;
                width: 16px !important;
                height: 16px !important;
                background: #ffffff !important;
                border: 2px solid #fcd576 !important;
                border-radius: 9999px !important;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 14px rgba(252, 213, 118, 0.95) !important;
                pointer-events: none !important;
                transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
                z-index: 5 !important;
                will-change: transform, left;
            }

            #aphim-timeline-container:hover #aphim-scrubber-dot,
            #aphim-timeline-container.is-scrubbing #aphim-scrubber-dot {
                transform: translate(-50%, -50%) scale(1.35) !important;
                box-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(252, 213, 118, 1) !important;
            }

            #aphim-hover-time {
                position: absolute !important;
                bottom: 26px !important;
                transform: translateX(-50%) !important;
                padding: 3px 9px !important;
                border-radius: 8px !important;
                background: rgba(15, 18, 28, 0.92) !important;
                backdrop-filter: blur(12px) !important;
                -webkit-backdrop-filter: blur(12px) !important;
                color: #ffffff !important;
                font-size: 11.5px !important;
                font-family: 'Inter', ui-monospace, monospace !important;
                font-weight: 800 !important;
                letter-spacing: 0.03em !important;
                pointer-events: none !important;
                border: 1px solid rgba(252, 213, 118, 0.35) !important;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 0 10px rgba(252, 213, 118, 0.2) !important;
                z-index: 10 !important;
                opacity: 0;
                transition: opacity 0.18s ease, transform 0.18s ease !important;
                will-change: left, opacity;
            }

            #aphim-hover-time::after {
                content: '';
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border-width: 4px;
                border-style: solid;
                border-color: rgba(15, 18, 28, 0.92) transparent transparent transparent;
            }

            /* ─── BUTTONS & UNIFORM SIZING (COMFORTABLE & CLEAR) ─── */
            #aphim-controls button,
            .aphim-ctrl-btn {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 42px !important;
                height: 42px !important;
                min-width: 42px !important;
                min-height: 42px !important;
                max-width: 42px !important;
                max-height: 42px !important;
                border-radius: 9999px !important;
                background: transparent !important;
                border: none !important;
                padding: 0 !important;
                margin: 0 !important;
                cursor: pointer !important;
                color: #ffffff !important;
                transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
                flex-shrink: 0 !important;
                will-change: transform;
            }

            @media (max-width: 640px) {
                #aphim-controls button,
                .aphim-ctrl-btn {
                    width: 34px !important;
                    height: 34px !important;
                    min-width: 34px !important;
                    min-height: 34px !important;
                    max-width: 34px !important;
                    max-height: 34px !important;
                }
            }

            #aphim-controls button:hover,
            .aphim-ctrl-btn:hover {
                background-color: rgba(255, 255, 255, 0.16) !important;
                color: #fcd576 !important;
                transform: scale(1.12) translateZ(0) !important;
                box-shadow: 0 0 14px rgba(252, 213, 118, 0.3) !important;
            }

            #aphim-controls button:active,
            .aphim-ctrl-btn:active {
                transform: scale(0.9) translateZ(0) !important;
                transition-duration: 0.08s !important;
            }

            #aphim-controls .aphim-btn-icon,
            #aphim-btn-settings svg,
            #aphim-btn-pip svg {
                width: 25px !important;
                height: 25px !important;
                min-width: 25px !important;
                min-height: 25px !important;
                max-width: 25px !important;
                max-height: 25px !important;
                display: inline-block !important;
                filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95)) !important;
                transition: color 0.15s ease, transform 0.2s ease !important;
                pointer-events: none !important;
            }

            #aphim-controls .material-icons-round {
                color: #ffffff !important;
                font-size: 26px !important;
                width: 26px !important;
                height: 26px !important;
                line-height: 26px !important;
                text-align: center !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95)) !important;
                transition: color 0.15s ease !important;
                pointer-events: none !important;
            }

            @media (max-width: 640px) {
                #aphim-controls .aphim-btn-icon,
                #aphim-btn-settings svg,
                #aphim-btn-pip svg {
                    width: 19px !important;
                    height: 19px !important;
                    min-width: 19px !important;
                    min-height: 19px !important;
                    max-width: 19px !important;
                    max-height: 19px !important;
                }
                #aphim-controls .material-icons-round {
                    font-size: 20px !important;
                    width: 20px !important;
                    height: 20px !important;
                    line-height: 20px !important;
                }
            }

            #aphim-controls button:hover .material-icons-round,
            #aphim-controls button:hover .aphim-btn-icon,
            #aphim-controls button:hover svg {
                color: #fcd576 !important;
            }

            /* ─── SETTINGS HEXAGON BUTTON & MULTI-LEVEL FLYOUT MENU (IMAGE 2 DEEP DARK TEAL GLASSMORPHISM) ─── */
            #aphim-settings-wrapper {
                position: relative !important;
                display: inline-flex !important;
                align-items: center !important;
            }

            #aphim-btn-settings {
                transition: transform 0.25s ease, color 0.2s ease !important;
            }

            #aphim-btn-settings:hover {
                color: #fcd576 !important;
                transform: rotate(30deg) scale(1.08) !important;
            }

            #aphim-settings-menu {
                position: absolute !important;
                bottom: calc(100% + 14px) !important;
                right: 0 !important;
                width: 275px !important;
                max-width: 92vw !important;
                background: rgba(14, 28, 34, 0.94) !important;
                backdrop-filter: blur(24px) !important;
                -webkit-backdrop-filter: blur(24px) !important;
                border: 1px solid rgba(255, 255, 255, 0.08) !important;
                border-radius: 16px !important;
                box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.15) !important;
                padding: 0 !important;
                z-index: 99999 !important;
                overflow: hidden !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                font-family: 'Inter', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
                animation: aphimMenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
            }

            @keyframes aphimMenuFadeIn {
                from {
                    opacity: 0;
                    transform: translateY(8px) scale(0.97);
                }
                to {
                    opacity: 1;
                    transform: translateY(0) scale(1);
                }
            }

            #aphim-settings-menu.hidden {
                display: none !important;
            }

            .aphim-settings-panel {
                display: flex !important;
                flex-direction: column !important;
                width: 100% !important;
            }

            .aphim-settings-panel.hidden {
                display: none !important;
            }

            .aphim-settings-header {
                padding: 14px 18px 12px 18px !important;
                font-size: 13.5px !important;
                font-weight: 700 !important;
                color: #ffffff !important;
                letter-spacing: 0.6px !important;
                text-transform: uppercase !important;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
                display: flex !important;
                align-items: center !important;
                gap: 8px !important;
            }

            .aphim-settings-header.aphim-sub-header {
                cursor: pointer !important;
                color: #ffffff !important;
                font-size: 13.5px !important;
                text-transform: none !important;
                letter-spacing: normal !important;
                font-weight: 600 !important;
                transition: background 0.15s ease, color 0.15s ease !important;
            }

            .aphim-settings-header.aphim-sub-header:hover {
                background: rgba(255, 255, 255, 0.06) !important;
                color: #ffffff !important;
            }

            .aphim-settings-header.aphim-sub-header svg {
                width: 16px !important;
                height: 16px !important;
                margin-left: -2px !important;
                color: rgba(255, 255, 255, 0.85) !important;
            }

            .aphim-settings-list {
                display: flex !important;
                flex-direction: column !important;
                padding: 6px 0 !important;
                max-height: 280px !important;
                overflow-y: auto !important;
                scrollbar-width: thin !important;
                scrollbar-color: rgba(255, 255, 255, 0.2) transparent !important;
            }

            .aphim-settings-list::-webkit-scrollbar {
                width: 3px !important;
            }
            .aphim-settings-list::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.22) !important;
                border-radius: 9999px !important;
            }

            .aphim-settings-item {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding: 12px 18px !important;
                cursor: pointer !important;
                transition: background 0.15s ease !important;
                font-size: 13.5px !important;
                font-weight: 500 !important;
                color: #ffffff !important;
                white-space: nowrap !important;
            }

            .aphim-settings-item:hover {
                background: rgba(255, 255, 255, 0.06) !important;
            }

            .aphim-item-left {
                display: flex !important;
                align-items: center !important;
                gap: 12px !important;
            }

            .aphim-item-icon {
                width: 20px !important;
                height: 20px !important;
                min-width: 20px !important;
                min-height: 20px !important;
                color: #ffffff !important;
                opacity: 0.95 !important;
                flex-shrink: 0 !important;
            }

            .aphim-item-label {
                font-size: 13.5px !important;
                font-weight: 500 !important;
                color: #ffffff !important;
                white-space: nowrap !important;
            }

            .aphim-item-right {
                display: flex !important;
                align-items: center !important;
                gap: 8px !important;
            }

            .aphim-item-value {
                font-size: 12.5px !important;
                font-weight: 400 !important;
                color: rgba(255, 255, 255, 0.65) !important;
                max-width: 100px !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                white-space: nowrap !important;
                text-align: right !important;
            }

            .aphim-item-chevron {
                width: 14px !important;
                height: 14px !important;
                min-width: 14px !important;
                min-height: 14px !important;
                color: rgba(255, 255, 255, 0.45) !important;
                flex-shrink: 0 !important;
            }

            .aphim-sub-opt {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                margin: 2px 8px !important;
                padding: 10px 14px !important;
                border-radius: 9px !important;
                cursor: pointer !important;
                transition: background 0.15s ease, color 0.15s ease !important;
                font-size: 13.5px !important;
                font-weight: 500 !important;
                color: rgba(255, 255, 255, 0.85) !important;
                white-space: nowrap !important;
            }

            .aphim-sub-opt:hover {
                background: rgba(255, 255, 255, 0.07) !important;
                color: #ffffff !important;
            }

            .aphim-sub-opt.active {
                color: #ffffff !important;
                font-weight: 600 !important;
                background: rgba(255, 255, 255, 0.11) !important;
            }

            .aphim-sub-opt .opt-check {
                width: 17px !important;
                height: 17px !important;
                min-width: 17px !important;
                min-height: 17px !important;
                color: #ffffff !important;
                opacity: 0 !important;
                flex-shrink: 0 !important;
                transition: opacity 0.15s ease !important;
            }

            .aphim-sub-opt.active .opt-check {
                opacity: 1 !important;
            }

            /* ─── TIME DISPLAY (ELEGANT MODERN PROPORTIONAL SANS-SERIF) ─── */
            #aphim-time-wrapper {
                display: inline-flex !important;
                align-items: center !important;
                margin-left: 10px !important;
                user-select: none !important;
                -webkit-user-select: none !important;
                white-space: nowrap !important;
            }

            #aphim-time-current,
            #aphim-time-duration {
                color: #ffffff !important;
                font-weight: 500 !important;
                font-size: 14px !important;
                letter-spacing: 0.3px !important;
                font-family: 'Inter', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
                text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
                font-variant-numeric: tabular-nums !important;
                line-height: 1 !important;
            }

            .aphim-time-divider {
                color: rgba(255, 255, 255, 0.7) !important;
                font-weight: 400 !important;
                font-size: 14px !important;
                margin: 0 6px !important;
                font-family: 'Inter', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
                text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
                line-height: 1 !important;
            }

            @media (max-width: 640px) {
                #aphim-time-current,
                #aphim-time-duration,
                .aphim-time-divider {
                    font-size: 11px !important;
                }
                .aphim-time-divider {
                    margin: 0 2px !important;
                }
            }

            #aphim-volume-slider {
                -webkit-appearance: none;
                appearance: none;
                width: 95px !important;
                height: 4px !important;
                border-radius: 9999px !important;
                background: linear-gradient(to right, #ffffff 0%, #ffffff var(--vol-pct, 90%), rgba(255, 255, 255, 0.28) var(--vol-pct, 90%), rgba(255, 255, 255, 0.28) 100%) !important;
                outline: none !important;
                cursor: pointer !important;
                margin: 0 !important;
                transition: height 0.15s ease;
            }

            #aphim-volume-slider:hover {
                height: 6px !important;
            }

            @media (max-width: 640px) {
                #aphim-volume-slider {
                    width: 40px !important;
                }
            }

            #aphim-volume-slider::-webkit-slider-thumb {
                -webkit-appearance: none;
                appearance: none;
                width: 14px !important;
                height: 14px !important;
                border-radius: 50% !important;
                background: #ffffff !important;
                border: none !important;
                cursor: pointer !important;
                box-shadow: 0 0 6px rgba(0, 0, 0, 0.9) !important;
                transition: transform 0.1s ease !important;
            }

            #aphim-volume-slider:hover::-webkit-slider-thumb {
                transform: scale(1.15) !important;
            }

            #aphim-volume-slider::-moz-range-thumb {
                width: 14px !important;
                height: 14px !important;
                border-radius: 50% !important;
                background: #ffffff !important;
                border: none !important;
                cursor: pointer !important;
                box-shadow: 0 0 6px rgba(0, 0, 0, 0.9) !important;
            }

            #aphim-volume-slider::-moz-range-progress {
                background-color: #ffffff !important;
                height: 4px !important;
                border-radius: 9999px !important;
            }

            /* ==========================================================================
               MOBILE VIDEO PLAYER CONTROLS BALANCING & CRISP VISIBILITY (MASTER RULES)
               ========================================================================== */
            @media (max-width: 640px) {
                /* Center Play indicator scaled proportionally */
                #aphim-center-indicator {
                    width: 48px !important;
                    height: 48px !important;
                    border-width: 1.5px !important;
                    background: rgba(15, 18, 26, 0.82) !important;
                }
                #aphim-center-icon {
                    font-size: 26px !important;
                    width: 26px !important;
                    height: 26px !important;
                    line-height: 26px !important;
                }

                /* High contrast dark gradient behind controls */
                #aphim-controls {
                    background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.25) 85%, transparent 100%) !important;
                }

                /* Scrubber rail and thumb */
                #aphim-timeline-container {
                    height: 16px !important;
                    margin-bottom: 4px !important;
                    padding: 4px 0 !important;
                }
                #aphim-timeline-rail {
                    height: 3.5px !important;
                    background: rgba(255, 255, 255, 0.35) !important;
                }
                #aphim-progress-bar {
                    background: linear-gradient(90deg, #f59e0b 0%, #fcd576 100%) !important;
                    box-shadow: 0 0 8px rgba(252, 213, 118, 0.95), 0 1px 2px rgba(0, 0, 0, 0.8) !important;
                }
                #aphim-scrubber-dot {
                    width: 12px !important;
                    height: 12px !important;
                    background: #ffffff !important;
                    box-shadow: 0 0 6px rgba(0, 0, 0, 0.9), 0 0 8px rgba(252, 213, 118, 0.95) !important;
                }
                #aphim-hover-time {
                    bottom: 18px !important;
                    font-size: 10px !important;
                    padding: 2px 6px !important;
                }

                /* Bottom row flex distribution */
                #aphim-row-bottom {
                    gap: 3px !important;
                    width: 100% !important;
                    display: flex !important;
                    align-items: center !important;
                    justify-content: space-between !important;
                }
                #aphim-left-group {
                    display: flex !important;
                    align-items: center !important;
                    gap: 1.5px !important;
                    min-width: 0 !important;
                    flex-shrink: 1 !important;
                }
                #aphim-right-group {
                    display: flex !important;
                    align-items: center !important;
                    gap: 1.5px !important;
                    flex-shrink: 0 !important;
                }

                /* Volume container */
                #aphim-volume-wrapper {
                    margin-left: 0 !important;
                }
                #aphim-volume-slider-box {
                    width: 44px !important;
                    padding-left: 2px !important;
                    overflow: hidden !important;
                    display: flex !important;
                    align-items: center !important;
                }
                #aphim-volume-slider {
                    width: 40px !important;
                    height: 3px !important;
                }
                #aphim-volume-slider::-webkit-slider-thumb {
                    width: 10px !important;
                    height: 10px !important;
                }
                #aphim-volume-slider::-moz-range-thumb {
                    width: 10px !important;
                    height: 10px !important;
                }

                /* Time wrapper */
                #aphim-time-wrapper {
                    margin-left: 3px !important;
                    font-size: 11px !important;
                    font-weight: 600 !important;
                    letter-spacing: 0 !important;
                    white-space: nowrap !important;
                    flex-shrink: 0 !important;
                    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95) !important;
                }

                /* Hide PiP on mobile to guarantee core buttons fit */
                #aphim-btn-pip {
                    display: none !important;
                }

                /* Compact Settings dropdown on mobile */
                #aphim-settings-menu {
                    bottom: calc(100% + 8px) !important;
                    right: 0 !important;
                    width: 230px !important;
                    max-height: 200px !important;
                    font-size: 12px !important;
                }
                .aphim-settings-header {
                    padding: 10px 14px 8px 14px !important;
                    font-size: 12px !important;
                }
                .aphim-settings-item {
                    padding: 9px 14px !important;
                    font-size: 12px !important;
                }
                .aphim-item-label {
                    font-size: 12px !important;
                }
                .aphim-item-value {
                    font-size: 11px !important;
                }
                .aphim-sub-opt {
                    padding: 8px 12px !important;
                    font-size: 12px !important;
                }

                /* Subtitles adjustment so cues never collide with bottom controls */
                video::cue {
                    font-family: 'Inter', system-ui, sans-serif !important;
                    font-size: 12.5px !important;
                    line-height: 1.3 !important;
                    background-color: rgba(0, 0, 0, 0.75) !important;
                    color: #ffffff !important;
                    text-shadow: 0 1px 2px rgba(0, 0, 0, 1) !important;
                    line: -3 !important;
                }
            }

            /* Extra small mobile (< 440px) */
            @media (max-width: 440px) {
                #aphim-controls {
                    padding-left: 6px !important;
                    padding-right: 6px !important;
                    padding-bottom: 5px !important;
                }
                #aphim-controls button,
                .aphim-ctrl-btn {
                    width: 30px !important;
                    height: 30px !important;
                    min-width: 30px !important;
                    min-height: 30px !important;
                    max-width: 30px !important;
                    max-height: 30px !important;
                }
                #aphim-controls .material-icons-round {
                    font-size: 19px !important;
                    width: 19px !important;
                    height: 19px !important;
                }
                #aphim-controls .aphim-btn-icon,
                #aphim-btn-settings svg {
                    width: 18px !important;
                    height: 18px !important;
                }
                #aphim-volume-slider-box {
                    width: 34px !important;
                }
                #aphim-volume-slider {
                    width: 30px !important;
                }
                #aphim-time-wrapper {
                    margin-left: 2px !important;
                }
                #aphim-time-current,
                #aphim-time-duration,
                .aphim-time-divider {
                    font-size: 10px !important;
                }
                #aphim-btn-next {
                    display: none !important;
                }
            }

            /* Re-enable full layout in fullscreen on mobile devices */
            :fullscreen #aphim-btn-next,
            :-webkit-full-screen #aphim-btn-next,
            .aphim-web-fullscreen #aphim-btn-next {
                display: inline-flex !important;
            }
            :fullscreen #aphim-btn-pip,
            :-webkit-full-screen #aphim-btn-pip,
            .aphim-web-fullscreen #aphim-btn-pip {
                display: inline-flex !important;
            }
            :fullscreen #aphim-volume-slider-box,
            :-webkit-full-screen #aphim-volume-slider-box,
            .aphim-web-fullscreen #aphim-volume-slider-box {
                width: 65px !important;
            }
            :fullscreen #aphim-volume-slider,
            :-webkit-full-screen #aphim-volume-slider,
            .aphim-web-fullscreen #aphim-volume-slider {
                width: 60px !important;
            }
/* Guide Modal Styling - Transparent Rows, High-Contrast White Text, Balanced Spacing & Indentation */
.guide-modal-card {
    background: #0d1017 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95) !important;
    color: #ffffff !important;
}

.guide-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px 14px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.guide-modal-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

.guide-modal-close {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.guide-modal-close:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.guide-modal-body {
    padding: 16px 20px 20px 20px !important;
}

.guide-section-box {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.guide-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    padding-left: 2px !important;
    letter-spacing: 0.3px !important;
}

.guide-section-title svg {
    color: #fcd576 !important;
    stroke: #fcd576 !important;
    width: 19px !important;
    height: 19px !important;
}

/* CÁC MỤC CON ĐƯỢC THỤT LỀ CÁCH VÀO 18PX RÕ RÀNG VÀ CÂN BẰNG */
.guide-items-list {
    padding-left: 18px !important;
    display: flex !important;
    flex-direction: column !important;
}

.guide-item-row {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 10px 2px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.guide-item-row:last-child {
    border-bottom: none !important;
}

.guide-item-row svg {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

.guide-item-row .gesture-icon {
    color: #94a3b8 !important;
    stroke: #94a3b8 !important;
}

.guide-item-row .btn-icon {
    color: #fcd576 !important;
    stroke: #fcd576 !important;
}

.guide-item-text {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.guide-status-note {
    color: #fcd576 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding-top: 10px !important;
    padding-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.guide-pc-box {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 16px 2px 4px 2px !important;
    margin-top: 6px !important;
}

.guide-pc-toggle {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.guide-pc-toggle:hover {
    color: #fcd576 !important;
}

#pcShortcutsList {
    display: none !important;
    margin-top: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 4px 10px 4px 12px !important;
    max-height: 180px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(252, 213, 118, 0.4) rgba(255, 255, 255, 0.02) !important;
}

#pcShortcutsList.open {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

#pcShortcutsList::-webkit-scrollbar {
    width: 4px !important;
}

#pcShortcutsList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 9999px !important;
}

#pcShortcutsList::-webkit-scrollbar-thumb {
    background: rgba(252, 213, 118, 0.4) !important;
    border-radius: 9999px !important;
}

#pcShortcutsList::-webkit-scrollbar-thumb:hover {
    background: rgba(252, 213, 118, 0.7) !important;
}

.pc-shortcut-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 2px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.pc-shortcut-row:last-child {
    border-bottom: none !important;
}

.pc-shortcut-name {
    color: #f1f5f9 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.pc-shortcut-key {
    padding: 2.5px 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 6px !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-weight: 700 !important;
    color: #fcd576 !important;
    font-size: 11.5px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Server Selection Row Layout & Button Sizing (Perfect Sync Dark & Light) */
.server-group-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 8px !important;
}

.server-group-label {
    min-width: 76px !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
    color: #e2e8f0 !important;
    font-weight: 700 !important;
}

.server-buttons-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.server-tab-btn {
    border-radius: 6px !important;
    padding: 3.5px 8.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12.5px !important;
    transform: none !important;
}

.server-tab-badge {
    border-radius: 9999px !important;
    padding: 1px 6.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3.5px !important;
    font-size: 11px !important;
}

.server-tab-title {
    font-size: 12.5px !important;
}

/* Mobile Fullscreen Guard: Prevent fake web fullscreen from trapping mobile page in portrait */
@media (max-width: 768px) {
    #aphim-player-wrapper.aphim-web-fullscreen {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        z-index: 1 !important;
    }
}

/* =========================================================================
   🎬 NETFLIX / APPLE TV+ CINEMATIC NEXT EPISODE SHOWCASE (Desktop & Mobile)
   ========================================================================= */
.aphim-next-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000 !important;
    padding: 16px !important;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
}

.aphim-next-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

/* Ambient Cinematic Blurred Backdrop */
.aphim-next-backdrop-img {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(32px) brightness(0.24) saturate(1.3);
    transform: scale(1.15);
    pointer-events: none;
    z-index: 1;
}

.aphim-next-backdrop-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10, 14, 26, 0.6) 0%, rgba(5, 7, 13, 0.94) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Next Episode Floating Card */
.aphim-next-card {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(22, 28, 45, 0.88) 0%, rgba(11, 15, 25, 0.95) 100%);
    border: 1px solid rgba(252, 211, 118, 0.28);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 40px rgba(252, 211, 118, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 18px 22px;
    max-width: 530px;
    width: 90%;
    text-align: left;
}

/* Left Thumbnail Section */
.aphim-next-thumb-wrap {
    position: relative;
    width: 190px;
    height: 114px;
    border-radius: 13px;
    overflow: hidden;
    flex-shrink: 0;
    background: #05070d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.aphim-next-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aphim-next-card:hover .aphim-next-thumb-img {
    transform: scale(1.05);
}

.aphim-next-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}

.aphim-next-thumb-timer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.aphim-next-timer-svg {
    width: 100%;
    height: 100%;
}

.aphim-next-timer-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.aphim-next-timer-num {
    font-size: 18px;
    font-weight: 900;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(252, 211, 118, 0.8);
}

.aphim-next-timer-unit {
    font-size: 7.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #cbd5e1;
    margin-top: 1px;
}

.aphim-next-thumb-pill {
    position: absolute;
    bottom: 6px;
    left: 8px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.04em;
}

/* Right Information Section */
.aphim-next-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.aphim-next-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.aphim-next-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(252, 211, 118, 0.14);
    border: 1px solid rgba(252, 211, 118, 0.35);
    color: #fcd576;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(252, 211, 118, 0.2);
}

.aphim-next-badge svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.aphim-next-status-hint {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.aphim-next-status-hint b {
    color: #fcd576;
    font-weight: 800;
}

.aphim-next-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.aphim-next-ep-name {
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.2));
}

.aphim-next-movie-name {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.aphim-next-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.aphim-next-btn-play {
    flex: 1.2;
    padding: 9px 18px;
    border-radius: 11px;
    background: linear-gradient(135deg, #fcd576 0%, #fbbf24 50%, #f59e0b 100%);
    border: none;
    color: #0b0f19;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(252, 211, 118, 0.45);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.aphim-next-btn-play:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(252, 211, 118, 0.65);
    transform: translateY(-1px);
}

.aphim-next-btn-play:active {
    transform: scale(0.97);
}

.aphim-next-btn-cancel {
    flex: 1;
    padding: 9px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.aphim-next-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.aphim-next-btn-cancel:active {
    transform: scale(0.97);
}

.aphim-next-kbd-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.aphim-next-kbd {
    display: inline-block;
    padding: 1px 5px;
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* =========================================================================
   Responsive Refinements for Mobile Screens
   ========================================================================= */
@media (max-width: 640px) {
    .aphim-next-overlay {
        padding: 8px 10px !important;
    }

    .aphim-next-card {
        padding: 10px 12px !important;
        gap: 10px !important;
        max-width: 350px !important;
        width: 95% !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9), 0 0 20px rgba(252, 211, 118, 0.1) !important;
    }

    .aphim-next-thumb-wrap {
        width: 104px !important;
        height: 66px !important;
        border-radius: 9px !important;
    }

    .aphim-next-thumb-timer {
        width: 36px !important;
        height: 36px !important;
    }

    .aphim-next-timer-num {
        font-size: 13px !important;
    }

    .aphim-next-timer-unit {
        font-size: 6px !important;
    }

    .aphim-next-thumb-pill {
        display: none !important;
    }

    .aphim-next-info-wrap {
        gap: 4px !important;
    }

    .aphim-next-badge-row {
        gap: 4px !important;
    }

    .aphim-next-badge {
        font-size: 8.5px !important;
        padding: 1.5px 6.5px !important;
        height: 17px !important;
    }

    .aphim-next-badge svg {
        width: 8px !important;
        height: 8px !important;
    }

    .aphim-next-status-hint {
        display: none !important;
    }

    .aphim-next-titles {
        gap: 1px !important;
    }

    .aphim-next-ep-name {
        font-size: 14.5px !important;
    }

    .aphim-next-movie-name {
        font-size: 10px !important;
    }

    .aphim-next-actions {
        gap: 6px !important;
        margin-top: 2px !important;
    }

    .aphim-next-btn-play,
    .aphim-next-btn-cancel {
        padding: 5px 8px !important;
        min-height: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    .aphim-next-btn-play svg,
    .aphim-next-btn-cancel svg {
        width: 11px !important;
        height: 11px !important;
    }

    .aphim-next-kbd-hint {
        display: none !important;
    }
}

/* ==========================================================================
   🎬 ENTERPRISE REELS & REVIEW CTA BANNER (LIGHT & DARK MODE READY)
   ========================================================================== */
.reels-cta-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    text-decoration: none !important;
    background: linear-gradient(135deg, rgba(255, 30, 86, 0.12) 0%, rgba(255, 153, 0, 0.08) 50%, rgba(20, 24, 38, 0.85) 100%);
    border: 1px solid rgba(255, 30, 86, 0.3);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.reels-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.reels-cta-banner:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 30, 86, 0.6);
    box-shadow: 0 8px 24px -2px rgba(255, 30, 86, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.reels-cta-banner:active {
    transform: scale(0.98);
}

.reels-cta-banner.is-transitioning {
    pointer-events: none;
    transform: scale(0.975);
    filter: brightness(1.12);
    box-shadow: 0 0 20px rgba(255, 30, 86, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* ─── Ultra Smooth Top Loading Bar for Reels Transition ─── */
.reels-transit-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #ff1e56, #ff007f, #ff9900);
    box-shadow: 0 0 10px rgba(255, 30, 86, 0.8), 0 0 20px rgba(255, 153, 0, 0.5);
    z-index: 1000000;
    pointer-events: none;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.reels-cta-banner:hover::before {
    left: 150%;
    transition: left 0.75s ease-in-out;
}

.reels-cta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.reels-cta-icon-box {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.reels-cta-icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(255, 30, 86, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.reels-cta-banner:hover .reels-cta-icon-inner {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(255, 30, 86, 0.6);
}

.reels-cta-svg {
    width: 42px;
    height: 42px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.reels-cta-pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 30, 86, 0.5);
    opacity: 0;
    animation: reelsPulsePing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes reelsPulsePing {
    0% { transform: scale(0.95); opacity: 0.8; }
    70%, 100% { transform: scale(1.22); opacity: 0; }
}

.reels-cta-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.reels-cta-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1px;
}

.reels-cta-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ff3366;
}

.reels-cta-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff1e56;
    box-shadow: 0 0 8px #ff1e56;
    animation: reelsDotBlink 1.4s ease-in-out infinite alternate;
}

@keyframes reelsDotBlink {
    0% { opacity: 0.4; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 10px #ff1e56; }
}

.reels-cta-time-chip {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 30, 86, 0.18);
    color: #ff6b81;
    border: 1px solid rgba(255, 30, 86, 0.3);
    letter-spacing: 0.4px;
}

.reels-cta-headline {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.reels-cta-banner:hover .reels-cta-headline {
    color: #ffe4e6;
}

.reels-cta-subtext {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reels-cta-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ff477e;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reels-cta-banner:hover .reels-cta-action-btn {
    background: #e11d48;
    background: radial-gradient(circle at 50% 50%, #ff2a5f 0%, #e11d48 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(255, 30, 86, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.reels-cta-arrow {
    transition: transform 0.25s ease;
}

.reels-cta-banner:hover .reels-cta-arrow {
    transform: translateX(2px);
}

/* ─── LIGHT MODE OVERRIDES FOR REELS CTA BANNER ─── */
html.light-mode .reels-cta-banner {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 55%, #ffe4e6 100%) !important;
    border: 1px solid rgba(225, 29, 72, 0.22) !important;
    box-shadow: 0 4px 18px -2px rgba(225, 29, 72, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .reels-cta-banner:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 50%, #fecdd3 100%) !important;
    border-color: rgba(225, 29, 72, 0.45) !important;
    box-shadow: 0 8px 24px -2px rgba(225, 29, 72, 0.2), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

html.light-mode .reels-cta-banner::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent) !important;
}

html.light-mode .reels-cta-badge-live {
    color: #e11d48 !important;
}

html.light-mode .reels-cta-live-dot {
    background: #e11d48 !important;
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.6) !important;
}

html.light-mode .reels-cta-time-chip {
    background: rgba(225, 29, 72, 0.1) !important;
    border-color: rgba(225, 29, 72, 0.25) !important;
    color: #be123c !important;
}

html.light-mode .reels-cta-headline {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-mode .reels-cta-banner:hover .reels-cta-headline {
    color: #e11d48 !important;
}

html.light-mode .reels-cta-subtext {
    color: #64748b !important;
    font-weight: 600 !important;
}

html.light-mode .reels-cta-action-btn {
    background: #ffffff !important;
    border: 1px solid rgba(225, 29, 72, 0.25) !important;
    color: #e11d48 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

html.light-mode .reels-cta-banner:hover .reels-cta-action-btn {
    background: #e11d48 !important;
    background: radial-gradient(circle at 50% 50%, #ff2a5f 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(225, 29, 72, 0.3) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 16px rgba(225, 29, 72, 0.45), 0 2px 6px rgba(225, 29, 72, 0.25) !important;
}

/* ─── SIDEBAR CAST SECTION (NO DIVIDER, NO CLIPPING) ─── */
#sidebar-cast-section {
    border-top: none !important;
    overflow: visible !important;
}

html.light-mode #sidebar-cast-section {
    border-top: none !important;
}

#sidebar-cast {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-top: 4px !important;
    padding-bottom: 6px !important;
}

.actor-avatar-container {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

html.light-mode .actor-avatar-container {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

html.light-mode #sidebar-cast p {
    color: #475569 !important;
}

/* ─── 1. HIDE "TOP PHIM TUẦN NÀY" TRÊN MOBILE (< 1024px) ─── */
@media (max-width: 1023px) {
    #top-weekly-sidebar,
    .ap-top-weekly-wrapper {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

/* ─── 2. KHOẢNG CÁCH RỘNG RÃI CHO KHUNG BÌNH LUẬN & TRƯỚC FOOTER ─── */
#comments-section {
    margin-top: 36px !important;
    margin-bottom: 110px !important;
    padding-bottom: 50px !important;
}

@media (min-width: 1024px) {
    #comments-section {
        margin-top: 44px !important;
        margin-bottom: 140px !important;
        padding-bottom: 70px !important;
    }
}

/* Khung nhập bình luận to rộng, thoáng đãng */
.ap-cmt-input-container {
    margin-bottom: 28px !important;
}

.ap-cmt-textarea {
    min-height: 95px !important;
    padding: 14px 18px !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
}

/* Danh sách bình luận hiển thị tự nhiên, không bị bó hẹp chiều cao */
.ap-cmt-list {
    min-height: 220px !important;
    max-height: none !important;
    overflow-y: visible !important;
    gap: 18px !important;
    padding: 14px 2px 24px 2px !important;
}

.ap-cmt-item {
    margin-bottom: 14px !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    transition: background-color 0.2s ease !important;
}

/* Đảm bảo khoảng cách đáy trước footer trên cả Desktop và Mobile */
.watch-main-container {
    padding-bottom: 80px !important;
}

@media (min-width: 1024px) {
    .watch-main-container {
        padding-bottom: 120px !important;
    }
}

