

        /* Базовые стили для всех контейнеров */
        .uvideo-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%;
            margin: 20px 0;
            background: #000;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .uvideo-container iframe,
        .uvideo-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .uvideo-error {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            color: #856404;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            text-align: center;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        /* Кастомный плеер - оригинальные стили из дизайна */
        .video-container {
            position: relative;
            width: 100%;
            max-width: 900px;
            min-height: 400px;
            margin: 0 auto;
            background: #000;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            cursor: default;
            transition: cursor 0.3s ease;
        }

        .video-container video {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
            transition: none; /* Убираем transitions для мгновенного отклика при перемотке */
        }
        
        /* Отключаем все tooltips */
        video[title]:hover::after {
            display: none !important;
        }
        
        video {
            pointer-events: auto;
        }
        
        video:hover {
            /* Убираем любые браузерные tooltips */
            title: none !important;
        }

        video.seeking {
            image-rendering: optimizeSpeed; /* Оптимизируем рендеринг при перемотке */
            image-rendering: -moz-crisp-edges;
            image-rendering: -webkit-optimize-contrast;
        }

        .quality-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 4px 8px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 600;
            z-index: 10;
        }

        .video-title {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            z-index: 10;
            max-width: calc(100% - 120px);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .video-title.show {
            opacity: 1;
            transform: translateY(0);
        }

        .video-container.show-controls .video-title,
        .video-container.controls-visible .video-title {
            opacity: 1;
            transform: translateY(0);
        }

        .video-container.controls-hidden .video-title {
            opacity: 0 !important;
            transform: translateY(-10px) !important;
        }

        .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
            z-index: 20;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* Центральные контролы */
        .center-controls {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            align-items: center;
            gap: 24px;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 15;
        }

        .video-container.show-controls .center-controls,
        .video-container.controls-visible .center-controls {
            opacity: 1;
        }

        .video-container.controls-hidden .center-controls {
            opacity: 0 !important;
        }

        /* Нижние контролы */
        .bottom-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .video-container.show-controls .bottom-controls,
        .video-container.controls-visible .bottom-controls {
            opacity: 1;
        }

        .video-container.controls-hidden .bottom-controls {
            opacity: 0 !important;
        }

        /* Дополнительно уменьшаем кнопки в скрытом состоянии */
        .video-container.controls-hidden .btn-small {
            width: 32px;
            height: 32px;
            font-size: 11px;
        }

        .controls-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px 8px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
        }

        .left-controls {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .time-display {
            color: white;
            font-size: 14px;
            font-weight: 500;
            font-family: 'Inter', monospace;
            letter-spacing: 0.5px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
            min-width: 100px;
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 8px 12px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            overflow: hidden;
            width: 44px;
        }

        .volume-control:hover {
            gap: 8px;
            width: 120px;
            padding: 8px 12px;
        }

        .volume-control:focus-within {
            gap: 8px;
            width: 120px;
            padding: 8px 12px;
        }

        .right-controls {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Прогресс бар */
        .progress-container {
            width: 100%;
            padding: 0 20px 12px;
            background: rgba(0, 0, 0, 0.6);
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            transition: height 0.2s ease;
        }

        .progress-bar:hover,
        .progress-bar.dragging {
            height: 8px;
        }

        .progress-fill {
            height: 100%;
            background: #00a8ff;
            border-radius: 3px;
            transition: width 0.1s ease;
            position: relative;
        }

        .progress-fill.seeking {
            background: #ff6b35;
            transition: none;
        }

        .progress-thumb {
            position: absolute;
            right: -10px;
            top: 50%;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            transform: translateY(-50%);
            opacity: 0;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            cursor: grab;
        }

        .progress-thumb.dragging {
            cursor: grabbing;
            transform: translateY(-50%) scale(1.2);
            opacity: 1;
            box-shadow: 0 4px 16px rgba(0, 168, 255, 0.4);
        }

        .progress-bar:hover .progress-thumb,
        .progress-bar.dragging .progress-thumb {
            opacity: 1;
        }

        .seek-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            opacity: 0;
            transition: opacity 0.2s ease;
            pointer-events: none;
            z-index: 35;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .seek-indicator.show {
            opacity: 1;
        }

        .seek-indicator .seek-icon {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        /* Кнопки */
        .btn {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            user-select: none;
            outline: none;
        }

        .btn:focus {
            outline: none;
            box-shadow: none;
        }

        .btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn-play {
            width: 64px;
            height: 64px;
            background: rgba(0, 168, 255, 0.9);
            border: none;
            border-radius: 50%;
            outline: none;
        }

        .btn-play:focus {
            outline: none;
            box-shadow: none;
        }

        .btn-play:hover {
            background: rgba(0, 168, 255, 1);
            transform: scale(1.05);
        }

        /* Плавная анимация переключения иконок play/pause */
        .btn-play svg path {
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: center;
        }

        .btn-play svg path.icon-hidden {
            opacity: 0;
            transform: scale(0.7);
        }

        .btn-play svg path.icon-visible {
            opacity: 1;
            transform: scale(1);
        }

        /* Анимация самой кнопки при клике */
        .btn-play:active {
            transform: scale(0.95);
            transition: transform 0.1s ease;
        }

        /* Анимация при переключении play/pause */
        .btn-play.animate-click {
            transform: scale(1.05);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .btn-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
        }

        .btn-small {
            width: 36px;
            height: 36px;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1;
        }

        .volume-btn {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 4px;
            border-radius: 6px;
            transition: all 0.2s ease;
            outline: none;
            flex-shrink: 0;
        }

        .volume-control:hover .volume-btn,
        .volume-control:focus-within .volume-btn {
            justify-content: center;
        }

        /* Анимации для кнопки громкости */
        .volume-btn.mute-animation {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.15);
        }

        .volume-btn.unmute-animation {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.15);
        }

        .volume-btn:focus {
            outline: none;
        }

        .volume-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .volume-slider {
            width: 0;
            height: 4px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            outline: none;
            cursor: pointer;
            -webkit-appearance: none;
            appearance: none;
            transition: all 0.3s ease;
            opacity: 0;
            overflow: hidden;
        }

        .volume-control:hover .volume-slider,
        .volume-control:focus-within .volume-slider {
            width: 70px;
            opacity: 1;
        }

        .volume-slider:focus {
            outline: none;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: white;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            transition: all 0.2s ease;
        }

        .volume-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        }

        .volume-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: white;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            border: none;
            transition: all 0.2s ease;
        }

        .volume-slider::-moz-range-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        }

        .volume-slider::-moz-range-track {
            height: 4px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            border: none;
        }

        .icon {
            width: 28px;
            height: 28px;
            fill: currentColor;
        }

        .icon-small {
            width: 20px;
            height: 20px;
        }

        .icon-large {
            width: 44px;
            height: 44px;
        }

        /* Очень компактные иконки для десктопа */
        @media screen and (min-width: 1025px) {
            .center-controls .icon-large {
                width: 32px !important;
                height: 32px !important;
                min-width: 32px !important;
                min-height: 32px !important;
            }

            /* Увеличиваем иконки громкости и полного экрана на десктопе */
            .volume-btn .icon-small,
            #fullscreenBtn .icon-small,
            .btn-small .icon-small {
                width: 24px !important;
                height: 24px !important;
            }
        }

        /* Чуть больше для широких десктопов */
        @media screen and (min-width: 1440px) {
            .center-controls .icon-large {
                width: 34px !important;
                height: 34px !important;
                min-width: 34px !important;
                min-height: 34px !important;
            }

            /* Еще больше иконки громкости и полного экрана на широких десктопах */
            .volume-btn .icon-small,
            #fullscreenBtn .icon-small,
            .btn-small .icon-small {
                width: 26px !important;
                height: 26px !important;
            }
        }

        /* Меню скорости */
        .speed-control {
            position: relative;
        }

        .speed-control .btn {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0;
            margin: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .speed-menu {
            position: absolute;
            bottom: 100%;
            right: 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 8px;
            min-width: 80px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            pointer-events: none;
            margin-bottom: 8px;
        }

        .speed-menu.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
        }

        .speed-option {
            display: block;
            width: 100%;
            background: none;
            border: none;
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.2s ease;
            text-align: center;
            font-size: 14px;
            outline: none;
        }

        .speed-option:focus {
            outline: none;
        }

        .speed-option:hover,
        .speed-option.active {
            background: rgba(255, 255, 255, 0.1);
        }

        /* Убираем все focus outline */
        *:focus {
            outline: none !important;
        }

        button:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        /* Полноэкранный режим через JS класс */
        .video-container.fullscreen-mode .video-title {
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .video-container.fullscreen-mode.controls-visible .video-title {
            opacity: 1;
            transform: translateY(0);
        }

        .video-container.fullscreen-mode .center-controls {
            opacity: 0;
            transition: all 0.3s ease;
        }

        .video-container.fullscreen-mode.controls-visible .center-controls {
            opacity: 1;
        }

        .video-container.fullscreen-mode .bottom-controls {
            opacity: 0;
            transition: all 0.3s ease;
        }

        .video-container.fullscreen-mode.controls-visible .bottom-controls {
            opacity: 1;
        }

        /* Полноэкранное видео на ПК */
        .video-container.fullscreen-mode video {
            width: 100vw;
            height: 100vh;
            object-fit: contain;
            object-position: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* Скрытие курсора в полноэкранном режиме */
        .video-container.fullscreen-mode.controls-hidden {
            cursor: none !important;
        }

        .video-container.fullscreen-mode.controls-hidden * {
            cursor: none !important;
        }

        /* Мобильная версия */
        /* Планшеты */
        @media (max-width: 1024px) {
            .btn-play {
                width: 60px;
                height: 60px;
            }
            
            .btn-icon {
                width: 46px;
                height: 46px;
            }
            
            .controls-row {
                padding: 14px 20px 6px;
            }
        }

        /* Мобильные устройства */
        @media (max-width: 768px) {
            /* Убираем овальный фон у volume-control */
            .volume-control {
                background: transparent !important;
                border-radius: 0 !important;
                backdrop-filter: none !important;
                border: none !important;
                padding: 0 !important;
                width: auto !important;
            }
            .uvideo-container {
                margin: 15px 0;
                border-radius: 6px;
            }
            
            .uvideo-error {
                padding: 12px;
                font-size: 14px;
                margin: 15px 0;
            }

            .video-container {
                margin: 15px 0;
                border-radius: 12px;
                min-height: 200px;
                max-height: 60vh;
            }

            .video-container video {
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center;
            }

            .center-controls {
                gap: 20px;
            }

            .btn-play {
                width: 64px;
                height: 64px;
            }

            .btn-icon {
                width: 48px;
                height: 48px;
                min-width: 48px;
                min-height: 48px;
            }

            .btn-small {
                width: 36px;
                height: 36px;
                min-width: 36px;
                min-height: 36px;
                font-size: 12px;
            }

            .icon {
                width: 26px;
                height: 26px;
            }

            .icon-large {
                width: 42px;
                height: 42px;
            }

            .controls-row {
                padding: 16px 20px 8px;
                min-height: 60px;
            }

            .progress-container {
                padding: 8px 20px 12px;
            }

            .progress-bar {
                height: 6px !important;
                border-radius: 3px;
            }

            .progress-fill {
                height: 6px !important;
                border-radius: 3px;
                background: #00a8ff !important;
                opacity: 1 !important;
                min-width: 2px;
            }

            .progress-handle {
                width: 20px;
                height: 20px;
                border: 3px solid white;
            }

            .left-controls {
                gap: 12px;
            }

            .time-display {
                font-size: 15px;
                min-width: 90px;
            }

            .volume-control {
                display: flex !important;
                gap: 0 !important;
                width: auto !important;
                padding: 4px !important;
                background: transparent !important;
                position: relative !important;
                z-index: 10 !important;
                pointer-events: auto !important;
            }

            .volume-control .volume-slider {
                display: none !important;
            }

            .volume-control:hover,
            .volume-control:focus-within {
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
            }

            .volume-btn {
                width: 44px;
                height: 44px;
                min-width: 44px;
                min-height: 44px;
                padding: 10px;
                border-radius: 8px;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(255, 255, 255, 0.15) !important;
                border: 1px solid rgba(255, 255, 255, 0.3) !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                pointer-events: auto !important;
                position: relative !important;
                z-index: 15 !important;
                cursor: pointer !important;
            }

            .volume-btn .icon {
                width: 22px;
                height: 22px;
                display: block !important;
                flex-shrink: 0;
            }

            .volume-btn .icon path {
                fill: currentColor !important;
                display: block !important;
                opacity: 1 !important;
            }

            .right-controls {
                gap: 12px;
            }

            .speed-control .speed-menu {
                bottom: 50px;
                right: 0;
                left: auto;
                transform: none;
                min-width: 120px;
            }

            .video-title {
                font-size: 16px;
                padding: 8px 20px;
                max-width: calc(100% - 100px);
            }

            .quality-badge {
                font-size: 12px;
                padding: 4px 8px;
            }
        }

        /* Маленькие мобильные экраны */
        @media (max-width: 480px) {
            .video-container {
                margin: 10px 0;
                border-radius: 8px;
                min-height: 180px;
            }

            .center-controls {
                gap: 16px;
            }

            .btn-play {
                width: 56px;
                height: 56px;
            }

            .btn-icon {
                width: 42px;
                height: 42px;
                min-width: 42px;
                min-height: 42px;
            }

            .btn-small {
                width: 36px;
                height: 36px;
                min-width: 36px;
                min-height: 36px;
                font-size: 12px;
            }

            .icon {
                width: 24px;
                height: 24px;
            }

            .icon-large {
                width: 48px;
                height: 48px;
            }

            .controls-row {
                padding: 12px 16px 6px;
                min-height: 56px;
            }

            .progress-container {
                padding: 6px 16px 10px;
            }

            .progress-bar {
                height: 6px !important;
            }

            .progress-fill {
                height: 6px !important;
                background: #00a8ff !important;
                opacity: 1 !important;
                min-width: 2px;
            }

            .progress-handle {
                width: 18px;
                height: 18px;
                border: 2px solid white;
            }

            .left-controls {
                gap: 8px;
            }

            .time-display {
                font-size: 12px;
                min-width: 80px;
            }

            .right-controls {
                gap: 8px;
            }

            /* Кнопка громкости для маленьких экранов (iPhone 14 Pro Max и т.д.) */
            .volume-control {
                display: flex !important;
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
                background: transparent !important;
                border-radius: 0 !important;
                border: none !important;
                backdrop-filter: none !important;
                position: relative !important;
                z-index: 10 !important;
                pointer-events: auto !important;
            }

            .volume-control .volume-slider {
                display: none !important;
            }

            .volume-control:hover,
            .volume-control:focus-within {
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
                background: transparent !important;
                border-radius: 0 !important;
                border: none !important;
            }

            .volume-btn {
                width: 44px !important;
                height: 44px !important;
                min-width: 44px !important;
                min-height: 44px !important;
                padding: 10px !important;
                border-radius: 8px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(255, 255, 255, 0.15) !important;
                border: 2px solid rgba(255, 255, 255, 0.3) !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                pointer-events: auto !important;
                position: relative !important;
                z-index: 15 !important;
                cursor: pointer !important;
                outline: none !important;
                margin: 0 !important;
                -webkit-touch-callout: none !important;
                -webkit-user-select: none !important;
                user-select: none !important;
            }

            /* Псевдо-элемент для увеличения touch-области */
            .volume-btn::before {
                content: '' !important;
                position: absolute !important;
                top: -10px !important;
                left: -10px !important;
                right: -10px !important;
                bottom: -10px !important;
                background: transparent !important;
                border-radius: 20px !important;
                pointer-events: auto !important;
                z-index: -1 !important;
            }

            .volume-btn:active {
                background: rgba(255, 255, 255, 0.3) !important;
                transform: scale(0.95) !important;
                border: 2px solid rgba(255, 255, 255, 0.6) !important;
            }

            .volume-btn:focus {
                outline: none !important;
                border: 2px solid rgba(255, 255, 255, 0.6) !important;
            }

            .volume-btn .icon {
                width: 20px !important;
                height: 20px !important;
                display: block !important;
                flex-shrink: 0 !important;
                pointer-events: none !important;
            }

            .volume-btn .icon path {
                fill: currentColor !important;
                display: block !important;
                opacity: 1 !important;
                pointer-events: none !important;
                transition: all 0.2s ease !important;
            }

            /* Анимация для иконок громкости */
            .volume-btn .icon path[style*="display: none"] {
                opacity: 0 !important;
                transform: scale(0.8) !important;
            }

            .volume-btn .icon path[style*="display: block"] {
                opacity: 1 !important;
                transform: scale(1) !important;
            }

            /* Safari/WebKit специфичные стили */
            @supports (-webkit-touch-callout: none) {
                .volume-btn {
                    -webkit-touch-callout: none !important;
                    -webkit-user-select: none !important;
                    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
                }
            }

            .video-title {
                font-size: 12px;
                padding: 4px 16px;
                max-width: calc(100% - 80px);
            }

            .quality-badge {
                font-size: 11px;
                padding: 3px 6px;
            }

            .speed-control .speed-menu {
                bottom: 45px;
                min-width: 100px;
            }

            .speed-control .speed-menu button {
                padding: 8px 12px;
                font-size: 14px;
            }
        }

        /* Touch устройства - улучшенное взаимодействие */
        @media (hover: none) and (pointer: coarse) {
            .btn-icon, .btn-small, .btn-play, .volume-btn {
                touch-action: manipulation;
                -webkit-tap-highlight-color: transparent;
            }

            .progress-container {
                padding: 8px 0;
            }

            .progress-bar {
                height: 6px !important;
                background: rgba(255, 255, 255, 0.3) !important;
            }

            .progress-handle {
                opacity: 1 !important;
                transform: scale(1.2);
                display: block !important;
            }

            .progress-fill {
                opacity: 1 !important;
                display: block !important;
                background: #00a8ff !important;
                min-width: 3px;
                height: 6px !important;
                border-radius: 3px !important;
                z-index: 2;
                position: relative;
            }

            .controls-row button {
                -webkit-tap-highlight-color: transparent;
                outline: none;
                min-width: 44px;
                min-height: 44px;
            }

            .speed-control:hover .speed-menu {
                display: none;
            }

            .speed-control.active .speed-menu.show {
                display: block !important;
                opacity: 1 !important;
                transform: translateY(0) !important;
                pointer-events: all !important;
                z-index: 1000 !important;
                visibility: visible !important;
            }

            /* Дополнительное правило для мобильных */
            @media (max-width: 768px) {
                .speed-control.active .speed-menu {
                    display: block !important;
                    opacity: 1 !important;
                    transform: translateY(0) !important;
                    pointer-events: all !important;
                    z-index: 1000 !important;
                    visibility: visible !important;
                }
            }

            .volume-control:hover .volume-slider {
                width: 0;
                opacity: 0;
            }

            /* Дополнительные правила для мобильной кнопки громкости */
            .volume-btn {
                outline: none !important;
                border: 2px solid rgba(255, 255, 255, 0.4) !important;
                background: rgba(255, 255, 255, 0.2) !important;
            }

            .volume-btn:active {
                background: rgba(255, 255, 255, 0.3) !important;
                transform: scale(0.95) !important;
            }

            .volume-btn:focus {
                outline: none !important;
                border: 2px solid rgba(255, 255, 255, 0.6) !important;
            }
        }

        /* Ориентация устройства */
        @media screen and (orientation: landscape) and (max-width: 1024px) {
            .video-container {
                max-height: 85vh;
                margin: 5px 0;
            }

            .video-container.fullscreen-mode {
                max-height: 100vh;
                margin: 0;
                border-radius: 0;
            }

            .video-container.fullscreen-mode video {
                object-fit: contain;
                width: 100vw;
                height: 100vh;
            }

            /* Кнопка громкости в ландшафтной ориентации */
            .volume-control {
                display: flex !important;
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
                background: transparent !important;
                border-radius: 0 !important;
                border: none !important;
                backdrop-filter: none !important;
                position: relative !important;
                z-index: 20 !important;
                pointer-events: auto !important;
            }

            .volume-control .volume-slider {
                display: none !important;
            }

            .volume-control:hover,
            .volume-control:focus-within {
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
                background: transparent !important;
                border-radius: 0 !important;
                border: none !important;
            }

            .volume-btn {
                width: 44px !important;
                height: 44px !important;
                min-width: 44px !important;
                min-height: 44px !important;
                padding: 10px !important;
                border-radius: 8px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(255, 255, 255, 0.15) !important;
                border: 2px solid rgba(255, 255, 255, 0.3) !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                pointer-events: auto !important;
                position: relative !important;
                z-index: 15 !important;
                cursor: pointer !important;
                outline: none !important;
                margin: 0 !important;
                -webkit-touch-callout: none !important;
                -webkit-user-select: none !important;
                user-select: none !important;
                box-sizing: border-box !important;
            }

            .volume-btn::before {
                content: '' !important;
                position: absolute !important;
                top: -12px !important;
                left: -12px !important;
                right: -12px !important;
                bottom: -12px !important;
                background: transparent !important;
                border-radius: 18px !important;
                pointer-events: auto !important;
                z-index: -1 !important;
            }

            .volume-btn:active {
                background: rgba(255, 255, 255, 0.3) !important;
                transform: scale(0.95) !important;
                border: 2px solid rgba(255, 255, 255, 0.6) !important;
            }

            .volume-btn:focus {
                outline: none !important;
                border: 2px solid rgba(255, 255, 255, 0.6) !important;
            }

            .volume-btn .icon {
                width: 20px !important;
                height: 20px !important;
                display: block !important;
                flex-shrink: 0 !important;
                pointer-events: none !important;
            }

            .volume-btn .icon path {
                fill: currentColor !important;
                display: block !important;
                opacity: 1 !important;
                pointer-events: none !important;
                transition: all 0.2s ease !important;
            }

            /* Анимации для кнопки громкости в ландшафтной ориентации */
            .volume-btn.mute-animation {
                transform: scale(1.05) !important;
                background: rgba(255, 255, 255, 0.25) !important;
                border: 2px solid rgba(255, 255, 255, 0.5) !important;
            }

            .volume-btn.unmute-animation {
                transform: scale(1.05) !important;
                background: rgba(255, 255, 255, 0.25) !important;
                border: 2px solid rgba(255, 255, 255, 0.5) !important;
            }

            /* Анимация для иконок громкости в ландшафтной ориентации */
            .volume-btn .icon path[style*="display: none"] {
                opacity: 0 !important;
                transform: scale(0.8) !important;
            }

            .volume-btn .icon path[style*="display: block"] {
                opacity: 1 !important;
                transform: scale(1) !important;
            }

            /* Увеличиваем иконки перемотки в ландшафтной ориентации */
            .icon-large {
                width: 42px !important;
                height: 42px !important;
            }
        }

        @media screen and (orientation: portrait) and (max-width: 768px) {
            .video-container {
                max-height: 40vh;
                min-height: 220px;
            }

            .video-container video {
                object-fit: contain;
                max-height: 40vh;
                min-height: 220px;
                width: 100%;
                height: 100%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            /* Кнопка громкости для портретной ориентации */
            .volume-control {
                display: flex !important;
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
                background: transparent !important;
                border-radius: 0 !important;
                border: none !important;
                backdrop-filter: none !important;
                position: relative !important;
                z-index: 20 !important;
                pointer-events: auto !important;
            }

            .volume-control .volume-slider {
                display: none !important;
            }

            .volume-control:hover,
            .volume-control:focus-within {
                gap: 0 !important;
                width: auto !important;
                padding: 0 !important;
                background: transparent !important;
                border-radius: 0 !important;
                border: none !important;
            }

            .volume-btn {
                width: 44px !important;
                height: 44px !important;
                min-width: 44px !important;
                min-height: 44px !important;
                padding: 10px !important;
                border-radius: 8px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(255, 255, 255, 0.15) !important;
                border: 2px solid rgba(255, 255, 255, 0.3) !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
                pointer-events: auto !important;
                position: relative !important;
                z-index: 15 !important;
                cursor: pointer !important;
                outline: none !important;
                margin: 0 !important;
                -webkit-touch-callout: none !important;
                -webkit-user-select: none !important;
                user-select: none !important;
            }

            .volume-btn::before {
                content: '' !important;
                position: absolute !important;
                top: -15px !important;
                left: -15px !important;
                right: -15px !important;
                bottom: -15px !important;
                background: transparent !important;
                border-radius: 20px !important;
                pointer-events: auto !important;
                z-index: -1 !important;
            }

            .volume-btn:active {
                background: rgba(255, 255, 255, 0.4) !important;
                transform: scale(0.9) !important;
                border: 3px solid rgba(255, 255, 255, 0.8) !important;
            }

            .volume-btn:focus {
                outline: none !important;
                border: 3px solid rgba(255, 255, 255, 0.8) !important;
            }

            .volume-btn .icon {
                width: 22px !important;
                height: 22px !important;
                display: block !important;
                flex-shrink: 0 !important;
                pointer-events: none !important;
            }

            .volume-btn .icon path {
                fill: currentColor !important;
                display: block !important;
                opacity: 1 !important;
                pointer-events: none !important;
            }

            /* Увеличиваем иконки перемотки в портретной ориентации */
            .icon-large {
                width: 48px !important;
                height: 48px !important;
            }
        }

        /* Специально для iPhone 14 Pro Max в портретной ориентации (430x932) */
        @media screen and (orientation: portrait) and (min-width: 430px) and (max-width: 430px) and (min-height: 932px) {
            .icon-large {
                width: 48px !important;
                height: 48px !important;
            }
        }

        /* Альтернативный подход для высоких узких экранов */
        @media screen and (orientation: portrait) and (min-width: 375px) and (max-width: 450px) and (min-height: 800px) {
            .icon-large {
                width: 48px !important;
                height: 48px !important;
            }
        }

        /* Очень маленькие иконки на мобильных в портрете */
        @media screen and (orientation: portrait) and (max-width: 480px) {
            .center-controls .icon-large {
                width: 26px !important;
                height: 26px !important;
                min-width: 26px !important;
                min-height: 26px !important;
            }

            /* Увеличиваем иконки громкости и полного экрана в портрете */
            .volume-btn .icon-small,
            #fullscreenBtn .icon-small,
            .btn-small .icon-small {
                width: 24px !important;
                height: 24px !important;
            }
        }

        /* Маленькие иконки на мобильных в ландшафте */
        @media screen and (orientation: landscape) and (max-width: 1024px) {
            .center-controls .icon-large {
                width: 28px !important;
                height: 28px !important;
                min-width: 28px !important;
                min-height: 28px !important;
            }

            /* Увеличиваем иконки громкости и полного экрана в ландшафте */
            .volume-btn .icon-small,
            #fullscreenBtn .icon-small,
            .btn-small .icon-small {
                width: 26px !important;
                height: 26px !important;
            }
        }

        /* ПРИНУДИТЕЛЬНОЕ увеличение иконок */
        button[id*="fullscreen"] svg,
        button[id*="fullscreen"] .icon {
            width: 24px !important;
            height: 24px !important;
            min-width: 24px !important;
            min-height: 24px !important;
        }
        
        .btn-small svg,
        .btn-small .icon {
            width: 28px !important;
            height: 28px !important;
            min-width: 28px !important;
            min-height: 28px !important;
        }

        /* Иконка громкости остается маленькой */
        .volume-btn svg,
        .volume-btn .icon {
            width: 18px !important;
            height: 18px !important;
            min-width: 18px !important;
            min-height: 18px !important;
        }

        /* Сдвигаем влево ТОЛЬКО на десктопе */
        @media screen and (min-width: 1025px) {
            .volume-btn {
                justify-content: flex-start !important;
                padding-left: 2px !important;
            }

            /* При наведении центрируем на десктопе */
            .volume-control:hover .volume-btn,
            .volume-control:focus-within .volume-btn {
                justify-content: center !important;
                padding-left: 4px !important;
            }
        }

        /* ПРИНУДИТЕЛЬНО центрируем на мобилках */
        @media screen and (max-width: 1024px) {
            .volume-btn,
            .volume-control .volume-btn,
            button[id*="muteBtn"] {
                justify-content: center !important;
                align-items: center !important;
                text-align: center !important;
                padding: 10px !important;
                display: flex !important;
            }

            .volume-btn svg,
            .volume-btn .icon,
            .volume-control .volume-btn svg,
            .volume-control .volume-btn .icon {
                margin: 0 auto !important;
                position: relative !important;
                left: 0 !important;
                right: 0 !important;
            }
        }

        /* Увеличение на десктопе */
        @media screen and (min-width: 1025px) {
            button[id*="fullscreen"] svg,
            button[id*="fullscreen"] .icon {
                width: 26px !important;
                height: 26px !important;
                min-width: 26px !important;
                min-height: 26px !important;
            }
            
            .btn-small svg,
            .btn-small .icon {
                width: 32px !important;
                height: 32px !important;
                min-width: 32px !important;
                min-height: 32px !important;
            }

            /* Иконка громкости чуть больше на десктопе */
            .volume-btn svg,
            .volume-btn .icon {
                width: 20px !important;
                height: 20px !important;
                min-width: 20px !important;
                min-height: 20px !important;
            }
        }