/* Мини-плеер для статей блога */
.mini-player-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.mini-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mini-player-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #667eea;
    margin: 0;
}

.mini-player-link {
    font-size: 0.9em;
    color: #764ba2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mini-player-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.mini-play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.mini-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mini-play-btn svg {
    width: 20px;
    height: 20px;
}

.mini-track-info {
    flex: 1;
    min-width: 0;
}

.mini-track-name {
    font-size: 0.95em;
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-track-artist {
    font-size: 0.85em;
    color: #666;
}

.mini-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 2px;
    margin-top: 10px;
    cursor: pointer;
    position: relative;
}

.mini-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.mini-time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

/* Фиксированный мини-плеер в углу */
.mini-player-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    max-width: calc(100vw - 40px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.mini-player-fixed .mini-player-header {
    margin-bottom: 10px;
}

.mini-player-fixed .mini-track-name {
    font-size: 0.9em;
}

.mini-player-fixed .mini-track-artist {
    font-size: 0.8em;
}

.mini-player-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2em;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mini-player-close:hover {
    color: #667eea;
}

@media (max-width: 768px) {
    .mini-player-fixed {
        width: calc(100vw - 40px);
        bottom: 10px;
        right: 10px;
    }
}






