/* ==========================================================================
   🎵 极简全站固定底栏播放器样式（V2.5 终极合璧响应式）
   ========================================================================== */
#minimal-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #eee;
    padding: 14px 0 12px 0;
    z-index: 99999;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.player-progress-container {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: transparent;
}

.player-progress-bar {
    width: 100%;
    height: 2px;
    background: #eaeaea;
    transition: height 0.1s ease;
}

.player-progress-loaded {
    width: 0%;
    height: 100%;
    background: #0066cc;
    transition: width 0.1s linear;
}

.player-progress-container:hover .player-progress-bar {
    height: 4px;
}

.player-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 70%; /* 限制文字区域最大宽度，防止挤压右侧按钮 */
}

#player-title {
    color: #444;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 🌟 优化：歌名过长时自动变成省略号... */
}

.player-time {
    color: #aaa;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.player-controls {
    display: flex;
    gap: 15px;
    flex-shrink: 0; /* 🌟 优化：确保按钮永远不会被挤压变形 */
}

.player-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    padding: 0;
    transition: color 0.2s;
}

.player-controls button:hover {
    color: #0066cc;
}

body {
    padding-bottom: 60px !important;
}

/* ==========================================================================
   📱 📱 新增：移动端端专属视觉降噪自适应
   ========================================================================== */
@media (max-width: 768px) {
    #minimal-player-bar {
        padding: 12px 0 10px 0; /* 稍微缩减手机端上下间距 */
    }
    
    .player-inner {
        padding: 0 15px; /* 缩减两侧边距 */
    }

    .player-time {
        display: none !important; /* 🌟 降噪：手机端屏幕太挤，直接隐藏时间戳 */
    }

    .player-info {
        max-width: 60%; /* 给按钮腾出更充裕的触控空间 */
    }
}