﻿/*Audio Player*/

.player {
    background: #ffffff;
    border: 1px solid #e2ddd6;
    border-radius: 50px;
    padding: 6px 14px 6px 8px;
    width: 100%;
    max-width: 570px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.play-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

    .play-btn:hover {
        background: #333;
    }

    .play-btn:active {
        transform: scale(0.95);
    }

    .play-btn svg {
        width: 16px;
        height: 16px;
        fill: #fff;
    }

.player-label {
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
}

.seek-wrap {
    flex: 1;
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    min-width: 0;
}

.seek-track {
    width: 100%;
    height: 3px;
    background: #e2ddd6;
    border-radius: 2px;
    position: relative;
}

.seek-fill {
    height: 100%;
    width: 0%;
    background: #1a1a1a;
    border-radius: 2px;
    pointer-events: none;
}

.seek-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
    background: #1a1a1a;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s;
}

.seek-wrap:hover .seek-thumb {
    transform: translate(-50%, -50%) scale(1.25);
}

.time-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.speed-btn {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: #1a1a1a;
    background: none;
    border: 1px solid #e2ddd6;
    border-radius: 50px;
    padding: 2px 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

    .speed-btn:hover {
        background: #f4f1ec;
    }

@media (max-width: 450px) {
    .player-label {
        display: none;
    }

    .speed-btn {
        display: none;
    }

    .player {
        padding: 6px 10px 6px 6px;
    }
}