#player {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 380px;
    padding: 18px;
    border-radius: 18px;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.9); /* 改为亮色磨砂，适配橙色 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    align-items: center;
    color: #333; /* 字体深色 */
    transition: all 0.4s ease;
    z-index: 9999;
}

/* 吸附隐藏 */
#player.hide {
    left: -320px;
}

/* 侧边橙色标签 (原来是绿色那个条) */
#player::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #ff8c42; /* 强制橙色 */
    border-radius: 0 18px 18px 0;
    box-shadow: 2px 0 10px rgba(255, 140, 66, 0.4);
}

/* ===== 封面旋转 ===== */
.cover {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    animation: rotate 8s linear infinite;
    animation-play-state: paused;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#player.playing .cover {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== 信息区域 ===== */
.info {
    flex: 1;
}

.title {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #4e342e; /* 深暖棕色 */
}

.time {
    font-size: 12px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    color: #888;
}

/* ===== 橙色进度条与音量条 (核心修改) ===== */
#progress, #volume {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    /* 橙色渐变背景 */
    background: linear-gradient(
            to right,
            #ff8c42 0%,
            #ff8c42 calc(var(--value) * 100%),
            #eee calc(var(--value) * 100%),
            #eee 100%
    );
}

/* 拖动滑块 - 小圆点 (核心修改：绿色变橙色) */
#progress::-webkit-slider-thumb,
#volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff8c42; /* 橙色 */
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.6); /* 橙色光晕 */
    cursor: pointer;
    transition: transform 0.1s;
}

#progress::-webkit-slider-thumb:hover,
#volume::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* ===== 控制按钮 (核心修改) ===== */
.controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.control-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    outline: none;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    color: #aaa; /* 默认灰色 */
}

/* 指定按钮默认颜色为橙色 */
#prev, #play, #next {
    color: #ff8c42;
}

.control-btn:hover {
    transform: scale(1.15);
    color: #ffb347; /* 悬停变更亮的橙色 */
}

.volume-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 如果你的音量是个图标字体 */
#mute i {
    color: #aaa;
    font-size: 18px;
}
#mute:hover i {
    color: #ff8c42;
}