/* 音乐模块专用样式 */

/* 设置1440px容器宽度 */
.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* 四列布局播放器样式 - 结合原有荧光效果 */
.four-column-player-container {
    --player-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 50%, rgb(242 244 253 / 95%) 0%),
        radial-gradient(circle at 20% 20%, rgba(157, 6, 6, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    --player-radius: 8px;
    --player-shadow: 0 10px 25px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(157, 6, 6, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --player-progress-color-start: #15d7c4;
    --player-progress-color-end: #b8fe58;
    --player-button-color: #f1744d;
    --vinyl-rotate-duration: 10s;
    background: var(--player-bg);
    border-radius: var(--player-radius);
    box-shadow: var(--player-shadow);
    margin-bottom: 30px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.four-column-player-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(157, 6, 6, 0.02) 49%, rgba(157, 6, 6, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.02) 49%, rgba(139, 92, 246, 0.02) 51%, transparent 52%);
    background-size: 30px 30px;
    pointer-events: none;
    opacity: 0.4;
}

.player-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
    max-width: 100%;
}

/* 第1列：唱片和统计 */
.column-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin-left: 40px;
}

.album-cover-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    margin-left:-55px;
}

.vinyl-record {
    position: relative;
    width: 180px;
    height: 180px;
    background: url('../images/player-default.png') center/cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.vinyl-record.playing {
    animation: spin var(--vinyl-rotate-duration) linear infinite;
}

.four-column-player-container[data-show-vinyl="0"] .vinyl-record.playing {
    animation: none;
}

.four-column-player-container[data-show-vinyl="0"] .tonearm.playing {
    transform: rotate(-15deg);
}

.four-column-player-container[data-show-cover="0"] .album-center {
    display: none;
}

.four-column-player-container[data-show-cover="0"] .mobile-album-cover {
    display: none;
}

.album-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px #333, 0 0 0 3px #666;
}

.album-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tonearm-container {
    position: absolute;
    top: -20px;
    right: -160px; /* 从-110px改为-160px，真正右移50px */
    width: 200px;
    height: 200px;
    z-index: 10;
}

.tonearm {
    position: absolute;
    top: 20px;
    right: 80px; /* 再左移5px，从60px改为65px */
    width: 155px; /* 缩短5px，从160px改为155px */
    height: 155px; /* 缩短5px，从160px改为155px */
    background: url('../images/player-line.png') top center/contain no-repeat;
    transform-origin: 75px 17px; /* 支点再左移3px(78->75)，y坐标保持17px */
    transition: transform 1.0s cubic-bezier(0.4, 0.0, 0.2, 1); /* 模拟真实唱机的缓动效果 */
    transform: rotate(-15deg); /* 暂停时逆时针5度，从-10deg改为-15deg */
}

.tonearm.playing {
    transform: rotate(0deg); /* 播放时逆时针5度，从5deg改为0deg */
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.stat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border: 1px solid rgba(233, 236, 239, 0.6);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    height: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    gap: 4px;
    white-space: nowrap;
}

/* 继承旧播放器的荧光效果 */
.stat-btn:hover {
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(157, 6, 6, 0.4);
}

.stat-btn:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.stat-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
    line-height: 1;
}

.stat-btn:hover .stat-text {
    color: white;
}

.stat-btn.liked {
    border-color: #e91e63;
    color: #e91e63;
    background: rgba(233, 30, 99, 0.08);
}

.stat-btn.favorited {
    border-color: #f59e0b;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.stat-btn.liked .stat-text,
.stat-btn.favorited .stat-text {
    color: inherit;
}

/* 第2列：标题、进度、控制 */
.column-2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

.song-title-section {
    text-align: left;
    padding: 15px 0;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    /* 确保子元素可以正确截断 */
    min-width: 0;
    width: 100%;
}

/* 统一的歌曲标题样式定义 */

/* 播放器主标题样式 - 确保省略号显示 */
.four-column-player-container .song-title-section .song-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* 确保文本截断生效 */
    min-width: 0 !important;
}

/* 列表中的歌曲标题样式 */
.song-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* 榜单中的歌曲标题 */
.rank-item .song-title {
    font-size: 15px;
}

/* 播放列表中的歌曲标题 */
.playlist-item .song-title {
    font-size: 16px;
    margin-bottom: 5px;
}

/* 播放列表标题链接样式 */
.track-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
}

.track-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(2px);
}

.track-title a:visited {
    color: var(--text-color);
    text-decoration: none;
}

.track-title a:active {
    color: var(--primary-color);
    text-decoration: none;
}

/* 侧边栏标题链接样式 */
.mv-title a,
.chart-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-weight: 400;
}

.mv-title a:hover,
.chart-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(2px);
}

.mv-title a:visited,
.chart-title a:visited {
    color: var(--text-color);
    text-decoration: none;
}

.mv-title a:active,
.chart-title a:active {
    color: var(--primary-color);
    text-decoration: none;
}

/* 移动端歌曲标题 */
.mobile-player .song-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* 详情页其他区域的歌曲标题 */
.song-details .song-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* 响应式歌曲标题 */
@media (max-width: 1024px) {
    .song-title {
        font-size: 13px;
    }
    
    .four-column-player-container .song-title-section .song-title {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .song-title {
        font-size: 12px;
    }
    
    .mobile-player .song-title {
        font-size: 14px;
    }
}

/* 歌曲副标题样式 */
.four-column-player-container .song-title-section .song-subtitle {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    text-align: left !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 进度条区域样式 - 基于old.style.css的简洁版本 */
.four-column-player-container .progress-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.four-column-player-container .progress-bar-container {
    position: relative;
    margin-bottom: 10px;
}

/* 进度条背景 */
.four-column-player-container .progress-bar {
    position: relative;
    height: 27px;
    background: #d9d9d9;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.four-column-player-container .progress-bar:hover {
    background: var(--border-color);
}

/* 进度条填充 */
.four-column-player-container .progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--player-progress-color-start, rgb(21, 215, 196)), var(--player-progress-color-end, rgb(184, 254, 88)));
    border-radius: 13px;
    transition: width 0.1s ease;
    position: absolute;
    left: 0px; /* 从进度条最左侧开始 */
    top: 0;
}



/* 进度条拖拽按钮 */
.four-column-player-container .progress-handle {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 27px;
    background: var(--player-button-color, #f1744d);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%); /* 恢复中心定位 */
    opacity: 1; /* 默认可见 */
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
}

.four-column-player-container .progress-bar:hover .progress-handle {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4); /* 悬停时增强阴影 */
    transform: translate(-50%, -50%) scale(1.1); /* 悬停时稍微放大 */
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.controls-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.play-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 1;
}

.mode-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-btn {
    background: rgba(248, 249, 250, 0.7);
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 14px;
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* 应用荧光效果到模式按钮 */
.mode-btn:hover {
    background: rgba(157, 6, 6, 0.1);
    color: var(--primary-color);
    border-color: rgba(157, 6, 6, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(157, 6, 6, 0.15);
}

.mode-btn.active {
    background: linear-gradient(135deg, rgba(157, 6, 6, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: var(--primary-color);
    border-color: rgba(157, 6, 6, 0.4);
    box-shadow: 0 2px 8px rgba(157, 6, 6, 0.2);
}

.control-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

/* 应用荧光效果到控制按钮 */
.control-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--player-button-color, rgb(241, 116, 77)) 0%, var(--player-button-color, rgb(255, 140, 100)) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(157, 6, 6, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.play-btn:hover::before {
    transform: translateX(100%);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 6, 6, 0.5);
    background: linear-gradient(135deg, var(--player-button-color, rgb(241, 116, 77)) 0%, var(--player-button-color, rgb(255, 140, 100)) 100%);
}

.play-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 15px rgba(157, 6, 6, 0.4);
    background: linear-gradient(135deg, var(--player-button-color, rgb(223, 39, 39)) 0%, var(--player-button-color, rgb(255, 100, 80)) 100%);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.play-btn:hover svg {
    transform: scale(1.1);
}

/* 播放暂停按钮状态切换动画 */
.play-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(157, 6, 6, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(157, 6, 6, 0.6), 0 0 20px rgba(157, 6, 6, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(157, 6, 6, 0.4);
    }
}



/* 暂停状态的视觉反馈 */
.play-btn.paused {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.4);
}

.play-btn.paused:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.6);
}

.volume-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.volume-btn {
    width: 36px;
    height: 36px;
    background: rgba(248, 249, 250, 0.8);
    color: var(--text-muted);
    border: 1px solid rgba(233, 236, 239, 0.6);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.volume-btn:hover {
    background: rgba(157, 6, 6, 0.1);
    color: var(--primary-color);
    border-color: rgba(157, 6, 6, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(157, 6, 6, 0.15);
}

.volume-btn svg {
    width: 25px;
    height: 20px;
    transition: all 0.3s ease;
}

.volume-btn:hover svg {
    transform: scale(1.1);
}

.volume-slider {
    width: 90px;
}

.volume-slider input[type="range"] {
    width: 100%;
    height: 4px;
    --volume-percent: 75%;
    outline: none;
    border-radius: 2px;
    -webkit-appearance: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.volume-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(to right,
        var(--player-progress-color-start, rgb(21, 215, 196)) 0%,
        var(--player-progress-color-end, rgb(184, 254, 88)) var(--volume-percent),
        rgba(183, 183, 183, 0.5) var(--volume-percent),
        rgba(183, 183, 183, 0.5) 100%
    );
    border-radius: 2px;
}

.volume-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: rgba(183, 183, 183, 0.5);
    border-radius: 2px;
}

.volume-slider input[type="range"]::-moz-range-progress {
    height: 4px;
    background: linear-gradient(to right,
        var(--player-progress-color-start, rgb(21, 215, 196)),
        var(--player-progress-color-end, rgb(184, 254, 88))
    );
    border-radius: 2px;
}

.volume-slider:hover input[type="range"] {
    opacity: 1;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(157, 6, 6, 0.3);
    transition: all 0.2s ease;
}

/* 去掉无效的伪元素 hover 规则，避免控制台报错 */

/* 手机端精简版 */
.mobile-player {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.mobile-album-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-album-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mobile-album-img.playing {
    animation: spin var(--vinyl-rotate-duration) linear infinite;
}

.four-column-player-container[data-show-vinyl="0"] .mobile-album-img.playing {
    animation: none;
}

.mobile-song-info {
    flex: 1;
    min-width: 0;
}

.mobile-song-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-song-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.mobile-progress {
    margin-bottom: 20px;
}

.mobile-progress-bar {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.mobile-progress-bar:active {
    height: 6px;
}

.mobile-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--player-progress-color-start, #15d7c4), var(--player-progress-color-end, #b8fe58));
    border-radius: 2px;
    transition: width 0.1s ease;
    position: relative;
    overflow: hidden;
}

.mobile-progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
    animation: rainbow-shine 2s infinite;
}

.mobile-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.mobile-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-control-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.mobile-play-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
    border: none;
}

.mobile-action-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .player-grid {
        grid-template-columns: 180px 1fr;
        gap: 15px;
    }
    
    .four-column-player-container {
        padding: 15px;
    }
    
    .album-cover-container {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .player-grid {
        display: none;
    }
    
    .mobile-player {
        display: block !important;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col {
        width: 100% !important;
    }
}

@media (min-width: 769px) {
    .mobile-player {
        display: none !important;
    }
}

/* 确保列布局正常 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: flex-start;
}

.col {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* 修复侧边栏问题 */
.sidebar-container {
    position: relative;
    z-index: 1;
}

/* 侧边栏样式 */
.sidebar-widget {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
}

.widget-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.more-link {
    color: white;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.9;
}

.more-link:hover {
    opacity: 1;
}

/* MV推荐列表 */
.mv-list {
    padding: 15px 20px;
}

.mv-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mv-item:hover {
    background: #f8f9fa;
    transform: translateX(3px);
}

.mv-rank {
    background: rgb(241, 116, 77);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.mv-title {
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 榜单样式 */
.chart-list {
    padding: 15px 20px;
}

.chart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.chart-item:hover {
    background: #f8f9fa;
    transform: translateX(3px);
}

.chart-rank {
    background: #6c757d;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.chart-item:nth-child(1) .chart-rank {
    background: #ffc107;
}

.chart-item:nth-child(2) .chart-rank {
    background: #6c757d;
}

.chart-item:nth-child(3) .chart-rank {
    background: #cd7f32;
}

.chart-title {
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放列表美化样式 */
.playlist-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    position: relative;
    height: 650px;
    display: flex;
    flex-direction: column;
}

.playlist-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(157, 6, 6, 0.015) 49%, rgba(157, 6, 6, 0.015) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.015) 49%, rgba(139, 92, 246, 0.015) 51%, transparent 52%);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.6;
}

.playlist-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.playlist-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-title::before {
    content: '🎵';
    font-size: 20px;
}

.playlist-tabs {
    display: flex;
    padding: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.playlist-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    color: #666;
    font-weight: 500;
    font-size: 13px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.playlist-tab:hover {
    background: #e9ecef;
    color: #333;
}

.playlist-tab.active {
    background: #fff;
    border-bottom-color: #007bff;
    color: #007bff;
    position: relative;
}

.playlist-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
}

.tab-icon {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(157, 6, 6, 0.2));
}

.track-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.playlist-section {
    display: none;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.playlist-section.active {
    display: block !important;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    background: #fff;
    gap: 12px;
    min-height: 52px;
}

.track-item:hover {
    background: #f8f9fa;
}

.track-item.active {
    background: #fff3cd;
}

.track-checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    flex-shrink: 0;
    background: #fff;
}

.track-number {
    width: 24px;
    text-align: center;
    font-size: 14px;
    color: #ff6b35;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.track-title {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.track-item:hover .track-title {
    color: #007bff;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.track-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.add-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px dashed #ff6b35;
    background: #fff;
    color: #ff6b35;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-btn:hover {
    background: #ff6b35;
    color: #fff;
    border-style: solid;
}


.playlist-panel {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f1f3f4;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.playlist-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f3f4;
}

.playlist-panel-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.playlist-panel-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-mini-btn {
    border: 1px solid #e6e6e6;
    background: #fafafa;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-mini-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: #fff;
}

.playlist-panel-body {
    flex: 1;
    max-height: 420px;
    overflow-y: auto;
}

.playlist-panel-footer {
    padding: 8px 12px;
    border-top: 1px solid #f1f3f4;
    font-size: 12px;
    color: #999;
}

.playlist-tip {
    color: #999;
}

.playlist-queue {
    list-style: none;
    margin: 0;
    padding: 0;
}

.playlist-queue-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #f5f6f7;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.playlist-queue-item:hover {
    background: #f8f9fa;
}

.playlist-queue-item.active {
    background: #fff3cd;
}

.queue-index {
    width: 18px;
    text-align: center;
    font-size: 12px;
    color: #ff6b35;
    flex-shrink: 0;
}

.queue-info {
    flex: 1;
    min-width: 0;
}

.queue-title {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.queue-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.queue-badge {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #f1f3f4;
    color: #666;
}

.queue-badge.system {
    background: #e8f5e9;
    color: #2e7d32;
}

.queue-badge.user {
    background: #e3f2fd;
    color: #1565c0;
}

.queue-badge.warn {
    background: #fff3cd;
    color: #b7791f;
}

.queue-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.queue-drag-handle {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px dashed #e0e0e0;
    color: #999;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: grab;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.playlist-queue-item.dragging {
    opacity: 0.6;
}

.playlist-queue-item.drag-over {
    background: #eaf2ff;
}

.queue-play-btn,
.queue-remove-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #666;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.queue-play-btn:hover {
    border-color: #27ae60;
    color: #27ae60;
}

.queue-remove-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.playlist-empty {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.playlist-source-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #f7faf8;
    border: 1px solid #e6f2ea;
    border-radius: 8px;
}

.playlist-source-count {
    color: #27ae60;
    font-weight: 600;
    padding: 2px 6px;
    background: #e9f7ef;
    border-radius: 4px;
}

.playlist-source-desc {
    color: #999;
    line-height: 1.4;
}

@media (max-width: 980px) {
    .playlist-panel-body {
        max-height: 240px;
    }
}

.format-Keys {
    background: #ff6b35;
    color: white;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.2;
}

.mp3-Keys {
    background: #6c757d;
    color: white;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    line-height: 1.2;
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.download-btn {
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0px;
    font-size: 14px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.download-btn:hover {
    background: transparent !important;
    transform: scale(1.2);
    padding: 0px;
}

.download-btn:focus {
    background: transparent !important;
    outline: none;
    padding: 0px;
}

.download-btn:active {
    background: transparent !important;
    padding: 0px;
}

.track-stats {
    font-size: 12px;
    color: #666;
    width: 60px;
    text-align: right;
    flex-shrink: 0;
}

.track-date {
    font-size: 12px;
    color: #999;
    width: 85px;
    text-align: right;
    flex-shrink: 0;
}

/* 侧边栏美化样式 */
.sidebar {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%),
        radial-gradient(circle at 20% 20%, rgba(157, 6, 6, 0.05) 0%, transparent 50%);
    border-radius: var(--border-radius);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 15px rgba(157, 6, 6, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(157, 6, 6, 0.01) 50%, transparent 51%);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 20px 0;
    padding: 25px 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.sidebar-title::before {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(157, 6, 6, 0.3));
}

/* 歌手信息卡片 */
.artist-card {
    display: flex;
    gap: 15px;
    padding: 25px;
    position: relative;
    z-index: 1;
}

.artist-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(157, 6, 6, 0.2);
    position: relative;
}

.artist-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    border-radius: 50%;
    z-index: -1;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artist-card:hover .artist-avatar img {
    transform: scale(1.1);
}

.artist-info {
    flex: 1;
}

.artist-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 5px 0;
}

.artist-title {
    font-size: 13px;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.artist-bio {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.artist-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artist-stats span {
    font-size: 11px;
    padding: 4px 8px;
    background: linear-gradient(135deg, rgba(157, 6, 6, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(157, 6, 6, 0.2);
    border-radius: 12px;
    color: var(--primary-color);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.artist-stats span:hover {
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(157, 6, 6, 0.3);
}

/* 专辑信息卡片 */
.album-card {
    display: flex;
    gap: 15px;
    padding: 25px;
    position: relative;
    z-index: 1;
}

.album-cover {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(157, 6, 6, 0.15);
    position: relative;
}

.album-cover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    border-radius: var(--border-radius);
    z-index: -1;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-info {
    flex: 1;
}

.album-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 5px 0;
}

.album-artist {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 15px 0;
}

.album-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.album-meta span {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid rgba(157, 6, 6, 0.3);
    border-radius: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.4);
}

/* 相关歌曲样式 */
.related-songs {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.song-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.song-item:hover {
    background: linear-gradient(135deg, rgba(157, 6, 6, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateX(5px);
}

.song-thumb {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.song-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.play-overlay-small {
    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;
}

.song-thumb:hover .play-overlay-small {
    opacity: 1;
}

.play-overlay-small button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.song-title a:hover {
    color: var(--primary-color);
}

.song-artist {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* 评论统计样式 */
.rating-summary {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.rating-score {
    text-align: center;
    margin-bottom: 20px;
}

.score {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stars {
    font-size: 20px;
    margin: 8px 0;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.total-ratings {
    font-size: 12px;
    color: var(--text-muted);
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.rating-bar span:first-child {
    width: 30px;
    color: var(--text-muted);
}

.rating-bar span:last-child {
    width: 35px;
    text-align: right;
    color: var(--text-muted);
}

.bar {
    flex: 1;
    height: 6px;
    background: rgba(233, 236, 239, 0.5);
    border-radius: 3px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 空状态样式 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    text-align: center;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    color: rgba(157, 6, 6, 0.3);
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(157, 6, 6, 0.1));
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 歌词介绍样式 */
.song-description {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.description-content {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

.description-content p {
    margin: 0 0 15px 0;
}

.description-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: var(--primary-color);
}

.description-content ul {
    padding-left: 20px;
    margin: 10px 0;
}

.description-content li {
    margin: 5px 0;
}

.description-content strong {
    color: var(--primary-color);
}

/* ==========================================
 * 音乐首页模板新增样式 - music_index.html
 * 以下样式为新版音乐首页模板专用，避免与原有样式冲突
 * ==========================================*/

/* 首页专用容器样式 - 避免与现有container冲突 */
.music-index-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 音乐推荐模块样式 - 首页专用 */
.music-index .musicbox_1 {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    padding: 20px;
}

.music-index .musicbox_1 .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.music-index .musicbox_1 .title .h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.music-index .musicbox_1 .title .h2 i {
    width: 4px;
    height: 20px;
    background: #1890ff;
    border-radius: 2px;
    margin-right: 10px;
}

.music-index .musicbox_1 .title .right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.music-index .musicbox_1 .title .right .lei {
    padding: 6px 12px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.music-index .musicbox_1 .title .right .lei:hover {
    background: #1890ff;
    color: white;
}

.music-index .musicbox_1 .musiclist {
    display: grid;
    grid-template-columns: repeat(5, 260px);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: space-between;
}

.music-index .musicbox_1 .musiclist li {
    transition: all 0.3s ease;
}

.music-index .musicbox_1 .musiclist li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.music-index .musicbox_1 .musiclist li:hover {
    transform: translateY(-5px);
}

/* 音乐卡片样式 - 首页专用，避免与现有music-card冲突 */
.music-index .music-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    width: 260px;
    height: auto;
}

.music-index .music-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #1890ff;
}

.music-index .card-image {
    position: relative;
    width: 260px;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.music-index .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-index .music-card:hover .card-image img {
    transform: scale(1.05);
}

.music-index .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-index .music-card:hover .play-overlay {
    opacity: 1;
}

.music-index .play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1890ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-index .play-btn:hover {
    background: #1890ff;
    color: white;
    transform: scale(1.1);
}

.music-index .card-content {
    padding: 12px;
}

.music-index .music-Keys {
    display: inline;
    background: #52c41a;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 6px;
    font-weight: 500;
    vertical-align: top;
}

/* 音乐推荐卡片中的标题样式 */
.music-index .musiclist .music-title {
    font-size: 13px;
    line-height: 1.3;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
    word-break: break-all;
}

/* 音乐版面样式 - 首页专用，避免与现有music-section冲突 */
.music-index .music-section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 50%, rgba(241, 245, 249, 0.95) 100%),
        radial-gradient(circle at 30% 30%, rgba(157, 6, 6, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    border-radius: 8px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 0 20px rgba(157, 6, 6, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.music-index .music-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(157, 6, 6, 0.015) 49%, rgba(157, 6, 6, 0.015) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.015) 49%, rgba(139, 92, 246, 0.015) 51%, transparent 52%);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.6;
}

.music-index .music-section .section-title {
    padding: 18px 25px;
    border-bottom: none;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.music-index .music-section .section-title .more-link {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.music-index .music-section .section-title .more-link:hover {
    opacity: 1;
    transform: translateX(2px);
}

/* 为不同区块设置不同的背景色 */
.music-index .latest-title {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.music-index .hot-title {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

.music-index .music-list-box {
    padding: 0;
    position: relative;
    z-index: 1;
}

.music-index .music-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(233, 236, 239, 0.2);
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.music-index .music-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    transition: width 0.3s ease;
}

.music-index .music-item:hover {
    background: linear-gradient(135deg, rgba(157, 6, 6, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(157, 6, 6, 0.1);
}

.music-index .music-item:hover::before {
    width: 3px;
}

.music-index .music-item:last-child {
    border-bottom: none;
}

.music-index .music-checkbox {
    margin-right: 12px;
}

.music-index .music-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: rgb(241, 116, 77);
}

.music-index .music-item .music-title {
    flex: 1;
    color: #333;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.music-index .music-item .music-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.music-index .music-item .music-title a:hover {
    color: rgb(241, 116, 77);
    text-decoration: underline;
}

.music-index .music-item:hover .music-title a {
    color: rgb(241, 116, 77);
}

.music-index .music-quality {
    background: linear-gradient(135deg, rgba(157, 6, 6, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: rgb(241, 116, 77);
    border: 1px solid rgba(157, 6, 6, 0.2);
    padding: 3px 8px;
    font-size: 10px;
    margin-right: 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.music-index .music-type {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1) 0%, rgba(157, 6, 6, 0.1) 100%);
    color: rgb(223, 39, 39);
    border: 1px solid rgba(118, 75, 162, 0.2);
    padding: 3px 8px;
    font-size: 10px;
    margin-right: 10px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.music-index .music-controls {
    display: flex;
    gap: 6px;
    margin-right: 10px;
}

.music-index .btn-play, .music-index .btn-fav {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(157, 6, 6, 0.3);
    cursor: pointer;
    font-size: 12px;
    border-radius: 6px;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    color: rgb(241, 116, 77);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.music-index .btn-play:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
}

.music-index .btn-fav:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
}

.music-index .music-date {
    color: #999;
    font-size: 11px;
    min-width: 60px;
    text-align: right;
    opacity: 0.8;
}

.music-index .section-actions {
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.5) 100%);
    border-top: 1px solid rgba(233, 236, 239, 0.3);
    display: flex;
    gap: 10px;
    justify-content: left;
    align-items: center;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.music-index .select-all-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 15px;
    cursor: pointer;
    color: rgb(241, 116, 77);
    font-weight: 500;
}

.music-index .select-all-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: rgb(241, 116, 77);
}

.music-index .btn-play-all, .music-index .btn-batch-download {
    padding: 6px 12px;
    border: 1px solid rgba(157, 6, 6, 0.2);
    background: rgba(157, 6, 6, 0.1);
    color: rgb(241, 116, 77);
    cursor: pointer;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.music-index .btn-play-all:hover {
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

.music-index .btn-batch-download:hover {
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

/* 排行榜样式 - 首页专用，避免与现有rank-相关样式冲突 */
.music-index .rank-section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%),
        radial-gradient(circle at 20% 20%, rgba(157, 6, 6, 0.05) 0%, transparent 50%);
    border-radius: 8px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 15px rgba(157, 6, 6, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.music-index .rank-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(157, 6, 6, 0.01) 50%, transparent 51%);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

.music-index .rank-header {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.music-index .rank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.music-index .rank-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    text-align: left;
}

.music-index .rank-header .more-link {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    text-align: right;
}

.music-index .rank-header .more-link:hover {
    opacity: 1;
    transform: translateX(2px);
}

.music-index .rank-list {
    padding: 0;
}

.music-index .rank-item {
    display: flex;
    align-items: center;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(233, 236, 239, 0.2);
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    z-index: 1;
}

.music-index .rank-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    transition: width 0.3s ease;
}

.music-index .rank-item:hover {
    background: linear-gradient(135deg, rgba(157, 6, 6, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(157, 6, 6, 0.1);
}

.music-index .rank-item:hover::before {
    width: 3px;
}

.music-index .rank-item:last-child {
    border-bottom: none;
}

.music-index .rank-num {
    display: none;
}

.music-index .rank-check {
    margin-right: 10px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: rgb(241, 116, 77);
}

.music-index .rank-name {
    flex: 1;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.music-index .rank-name a {
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: block;
    padding: 2px 0;
    border-radius: 3px;
}

.music-index .rank-name a:hover {
    color: rgb(241, 116, 77) !important;
    text-decoration: none !important;
    background: rgba(157, 6, 6, 0.05);
    padding-left: 4px;
}

.music-index .rank-item:hover .rank-name a {
    color: rgb(241, 116, 77) !important;
    text-decoration: none !important;
}

.music-index .rank-footer {
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.5) 100%);
    border-top: 1px solid rgba(233, 236, 239, 0.3);
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    font-size: 11px;
    position: relative;
    z-index: 1;
}

.music-index .rank-footer .select-all {
    margin-right: 10px;
    width: 13px;
    height: 13px;
    cursor: pointer;
    accent-color: rgb(241, 116, 77);
}

.music-index .rank-footer .action-btn {
    padding: 5px 10px;
    border: 1px solid rgba(157, 6, 6, 0.2);
    background: rgba(157, 6, 6, 0.1);
    color: rgb(241, 116, 77);
    cursor: pointer;
    font-size: 11px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.music-index .rank-footer .action-btn:hover {
    background: linear-gradient(135deg, rgb(241, 116, 77) 0%, rgb(223, 39, 39) 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

/* 首页特定的渐变背景样式 */
.music-index .rank-header {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%) !important;
}

.music-index .rank-header-download {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%) !important;
}

.music-index .rank-header-favorite {
    background: linear-gradient(135deg, #eb87de 0%, #45c30b 100%) !important;
}

.music-index .rank-header-listen {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%) !important;
}

/* 首页响应式设计 */
@media (max-width: 1200px) {
    .music-index-container {
        max-width: 1200px;
    }
    
    .music-index .musicbox_1 .musiclist {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .music-index-container {
        padding: 0 15px;
    }
    
    .music-index .musicbox_1 .title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .music-index .musicbox_1 .title .right {
        gap: 5px;
    }
    
    .music-index .musicbox_1 .musiclist {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .music-index .card-image {
        height: 120px;
    }
    
    .music-index .card-content {
        padding: 10px;
    }
    
    .music-index .musiclist .music-title {
        font-size: 12px;
    }
    
    .music-index .music-item, .music-index .music-card {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .music-index .music-item .music-title {
        font-size: 12px;
    }
    
    .music-index .section-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .music-index .btn-play-all, .music-index .btn-batch-download {
        width: 100%;
    }
}

/* 筛选容器样式 */
.filter-container {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

/* 当前分类信息样式 */
.breadcrumb-section {
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.current-category {
    color: #333;
}

/* 分类和排序区域样式 */
.category-section,
.sort-section {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sort-section {
    border-bottom: none;
}

.section-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.filter-btn {
    padding: 6px 16px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-btn.active {
    background: rgb(241, 116, 77);
    color: white;
    border-color: rgb(241, 116, 77);
}

.filter-btn:hover {
    border-color: rgb(241, 116, 77);
    color: rgb(241, 116, 77);
    background: #fff;
}

.filter-btn.active:hover {
    background: rgb(241, 116, 77);
    color: white;
}

/* 表格样式 */
.music-table-container {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 60px 80px 1fr 60px 60px 60px 60px 80px 100px;
    background: #f8f9fa;
    padding: 12px 16px;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #e9ecef;
}

.table-body {
    /* 移除滚动条 */
}

.table-row {
    display: grid;
    grid-template-columns: 60px 80px 1fr 60px 60px 60px 60px 80px 100px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    align-items: center;
}

.table-row:hover {
    background: #f8f9fa;
}

.table-row:nth-child(even) {
    background: #fbfbfb;
}

.table-row:nth-child(even):hover {
    background: #f5f6f7;
}

.col-check input {
    margin: 0;
}

.col-number {
    color: #999;
    font-size: 13px;
}

.col-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}

.col-title a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.col-title a:hover {
    color: #1890ff;
}

.col-format {
    color: #666;
    font-size: 12px;
}

.download-btn, .favorite-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.download-btn:hover {
    color: #1890ff;
}

.favorite-btn:hover {
    color: #ff4d4f;
}

.col-popularity {
    color: #999;
    font-size: 12px;
}

.col-date {
    color: #999;
    font-size: 12px;
}

/* 🎨 DaheCMS音乐标签美化样式 - 2025年9月18日新增 */

/* 音乐标签云容器 */
.keys-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
    align-items: flex-start;
    line-height: 1.6;
}

/* 基础音乐标签样式 */
.keys-cloud .keys {
    display: inline-block;
    padding: 6px 14px;
    margin: 0;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

/* 音乐标签悬停效果 */
.keys-cloud .keys:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: white;
    text-decoration: none;
}

/* 音乐标签激活效果 */
.keys-cloud .keys:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

/* 音乐标签渐变动画 */
.keys-cloud .keys::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.keys-cloud .keys:hover::before {
    left: 100%;
}

/* 不同类型音乐标签的颜色变体 */
.keys-cloud .keys:nth-child(1) {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.keys-cloud .keys:nth-child(2) {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.keys-cloud .keys:nth-child(3) {
    background: linear-gradient(135deg, #dc3545 0%, #bd2130 100%);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.keys-cloud .keys:nth-child(4) {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
    color: #212529;
}

.keys-cloud .keys:nth-child(5) {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.2);
}

.keys-cloud .keys:nth-child(6) {
    background: linear-gradient(135deg, #6f42c1 0%, #59359a 100%);
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.2);
}

/* 对应的悬停效果 */
.keys-cloud .keys:nth-child(2):hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}

.keys-cloud .keys:nth-child(3):hover {
    background: linear-gradient(135deg, #bd2130 0%, #a71e2a 100%);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.3);
}

.keys-cloud .keys:nth-child(4):hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.3);
    color: #212529;
}

.keys-cloud .keys:nth-child(5):hover {
    background: linear-gradient(135deg, #138496 0%, #0f6674 100%);
    box-shadow: 0 6px 16px rgba(23, 162, 184, 0.3);
}

.keys-cloud .keys:nth-child(6):hover {
    background: linear-gradient(135deg, #59359a 0%, #4c2a85 100%);
    box-shadow: 0 6px 16px rgba(111, 66, 193, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .keys-cloud {
        gap: 6px;
        padding: 12px;
    }

    .keys-cloud .keys {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 16px;
    }
}

/* 标签加载动画 */
.keys-cloud .keys {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为每个标签设置动画延迟 */
.keys-cloud .keys:nth-child(1) { --index: 0; }
.keys-cloud .keys:nth-child(2) { --index: 1; }
.keys-cloud .keys:nth-child(3) { --index: 2; }
.keys-cloud .keys:nth-child(4) { --index: 3; }
.keys-cloud .keys:nth-child(5) { --index: 4; }
.keys-cloud .keys:nth-child(6) { --index: 5; }

/* 简洁标签样式 - 适配侧边栏风格 */
.keys-cloud .tag-item {
    display: inline-block;
    padding: 5px 12px;
    margin: 2px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.keys-cloud .tag-item:hover {
    background-color: #fff;
    border-color: #5a98de;
    color: #5a98de;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(90, 152, 222, 0.15);
    text-decoration: none;
}

.keys-cloud .tag-item:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(90, 152, 222, 0.2);
}

/* 响应式标签 */
@media (max-width: 768px) {
    .keys-cloud .tag-item {
        padding: 4px 10px;
        font-size: 12px;
        margin: 1.5px;
    }
}

/* 多地址播放源列表样式 - 分组标题行 */
.track-group-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    cursor: default;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 10;
}

.track-group-header:hover {
    background: #f1f3f5;
}

.track-group-header .group-icon {
    font-size: 16px;
    opacity: 0.7;
}

.track-group-header .group-name {
    flex: 1;
    letter-spacing: 0.3px;
}

.track-group-header .group-count {
    font-size: 12px;
    font-weight: 400;
    color: #6c757d;
    background: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    list-style: none;
    cursor: default;
}

.empty-message:hover {
    background: transparent;
}

.empty-message p {
    font-size: 16px;
    margin: 0;
}

/* 播放按钮基础样式 - 小圆形图标 */
.track-actions .play-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.track-actions .play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 免费播放按钮 - 绿色 */
.track-actions .play-btn.free {
    background: linear-gradient(135deg, #ffaf68 0%, #e88b13 100%);
    color: white;
}

/* 积分播放按钮 - 橙色 */
.track-actions .play-btn.btn-points {
    background: linear-gradient(135deg, #faad14 0%, #fa8c16 100%);
    color: white;
}

/* 金额播放按钮 - 粉色 */
.track-actions .play-btn.btn-money {
    background: linear-gradient(135deg, #f759ab 0%, #f06292 100%);
    color: white;
}

/* VIP播放按钮 - 金色 */
.track-actions .play-btn.btn-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #333;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .track-group-header {
        padding: 10px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .track-group-header .group-icon {
        font-size: 14px;
    }

    .track-group-header .group-count {
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* ==========================================
 * 音乐播放源权限徽章样式 - 2026年新增
 * ==========================================*/

/* 积分徽章 */
.points-badge {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

/* VIP徽章 */
.vip-badge {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

/* 会员徽章 */
.member-badge {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

/* 金额徽章 */
.money-badge {
    background: #fce7f3;
    color: #9f1239;
    border: 1px solid #f472b6;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

