
        html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background: black;
            overflow: hidden;
            font-family: "Cairo", sans-serif;
        }

        #player-screen {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            background: black;
            z-index: 10000;
        }

        #player-wrap {
            width: 100%;
            height: 100%;
            position: relative;
        }

        video {
            width: 100%;
            height: 100%;
            background: black;
        }

        #player-screen.audio-mode #player-wrap {
            background-color: #000;
            background-image:
                linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22)),
                var(--audio-bg-image, none);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        #player-screen.audio-mode video {
            opacity: 0;
        }

        #loader {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 22px;
            background: rgba(0, 0, 0, 0.6);
            z-index: 10;
        }

        #error-box {
            position: absolute;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            color: red;
            font-size: 22px;
            background: black;
            z-index: 11;
        }

        #top-info {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            font-size: 18px;
            z-index: 9;
            display: none;
        }

        #overlay {
            position: absolute;
            inset: 0;
            pointer-events: auto;
            z-index: 30;
            opacity: 1;
            transition: opacity 180ms ease;
        }

        #overlay.overlay-hidden {
            opacity: 0;
            pointer-events: none;
        }

        #overlay-top {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 16px 24px;
            background: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        #overlay-bottom {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 16px 24px 26px;
            background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
        }

        #caption-overlay {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 110px;
            max-width: 78%;
            padding: 8px 14px;
            border-radius: 10px;
            color: #fff;
            font-size: 18px;
            text-align: center;
            line-height: 1.4;
            background: rgba(0, 0, 0, .55);
            backdrop-filter: blur(10px);
            display: none;
            z-index: 20;
        }

        #caption-overlay.hidden {
            display: none;
        }

        #caption-overlay.size-small { font-size: 16px; }
        #caption-overlay.size-medium { font-size: 18px; }
        #caption-overlay.size-large { font-size: 22px; }

        #caption-overlay.color-white { color: #fff; }
        #caption-overlay.color-yellow { color: #ffe66b; }

        #caption-overlay.bg-none {
            background: transparent;
            backdrop-filter: none;
        }
        #caption-overlay.bg-dark {
            background: rgba(0, 0, 0, .75);
            backdrop-filter: none;
        }
        #caption-overlay.bg-blur {
            background: rgba(0, 0, 0, .4);
            backdrop-filter: blur(12px);
        }

        .player-seek-feedback {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale(0.86);
            min-width: 210px;
            padding: 18px 26px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            background: rgba(0, 0, 0, 0.62);
            color: #fff;
            text-align: center;
            font-size: 42px;
            font-weight: 800;
            letter-spacing: 1px;
            opacity: 0;
            pointer-events: none;
            z-index: 40;
            transition: opacity 180ms ease, transform 180ms ease;
            backdrop-filter: blur(6px);
        }

        .player-seek-feedback.forward {
            box-shadow: 0 0 0 2px rgba(255, 88, 118, 0.42);
        }

        .player-seek-feedback.rewind {
            box-shadow: 0 0 0 2px rgba(255, 88, 118, 0.42);
        }

        .player-seek-feedback.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        #center-play {
            position: absolute;
            inset: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            pointer-events: auto;
        }

        #center-play button {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            border: none;
            background: rgba(0, 0, 0, .6);
            color: white;
            font-size: 40px;
        }

        .ctrl-row {
            display: flex;
            gap: 12px;
            align-items: center;
            justify-content: flex-start;
        }

        .ctrl-btn {
            font-size: 16px;
            background: rgba(0, 0, 0, .55);
            border: 1px solid rgba(255, 255, 255, .18);
            color: white;
            cursor: pointer;
            pointer-events: auto;
            padding: 6px 12px;
            border-radius: 999px;
            height: 40px;
            min-width: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            outline: none;
            -webkit-tap-highlight-color: transparent;
            backdrop-filter: blur(6px);
        }

        .ctrl-btn:disabled,
        .ctrl-btn.is-disabled {
            opacity: 0.45;
            cursor: not-allowed;
            pointer-events: none;
        }

        .ctrl-btn:focus {
            box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
        }

        .ctrl-btn .icon {
            width: 22px;
            height: 22px;
            display: inline-flex;
        }

        #play-toggle {
            width: 46px;
            height: 46px;
            padding: 0;
            border-radius: 50%;
            background: #ff0000;
            border: none;
            font-size: 0;
            box-shadow: 0 8px 18px rgba(255, 0, 0, .35);
        }

        #play-toggle .icon {
            width: 22px;
            height: 22px;
        }

        #play-toggle .icon.pause {
            display: none;
        }

        #play-toggle.is-playing .icon.play {
            display: none;
        }

        #play-toggle.is-playing .icon.pause {
            display: inline-flex;
        }

        #prev-btn,
        #next-btn,
        #resume-btn,
        #cc-btn {
            background: rgba(0, 0, 0, .6);
        }

        #player-back {
            width: 40px;
            height: 40px;
            padding: 0;
            border-radius: 50%;
            background: rgba(0, 0, 0, .65);
            border: 1px solid rgba(255, 255, 255, .2);
            font-size: 0;
        }

        #progress {
            width: 100%;
            pointer-events: auto;
            -webkit-appearance: none;
            appearance: none;
            --progress-pct: 0%;
            --progress-fill: #ff1b3f;
            --progress-rest: rgba(255, 255, 255, .24);
            height: 4px;
            border-radius: 999px;
            background: linear-gradient(
                to right,
                var(--progress-fill) 0%,
                var(--progress-fill) var(--progress-pct),
                var(--progress-rest) var(--progress-pct),
                var(--progress-rest) 100%
            );
            outline: none;
            margin-bottom: 14px;
        }

        #progress::-webkit-slider-runnable-track {
            height: 100%;
            border-radius: 999px;
            background: transparent;
        }

        #progress::-moz-range-track {
            height: 100%;
            border-radius: 999px;
            background: transparent;
        }

        #progress::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 0;
            height: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            opacity: 0;
            cursor: pointer;
        }

        #progress::-moz-range-thumb {
            width: 0;
            height: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            opacity: 0;
            cursor: pointer;
        }

        .media-text {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 6px;
            pointer-events: auto;
            color: #fff;
        }

        .media-text.hidden {
            opacity: 0;
        }

        #media-title {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
        }

        #media-subtitle {
            font-size: 14px;
            opacity: .75;
            color: rgba(255, 255, 255, 0.8);
        }

        .title-size {
            display: flex;
            gap: 8px;
            pointer-events: auto;
        }

        #time-label {
            font-size: 14px;
            opacity: .8;
            color: #fff;
            background: rgba(0, 0, 0, .45);
            padding: 4px 10px;
            border-radius: 999px;
            backdrop-filter: blur(10px);
        }

        .ctrl-btn.active {
            background: rgba(255, 0, 0, .22);
            border-color: rgba(255, 0, 0, .5);
        }

        .cc-panel {
            position: absolute;
            right: 24px;
            bottom: 90px;
            background: rgba(0, 0, 0, .85);
            border: 1px solid rgba(255, 255, 255, .15);
            border-radius: 14px;
            padding: 12px;
            display: none;
            flex-direction: column;
            gap: 10px;
            z-index: 40;
            min-width: 220px;
            backdrop-filter: blur(8px);
        }

        .cc-panel.show { display: flex; }

        .cc-panel h4 {
            margin: 0;
            font-size: 14px;
            color: #fff;
            opacity: .85;
        }

        .cc-row {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .cc-chip {
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, .15);
            background: rgba(255, 255, 255, .08);
            color: #fff;
            font-size: 12px;
            cursor: pointer;
        }

        .cc-chip.active {
            background: rgba(255, 0, 0, .25);
            border-color: rgba(255, 0, 0, .5);
        }

        #quality-box {
            position: absolute;
            right: 30px;
            bottom: 120px;
            background: rgba(0, 0, 0, .8);
            padding: 10px;
            display: none;
            flex-direction: column;
        }

        #quality-box button {
            background: none;
            border: none;
            color: white;
            padding: 6px 14px;
        }

        .toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #111;
            color: #fff;
            border: 1px solid #222;
            padding: 14px 18px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
            z-index: 9999;
            animation: toast-in .25s ease;
        }

        .toast.action-toast {
            min-width: 260px;
            max-width: 380px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .toast-title {
            font-weight: 700;
            font-size: 16px;
        }

        .toast-message {
            font-size: 14px;
            opacity: 0.9;
        }

        .toast-actions {
            display: flex;
            gap: 10px;
            margin-top: 4px;
        }

        .toast-btn {
            background: rgba(255, 255, 255, .08);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 10px;
            padding: 6px 12px;
            cursor: pointer;
            font-size: 13px;
        }

        .toast-btn.primary {
            background: #e50914;
            border-color: #e50914;
        }

        @keyframes toast-in {
            from {
                transform: translateY(10px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* =============================
           TV UI SCALE (PLAYER)
        ============================= */

        body.tv-ui #loader,
        body.tv-ui #error-box {
            font-size: 28px;
        }

        body.tv-ui #top-info {
            top: 28px;
            left: 28px;
            font-size: 22px;
        }

        body.tv-ui #overlay-top {
            padding: 22px 34px;
            gap: 26px;
        }

        body.tv-ui #overlay-bottom {
            padding: 22px 34px 34px;
        }

        body.tv-ui #caption-overlay {
            bottom: 140px;
            padding: 10px 18px;
            border-radius: 12px;
            font-size: 22px;
        }

        body.tv-ui #center-play button {
            width: 140px;
            height: 140px;
            font-size: 52px;
        }

        body.tv-ui .ctrl-row {
            gap: 16px;
        }

        body.tv-ui .ctrl-btn {
            font-size: 20px;
            padding: 10px 16px;
            border-radius: 999px;
            height: 54px;
            min-width: 54px;
        }

        body.tv-ui .ctrl-btn .icon {
            width: 26px;
            height: 26px;
        }

        body.tv-ui #play-toggle {
            width: 60px;
            height: 60px;
        }

        body.tv-ui #play-toggle .icon {
            width: 26px;
            height: 26px;
        }

        body.tv-ui #player-back {
            width: 54px;
            height: 54px;
        }

        body.tv-ui #progress {
            height: 6px;
            margin-bottom: 18px;
        }

        body.tv-ui #progress::-webkit-slider-thumb {
            width: 16px;
            height: 16px;
        }

        body.tv-ui #progress::-moz-range-thumb {
            width: 16px;
            height: 16px;
        }

        body.tv-ui #media-title {
            font-size: 28px;
        }

        body.tv-ui #media-subtitle {
            font-size: 18px;
        }

        body.tv-ui #time-label {
            font-size: 18px;
            padding: 6px 12px;
        }

        body.tv-ui .cc-panel {
            right: 34px;
            bottom: 120px;
            padding: 16px;
            border-radius: 16px;
            min-width: 280px;
        }

        body.tv-ui .cc-panel h4 {
            font-size: 18px;
        }

        body.tv-ui .cc-chip {
            padding: 10px 14px;
            font-size: 16px;
        }

        /* =============================
           Focus + Themes
        ============================= */

        .ctrl-btn:focus,
        .ctrl-btn:focus-visible,
        #progress:focus,
        #progress:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.96), 0 0 28px rgba(255, 255, 255, 0.28);
        }

        #player-screen.player-theme-smarters #overlay-top {
            background: linear-gradient(to bottom, rgba(38, 7, 12, 0.9), rgba(38, 7, 12, 0.08));
            border-bottom: 1px solid rgba(255, 98, 124, 0.32);
            padding-top: 10px;
            padding-bottom: 10px;
        }

        #player-screen.player-theme-smarters #overlay-bottom {
            background: linear-gradient(to top, rgba(36, 6, 10, 0.92), rgba(36, 6, 10, 0.2));
            border-top: 1px solid rgba(255, 98, 124, 0.26);
            padding-top: 14px;
        }

        #player-screen.player-theme-smarters #player-back {
            background: rgba(58, 10, 18, 0.82);
            border-color: rgba(255, 166, 181, 0.62);
        }

        #player-screen.player-theme-smarters .media-text {
            align-items: center;
        }

        #player-screen.player-theme-smarters #media-title {
            font-size: 32px;
            letter-spacing: 0.5px;
            text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
        }

        #player-screen.player-theme-smarters #media-subtitle {
            display: none;
        }

        #player-screen.player-theme-smarters #progress {
            height: 5px;
            --progress-fill: #ff1b3f;
            --progress-rest: rgba(255, 198, 208, 0.28);
            background: linear-gradient(
                to right,
                var(--progress-fill) 0%,
                var(--progress-fill) var(--progress-pct),
                var(--progress-rest) var(--progress-pct),
                var(--progress-rest) 100%
            );
        }

        #player-screen.player-theme-smarters #progress::-webkit-slider-thumb,
        #player-screen.player-theme-smarters #progress::-moz-range-thumb {
            width: 15px;
            height: 15px;
            border: 2px solid #fff;
            background: #ff1b3f;
        }

        #player-screen.player-theme-smarters .ctrl-row {
            justify-content: center;
            gap: 18px;
        }

        #player-screen.player-theme-smarters .ctrl-btn {
            background: rgba(70, 12, 22, 0.58);
            border-color: rgba(255, 173, 186, 0.62);
            min-width: 50px;
            height: 50px;
            border-radius: 16px;
            color: #fff1f4;
        }

        #player-screen.player-theme-smarters #play-toggle {
            width: 84px;
            height: 84px;
            border-radius: 999px;
            background: linear-gradient(180deg, #ff304f 0%, #c30e2a 100%);
            border: 2px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 12px 34px rgba(195, 14, 42, 0.52);
        }

        #player-screen.player-theme-smarters #play-toggle .icon {
            width: 30px;
            height: 30px;
            color: #fff;
        }

        #player-screen.player-theme-smarters #time-label {
            background: transparent;
            border: 0;
            font-size: 26px;
            letter-spacing: 0.3px;
            padding: 0;
        }

        #player-screen.player-theme-cinematicx #overlay-top {
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
            padding-top: 18px;
            padding-bottom: 8px;
        }

        #player-screen.player-theme-cinematicx #overlay-bottom {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
            padding-bottom: 30px;
        }

        #player-screen.player-theme-cinematicx #media-title {
            font-size: 36px;
            font-weight: 700;
            letter-spacing: 0.2px;
            max-width: 66vw;
            text-shadow: 0 8px 30px rgba(0, 0, 0, 0.72);
        }

        #player-screen.player-theme-cinematicx #media-subtitle {
            font-size: 18px;
            opacity: 0.92;
            max-width: 62vw;
            text-shadow: 0 6px 20px rgba(0, 0, 0, 0.64);
        }

        #player-screen.player-theme-cinematicx #progress {
            height: 6px;
            margin-bottom: 20px;
            --progress-fill: #ff7a2b;
            --progress-rest: rgba(255, 218, 186, 0.3);
            background: linear-gradient(
                to right,
                var(--progress-fill) 0%,
                var(--progress-fill) var(--progress-pct),
                var(--progress-rest) var(--progress-pct),
                var(--progress-rest) 100%
            );
        }

        #player-screen.player-theme-cinematicx #progress::-webkit-slider-thumb,
        #player-screen.player-theme-cinematicx #progress::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border: 2px solid #fff;
            background: #db0e2c;
        }

        #player-screen.player-theme-cinematicx .ctrl-row {
            justify-content: center;
            gap: 14px;
        }

        #player-screen.player-theme-cinematicx .ctrl-btn {
            background: rgba(0, 0, 0, 0.36);
            border-color: rgba(255, 255, 255, 0.48);
            min-width: 52px;
            height: 52px;
            border-radius: 50%;
            color: #fff;
        }

        #player-screen.player-theme-cinematicx #play-toggle {
            width: 96px;
            height: 96px;
            border-radius: 999px;
            border: 2px solid rgba(255, 255, 255, 0.96);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.52);
        }

        #player-screen.player-theme-cinematicx #play-toggle .icon {
            width: 34px;
            height: 34px;
            color: #fff;
        }

        #player-screen.player-theme-cinematicx #time-label {
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.45);
            font-size: 20px;
            padding: 6px 12px;
        }

        #player-screen.player-theme-cinema #overlay-top,
        #player-screen.player-theme-cinema #overlay-bottom {
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.08));
        }

        #player-screen.player-theme-cinema #overlay-bottom {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.08));
        }

        #player-screen.player-theme-cinema .ctrl-btn {
            background: rgba(13, 16, 24, 0.75);
            border-color: rgba(255, 255, 255, 0.2);
        }

        #player-screen.player-theme-cinema #play-toggle {
            background: linear-gradient(180deg, #ff2d3d 0%, #d10017 100%);
            box-shadow: 0 12px 28px rgba(209, 0, 23, 0.45);
        }

        #player-screen.player-theme-cinema #media-title {
            letter-spacing: 0.3px;
            text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
        }

        #player-screen.player-theme-cinema #progress {
            --progress-fill: #ff2d3d;
            --progress-rest: rgba(255, 210, 214, 0.28);
            background: linear-gradient(
                to right,
                var(--progress-fill) 0%,
                var(--progress-fill) var(--progress-pct),
                var(--progress-rest) var(--progress-pct),
                var(--progress-rest) 100%
            );
        }

        #player-screen.player-theme-glass #overlay-top,
        #player-screen.player-theme-glass #overlay-bottom {
            background: rgba(9, 16, 34, 0.45);
            backdrop-filter: blur(26px) saturate(155%);
            border-color: rgba(129, 191, 255, 0.26);
        }

        #player-screen.player-theme-glass #overlay-top {
            border-bottom: 1px solid rgba(129, 191, 255, 0.24);
            box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
        }

        #player-screen.player-theme-glass #overlay-bottom {
            border-top: 1px solid rgba(129, 191, 255, 0.22);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
        }

        #player-screen.player-theme-glass .ctrl-btn {
            background: linear-gradient(180deg, rgba(66, 12, 22, 0.82), rgba(42, 8, 14, 0.82));
            border-color: rgba(255, 137, 160, 0.58);
            border-radius: 16px;
            color: #ffe3ea;
            min-width: 56px;
            height: 46px;
        }

        #player-screen.player-theme-glass #play-toggle {
            border-radius: 18px;
            width: 86px;
            height: 54px;
            background: linear-gradient(135deg, #ff274d 0%, #b10023 100%);
            box-shadow: 0 14px 34px rgba(255, 39, 77, 0.42);
        }

        #player-screen.player-theme-glass #progress {
            height: 8px;
            --progress-fill: #ff1b3f;
            --progress-rest: rgba(255, 198, 208, 0.24);
            background: linear-gradient(
                to right,
                var(--progress-fill) 0%,
                var(--progress-fill) var(--progress-pct),
                var(--progress-rest) var(--progress-pct),
                var(--progress-rest) 100%
            );
        }

        #player-screen.player-theme-glass #progress::-webkit-slider-thumb,
        #player-screen.player-theme-glass #progress::-moz-range-thumb {
            width: 0;
            height: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            opacity: 0;
        }

        #player-screen.player-theme-glass #media-title {
            color: #ffeaf0;
            text-shadow: 0 3px 14px rgba(66, 10, 22, 0.78);
        }

        #player-screen.player-theme-glass #time-label {
            border: 1px solid rgba(255, 137, 160, 0.35);
            background: rgba(43, 8, 16, 0.42);
            color: #ffe3ea;
        }

        #player-screen.player-theme-minimal #overlay-top,
        #player-screen.player-theme-minimal #overlay-bottom {
            background: transparent;
        }

        #player-screen.player-theme-minimal #overlay-bottom {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
            padding-top: 10px;
        }

        #player-screen.player-theme-minimal .ctrl-row {
            gap: 8px;
        }

        #player-screen.player-theme-minimal #overlay-top {
            padding-top: 8px;
            padding-bottom: 2px;
        }

        #player-screen.player-theme-minimal #player-back {
            width: 34px;
            height: 34px;
            border-width: 1px;
            opacity: 0.85;
        }

        #player-screen.player-theme-minimal .ctrl-btn {
            border-radius: 10px;
            min-width: 44px;
            height: 38px;
            background: rgba(55, 8, 17, 0.42);
            border-color: rgba(255, 122, 145, 0.38);
            box-shadow: none;
            color: #ffdfe6;
        }

        #player-screen.player-theme-minimal #play-toggle {
            width: 58px;
            height: 40px;
            border-radius: 12px;
            background: linear-gradient(135deg, #ff274d 0%, #b10023 100%);
            color: #fff;
            box-shadow: 0 6px 16px rgba(255, 27, 63, 0.35);
        }

        #player-screen.player-theme-minimal #play-toggle .icon {
            color: #fff;
        }

        #player-screen.player-theme-minimal #progress {
            height: 3px;
            margin-bottom: 10px;
            --progress-fill: #ff1b3f;
            --progress-rest: rgba(255, 210, 214, 0.22);
            background: linear-gradient(
                to right,
                var(--progress-fill) 0%,
                var(--progress-fill) var(--progress-pct),
                var(--progress-rest) var(--progress-pct),
                var(--progress-rest) 100%
            );
        }

        #player-screen.player-theme-minimal #progress::-webkit-slider-thumb,
        #player-screen.player-theme-minimal #progress::-moz-range-thumb {
            width: 0;
            height: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            opacity: 0;
        }

        #player-screen.player-theme-minimal #media-title {
            font-size: 18px;
            font-weight: 600;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
        }

        #player-screen.player-theme-minimal #media-subtitle {
            opacity: 0.58;
            font-size: 12px;
        }

        #player-screen.player-theme-minimal #time-label {
            background: transparent;
            border: 1px solid rgba(255, 122, 145, 0.38);
            padding: 2px 8px;
            font-size: 12px;
            color: #ffdfe6;
        }

        /* enforce bar-only progress style in all themes (no dot thumb) */
        #progress::-webkit-slider-thumb,
        #player-screen.player-theme-smarters #progress::-webkit-slider-thumb,
        #player-screen.player-theme-cinematicx #progress::-webkit-slider-thumb,
        #player-screen.player-theme-cinema #progress::-webkit-slider-thumb,
        #player-screen.player-theme-glass #progress::-webkit-slider-thumb,
        #player-screen.player-theme-minimal #progress::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 0 !important;
            height: 0 !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            opacity: 0 !important;
        }

        #progress::-moz-range-thumb,
        #player-screen.player-theme-smarters #progress::-moz-range-thumb,
        #player-screen.player-theme-cinematicx #progress::-moz-range-thumb,
        #player-screen.player-theme-cinema #progress::-moz-range-thumb,
        #player-screen.player-theme-glass #progress::-moz-range-thumb,
        #player-screen.player-theme-minimal #progress::-moz-range-thumb {
            width: 0 !important;
            height: 0 !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            opacity: 0 !important;
        }
    
