.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--player-height);
    background: var(--color-dark-bg);
    z-index: var(--z-player);
    transform: translateY(100%);
    transition: transform var(--transition-speed) ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-player.active {
    transform: translateY(0);
}

.player-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
}

.player-artwork {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex-shrink: 0;
    min-width: 0;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.player-track-title {
    color: var(--color-text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-artist {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-progress-wrapper {
    flex: 1;
    min-width: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.player-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.player-progress {
    height: 100%;
    background: var(--color-gold);
    width: 0;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.player-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.player-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    padding: 0.4rem;
    transition: color var(--transition-speed);
    background: none;
    border: none;
    cursor: pointer;
}

.player-btn:hover {
    color: var(--color-gold);
}

.player-btn-main {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.player-btn-main:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .player-info {
        max-width: 100px;
    }

    .player-time {
        display: none;
    }

    .player-inner {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
}
