/* ===== 底部迷你播放栏 ===== */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--card-border);
    z-index: 1000;
    padding: 22px 60px !important;
}

.mini-player-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* 左侧：歌曲信息 */
.mini-player-info {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    padding-right: 50px !important;
}

.mini-player-info img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 14px !important;
    object-fit: cover;
    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
    transition: transform 0.3s ease;
}

.mini-player-info:hover img {
    transform: scale(1.05);
}

.mini-player-text {
    color: white;
    overflow: hidden;
    min-width: 0;
}

.mini-player-text div:first-child {
    font-weight: 600;
    font-size: 18px !important;
    margin-bottom: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-text div:last-child {
    font-size: 15px !important;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右侧：控制按钮 */
.mini-player-controls {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    flex-shrink: 0;
}

.mini-btn {
    width: 44px !important;
    height: 44px !important;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s;
}

.mini-btn svg {
    width: 20px !important;
    height: 20px !important;
}

/* 播放/暂停主按钮 */
.mini-btn#miniPlayBtn {
    width: 52px !important;
    height: 52px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5) !important;
}

.mini-btn#miniPlayBtn svg {
    width: 24px !important;
    height: 24px !important;
}

.mini-btn#miniPlayBtn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.7) !important;
}

.mini-btn:hover {
    transform: scale(1.08);
}

.mini-btn-icon {
    width: 38px !important;
    height: 38px !important;
    background: rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
}

.mini-btn-icon svg {
    width: 16px !important;
    height: 16px !important;
}

.mini-btn-icon:hover {
    background: rgba(255,255,255,0.25) !important;
    transform: scale(1.1);
}

/* 移动端设备显示/隐藏控制 */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

.quality-selector {
    position: absolute;
    bottom: 70px;
    right: 20px;
    background: var(--popup-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: none;
    z-index: 10002;
    overflow: visible;
}

.quality-selector.show {
    display: block;
}

.quality-option {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quality-option:hover {
    background: rgba(102, 126, 234, 0.2);
}

.quality-option.active {
    background: rgba(102, 126, 234, 0.3);
    color: var(--primary-light);
}

.quality-option-check {
    color: var(--primary-light);
    font-weight: bold;
}

.quality-divider {
    height: 1px;
    background: var(--card-border);
    margin: 6px 0;
}

.quality-label {
    padding: 6px 14px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 二级音质选择器样式 */
.quality-selector-wrapper {
    position: relative;
    margin: 4px 0;
}

.quality-category {
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quality-category:hover,
.quality-category.active {
    background: rgba(102, 126, 234, 0.2);
}

.quality-category-arrow {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.quality-category:hover .quality-category-arrow,
.quality-category.active .quality-category-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 二级弹窗 - 默认左侧弹出 */
.quality-submenu {
    position: absolute;
    right: calc(100% + 8px);
    top: 0;
    background: var(--popup-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: none;
    z-index: 10003;
}

/* 右侧弹出（空间不够时JS添加此类） */
.quality-submenu.submenu-right {
    right: auto;
    left: calc(100% + 8px);
}

.quality-selector-wrapper.active .quality-submenu {
    display: block;
}

.quality-submenu-item {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quality-submenu-item:hover {
    background: rgba(102, 126, 234, 0.2);
}

.quality-submenu-item.active {
    background: rgba(102, 126, 234, 0.3);
    color: var(--primary-light);
}

.quality-submenu-check {
    color: var(--primary-light);
    font-weight: bold;
}

.submenu-label {
    padding: 4px 14px;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px !important;
    background: rgba(255,255,255,0.12);
    cursor: pointer;
}

.mini-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
}
/* ===== 全屏播放器 ===== */
.full-player {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.full-player-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: -2;
}

.full-player-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(60px) brightness(0.4);
}

.full-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

.full-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    color: white;
}

.full-player-close, .full-player-more {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.full-player-close:hover, .full-player-more:hover {
    background: rgba(255,255,255,0.2);
}

.full-player-more {
    position: relative;
}

/* 更多菜单弹窗 */
.more-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: var(--popup-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 10001;
}

.more-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.more-menu-item:hover {
    background: rgba(102, 126, 234, 0.2);
}

.more-menu-item svg {
    flex-shrink: 0;
    color: var(--text-secondary);
}

.more-menu-divider {
    height: 1px;
    background: var(--card-border);
    margin: 8px 0;
}

.full-player-title {
    font-size: 16px;
    font-weight: 500;
}

.full-player-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 0;
}

.full-player-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 黑胶唱片效果 */
.vinyl-container {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
    aspect-ratio: 1 / 1;
}

.vinyl-record.playing {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-record::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

.vinyl-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}

.vinyl-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.full-player-right {
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.full-player-song-info {
    color: white;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.full-player-song-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.full-player-song-info p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.full-player-lyric {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    text-align: center;
    position: relative;
    scroll-behavior: smooth;
    mask-image: linear-gradient(180deg, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(180deg, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
}

.full-player-lyric::-webkit-scrollbar {
    display: none;
}

.lyric-item {
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
    position: relative;
}

.lyric-item.active {
    font-size: 17px;
    font-weight: 600;
    color: #1DB954;
}

.lyric-item.active.chorus {
    color: #ff4757;
    text-shadow: 0 0 15px rgba(255,71,87,0.5);
}

.lyric-item.center-line {
    color: rgba(255,255,255,0.85);
}

.lyric-item.active.center-line {
    color: #1DB954;
}

.lyric-center-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255,255,255,0.25);
    pointer-events: none;
    z-index: 2;
}

.lyric-center-line::before,
.lyric-center-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.lyric-center-line::before { left: 0; }
.lyric-center-line::after { right: 0; }

.lyric-center-time {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 10px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 3;
    white-space: nowrap;
    user-select: none;
    box-shadow: 0 2px 8px rgba(102,126,234,0.4);
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.lyric-center-time:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(102,126,234,0.6);
}

.lyric-center-time:active {
    transform: translateY(-50%) scale(0.95);
}

.lyric-center-time.chorus-time {
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    box-shadow: 0 0 15px rgba(255,71,87,0.7), 0 2px 8px rgba(255,107,107,0.5);
    border: 2px solid rgba(255,255,255,0.4);
    font-weight: bold;
}

.lyric-center-time.chorus-time:hover {
    box-shadow: 0 0 20px rgba(255,71,87,0.9), 0 4px 12px rgba(255,107,107,0.7);
}

.lyric-scroll-indicator {
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lyric-scroll-indicator.visible {
    opacity: 1;
}

    .lyric-empty {
        padding: 60px 0;
        color: rgba(255,255,255,0.4);
    }
    
    .lyric-spacer {
        flex-shrink: 0;
    }
    
    /* 浅色模式适配 */
    [data-theme="light"] .lyric-item {
        color: rgba(0,0,0,0.5);
    }
    
    [data-theme="light"] .lyric-item.active {
        color: #667eea;
    }
    
    [data-theme="light"] .lyric-item.active.chorus {
        color: #ff4757;
        text-shadow: 0 0 10px rgba(255,71,87,0.3);
    }

    [data-theme="light"] .lyric-item.center-line {
        color: rgba(0,0,0,0.85);
    }

    [data-theme="light"] .lyric-center-line {
        background: rgba(0,0,0,0.15);
    }

    [data-theme="light"] .lyric-center-line::before,
    [data-theme="light"] .lyric-center-line::after {
        background: rgba(0,0,0,0.3);
    }
    
    [data-theme="light"] .full-player-song-info h2,
    [data-theme="light"] .full-player-title {
        color: #1a1a2e;
    }
    
    [data-theme="light"] .full-player-song-info p {
        color: rgba(0,0,0,0.6);
    }
    
    [data-theme="light"] .control-btn {
        background: rgba(0,0,0,0.05);
        color: #1a1a2e;
    }
    
    [data-theme="light"] .full-player-progress span {
        color: rgba(0,0,0,0.6);
    }
    
    [data-theme="light"] .progress-track {
        background: rgba(0,0,0,0.1);
    }
    
    [data-theme="light"] .more-menu-item {
        color: #1a1a2e;
    }
    
    [data-theme="light"] .more-menu-item svg {
        color: rgba(0,0,0,0.5);
    }
.full-player-bottom {
    padding: 20px 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-shrink: 0;
}

.full-player-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-bottom: 20px;
}

.full-player-progress span {
    pointer-events: none;
    user-select: none;
}

.full-player-progress .progress-track {
    cursor: pointer;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.35);
    border-radius: 4px;
    position: relative;
    z-index: 3;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    width: 0%;
    position: relative;
    z-index: 4;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 6px rgba(102,126,234,0.8);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.full-player-progress:hover .progress-fill::after {
    opacity: 1;
}

/* 进度条高潮标记 */
.chorus-marker {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,30,60,0.7), rgba(255,50,80,0.6), rgba(255,80,100,0.4));
    border-radius: 4px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.progress-track:hover .chorus-marker,
.full-player-lyric.hovering .chorus-marker {
    opacity: 1;
    background: linear-gradient(90deg, rgba(255,20,50,0.8), rgba(255,40,70,0.7), rgba(255,70,90,0.5));
}

.full-player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.control-btn.play-btn {
    width: 64px;
    height: 64px;
    background: var(--primary);
}

.control-btn.play-btn:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* 歌词下方按钮区域 */
.popup-actions {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--card-border);
}

.popup-actions button {
    padding: 12px 24px;
    font-size: 14px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.popup-actions .btn-download {
    background: var(--primary);
    color: white;
    flex: 1;
}

.popup-actions .btn-download:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.popup-actions .btn-copy {
    background: rgba(155, 89, 182, 0.8);
    color: white;
}

.popup-actions .btn-copy:hover {
    background: rgba(155, 89, 182, 1);
}

.popup-actions .btn-close {
    background: rgba(231, 76, 60, 0.8);
    color: white;
}

.popup-actions .btn-close:hover {
    background: rgba(231, 76, 60, 1);
}

/* 自定义音频播放器样式 */
audio::-webkit-media-controls-panel {
    background: rgba(102, 126, 234, 0.2);
}

#detail-popup pre { 
    white-space: pre-wrap; 
    max-height: 180px; 
    overflow-y: auto; 
    background: rgba(255, 255, 255, 0.05); 
    padding: 16px; 
    border-radius: var(--radius-sm); 
    margin-bottom: 20px; 
    font-family: inherit;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 14px;
}

#detail-popup pre::-webkit-scrollbar {
    width: 6px;
}

#detail-popup pre::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 3px;
}



#overlay { 
    display: none; 
    position: fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background: rgba(0, 0, 0, 0.7); 
    z-index: 9998; 
    backdrop-filter: blur(8px);
}

/* ===== 移动端适配（仅小屏设备） ===== */
@media (max-width: 768px) {
    /* 移动端全屏播放器适配 */
    .full-player-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
        max-width: 100%;
    }

    .vinyl-container {
        width: 200px;
        height: 200px;
    }

    .vinyl-cover {
        width: 125px;
        height: 125px;
    }

    .full-player-left {
        max-width: 100%;
        flex: 0 0 auto;
    }

    .full-player-song-info {
        margin-bottom: 10px;
    }

    .full-player-song-info h2 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .full-player-song-info p {
        font-size: 12px;
    }

    .full-player-right {
        max-width: 100%;
        min-height: 0;
        flex: 1;
    }

    .full-player-lyric {
        font-size: 13px;
    }

    .lyric-item {
        padding: 8px 15px;
        line-height: 1.5;
    }

    .lyric-item.active {
        font-size: 15px;
    }

    .lyric-center-time {
        font-size: 10px;
        padding: 1px 7px;
        right: 5px;
    }

    .quality-selector {
        right: 10px !important;
        min-width: 160px;
        max-width: calc(100vw - 20px);
    }

    .quality-submenu {
        min-width: 140px;
    }

    .full-player-bottom {
        padding: 10px 20px 20px;
        max-width: 100%;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn.play-btn {
        width: 52px;
        height: 52px;
    }

    .full-player-header {
        padding: 10px 16px;
    }

    .full-player-close, .full-player-more {
        width: 36px;
        height: 36px;
    }

    .full-player-close svg, .full-player-more svg {
        width: 20px;
        height: 20px;
    }

    .more-menu {
        top: 48px;
        right: 5px;
        min-width: 140px;
    }

    .full-player-title {
        font-size: 14px;
    }
    
    /* 移动端迷你播放器适配 */
    .mini-player {
        padding: 6px 8px !important;
        height: auto !important;
        position: fixed !important;
        z-index: 9999;
    }

    .mini-player-content {
        flex-wrap: nowrap !important;
        gap: 6px !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .mini-player-info {
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
        margin-bottom: 0 !important;
        padding-right: 0 !important;
        max-width: 35% !important;
        min-width: 80px !important;
        gap: 6px !important;
    }

    .mini-player-info img {
        width: 36px !important;
        height: 36px !important;
        border-radius: 4px !important;
        flex-shrink: 0;
    }

    .mini-player-text {
        min-width: 0;
        overflow: hidden;
        display: block !important;
    }

    .mini-player-text div:first-child {
        font-size: 12px !important;
        margin-bottom: 2px !important;
        line-height: 1.3 !important;
        color: white !important;
        display: block !important;
    }

    .mini-player-text div:last-child {
        font-size: 10px !important;
        line-height: 1.2 !important;
        color: rgba(255,255,255,0.6) !important;
        display: block !important;
    }

    .mini-player-controls {
        flex: 1 !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-right: 0 !important;
    }

    .mini-player-controls::-webkit-scrollbar {
        display: none;
    }

    /* 移动端按钮 */
    .mini-btn.mini-btn-small {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
    }

    .mini-btn.mini-btn-small svg {
        width: 14px !important;
        height: 14px !important;
    }

    .mini-btn#miniPlayBtn.mini-btn-small {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .mini-btn#miniPlayBtn.mini-btn-small svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* 移动端进度条 */
    .mini-progress {
        height: 3px !important;
        background: rgba(255,255,255,0.15) !important;
    }

    .mini-progress-bar {
        height: 100% !important;
        background: linear-gradient(90deg, #667eea, #764ba2) !important;
    }

    /* 移动端显示/隐藏控制 */
    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }


/* 浅色模式 - 全屏播放器 */

[data-theme="light"] .full-player-bg {
    display: none;
}

[data-theme="light"] .full-player-overlay {
    display: none;
}

[data-theme="light"] .full-player {
    background: #ffffff;
}

[data-theme="light"] .full-player-header,
[data-theme="light"] .full-player-header button {
    color: #1a1a2e;
}
[data-theme="light"] .full-player-close,
[data-theme="light"] .full-player-more {
    background: rgba(0,0,0,0.08) !important;
    color: #1a1a2e !important;
}
[data-theme="light"] .full-player-close:hover,
[data-theme="light"] .full-player-more:hover {
    background: rgba(0,0,0,0.15) !important;
}
[data-theme="light"] .full-player-title {
    color: #1a1a2e !important;
}
[data-theme="light"] .full-player-song-info h2 {
    color: #1a1a2e !important;
}
[data-theme="light"] .full-player-song-info p {
    color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .control-btn {
    background: rgba(0,0,0,0.08) !important;
    color: #1a1a2e !important;
}
[data-theme="light"] .control-btn:hover {
    background: rgba(0,0,0,0.15) !important;
}
[data-theme="light"] .control-btn.play-btn {
    background: var(--primary) !important;
    color: white !important;
}
[data-theme="light"] .full-player-progress {
    color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .progress-track {
    background: rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2) !important;
}
[data-theme="light"] .full-player-lyric {
    color: rgba(0,0,0,0.4) !important;
}
[data-theme="light"] .lyric-item {
    color: rgba(0,0,0,0.4) !important;
}
[data-theme="light"] .lyric-item.active {
    color: #667eea !important;
}
[data-theme="light"] .lyric-item.center-line {
    color: rgba(0,0,0,0.85) !important;
}
[data-theme="light"] .more-menu-item {
    color: #1a1a2e !important;
}
[data-theme="light"] .more-menu-item svg {
    color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .quality-selector {
    background: rgba(255,255,255,0.97) !important;
    color: #1a1a2e !important;
}

/* ===== 播放器加载状态 ===== */
.player-loading-spinner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    border-radius: inherit;
    z-index: 2;
}
.spinner-ring {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
}
@keyframes spinnerRotate {
    to { transform: rotate(360deg); }
}
/* 播放按钮显示加载时隐藏SVG */
.control-btn.play-btn.is-loading svg { opacity: 0; }
.control-btn.play-btn.is-loading .player-loading-spinner { display: flex !important; }

/* 进度条加载指示 */
.progress-loading {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}
.progress-loading-bar {
    width: 30%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    border-radius: inherit;
    animation: progressLoadingSlide 1.2s ease-in-out infinite;
}
@keyframes progressLoadingSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}
