/* music_index.css */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    min-height: 100vh;
    color: #ffffff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 0, 120, 0.45), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(0, 160, 255, 0.45), transparent 32%),
        radial-gradient(circle at 50% 3%, rgba(255, 210, 0, 0.35), transparent 36%),
        linear-gradient(180deg, #0b0d1b 0%, #171a33 45%, #0c0f20 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* 星星粒子画布（限制在歌词框内） */
.bg-particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 舞台灯光（限制在歌词框内，像舞台上的射灯） */
.stage-lights {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.light-beam {
    position: absolute;
    width: 40px;
    height: 125%;
    top: -20%;
    opacity: 0;
    transform-origin: top center;
    filter: blur(14px);
    animation: lightSweep 5s infinite ease-in-out;
}
.light-beam:nth-child(1) { left: 10%; background: linear-gradient(to bottom, rgba(255, 0, 120, 0.8) 0%, rgba(255, 0, 120, 0.42) 62%, transparent 96%); animation-delay: 0s; }
.light-beam:nth-child(2) { left: 28%; background: linear-gradient(to bottom, rgba(0, 255, 255, 0.8) 0%, rgba(0, 255, 255, 0.42) 62%, transparent 96%); animation-delay: 0.8s; }
.light-beam:nth-child(3) { left: 50%; background: linear-gradient(to bottom, rgba(255, 210, 0, 0.8) 0%, rgba(255, 210, 0, 0.42) 62%, transparent 96%); animation-delay: 1.6s; }
.light-beam:nth-child(4) { left: 72%; background: linear-gradient(to bottom, rgba(130, 0, 255, 0.8) 0%, rgba(130, 0, 255, 0.42) 62%, transparent 96%); animation-delay: 2.4s; }
.light-beam:nth-child(5) { left: 90%; background: linear-gradient(to bottom, rgba(0, 255, 110, 0.8) 0%, rgba(0, 255, 110, 0.42) 62%, transparent 96%); animation-delay: 3.2s; }
@keyframes lightSweep {
    0% { transform: rotate(-32deg); opacity: 0; }
    25% { transform: rotate(14deg); opacity: 0.75; }
    50% { transform: rotate(-14deg); opacity: 0.85; }
    75% { transform: rotate(32deg); opacity: 0.75; }
    100% { transform: rotate(-32deg); opacity: 0; }
}

/* 舞台地板光点（歌词框底部） */
.floor-dots {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 130px;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(255, 0, 120, 0.55) 0 7px, transparent 8px),
        radial-gradient(circle at 25% 85%, rgba(0, 160, 255, 0.55) 0 7px, transparent 8px),
        radial-gradient(circle at 40% 88%, rgba(255, 210, 0, 0.55) 0 7px, transparent 8px),
        radial-gradient(circle at 60% 82%, rgba(130, 0, 255, 0.55) 0 7px, transparent 8px),
        radial-gradient(circle at 75% 90%, rgba(0, 255, 110, 0.55) 0 7px, transparent 8px),
        radial-gradient(circle at 90% 86%, rgba(255, 0, 120, 0.55) 0 7px, transparent 8px);
    background-size: 100% 100%;
    animation: floorPulse 2s infinite alternate ease-in-out;
}
@keyframes floorPulse {
    0% { opacity: 0.35; transform: translateY(15px); }
    100% { opacity: 0.6; transform: translateY(0); }
}

.music-page-wrap {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 40px);
    padding: 25px 18px;
}
.music-main-container { max-width: 1100px; margin: 0 auto; }

/* 标题行 + 全屏按钮 */
.music-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.music-title-row .music-title-h2 { margin-bottom: 0; }
.fullscreen-btn {
    padding: 8px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.fullscreen-btn:hover {
    background: linear-gradient(135deg, #ff4d88, #9f70ff);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(255, 77, 136, 0.5);
}

.music-title-h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 22px rgba(255, 0, 120, 0.7);
}
.music-title-h2 span { color: #ff4d88; }

.music-player-card {
    position: relative;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 26px;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 28px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
}

/* 视频式全屏：只显示播放器，黑色背景，歌词舞台放大居中 */
.music-player-card:fullscreen {
    background: #000;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}
.music-player-card:fullscreen .music-cat-bar { display: none; }
.music-player-card:fullscreen .music-content-row { grid-template-columns: 1fr; }
.music-player-card:fullscreen .music-song-list-box { display: none; }
.music-player-card:fullscreen .music-lyric-wrap { height: 58vh; }

/* 全屏时的悬浮退出按钮 */
.fs-exit-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100;
    padding: 6px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.fs-exit-btn:hover { background: rgba(255,77,136,0.5); }
.music-player-card:fullscreen .fs-exit-btn { display: block; }

.music-cat-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.cat-tag-item {
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}
.cat-tag-item.active {
    background: linear-gradient(135deg, #ff4d88, #9f70ff);
    border-color: transparent;
    box-shadow: 0 0 18px rgba(255, 77, 136, 0.55);
}
.cat-tag-item:hover { background: rgba(255, 77, 136, 0.25); }

.music-content-row {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 22px;
}

/* ========== 左侧歌曲列表 ========== */
.music-song-list-box {
    background: rgba(0, 0, 0, 0.24);
    border-radius: 16px;
    height: 420px;
    overflow-y: auto;
    padding: 12px;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
}
.song-item:hover { 
    background: rgba(255, 77, 136, 0.2); 
    border-color: rgba(255, 77, 136, 0.3);
}
.song-item.playing {
    background: linear-gradient(135deg, rgba(255, 77, 136, 0.4), rgba(159, 112, 255, 0.3));
    border-color: rgba(255, 77, 136, 0.8);
    box-shadow: 0 0 15px rgba(255, 77, 136, 0.4), inset 0 0 0 1px rgba(255, 77, 136, 0.5);
    transform: scale(1.02);
}
.song-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.song-info { flex: 1; min-width: 0; }
.song-name-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}
.song-singer-text { 
    font-size: 12px; 
    color: #aeb7c2; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
.song-play-count {
    font-size: 11px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    padding: 2px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}
.song-recommend-badge {
    display: inline-block;
    font-size: 10px;
    color: #ffd700;
    margin-left: 6px;
    background: rgba(255, 215, 0, 0.15);
    padding: 1px 5px;
    border-radius: 6px;
    vertical-align: middle;
}

/* ========== 右侧歌词区（灯光特效） ========== */
.music-lyric-wrap {
    height: 420px;
    overflow: hidden;
    position: relative;
    background: #000; /* ★歌词背景黑色 */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 聚光灯（跟随当前歌词） */
.lyric-spotlight {
    position: absolute;
    left: 10%;
    width: 80%;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(57, 249, 255, 0.25), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: top 0.4s ease, opacity 0.4s ease;
    border-radius: 50%;
}

.lyric-scroll-container {
    width: 100%; height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.lyric-line {
    text-align: center;
    padding: 14px 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    transition: all 0.45s ease;
    line-height: 1.9;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.5);
}

/* 歌词高亮霓虹 */
.lyric-line.active {
    color: #39f9ff;
    font-size: 24px;
    font-weight: 700;
    text-shadow:
        0 0 8px #39f9ff,
        0 0 18px rgba(57, 249, 255, 0.55),
        0 0 30px rgba(57, 249, 255, 0.35),
        0 0 50px rgba(57, 249, 255, 0.2);
    transform: scale(1.04);
    animation: lyricNeonFlicker 1.5s infinite alternate;
}
@keyframes lyricNeonFlicker {
    0% { text-shadow: 0 0 8px #39f9ff, 0 0 18px rgba(57, 249, 255, 0.55), 0 0 30px rgba(57, 249, 255, 0.35); }
    50% { text-shadow: 0 0 12px #ff4d88, 0 0 24px rgba(255, 77, 136, 0.6), 0 0 40px rgba(255, 77, 136, 0.4); }
    100% { text-shadow: 0 0 8px #9f70ff, 0 0 18px rgba(159, 112, 255, 0.55), 0 0 30px rgba(159, 112, 255, 0.35); }
}

@keyframes lyricBgLight {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}
@keyframes sideSciFiPulse {
    0% { opacity: 0.65; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(10px); }
    100% { opacity: 0.65; transform: translateX(0); }
}

/* ========== 控制区 ========== */
.music-control-area {
    margin-top: 24px;
    padding-top: 22px;
    padding-bottom: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
/* 正在播放 */
.now-playing {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.now-playing.show { opacity: 1; }
.now-playing #nowPlayingName {
    color: #ff4d88;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 77, 136, 0.5);
}
.music-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 14px;
    position: relative;
}
.music-progress-inner {
    height: 100%;
    background: linear-gradient(90deg, #ff4d88, #9f70ff);
    border-radius: 6px;
    width: 0%;
    transition: width 0.1s linear;
}
.progress-hover-tip {
    position: absolute;
    top: -28px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    display: none;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
}
.music-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #adb5bd;
    margin-bottom: 18px;
}

.music-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
    position: relative;
    min-height: 72px;
    width: 100%;
    overflow: visible;
}

.music-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: background 0.2s;
    position: relative;
}
.music-btn:hover { background: rgba(255, 255, 255, 0.12); }
.music-btn svg { width: 24px; height: 24px; display: block; }

#prevBtn svg, #nextBtn svg { width: 28px; height: 28px; }
#playBtn {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #ff4d88, #9f70ff);
    box-shadow: 0 0 22px rgba(255, 77, 136, 0.55);
}
#playBtn:hover { background: linear-gradient(135deg, #ff6699, #b388ff); }
#playBtn svg { width: 34px; height: 34px; }

/* 循环下拉选择 */
.loop-select-wrap { position: relative; }
.loop-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    padding: 6px 26px 6px 12px;
    cursor: pointer;
    outline: none;
}
.loop-select:hover { background: rgba(255,255,255,0.15); }
.loop-select option { background: #1a1a2e; color: #fff; }
.loop-select-wrap::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: rgba(255,255,255,0.6);
    pointer-events: none;
}

/* 小波形 wave-box */
.wave-box {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 38px;
    margin-left: 6px;
    flex-shrink: 0;
}
.wave-bar {
    width: 5px;
    background: linear-gradient(180deg, #ff4d88, #9f70ff);
    border-radius: 2px;
    transition: height 0.05s linear;
}
.wave-stop .wave-bar { height: 8px !important; }

/* 大波形 audio-wave-rows */
.audio-wave-rows {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 42px;
    margin-top: 12px;
}
.audio-wave {
    width: 20px;
    background: linear-gradient(180deg, #ff4d88, #9f70ff, #39f9ff);
    border-radius: 3px;
    transition: height 0.05s linear;
}
.audio-wave-rows.paused .audio-wave { height: 12px !important; opacity: 0.35; }

.music-song-list-box::-webkit-scrollbar { width: 6px; }
.music-song-list-box::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); border-radius: 4px; }

audio { width: 100%; margin-top: 12px; }

.eq-panel {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    z-index: 99;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.eq-panel.show { display: block; }
.eq-item {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    color: #fff;
}
.eq-item:hover { background: rgba(255, 77, 136, 0.35); }
.eq-item.active { background: linear-gradient(135deg, #ff4d88, #9f70ff); }

/* 音量控制 */
.volume-control {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}
.volume-slider {
    -webkit-appearance: none;
    width: 90px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d88, #9f70ff);
    box-shadow: 0 0 8px rgba(255, 77, 136, 0.6);
    cursor: pointer;
}
.volume-slider::-moz-range-thumb {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d88, #9f70ff);
    box-shadow: 0 0 8px rgba(255, 77, 136, 0.6);
    cursor: pointer;
    border: none;
}

/* 移动端适配 */
@media (max-width: 900px) {
    .music-content-row { grid-template-columns: 1fr; }
    .music-song-list-box { height: 260px; }
    .music-btn-group { gap: 8px; min-height: 64px; }
    .music-btn { width: 40px; height: 40px; }
    #playBtn { width: 52px; height: 52px; }
    #playBtn svg { width: 26px; height: 26px; }
    .wave-box { display: none; }
    .volume-control { display: none; }
    .loop-select { padding: 5px 20px 5px 8px; font-size: 11px; }
}

/* ========== 舞台歌手 ========== */
.singer {
    position: absolute;
    bottom: 6px;
    width: 72px;
    height: 132px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    will-change: transform;
}
.singer.show { opacity: 1; }
.singer-left  { left: 2%; }
.singer-right { right: 2%; }
/* DJ群舞站位（左右贴边 + 中间22人均匀排开） */
.singer-m1 { left: 4.50%; margin-left: -36px; }
.singer-m2 { left: 8.65%; margin-left: -36px; }
.singer-m3 { left: 12.80%; margin-left: -36px; }
.singer-m4 { left: 16.95%; margin-left: -36px; }
.singer-m5 { left: 21.10%; margin-left: -36px; }
.singer-m6 { left: 25.25%; margin-left: -36px; }
.singer-m7 { left: 29.40%; margin-left: -36px; }
.singer-m8 { left: 33.55%; margin-left: -36px; }
.singer-m9 { left: 37.70%; margin-left: -36px; }
.singer-m10 { left: 41.85%; margin-left: -36px; }
.singer-m11 { left: 46.00%; margin-left: -36px; }
.singer-m12 { left: 50.15%; margin-left: -36px; }
.singer-m13 { left: 54.30%; margin-left: -36px; }
.singer-m14 { left: 58.45%; margin-left: -36px; }
.singer-m15 { left: 62.60%; margin-left: -36px; }
.singer-m16 { left: 66.75%; margin-left: -36px; }
.singer-m17 { left: 70.90%; margin-left: -36px; }
.singer-m18 { left: 75.05%; margin-left: -36px; }
.singer-m19 { left: 79.20%; margin-left: -36px; }
.singer-m20 { left: 83.35%; margin-left: -36px; }
.singer-m21 { left: 87.50%; margin-left: -36px; }
.singer-m22 { left: 91.65%; margin-left: -36px; }
/* 前后两排错位 */
.singer.row2 { bottom: 22px; }
/* 缩放时以脚下为原点 */
.singer { transform-origin: bottom center; }

/* ===== DJ群舞服装颜色（8人8色） ===== */
.singer.c1 .singer-torso, .singer.c1 .singer-arm { background: linear-gradient(180deg, #ff4d88, #c233ff); }
.singer.c1 .singer-glow { background: radial-gradient(ellipse, rgba(255, 77, 136, 0.55), transparent 70%); }
.singer.c2 .singer-torso, .singer.c2 .singer-arm { background: linear-gradient(180deg, #39c9ff, #2b6cff); }
.singer.c2 .singer-glow { background: radial-gradient(ellipse, rgba(57, 201, 255, 0.55), transparent 70%); }
.singer.c3 .singer-torso, .singer.c3 .singer-arm { background: linear-gradient(180deg, #ffd700, #ff8800); }
.singer.c3 .singer-glow { background: radial-gradient(ellipse, rgba(255, 215, 0, 0.55), transparent 70%); }
.singer.c4 .singer-torso, .singer.c4 .singer-arm { background: linear-gradient(180deg, #00ff9d, #00b368); }
.singer.c4 .singer-glow { background: radial-gradient(ellipse, rgba(0, 255, 157, 0.5), transparent 70%); }
.singer.c5 .singer-torso, .singer.c5 .singer-arm { background: linear-gradient(180deg, #ff5555, #c2185b); }
.singer.c5 .singer-glow { background: radial-gradient(ellipse, rgba(255, 85, 85, 0.55), transparent 70%); }
.singer.c6 .singer-torso, .singer.c6 .singer-arm { background: linear-gradient(180deg, #b388ff, #7c4dff); }
.singer.c6 .singer-glow { background: radial-gradient(ellipse, rgba(179, 136, 255, 0.55), transparent 70%); }
.singer.c7 .singer-torso, .singer.c7 .singer-arm { background: linear-gradient(180deg, #f5f5f5, #9e9e9e); }
.singer.c7 .singer-glow { background: radial-gradient(ellipse, rgba(255, 255, 255, 0.45), transparent 70%); }
.singer.c8 .singer-torso, .singer.c8 .singer-arm { background: linear-gradient(180deg, #ff9de2, #e040fb); }
.singer.c8 .singer-glow { background: radial-gradient(ellipse, rgba(255, 157, 226, 0.55), transparent 70%); }

/* 歌手身体（摇摆动画） */
.singer-body {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 60px;
    height: 112px;
    transform: translateX(-50%);
    animation: singerSway 0.8s infinite ease-in-out alternate;
}
.singer-right .singer-body { animation-delay: 0.4s; }
@keyframes singerSway {
    from { transform: translateX(-50%) rotate(-3deg); }
    to   { transform: translateX(-50%) rotate(3deg); }
}

.singer-head {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe9d0, #eda97c);
    box-shadow: 0 0 10px rgba(255, 200, 150, 0.6);
    z-index: 2;
}
/* 男士：短发 */
.singer.male .singer-head::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 12px;
    background: #241a12;
    border-radius: 13px 13px 5px 5px;
}
/* 女士：长发披肩 */
.singer.female .singer-head::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    width: 34px; height: 32px;
    background: #3a2214;
    border-radius: 17px 17px 10px 10px;
    z-index: -1;
}
/* 男士服装：蓝色系 */
.singer.male .singer-torso { background: linear-gradient(180deg, #39c9ff, #2b6cff); box-shadow: 0 0 12px rgba(57, 201, 255, 0.5); }
.singer.male .singer-arm { background: linear-gradient(180deg, #39c9ff, #2b6cff); }
.singer.male .singer-glow { background: radial-gradient(ellipse, rgba(57, 201, 255, 0.55), transparent 70%); }
/* 女士服装：粉色系（默认即粉色，显式声明） */
.singer.female .singer-torso { background: linear-gradient(180deg, #ff4d88, #c233ff); box-shadow: 0 0 12px rgba(255, 77, 136, 0.55); }
.singer.female .singer-arm { background: linear-gradient(180deg, #ff4d88, #c233ff); }
.singer-torso {
    position: absolute;
    top: 24px; left: 50%;
    transform: translateX(-50%);
    width: 34px; height: 46px;
    border-radius: 13px 13px 9px 9px;
    background: linear-gradient(180deg, #ff4d88, #9f70ff);
    box-shadow: 0 0 12px rgba(255, 77, 136, 0.55);
}
.singer-right .singer-torso { background: linear-gradient(180deg, #39c9ff, #9f70ff); box-shadow: 0 0 12px rgba(57, 249, 255, 0.5); }

/* 双腿 */
.singer-leg {
    position: absolute;
    top: 68px;
    width: 9px; height: 38px;
    border-radius: 4px;
    background: linear-gradient(180deg, #3a3f66, #23263f);
}
.singer-leg.l { left: 17px; }
.singer-leg.r { right: 17px; }

/* 手臂：一只拿麦举到嘴边，一只挥舞 */
.singer-arm {
    position: absolute;
    top: 30px;
    width: 8px; height: 30px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ff4d88, #9f70ff);
    transform-origin: top center;
}
.singer-right .singer-arm { background: linear-gradient(180deg, #39c9ff, #9f70ff); }
/* 拿麦上臂：肩部为轴，向上延伸 */
.singer-arm.mic {
    right: 9px;
    top: 31px;
    width: 8px;
    height: 15px;
    transform-origin: bottom center;
}
/* 前臂：上臂末端弯向嘴边 */
.singer-forearm {
    position: absolute;
    top: -12px;
    left: 50%;
    margin-left: -4px;
    width: 8px;
    height: 12px;
    border-radius: 4px;
    background: inherit;
    transform-origin: bottom center;
    transform: rotate(-35deg); /* 前臂弯到脸前（不挡头后） */
    z-index: 3;
}
/* 手（握麦的手） */
.singer-hand {
    position: absolute;
    top: -6px; left: -2px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #f4b98a;
    box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.65), 0 0 6px rgba(0, 0, 0, 0.5); /* 深色描边，与脸区分开 */
    z-index: 5; /* 手在最上层，清晰可见握着话筒 */
}
/* 话筒：红色舞台麦克风（深灰网头+红色手柄，与脸和背景明显区分） */
.singer-mic {
    position: absolute;
    top: -15px;
    left: -2px;
    width: 10px;
    height: 20px;
    border-radius: 6px 6px 4px 4px;
    background: linear-gradient(180deg, #4a4a4a 0 25%, #e53935 25% 45%, #a51e1e 45% 100%);
    box-shadow: 0 0 6px rgba(229, 57, 53, 0.6);
    transform: rotate(10deg);
    z-index: 4;
}
.singer-arm.free {
    left: 5px;
    transform: rotate(-14deg); /* 空手自然下垂，禁止摆动 */
}
@keyframes armWave {
    from { transform: rotate(18deg); }
    to   { transform: rotate(-28deg); }
}

/* 脚下舞台光圈（随音乐强弱变化） */
.singer-glow {
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 74px; height: 15px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 77, 136, 0.55), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}
.singer-right .singer-glow { background: radial-gradient(ellipse, rgba(57, 249, 255, 0.55), transparent 70%); }

/* ===== 歌手脚下聚光圈：灯光扫到人的位置下面，跟随节奏增亮（歌曲/DJ同规则） ===== */
.singer-floor {
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 130px;
    height: 28px;
    margin-left: -65px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.9), rgba(255,255,255,0.28) 55%, transparent 78%);
    filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    transform-origin: center;
    will-change: opacity, filter, transform;
}
.singer-body { z-index: 2; }
.singer-glow { z-index: 3; }

/* ========== DJ/舞曲 加强模式 ========== */
/* 高潮爆闪层（JS按音乐强度触发） */
.dj-flash {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 25%, rgba(255, 120, 200, 0.55), transparent 55%),
        radial-gradient(circle at 18% 80%, rgba(57, 249, 255, 0.45), transparent 50%),
        radial-gradient(circle at 82% 80%, rgba(255, 215, 0, 0.45), transparent 50%);
}

/* DJ模式：所有舞台动画全面提速 */
.dj-mode .singer-body { animation-duration: 0.4s; }
.dj-mode .singer-arm.free { animation-duration: 0.28s; }
.dj-mode .floor-dots { animation-duration: 0.7s; }
.dj-mode .lyric-line.active { animation-duration: 0.7s; }

/* DJ模式：星星随音乐更亮（JS驱动filter） */
.dj-mode .bg-particle-canvas { opacity: 1; }

/* ===== DJ群舞服装颜色（8人8色）— 置于文件末尾确保覆盖性别默认色 ===== */
.singer.c1 .singer-torso, .singer.c1 .singer-arm { background: linear-gradient(180deg, #ff4d88, #c233ff); }
.singer.c1 .singer-glow { background: radial-gradient(ellipse, rgba(255, 77, 136, 0.55), transparent 70%); }
.singer.c2 .singer-torso, .singer.c2 .singer-arm { background: linear-gradient(180deg, #39c9ff, #2b6cff); }
.singer.c2 .singer-glow { background: radial-gradient(ellipse, rgba(57, 201, 255, 0.55), transparent 70%); }
.singer.c3 .singer-torso, .singer.c3 .singer-arm { background: linear-gradient(180deg, #ffd700, #ff8800); }
.singer.c3 .singer-glow { background: radial-gradient(ellipse, rgba(255, 215, 0, 0.55), transparent 70%); }
.singer.c4 .singer-torso, .singer.c4 .singer-arm { background: linear-gradient(180deg, #00ff9d, #00b368); }
.singer.c4 .singer-glow { background: radial-gradient(ellipse, rgba(0, 255, 157, 0.5), transparent 70%); }
.singer.c5 .singer-torso, .singer.c5 .singer-arm { background: linear-gradient(180deg, #ff5555, #c2185b); }
.singer.c5 .singer-glow { background: radial-gradient(ellipse, rgba(255, 85, 85, 0.55), transparent 70%); }
.singer.c6 .singer-torso, .singer.c6 .singer-arm { background: linear-gradient(180deg, #b388ff, #7c4dff); }
.singer.c6 .singer-glow { background: radial-gradient(ellipse, rgba(179, 136, 255, 0.55), transparent 70%); }
.singer.c7 .singer-torso, .singer.c7 .singer-arm { background: linear-gradient(180deg, #f5f5f5, #9e9e9e); }
.singer.c7 .singer-glow { background: radial-gradient(ellipse, rgba(255, 255, 255, 0.45), transparent 70%); }
.singer.c8 .singer-torso, .singer.c8 .singer-arm { background: linear-gradient(180deg, #ff9de2, #e040fb); }
.singer.c8 .singer-glow { background: radial-gradient(ellipse, rgba(255, 157, 226, 0.55), transparent 70%); }

/* ===== DJ群舞：去掉话筒，双手随节奏挥舞（动作放缓） ===== */
.dj-mode .singer-mic { display: none; }
.dj-mode .singer-forearm { display: none; }
.dj-mode .singer-arm.free {
    animation: armWaveSlow 0.9s infinite ease-in-out alternate;
    animation-delay: 0.12s;
}
.dj-mode .singer-arm.mic {
    transform: none;
    animation: armWaveSlowR 0.9s infinite ease-in-out alternate;
}
@keyframes armWaveSlow {
    from { transform: rotate(22deg); }
    to   { transform: rotate(-30deg); }
}
@keyframes armWaveSlowR {
    from { transform: rotate(-22deg); }
    to   { transform: rotate(30deg); }
}
/* 放下(200°=自然下垂)：手臂垂在身侧；举起(315°=抬到嘴边)：经体侧挥到脸前，前臂弯向嘴 */
.singer-arm.mic {
    transform: rotate(200deg);
    transition: transform 0.45s ease;
}
.singer.singing .singer-arm.mic { transform: rotate(315deg); }

/* ===== 12色服装（新增 c9-c12） ===== */
.singer.c9  .singer-torso, .singer.c9  .singer-arm { background: linear-gradient(180deg, #ff7043, #e64a19); }
.singer.c9  .singer-glow { background: radial-gradient(ellipse, rgba(255, 112, 67, 0.55), transparent 70%); }
.singer.c10 .singer-torso, .singer.c10 .singer-arm { background: linear-gradient(180deg, #26c6da, #00838f); }
.singer.c10 .singer-glow { background: radial-gradient(ellipse, rgba(38, 198, 218, 0.55), transparent 70%); }
.singer.c11 .singer-torso, .singer.c11 .singer-arm { background: linear-gradient(180deg, #d4e157, #9e9d24); }
.singer.c11 .singer-glow { background: radial-gradient(ellipse, rgba(212, 225, 87, 0.5), transparent 70%); }
.singer.c12 .singer-torso, .singer.c12 .singer-arm { background: linear-gradient(180deg, #536dfe, #304ffe); }
.singer.c12 .singer-glow { background: radial-gradient(ellipse, rgba(83, 109, 254, 0.55), transparent 70%); }

/* DJ挥臂再放慢 */
.dj-mode .singer-arm.free { animation-duration: 1.3s; }
.dj-mode .singer-arm.mic  { animation-duration: 1.3s; }

/* ===== 24色服装（新增 c13-c24） ===== */
.singer.c13 .singer-torso, .singer.c13 .singer-arm { background: linear-gradient(180deg, #ec407a, #880e4f); }
.singer.c13 .singer-glow { background: radial-gradient(ellipse, rgba(236, 64, 122, 0.55), transparent 70%); }
.singer.c14 .singer-torso, .singer.c14 .singer-arm { background: linear-gradient(180deg, #4fc3f7, #0277bd); }
.singer.c14 .singer-glow { background: radial-gradient(ellipse, rgba(79, 195, 247, 0.55), transparent 70%); }
.singer.c15 .singer-torso, .singer.c15 .singer-arm { background: linear-gradient(180deg, #a1887f, #4e342e); }
.singer.c15 .singer-glow { background: radial-gradient(ellipse, rgba(161, 136, 127, 0.5), transparent 70%); }
.singer.c16 .singer-torso, .singer.c16 .singer-arm { background: linear-gradient(180deg, #78909c, #263238); }
.singer.c16 .singer-glow { background: radial-gradient(ellipse, rgba(120, 144, 156, 0.5), transparent 70%); }
.singer.c17 .singer-torso, .singer.c17 .singer-arm { background: linear-gradient(180deg, #ab47bc, #4a148c); }
.singer.c17 .singer-glow { background: radial-gradient(ellipse, rgba(171, 71, 188, 0.55), transparent 70%); }
.singer.c18 .singer-torso, .singer.c18 .singer-arm { background: linear-gradient(180deg, #9ccc65, #33691e); }
.singer.c18 .singer-glow { background: radial-gradient(ellipse, rgba(156, 204, 101, 0.5), transparent 70%); }
.singer.c19 .singer-torso, .singer.c19 .singer-arm { background: linear-gradient(180deg, #ff8a65, #d84315); }
.singer.c19 .singer-glow { background: radial-gradient(ellipse, rgba(255, 138, 101, 0.55), transparent 70%); }
.singer.c20 .singer-torso, .singer.c20 .singer-arm { background: linear-gradient(180deg, #ef5350, #b71c1c); }
.singer.c20 .singer-glow { background: radial-gradient(ellipse, rgba(239, 83, 80, 0.55), transparent 70%); }
.singer.c21 .singer-torso, .singer.c21 .singer-arm { background: linear-gradient(180deg, #40c4ff, #01579b); }
.singer.c21 .singer-glow { background: radial-gradient(ellipse, rgba(64, 196, 255, 0.55), transparent 70%); }
.singer.c22 .singer-torso, .singer.c22 .singer-arm { background: linear-gradient(180deg, #ffcc80, #e65100); }
.singer.c22 .singer-glow { background: radial-gradient(ellipse, rgba(255, 204, 128, 0.5), transparent 70%); }
.singer.c23 .singer-torso, .singer.c23 .singer-arm { background: linear-gradient(180deg, #b0bec5, #37474f); }
.singer.c23 .singer-glow { background: radial-gradient(ellipse, rgba(176, 190, 197, 0.5), transparent 70%); }
.singer.c24 .singer-torso, .singer.c24 .singer-arm { background: linear-gradient(180deg, #ffd54f, #ff6f00); }
.singer.c24 .singer-glow { background: radial-gradient(ellipse, rgba(255, 213, 79, 0.55), transparent 70%); }

/* DJ挥臂再放慢（24人齐舞） */
.dj-mode .singer-arm.free { animation-duration: 1.8s; }
.dj-mode .singer-arm.mic  { animation-duration: 1.8s; }

/* 手机自动播放被静音：醒目解锁按钮（中央悬浮+脉冲） */
.sound-unlock {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    padding: 18px 38px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff4d88, #9f70ff);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255, 77, 136, 0.8), 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: soundPulse 1.2s infinite ease-in-out;
}
@keyframes soundPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(255, 77, 136, 0.6), 0 8px 24px rgba(0,0,0,.5); }
    50%      { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 40px rgba(255, 77, 136, 1), 0 8px 24px rgba(0,0,0,.5); }
}

/* ===== DJ增强：动作放慢一半 + 灯柱全部加粗 ===== */
.dj-mode .singer-body { animation-duration: 0.8s; }          /* 身体摇摆放慢一半 */
.dj-mode .singer-arm.free { animation-duration: 3.6s; }      /* 挥手放慢一半 */
.dj-mode .singer-arm.mic  { animation-duration: 3.6s; }
.dj-mode .floor-dots { animation-duration: 1.4s; }           /* 地板放慢一半 */
.dj-mode .light-beam { width: 60px; }                        /* 顶部舞台灯柱加粗 */
.dj-mode .lyric-line.active { animation-duration: 1.4s; }    /* 歌词霓虹放慢一半 */


/* ===== DJ动作改慢慢（继续放慢） ===== */
.dj-mode .singer-body { animation-duration: 3.6s; }
.dj-mode .singer-arm.free { animation-duration: 13s; }
.dj-mode .singer-arm.mic  { animation-duration: 13s; }
.dj-mode .floor-dots { animation-duration: 5s; }
.dj-mode .lyric-line.active { animation-duration: 5s; }

/* ========== 【修复】暂停：灯灭、人停 ========== */
.music-lyric-wrap.paused .singer-body,
.music-lyric-wrap.paused .singer-arm,
.music-lyric-wrap.paused .floor-dots,
.music-lyric-wrap.paused .light-beam,
.music-lyric-wrap.paused .lyric-line.active {
    animation-play-state: paused !important; /* 冻结所有CSS动画，人物完全不动 */
}
.music-lyric-wrap.paused .lyric-spotlight { opacity: 0 !important; }
.music-lyric-wrap.paused .singer-glow { opacity: 0.06 !important; filter: none !important; }
.music-lyric-wrap.paused .singer-floor { opacity: 0 !important; }
.music-lyric-wrap.paused .dj-flash { opacity: 0 !important; }
.music-lyric-wrap.paused .stage-lights { filter: brightness(0.06) !important; }
.music-lyric-wrap.paused .floor-dots { filter: brightness(0.12) !important; }

/* 双性别歌手都可见时，举麦状态过渡更明显，确保男女切换一眼可辨 */
.singer.singing .singer-arm.mic { transition: transform 0.35s ease; }

/* ============================================================
   ★★★ DJ舞者/舞台速度最终值（追加于文件末尾，!important 覆盖以上所有旧值）
   ============================================================ */
.dj-mode .singer-body { animation-duration: 2.8s !important; }
.dj-mode .singer-arm.free { animation-duration: 2.4s !important; }
.dj-mode .singer-arm.mic  { animation-duration: 2.4s !important; }
.dj-mode .floor-dots { animation-duration: 2.4s !important; }
.dj-mode .lyric-line.active { animation-duration: 3s !important; }
.dj-mode .light-beam { width: 60px !important; } /* 灯柱加粗保持 */

/* ============================================================
   歌曲列表：日期显示 & 播放状态颜色规则
   ============================================================ */

/* 发布时间，默认白色 */
.song-date {
    font-size: 11px;
    color: #ffffff;
    opacity: 0.95;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 右侧元信息容器：日期+播放量横向排列 */
.song-meta-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* 播放中：歌曲名称金黄色 */
.song-item.playing .song-name-text {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* 播放中：歌手红色 */
.song-item.playing .song-singer-text {
    color: #ff3333;
}

/* 播放中：播放量白色 */
.song-item.playing .song-play-count {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

/* 播放中：日期红色 */
.song-item.playing .song-date {
    color: #ff3333;
}