

/* Start:/bitrix/templates/foldback25/components/bitrix/news.detail/dmixes/style.css?176182530334947*/
        /* Mix Detail Page Styles */
        .mix-detail {
            margin: 40px 0 60px;
        }

        .mix-detail .mix-header {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 30px;
            margin-bottom: 40px;
        }

.mix-detail .mix-cover {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Делаем квадратное соотношение */
}

.mix-detail .mix-cover img,
.mix-detail .mix-cover video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out; /* Плавный переход для всех свойств */
    border-radius: 10px;
}

.mix-detail .mix-cover img {
    transform: scale(1);
    opacity: 1;
}

.mix-detail .mix-cover video {
    transform: scale(1);
    opacity: 0; /* Начинаем с прозрачного видео */
    display: block; /* Всегда block, управляем через opacity */
}

.mix-detail .mix-cover:hover img,
.mix-detail .mix-cover:hover video {
    transform: scale(1.05);
}

.mix-detail .mix-cover.video-active img {
    opacity: 0; /* Плавно скрываем изображение */
}

.mix-detail .mix-cover.video-active video {
    opacity: 1; /* Плавно показываем видео */
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .mix-detail .mix-cover.has-live-cover img {
        opacity: 0;
    }
    
    .mix-detail .mix-cover.has-live-cover video {
        opacity: 1;
    }
}

        .mix-detail  .mix-meta {
            display: flex;
            flex-direction: column;
        }

 .mix-detail .mix-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(1.8rem, 5vw, 2.2rem);
           /* margin-bottom: 15px;*/
            color: var(--dark);
        }

        .mix-subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 20px;
        }

        .mix-genres {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .mix-genre {
            background-color: var(--secondary);
            color: var(--dark);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .mix-genre:nth-child(2n) {
            background-color: var(--primary);
            color: white;
        }

        .mix-genre:nth-child(3n) {
            background-color: var(--accent);
            color: white;
        }

        .mix-details {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 25px;
            margin-top: 15px;
        }

        .mix-detail-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
        }

        .mix-detail-item i {
            color: var(--primary);
        }

        .mix-detail .mix-actions {
            display: flex;
            gap: 15px;
            margin-top: auto;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

         .mix-detail .btn-large {
            padding: 12px 30px;
            font-size: 1.1rem;
        }

         .mix-detail .btn-download {
            background-color: var(--primary);
        }

         .mix-detail .btn-download:hover {
            background-color: #5d3ac9;
        }

        .mix-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }

        .mix-description {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .mix-description h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .mix-description p {
            margin-bottom: 15px;
            line-height: 1.7;
        }

        .mix-sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

 /*       .player-container {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .player-container h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .audio-player {
            width: 100%;
            margin-bottom: 15px;
        }

        .player-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 15px;
            gap: 15px;
        }

        .player-time {
            font-size: 0.9rem;
            color: #666;
        }
*/

   .player-wrapper {
        padding: 5px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
        max-width: 620px;
        /*margin: 0 auto;*/
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        font-family: 'Montserrat', sans-serif;
    }

    .player-container h3 {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.4rem;
        margin-bottom: 20px;
        color: var(--dark);
    }

    audio {
        display: none;
    }

    /* Прогресс-бар с увеличенной высотой */
    .player-progress {
        width: 100%;
        height: 8px;
        border-radius: 6px;
        -webkit-appearance: none;
        background: linear-gradient(to right, var(--primary) 0%, var(--accent) 100%);
        cursor: pointer;
    }

    .player-progress::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        background: var(--accent);
        border-radius: 50%;
        cursor: pointer;
        border: none;
        margin-top: 0;
        box-shadow: 0 0 8px rgba(255,126,95,0.6);
        transition: background-color 0.3s ease;
    }

    .player-progress::-moz-range-thumb {
        width: 18px;
        height: 18px;
        background: var(--accent);
        border-radius: 50%;
        border: none;
        cursor: pointer;
        box-shadow: 0 0 8px rgba(255,126,95,0.6);
        transition: background-color 0.3s ease;
    }

    .time-labels {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        font-size: 0.9rem;
        color: #666;
        user-select: none;
        font-family: 'Montserrat', sans-serif;
    }

    /* Управляющий блок */
    .custom-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
        margin: 15px auto;
    }

    /* Изолированные стили кнопок плеера */
    .player-btn {
        background-color: var(--accent);
        border: 2px solid var(--accent);
        border-radius: 8px;
        min-width: 46px;
        min-height: 46px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        padding: 6px;
        user-select: none;
    }

    .player-btn:hover {
        background-color: var(--accent);
        box-shadow: 0 6px 18px rgba(255,126,95,0.5);
        transform: translateY(-3px);
    }

    /* Белые иконки внутри кнопок при hover и без */
    .player-btn .icon {
        width: 28px;
        height: 28px;
        fill: white;
        pointer-events: none;
    }

    /* Регулятор громкости */
    .player-volume {
        width: 120px;
        height: 8px;
        cursor: pointer;
        border-radius: 4px;
        -webkit-appearance: none;
        background: linear-gradient(to right, var(--primary), var(--accent));
        transition: background-color 0.3s ease;
        vertical-align: middle;
    }

    .player-volume::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        background: var(--accent);
        border-radius: 50%;
        border: none;
        cursor: pointer;
        margin-top: -5px;
        box-shadow: 0 0 8px rgba(255,126,95,0.6);
        transition: background-color 0.3s ease;
        pointer-events: auto;
    }

    .player-volume::-moz-range-thumb {
        width: 18px;
        height: 18px;
        background: var(--accent);
        border-radius: 50%;
        border: none;
        cursor: pointer;
        box-shadow: 0 0 8px rgba(255,126,95,0.6);
        transition: background-color 0.3s ease;
        pointer-events: auto;
    }

    /* Адаптив для мобильных */
    @media (max-width: 480px) {
        .custom-controls {
            gap: 14px;
        }

        .player-volume {
            width: 90px;
            height: 6px;
        }

        .player-volume::-webkit-slider-thumb,
        .player-volume::-moz-range-thumb {
            width: 14px;
            height: 14px;
            margin-top: -4px;
        }

        .player-btn {
            min-width: 48px;
            min-height: 48px;
            padding: 4px;
        }

        .player-btn .icon {
            width: 24px;
            height: 24px;
        }

        .player-wrapper {
            padding: 20px 10px;
        }

        .player-container h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
        }
    }


        .tracklist {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .tracklist h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .tracklist ol {
            list-style-position: inside;
            padding-left: 0;
        }

        .tracklist li {
            /*padding: 10px 0;*/
            border-bottom: 1px solid var(--gray);
            display: flex;
           /* justify-content: space-between;*/
        }

        .tracklist li:last-child {
            border-bottom: none;
        }

        .track-number {
            color: var(--primary);
            font-weight: 600;
            margin-right: 10px;
        }

        .track-time {
            color: #666;
            font-size: 0.9rem;
        }



        .track-item {
    transition: background-color 0.2s ease;
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
}

.track-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.track-item.active-track {
    background-color: rgba(33, 150, 243, 0.2);
    border-left: 3px solid #2196f3;
}

.track-time {
    color: #888;
    font-size: 0.9em;
    margin-left: 8px;
}

.track-title {
    flex-grow: 1;
}

.track-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
}

.track-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.track-time {
    color: #888;
    font-size: 0.9em;
    margin-left: 8px;
}


        .social-share {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-share a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--light);
            color: var(--dark);
            transition: all 0.3s;
            text-decoration: none;
        }

        .social-share a:hover {
            transform: translateY(-3px);
        }

        .social-share .facebook:hover {
            background-color: #3b5998;
            color: white;
        }

        .social-share .twitter:hover {
            background-color: #1da1f2;
            color: white;
        }

        .social-share .vk:hover {
            background-color: #4a76a8;
            color: white;
        }

        .social-share .telegram:hover {
            background-color: #0088cc;
            color: white;
        }

        /* Recommended mixes */
        .recommended-mixes {
            margin: 60px 0;
        }

        .mixes-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: clamp(20px, 3vw, 30px);
            margin-bottom: 40px;
        }

        .mix-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .mix-image {
            width: 100%;
            height: 0;
            padding-bottom: 100%;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .mix-image img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .mix-info {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .mix-card.style1 {
            border-top: 5px solid var(--primary);
        }

        .mix-card.style2 {
            border-top: 5px solid var(--accent);
        }

        .mix-card.style3 {
            border-top: 5px solid var(--secondary);
        }

        .mix-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .mix-card:hover .mix-image img {
            transform: scale(1.05);
        }

        .mix-title-small {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.1rem;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .mix-meta-small {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 0.8rem;
            color: #666;
        }

        .mix-genres-small {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 10px;
        }

        .mix-genre-small {
            background-color: var(--secondary);
            color: var(--dark);
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .mix-genre-small:nth-child(2n) {
            background-color: var(--primary);
            color: white;
        }


		       /* Mobile styles */
        @media (max-width: 992px) {
             .mix-detail .logo img {
                height: 45px;
            }
            
             .mix-detail .mix-header {
                grid-template-columns: 1fr;
            }
            
             .mix-detail .mix-content {
                grid-template-columns: 1fr;
            }
            
             .mix-detail .mixes-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
             .mix-detail .header-content {
                flex-direction: column;
            }

             .mix-detail .logo-toggle-container {
                margin-bottom: 10px;
            }
             .mix-detail .logo {
                margin-bottom: 0px;
            }
        }

        @media (max-width: 576px) {
             .mix-detail .logo {
                margin-bottom: 0px;
            }
             .mix-detail .logo img {
                height: 25px;
            }

             .mix-detail .mix-actions {
                flex-direction: column;
                gap: 10px;
            }

             .mix-detail .btn {
                width: 100%;
                text-align: center;
            }
            
             .mix-detail .mixes-grid {
                grid-template-columns: 1fr;
            }
        }

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    transition: transform 0.2s;
}

.like-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.like-btn:active {
    transform: scale(0.95);
}

.like-btn .material-icons {
    color: #ccc;
    transition: color 0.3s;
}

.like-btn:hover .material-icons {
    color: #f44336;
}


/* Новый глобальный контейнер подсказки, абсолютно позиционированный */

.mix-genre {
    cursor: pointer;
}

.tooltip-global {
    position: fixed;
    max-width: 320px; /* Для текста в ~200 символов подходит */
    background-color: #f3f3f3;
    color: #333;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(110, 69, 226, 0.2);
    border: 1px solid rgba(110, 69, 226, 0.35);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
    z-index: 9999; /* Поверх всего */
    pointer-events: none; /* Чтобы подсказка не блокировала мышь */
    opacity: 0;
    transition: opacity 0.25s ease;
    word-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
    user-select: none;
}

/* Стрелочка у подсказки */
.tooltip-global::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: #f3f3f3 transparent transparent transparent;
}

/* Показываем подсказку */
.tooltip-global.show {
    opacity: 1;
    pointer-events: auto;
}

/* Для плавного позиционирования будет set via JS */


/* Дополнительные стили для прогресс-бара */
.progress-bar-wrapper {
    position: relative;
    width: 100%;
    margin: 8px 0;
}

.player-progress {
    width: 100%;
    height: 10px;
    border-radius: 8px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
    cursor: pointer;
    position: relative;
    outline: none;
    transition: all 0.3s ease;
}

/* Заполненная часть прогресс-бара - градиент */
.player-progress::-webkit-slider-track {
    width: 100%;
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
    border: none;
}

.player-progress::-webkit-slider-progress {
    background: linear-gradient(90deg, #6e45e2 0%, #ff6b6b 50%, #ffa726 100%);
    border-radius: 8px;
    height: 10px;
}

.player-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #6e45e2 0%, #ff6b6b 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(110, 69, 226, 0.4), 
                0 0 0 1px rgba(110, 69, 226, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.player-progress::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.6), 
                0 0 0 1px rgba(110, 69, 226, 0.2);
}

.player-progress::-webkit-slider-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(110, 69, 226, 0.8);
}

/* Firefox стили */
.player-progress::-moz-range-track {
    width: 100%;
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
    border: none;
    outline: none;
}

.player-progress::-moz-range-progress {
    background: linear-gradient(90deg, #6e45e2 0%, #ff6b6b 50%, #ffa726 100%);
    border-radius: 8px;
    height: 10px;
}

.player-progress::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #6e45e2 0%, #ff6b6b 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(110, 69, 226, 0.4), 
                0 0 0 1px rgba(110, 69, 226, 0.1);
    transition: all 0.3s ease;
}

.player-progress::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.6), 
                0 0 0 1px rgba(110, 69, 226, 0.2);
}

/* Кастомное заполнение прогресса с анимацией */
.player-progress {
    --progress: 0%;
    --buffered: 0%;
    background: linear-gradient(to right, 
        #6e45e2 0%, 
        #ff6b6b 50%, 
        #ffa726 100% 
        ) no-repeat;
    background-size: var(--progress) 100%;
    background-color: #e0e0e0;
    transition: background-size 0.1s ease;
}

/* Индикатор буферизации */
.player-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(110, 69, 226, 0.3);
    width: var(--buffered, 0%);
    border-radius: 8px;
    pointer-events: none;
    transition: width 0.3s ease;
}

/* Анимация пульсации для активного состояния */
@keyframes pulse {
    0% {
        box-shadow: 0 3px 10px rgba(110, 69, 226, 0.4);
    }
    50% {
        box-shadow: 0 3px 20px rgba(110, 69, 226, 0.8);
    }
    100% {
        box-shadow: 0 3px 10px rgba(110, 69, 226, 0.4);
    }
}

.player-progress:active::-webkit-slider-thumb {
    animation: pulse 1s infinite;
}

/* Стили для регулятора громкости */
.player-volume {
    width: 120px;
    height: 6px;
    border-radius: 4px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #6e45e2 0%, #ff6b6b 100%);
    cursor: pointer;
    outline: none;
}

.player-volume::-webkit-slider-track {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, #6e45e2 0%, #ff6b6b 100%);
}

.player-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    border: 2px solid #6e45e2;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.player-volume::-moz-range-track {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, #6e45e2 0%, #ff6b6b 100%);
    border: none;
}

.player-volume::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    border: 2px solid #6e45e2;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Адаптивность */
@media (max-width: 480px) {
    .player-progress {
        height: 8px;
    }
    
    .player-progress::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
    }
    
    .player-progress::-moz-range-thumb {
        width: 18px;
        height: 18px;
    }
    
    .player-volume {
        width: 90px;
        height: 5px;
    }
    
    .player-volume::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }
    
    .player-volume::-moz-range-thumb {
        width: 14px;
        height: 14px;
    }
}

/* Активный трек в треклисте */
.track-item.active-track {
    background: linear-gradient(135deg, rgba(110, 69, 226, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #6e45e2 0%, #ff6b6b 100%) 1;
    padding-left: 12px;
    margin-left: -4px;
    transition: all 0.3s ease;
}

.track-item:hover {
    background: linear-gradient(135deg, rgba(110, 69, 226, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
    transform: translateX(2px);
}

/* Состояния кнопок плеера с градиентом */
.player-btn {
    background: linear-gradient(135deg, #6e45e2 0%, #ff6b6b 100%);
    border: none;
    border-radius: 8px;
    min-width: 46px;
    min-height: 46px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 6px;
    user-select: none;
    box-shadow: 0 4px 12px rgba(110, 69, 226, 0.3);
}

.player-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(110, 69, 226, 0.5);
    background: linear-gradient(135deg, #7d55ff 0%, #ff7b7b 100%);
}

.player-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(110, 69, 226, 0.4);
}

.player-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(110, 69, 226, 0.2);
}

/* Индикатор загрузки */
.player-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.player-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #6e45e2;
    border-right: 2px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { 
        transform: rotate(0deg); 
        border-top-color: #6e45e2;
        border-right-color: #ff6b6b;
    }
    50% { 
        border-top-color: #ff6b6b;
        border-right-color: #ffa726;
    }
    100% { 
        transform: rotate(360deg); 
        border-top-color: #6e45e2;
        border-right-color: #ff6b6b;
    }
}

/* Время воспроизведения */
.time-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.player-time {
    transition: color 0.3s ease;
}

.player-time:first-child {
    color: #6e45e2;
    font-weight: 600;
}

/* Контейнер плеера */
.player-wrapper {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 16px;
    max-width: 620px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 32px rgba(110, 69, 226, 0.1);
    border: 1px solid rgba(110, 69, 226, 0.1);
    font-family: 'Montserrat', sans-serif;
}

.player-container h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
    background: linear-gradient(135deg, #6e45e2 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}




/* Плавный скролл для страницы */
html {
    scroll-behavior: smooth;
}

/* ===== ФИКСИРОВАННЫЙ ПЛЕЕР - С КНОПКОЙ MUTE, БЕЗ ШКАЛЫ ГРОМКОСТИ ===== */

/* Основной контейнер */
.fixed-player {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 25px rgba(110, 69, 226, 0.3);
    padding: 12px 20px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(110, 69, 226, 0.2);
    border-bottom: none;
    backdrop-filter: blur(10px);
}

.fixed-player.active {
    bottom: 0;
}

/* Компактный контейнер */
.fixed-player .player-container {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

/* Компактные кнопки управления (PLAY/PAUSE + MUTE) */
.fixed-player .custom-controls {
    display: flex;
    align-items: center;
    gap: 8px; /* Уменьшили gap так как теперь только 2 кнопки */
    margin: 0;
    flex-shrink: 0;
}

.fixed-player .player-btn {
    min-width: 36px;
    min-height: 36px;
    padding: 4px;
    background: linear-gradient(135deg, #6e45e2 0%, #ff6b6b 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    box-shadow: 0 4px 12px rgba(110, 69, 226, 0.3);
}

.fixed-player .player-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 69, 226, 0.5);
    background: linear-gradient(135deg, #7d55ff 0%, #ff7b7b 100%);
}

.fixed-player .player-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(110, 69, 226, 0.4);
}

.fixed-player .player-btn .icon {
    width: 20px;
    height: 20px;
    fill: white;
    pointer-events: none;
}

/* Контейнер прогресс-бара и времени */
.fixed-player .progress-time-container {
    flex-grow: 1;
    min-width: 0;
}

/* Прогресс-бар времени */
.fixed-player .player-progress {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    -webkit-appearance: none;
    background: linear-gradient(to right, 
        #6e45e2 0%,
        #6e45e2 var(--progress, 0%),
        #e0e0e0 var(--progress, 0%),
        #e0e0e0 100%
    );
    cursor: pointer;
    outline: none;
    transition: background 0.1s ease;
}

/* WebKit - прогресс-бар времени */
.fixed-player .player-progress::-webkit-slider-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, 
        #6e45e2 0%,
        #6e45e2 var(--progress, 0%),
        #e0e0e0 var(--progress, 0%),
        #e0e0e0 100%
    );
    border: none;
}

.fixed-player .player-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #6e45e2;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.fixed-player .player-progress::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #5a35c7;
}

/* Firefox - прогресс-бар времени */
.fixed-player .player-progress::-moz-range-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    border: none;
}

.fixed-player .player-progress::-moz-range-progress {
    background: #6e45e2;
    height: 6px;
    border-radius: 3px;
}

.fixed-player .player-progress::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #6e45e2;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Время в фиксированном плеере */
.fixed-player .time-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

.fixed-player .player-time:first-child {
    color: #6e45e2;
    font-weight: 600;
}

/* Обертка для прогресс-бара */
.fixed-player .progress-bar-wrapper {
    position: relative;
    width: 100%;
    margin: 4px 0;
}

/* Анимация появления */
@keyframes slideUpPlayer {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 0;
        opacity: 1;
    }
}

.fixed-player.active {
    animation: slideUpPlayer 0.4s ease-out;
}

/* Скрываем заголовок в фиксированном плеере */
.fixed-player .player-container h3 {
    display: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .fixed-player {
        width: 95%;
        padding: 10px 15px;
        border-radius: 12px 12px 0 0;
    }
    
    .fixed-player .player-container {
        gap: 8px;
    }
    
    .fixed-player .player-btn {
        min-width: 32px;
        min-height: 32px;
    }
    
    .fixed-player .player-btn .icon {
        width: 18px;
        height: 18px;
    }
    
    .fixed-player .time-labels {
        font-size: 0.7rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .fixed-player {
        width: 100%;
        border-radius: 0;
        padding: 8px 12px;
    }
    
    .fixed-player .custom-controls {
        gap: 6px;
    }
    
    .fixed-player .player-btn {
        min-width: 28px;
        min-height: 28px;
    }
    
    .fixed-player .player-btn .icon {
        width: 16px;
        height: 16px;
    }
    
    .fixed-player .time-labels {
        font-size: 0.65rem;
    }
    
    .fixed-player .player-progress {
        height: 5px;
    }
    
    .fixed-player .player-progress::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }
    
    .fixed-player .player-progress::-moz-range-thumb {
        width: 14px;
        height: 14px;
    }
}

/* Дополнительный отступ для контента */
.main-content {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .main-content {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-bottom: 50px;
    }
}
/* End */
/* /bitrix/templates/foldback25/components/bitrix/news.detail/dmixes/style.css?176182530334947 */
