/* Mini Audio Player - reusable across all listicle pages */

.mini-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mini-player-cover {
    width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Seek bar */
.mini-seek-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.mini-seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(60, 75, 251, 0.4);
    margin-top: -4px;
}

.mini-seek-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(60, 75, 251, 0.4);
}

.mini-seek-bar::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right,
        #3C4BFB 0%,
        #3C4BFB var(--seek-before-width, 0%),
        #e0e0e0 var(--seek-before-width, 0%),
        #e0e0e0 var(--seek-limit-width, 100%),
        #ffcccb var(--seek-limit-width, 100%),
        #ffcccb 100%);
}

.mini-seek-bar::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
}

.mini-seek-bar::-moz-range-progress {
    height: 6px;
    border-radius: 3px;
    background: #3C4BFB;
}

/* Controls row */
.mini-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mini-control-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.2s;
    color: #444;
}

.mini-control-btn:hover {
    background-color: rgba(60, 75, 251, 0.1);
    transform: scale(1.1);
}

.mini-play-pause-btn {
    color: #3C4BFB;
    width: 44px;
    height: 44px;
}

.mini-play-pause-btn svg {
    filter: drop-shadow(0 2px 4px rgba(60, 75, 251, 0.3));
}

.mini-skip-text {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.mini-time-display {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.8rem;
    color: #666;
    font-variant-numeric: tabular-nums;
}

.mini-player-error {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .mini-player-cover {
        width: 140px;
    }
}
