.audio-player {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) var(--spacing-4);
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--rounded-xl);
    user-select: none;
}

.audio-player-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--rounded-full);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--text-sm);
    transition: opacity 0.15s, transform 0.15s;
    box-shadow: var(--shadow-sm);
}

.audio-player-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.audio-player-btn:active {
    transform: scale(0.95);
}

.audio-player-wave {
    flex: 1;
    height: 40px;
    cursor: pointer;
    position: relative;
    border-radius: var(--rounded-md);
}

.audio-player-wave canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.audio-player-progress {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--rounded-full);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.audio-player-time {
    flex-shrink: 0;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--text-muted);
    min-width: 70px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
