/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
}

/* 根元素样式 */
html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', sans-serif;
    background-color: #000;
    color: #ccc;
    line-height: 1.6;
}

/* 文字循环按钮样式 */
.loop-text-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    user-select: none;
}

.loop-text-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.loop-text {
    display: inline-block;
    transition: all 0.3s ease;
}

.loop-all,
.loop-one {
    font-weight: 600;
}

.loop-none {
    opacity: 0.7;
}

/* 顶部循环按钮特殊样式 */
#topRepeatBtn {
    font-size: 11px;
    padding: 3px 6px;
}

/* 主播放器容器 - 全屏 */
.player-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}


/* 主要内容区域 */
.player-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}



/* 左侧歌曲列表面板 */
.song-list-panel {
    width: 70%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
}



.list-header {
    height: 50px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}



.list-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #fff;
    font-weight: normal;
}



.list-controls {
    display: flex;
    gap: 10px;
}



.control-btn {
    height: 32px;
    padding: 0 10px;
    background: rgb(158 158 158 / 21%);
    border: none;
    color: #999;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.control-btn span{
    display:block;
    padding: 0 4px;
}



.control-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}



/* 歌曲列表内容 */
.list-content {
    flex: 1;
    overflow-y: auto;
}



.song-table {
    width: 100%;
    border-collapse: collapse;
}



.song-table th {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.85rem;
    font-weight: normal;
    padding: 0 15px;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 10;
}



.song-table td {
    height: 50px;
    padding: 0 15px;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}



.song-table tr {
    cursor: pointer;
    transition: all 0.3s ease;
}



.song-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}



.song-table tr.active {
    background: rgba(230, 0, 18, 0.1);
}



.song-table tr.playing {
    background: rgba(230, 0, 18, 0.15);
}



.col-index {
    width: 50px;
    text-align: center;
    color: #666;
}



.song-table tr.active .col-index,
.song-table tr.playing .col-index {
    color: #e60012;
}



.col-title {
    width: 200px;
    color: #fff;
    text-align: left;
}



.song-table tr.active .col-title,
.song-table tr.playing .col-title {
    color: #e60012;
}



.col-artist {
    width: 120px;
    color: #999;
    text-align: left;
}



.col-album {
    width: 150px;
    color: #999;
    text-align: left;
}



.col-time {
    width: 60px;
    color: #666;
    text-align: left;
}



.col-actions {
    width: 80px;
    text-align: right;
}



.song-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}



.song-table tr:hover .song-actions {
    opacity: 1;
}



.action-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}



.action-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}



.action-btn.favorite.active {
    color: #e60012;
}



.action-btn.download.disabled {
    color: #444;
    cursor: not-allowed;
}



.vip-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6600, #e60012);
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 8px;
}



/* 加载状态 */
.loading-row {
    height: 200px;
}



.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
}



.loading i {
    font-size: 1.2rem;
}



/* 错误提示样式 */
.error-cell {
    padding: 40px 20px;
    text-align: center;
}



.error-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 8px;
    color: #ff3333;
}



.error-container i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}



.error-container h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}



.error-container p {
    margin-bottom: 20px;
    color: #cc0000;
}



.error-details {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: left;
}



.error-details p {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}



.error-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



.error-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}



.error-details li:before {
    content: "•";
    color: #ff3333;
    font-weight: bold;
    position: absolute;
    left: 0;
}



.btn-retry {
    background: #ff3333;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}



.btn-retry i {
    margin-right: 8px;
    font-size: 16px;
    display: inline;
}



.btn-retry:hover {
    background: #cc0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 51, 51, 0.3);
}



/* 右侧播放面板 */
.player-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 30px;
}



/* 专辑封面和歌词区域 */
.album-lyric-area {
    flex: 1;
    /*display: flex;*/
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}



.album-cover-container {
    text-align: center;
}



.album-cover {
    width: 320px;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: 0 auto 12px auto;
    transition: transform 0.3s ease;
}



.album-cover:hover {
    transform: scale(1.02);
}



.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}



.album-cover:hover .cover-overlay {
    opacity: 1;
}



.play-indicator {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(230, 0, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}



.play-indicator:hover {
    transform: scale(1.1);
    background: rgba(230, 0, 18, 1);
}



.play-indicator i {
    color: #fff;
    font-size: 2rem;
    margin-left: 5px;
}



.cover-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.cover-info p {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 20px;
}







/* 歌词容器 */
.lyric-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid #222;
}



.lyric-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}



.lyric-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: normal;
}



.lyric-content {
    height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
}



.lyric-line {
    text-align: center;
    padding: 8px 0;
    color: #666;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.8;
}



.lyric-line.active {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    transform: scale(1.05);
}



.lyric-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #444;
}



.lyric-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
}



.lyric-placeholder p {
    font-size: 1.1rem;
}



/* 相关推荐 */
.related-section {
    margin-top: auto;
}



.related-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: normal;
    margin-bottom: 15px;
}



.related-list {
    display: flex;
    gap: 20px;
}



.related-item {
    width: 120px;
    cursor: pointer;
    transition: transform 0.3s ease;
}



.related-item:hover {
    transform: translateY(-5px);
}



.related-item img {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}



.related-info h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.related-info p {
    color: #666;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* 空状态提示样式 */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    padding: 50px 0 70px 0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-container h3 {
    color: #999;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 10px;
}

.empty-container p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-browse {
    background: linear-gradient(135deg, #e60012, #ff4456);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-browse:hover {
    background: linear-gradient(135deg, #ff4456, #e60012);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}

/* 底部播放控制栏 */
.player-footer {
    height: 90px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}



.footer-left {
    width: 300px;
}



.now-playing {
    display: flex;
    align-items: center;
    gap: 15px;
}



.now-playing img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}



.playing-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}



.playing-info p {
    color: #999;
    font-size: 0.85rem;
}



.btn-mini {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}



.btn-mini:hover {
    color: #e60012;
}



.btn-mini.active {
    color: #e60012;
}



.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
}



.play-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}



.btn-control {
    background: rgb(158 158 158 / 21%);
    border: none;
    color: #ccc;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.7rem;
    padding: 8px;
}



.btn-control:hover {
    color: #fff;
}



/* 循环播放按钮样式 */
.loop-active,
.loop-one-active {
    animation: pulse 2s infinite;
}



.loop-active i,
.loop-one-active i {
    transition: all 0.3s ease;
}



.loop-active:hover i,
.loop-one-active:hover i {
    transform: scale(1.1);
}



.loop-disabled {
    opacity: 0.6;
}



.loop-disabled:hover {
    opacity: 0.8;
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }


    50% {
        transform: scale(1.05);
    }


    100% {
        transform: scale(1);
    }


}



.btn-play {
    width: 45px;
    height: 45px;
    background: #e60012;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    padding: 0;
}
.btn-play i{
    font-size: 22px;
}
.btn-play.playing i {
    margin-left: 0px;
}



.btn-play:hover {
    background: #c50010;
    transform: scale(1.05);
}







.progress-section {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 800px;
}
.progress-section .loading-indicator{
    font-size: 11px;
    position: absolute;
    top: -6px;
    left: 47%;
    z-index: 2;
}



.time-current,
.time-total {
    color: #666;
    font-size: 0.8rem;
    min-width: 45px;
}



.progress-bar {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}



.progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    border-radius: 2px;
}



.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #e60012;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}



.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #e60012;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    left: 0%;
    opacity: 0;
}



.progress-bar:hover .progress-handle {
    opacity: 1;
}



.progress-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.5);
}



.footer-right {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}



.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}



.btn-volume {
    background: transparent;
    border: none;
    color: #ccc;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 8px;
}



.btn-volume:hover {
    color: #fff;
}



.volume-slider-container {
    width: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}



.volume-control:hover .volume-slider-container {
    opacity: 1;
}



#volumeSlider {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}



#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}



#volumeSlider::-webkit-slider-thumb:hover {
    background: #fff;
    transform: scale(1.2);
}



#volumeSlider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}



#volumeSlider::-moz-range-thumb:hover {
    background: #fff;
    transform: scale(1.2);
}



/* VIP弹窗 */
.vip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}



.vip-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}



.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}



.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    z-index: 1001;
}



.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}



.modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}



.modal-header h3 i {
    color: #ffd700;
}



.btn-close {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}



.btn-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}



.vip-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffd700;
}



.modal-body h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}



.modal-body p {
    color: #999;
    margin: 0 0 20px 0;
    line-height: 1.5;
}



.vip-features {
    margin-bottom: 30px;
    text-align: left;
}



.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #fff;
}



.feature i {
    color: #e60012;
}



.btn-vip-subscribe {
    background: linear-gradient(45deg, #ff6600, #e60012);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}



.btn-vip-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}



/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}



::-webkit-scrollbar-track {
    background: #1a1a1a;
}



::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}



::-webkit-scrollbar-thumb:hover {
    background: #555;
}



/* 跳动动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }


    50% {
        opacity: 0.5;
    }


}



.song-table tr.playing .col-title {
    animation: pulse 1.5s infinite;
}



/* 循环模式样式 */
.btn-control.loop-all i::after {
    content: '1';
    position: absolute;
    font-size: 0.7rem;
    font-weight: bold;
    color: #e60012;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.btn-control.loop-one i::after {
    content: '1';
    position: absolute;
    font-size: 0.7rem;
    font-weight: bold;
    color: #e60012;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* 响应式设计 */
@media (max-width: 1200px) {
    .song-list-panel {
        width: 500px;
    }


    
    .album-cover {
        width: 280px;
        height: 280px;
    }


}



@media (max-width: 1024px) {
    .player-main {
        flex-direction: column;
    }


    
    .song-list-panel {
        width: 100%;
        height: 400px;
    }


    
    .player-panel {
        height: 500px;
    }


    
    .album-lyric-area {
        flex-direction: column;
        text-align: center;
    }


    
    .related-list {
        justify-content: center;
    }


}



@media (max-width: 768px) {
    .player-header {
        padding: 0 20px;
    }


    
    .main-nav {
        display: none;
    }


    
    .search-box {
        width: 200px;
    }


    
    .player-footer {
        padding: 0 20px;
    }


    
    .footer-left {
        width: 200px;
    }


    
    .now-playing img {
        width: 50px;
        height: 50px;
    }


    
    .playing-info h4 {
        font-size: 0.9rem;
    }


    
.playing-info p {
    font-size: 0.8rem;
}

