/* 老网站播放器样式 - 经过验证可用 */
.main_player {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 70px;
    background-color: rgba(58, 80, 114, 0.9);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main_player .button_player {
    width: 50px;
    height: 50px;
    background: #fff;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.main_player .button_player:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main_player .button_player i {
    font-size: 30px;
    line-height: 50px;
    color: #333;
}

.main_player .button_player i.icon-play {
    margin: 0 0 0 5px;
}

.main_player .button_player .custom-loader {
    width: 30px;
    height: 30px;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #E4E4ED #0000;
    animation: s6 1s infinite linear;
    margin: 10px 0 0 10px;
}

@keyframes s6 {
    to { transform: rotate(1turn) }
}

.main_player .station_player {
    padding: 0 0 0 50px;
    height: 50px;
    flex: 1;
    display: flex;
    align-items: center;
}

.main_player .station_player .image {
    float: left;
}

.main_player .station_player .image img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.main_player .station_player .other_info {
    padding: 0 0 0 15px;
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main_player .station_player .other_info .name {
    color: #fff;
    box-sizing: content-box;
    margin-bottom: 4px;
}

.main_player .station_player .other_info .name a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.main_player .station_player .other_info .name a:hover {
    text-decoration: underline;
}

.main_player .station_player .other_info .track {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.main_player .volume_controll {
    float: left;
    padding: 20px 0;
    position: relative;
}

.main_player .volume_controll .volume {
    margin: 0 0 0 20px;
    width: 50px;
    height: 50px;
    display: inline-block;
    text-align: center;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 50px;
}

.main_player .volume_controll .volume:hover {
    color: #ccc;
}

.main_player .volume_controll .vertical_range {
    position: absolute;
    bottom: 70px;
    background-color: rgba(58, 80, 114, 0.9);
    padding: 20px;
    left: 85px;
    display: none;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

input[type=range][orient=vertical] {
    appearance: slider-vertical;
    width: 8px;
    height: 200px;
    padding: 0 5px;
}

/* 隐藏音频元素 */
.noshow {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main_player {
        padding: 0 10px;
        height: 60px;
    }
    
    .main_player .button_player {
        width: 40px;
        height: 40px;
    }
    
    .main_player .button_player i {
        font-size: 24px;
        line-height: 40px;
    }
    
    .main_player .station_player {
        padding: 0 0 0 15px;
        height: 40px;
    }
    
    .main_player .station_player .image img {
        width: 40px;
        height: 40px;
    }
    
    .main_player .station_player .other_info .name a {
        font-size: 16px;
    }
    
    .main_player .station_player .other_info .track {
        font-size: 12px;
        max-width: 200px;
    }
    
    .main_player .volume_controll {
        padding: 10px 0;
    }
    
    .main_player .volume_controll .volume {
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
        margin: 0 0 0 10px;
    }
}

/* 页面底部留出播放器空间 */
body {
    padding-bottom: 70px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}
