.audio-container{
    width: 100% !important;
}
.audio-player {
    /*max-width: 800px;*/
    margin: 0.1rem auto;
    padding: 0.2rem;
    /*background-color: #f8f9fa;*/
    /*border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}
.audio-info {
    margin-bottom: 1rem;
}
.audio-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.audio-artist {
    color: #6c757d;
    font-size: 0.9rem;
}
.progress-container {
    cursor: pointer;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    margin: 0.1rem 0;
}
.progress-bar {
    height: 100%;
    background-color: #0d6efd;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}
.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
}
.controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.3rem 0;
}
.control-btn {
    background: none;
    border: none;
    color: #212529;
    font-size: 0.6rem;
    cursor: pointer;
    transition: color 0.2s;
}
.control-btn:hover {
    color: #0d6efd;
}
.play-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}
.play-btn:hover {
    background-color: #0b5ed7;
    color: white;
}
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}
.volume-slider {
    width: 100px;
}
.speed-control {
    margin-left: 1rem;
}
.custom-select {
    font-size: 0.6rem;
    padding: 0.15rem 0.3rem;
}


/* 通用重置，清除默认样式 */
.volume-slider {
    /* 先设置整体的高度，控制轨道的基础粗细 */
    height: 6px; /* 数值越小，轨道越细，可自行调整 */
    /* 清除浏览器默认外观 */
    -webkit-appearance: none;
    appearance: none;
    /* 轨道背景色（可选） */
    background: #007bff;
    /* 移除默认边框 */
    border: none;
    /* 滑块轨道圆角（可选，让轨道更圆润） */
    border-radius: 2px;
    /* 可选：调整滑块整体宽度 */
    width: 80px;
}

/* Chrome、Edge 等 Webkit 内核浏览器 - 滑块轨道 */
.volume-slider::-webkit-slider-runnable-track {
    height: 6px; /* 必须和上面的 height 一致，控制轨道粗细 */
    background: #007bff;
    border-radius: 2px;
}

/* Chrome、Edge 等 Webkit 内核浏览器 - 滑块按钮 */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    /* 滑块按钮的大小（按需调整，避免按钮比轨道还细） */
    width: 15px;
    height: 15px;
    /* 滑块按钮样式（可选） */
    background: #007bff;
    border-radius: 50%;
    /* 滑块按钮与轨道的间距（让按钮居中） */
    margin-top: -4px;
    cursor: pointer;
}

/* Firefox 浏览器 - 滑块轨道 */
.volume-slider::-moz-range-track {
    height: 6px; /* 控制 Firefox 下轨道粗细 */
    background: #007bff;
    border-radius: 2px;
    border: none;
}

/* Firefox 浏览器 - 滑块按钮 */
.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #007bff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
