#mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #1a1a1a !important;
    color: #fff !important;
    border-top: 1px solid #333;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

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

#mini-player .mp-inner {
    display: flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 12px;
    gap: 10px;
}

#mini-player .mp-cover {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

#mini-player .mp-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

#mini-player .mp-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    line-height: 1.2;
    color: #fff !important;
}

#mini-player .mp-artist {
    font-size: 0.75rem;
    color: #aaa !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mini-player .mp-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#mini-player .mp-btn {
    background: none;
    border: none;
    color: #fff !important;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    line-height: 1;
}

#mini-player .mp-btn:hover {
    background: rgba(255,255,255,0.1);
}

#mini-player .mp-btn-play {
    font-size: 1.4rem;
}

#mini-player .mp-time {
    font-size: 0.7rem;
    color: #aaa !important;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
}

#mini-player .mp-progress-wrap {
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #333;
    cursor: pointer;
}

#mini-player .mp-progress-wrap:hover {
    height: 5px;
    top: -5px;
}

#mini-player .mp-progress {
    height: 100%;
    background: #7c5cbf;
    width: 0;
    transition: width 0.2s linear;
}

#mini-player .mp-volume-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

#mini-player .mp-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 3px;
    background: #555;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#mini-player .mp-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

#mini-player .mp-volume::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

body.mini-player-active {
    padding-bottom: 60px;
}

body.mini-player-active .perf-metrics-container {
    bottom: 64px;
}

body.ajax-loading #content {
    opacity: 0.5;
    transition: opacity 0.15s;
    pointer-events: none;
}

@media (max-width: 576px) {
    #mini-player .mp-time,
    #mini-player .mp-volume-wrap {
        display: none;
    }
    #mini-player .mp-inner {
        padding: 5px 8px;
    }
}
