.music-player {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #eee;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.menu-item .music-player {
    margin: 0;
    padding: 6px 10px;
}

.music-player-title {
    font-size: 11px;
    color: #ff6b6b;
    margin-bottom: 6px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-player-content {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.control-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #aaa;
    flex-shrink: 0;
}

.control-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.play-btn {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.play-btn:hover {
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.5);
    transform: scale(1.05);
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    min-width: 30px;
    max-width: 100%;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.current-time {
    font-size: 10px;
    color: #666;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.volume-icon {
    color: #888;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.volume-slider {
    width: 35px;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    flex-shrink: 0;
    max-width: 100%;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.menu-item {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.menu-item .music-player {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .music-player-content {
        gap: 4px;
    }
    
    .control-btn {
        width: 22px;
        height: 22px;
    }
    
    .play-btn {
        width: 26px;
        height: 26px;
    }
    
    .volume-slider {
        width: 30px;
    }
    
    .volume-icon {
        width: 12px;
        height: 12px;
    }
    
    .current-time {
        min-width: 24px;
        font-size: 9px;
    }
}