    /* 引入layui图标字体 */
    @import url('/public/plugins/layer-v3.1.0/skin/default/layer.css');
    
    .mini-player {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
        backdrop-filter: blur(10px);
        padding: 10px 20px;
        z-index: 99998;
        display: flex;
        align-items: center;
        gap: 15px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }
    
    .mini-player.collapsed {
        bottom: -60px;
    }
    
    .mini-player-toggle {
        position: fixed;
        bottom: 15px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 99999;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        transition: all 0.3s ease;
    }
    
    .mini-player-toggle:hover {
        transform: scale(1.1);
    }
    
    .mini-player-toggle .icon-music {
        color: white;
        font-size: 24px;
    }
    
    .mini-cover-wrap {
        position: relative;
        width: 45px;
        height: 45px;
        flex-shrink: 0;
        margin: 0px 31px;
    }
    .mini-cover-icon {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: rgba(255,255,255,0.25);
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        pointer-events: none;
    }
    .mini-cover {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        position: relative;
        z-index: 1;
    }
    
    .mini-cover:hover {
        transform: scale(1.05);
    }
    
    .mini-info {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 180px;
    }
    
    .mini-title {
        font-size: 14px;
        font-weight: 600;
        color: white;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mini-artist {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mini-lyrics-wrapper {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        overflow: hidden;
    }
    
    .mini-lyrics {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        width: 100%;
        text-align: center;
        line-height: 1.4;
    }
    .mini-lyrics .lyrics-empty {
        color: rgba(255, 255, 255, 0.25);
        font-style: italic;
        font-size: 11px;
    }
    .mini-lyrics .lyrics-highlight {
        color: #ffffff;
        font-weight: 500;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
    }
    .mini-lyrics.scrolling {
        animation: ml-scroll 14s linear infinite;
        text-overflow: unset;
        display: inline-block;
        padding-left: 100%;
        width: auto;
        min-width: 100%;
    }
    @keyframes ml-scroll {
        0% { transform: translateX(0); }
        8% { transform: translateX(0); }
        92% { transform: translateX(-100%); }
        100% { transform: translateX(-100%); }
    }
    
    .mini-progress {
        flex: 2;
        max-width: 300px;
    }
    
    .mini-progress-bar {
        width: 100%;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        cursor: pointer;
        overflow: hidden;
    }
    
    .mini-progress-fill {
        height: 100%;
        background: white;
        width: 0%;
        transition: width 0.1s;
    }
    
    .mini-time {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 3px;
    }
    
    .mini-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mini-btn {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        font-size: 16px;
    }
    
    .mini-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
    
    .mini-btn.play {
        width: 40px;
        height: 40px;
        background: white;
        color: #667eea;
    }
    
    .mini-btn.play:hover {
        transform: scale(1.1);
    }
    
    /* 使用CSS图标代替layui图标 */
    .icon-prev::before { content: "◀"; }
    .icon-next::before { content: "▶"; }
    .icon-play::before { content: "▶"; font-size: 18px; }
    .icon-pause::before { content: "⏸"; font-size: 18px; }
    .icon-music::before { content: "🎵"; }
    .icon-list::before { content: "☰"; }
    .icon-volume::before { content: "🔊"; }
    
    .mini-volume {
        display: flex;
        align-items: center;
        gap: 5px;
        max-width: 100px;
    }
    
    .mini-volume-slider {
        width: 60px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        cursor: pointer;
        position: relative;
    }
    
    .mini-volume-fill {
        height: 100%;
        background: white;
        border-radius: 2px;
        width: 70%;
    }
    
    .mini-list-btn {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .mini-list-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* 播放列表弹窗 */
    .mini-list-popup {
        position: fixed;
        bottom: 70px;
        right: 20px;
        width: 320px;
        max-height: 500px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 99997;
        display: none;
        overflow: hidden;
        color: white;
    }
    
    .mini-list-popup.show {
        display: block;
    }
    
    .mini-list-header {
        padding: 12px 15px;
        color: white;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    
    .mini-list-header-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mini-list-playall-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        border-radius: 20px;
        padding: 6px 14px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: all 0.2s;
    }
    
    .mini-list-playall-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
    
    .mini-list-playall-btn .icon-play {
        font-size: 12px;
    }
    
    .mini-list-content {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .mini-list-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .mini-list-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mini-list-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .mini-list-item {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        cursor: pointer;
        transition: background 0.2s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mini-list-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mini-list-item.active {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .mini-list-item-cover-wrap {
        position: relative;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        margin-right: 10px;
    }
    .mini-list-item-cover-icon {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: rgba(255,255,255,0.25);
        background: #7356b2;
        border-radius: 6px;
        pointer-events: none;
    }
    .mini-list-item-cover {
        width: 40px;
        height: 40px;
        border-radius: 6px;
        object-fit: cover;
        position: relative;
        z-index: 1;
    }
    
    .mini-list-item-info {
        flex: 1;
    }
    
    .mini-list-item-title {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.95);
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mini-list-item-artist {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.6);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mini-list-item-playing {
        color: #fff;
        font-size: 14px;
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    }
    
    .mini-list-item-playcount {
        color: rgba(255, 255, 255, 0.35);
        font-size: 11px;
        flex-shrink: 0;
        margin-right: 6px;
    }
    
    /* 自动播放提示 */
    .auto-play-tip {
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 13px;
        z-index: 100000;
        display: none;
    }
    
    @media (max-width: 768px) {
        .mini-player {
            padding: 8px 10px;
            gap: 8px;
        }
        
        .mini-progress {
            display: none;
        }
        
        .mini-volume {
            display: none;
        }
        
        /* 修复：手机上显示列表按钮 */
        .mini-list-btn {
            display: flex;
            padding: 6px 10px;
            font-size: 11px;
        }
        .mini-list-btn .icon-list {
            font-size: 14px;
        }
        
        .mini-cover-wrap {
            width: 35px;
            height: 35px;
            margin: 0px 15px;
        }
        .mini-cover-icon {
            font-size: 18px;
            border-radius: 6px;
        }
        .mini-cover {
            width: 35px;
            height: 35px;
        }
        
        .mini-info {
            max-width: 100px;
        }
        
        .mini-lyrics-wrapper {
            max-width: 140px;
            padding: 0 4px;
        }
        .mini-lyrics {
            font-size: 12px;
        }
        
        .mini-btn {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
        
        .mini-btn.play {
            width: 35px;
            height: 35px;
        }
        
        /* 播放列表弹窗移动端适配 */
        .mini-list-popup {
            right: 10px;
            width: calc(100% - 20px);
            max-height: 60vh;
            bottom: 65px;
        }
        
        .mini-list-content {
            max-height: calc(60vh - 200px);
        }
        
        .mini-playlist-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            max-height: 120px;
        }
        
        .mini-list-item {
            padding: 8px 12px;
        }
        
        .mini-list-item-cover-wrap {
            width: 36px;
            height: 36px;
        }
        .mini-list-item-cover {
            width: 36px;
            height: 36px;
        }
    }
    
    @media (max-width: 480px) {
        .mini-player {
            padding: 6px 8px;
            gap: 6px;
        }
        
        .mini-list-btn {
            padding: 5px 8px;
            font-size: 10px;
        }
        .mini-list-btn .icon-list {
            font-size: 12px;
        }
        
        .mini-cover-wrap {
            width: 30px;
            height: 30px;
            margin: 0px 10px;
        }
        .mini-cover-icon {
            font-size: 14px;
            border-radius: 5px;
        }
        .mini-cover {
            width: 30px;
            height: 30px;
        }
        
        .mini-info {
            max-width: 80px;
        }
        .mini-title {
            font-size: 12px;
        }
        .mini-artist {
            font-size: 10px;
        }
        
        .mini-lyrics-wrapper {
            max-width: 100px;
            padding: 0 2px;
        }
        .mini-lyrics {
            font-size: 10px;
        }
        
        .mini-controls {
            gap: 6px;
        }
        .mini-btn {
            width: 26px;
            height: 26px;
            font-size: 12px;
        }
        .mini-btn.play {
            width: 30px;
            height: 30px;
        }
        .icon-play::before { font-size: 14px; }
        .icon-pause::before { font-size: 14px; }
        
        /* 播放列表弹窗 */
        .mini-list-popup {
            right: 5px;
            width: calc(100% - 10px);
            max-height: 55vh;
            bottom: 58px;
            border-radius: 10px;
        }
        .mini-list-content {
            max-height: calc(55vh - 180px);
        }
        .mini-list-header {
            padding: 10px 12px;
            font-size: 12px;
        }
        .mini-list-playall-btn {
            padding: 5px 10px;
            font-size: 11px;
        }
        
        .mini-playlist-section {
            padding: 10px;
        }
        .mini-playlist-grid {
            gap: 6px;
            max-height: 100px;
        }
        .mini-playlist-header {
            font-size: 12px;
            margin-bottom: 8px;
        }
        .mini-playlist-card {
            padding: 5px;
        }
        .mini-playlist-name {
            font-size: 10px;
        }
        .mini-playlist-count {
            font-size: 9px;
        }
        .mini-playlist-icon {
            font-size: 16px;
        }
        
        .mini-list-item {
            padding: 6px 10px;
        }
        .mini-list-item-cover-wrap {
            width: 32px;
            height: 32px;
            margin-right: 8px;
        }
        .mini-list-item-cover {
            width: 32px;
            height: 32px;
        }
        .mini-list-item-title {
            font-size: 12px;
        }
        .mini-list-item-artist {
            font-size: 10px;
        }
        .mini-list-item-playing {
            font-size: 12px;
        }
        .mini-list-item-playcount {
            font-size: 10px;
            margin-right: 4px;
        }
    }
    
    @media (max-width: 400px) {
        .mini-player {
            padding: 5px 6px;
            gap: 4px;
        }
        
        .mini-list-btn {
            padding: 4px 6px;
            font-size: 9px;
        }
        .mini-list-btn .icon-list {
            font-size: 11px;
        }
        
        .mini-cover-wrap {
            width: 26px;
            height: 26px;
            margin: 0px 8px;
        }
        .mini-cover-icon {
            font-size: 12px;
            border-radius: 4px;
        }
        .mini-cover {
            width: 26px;
            height: 26px;
        }
        
        .mini-info {
            max-width: 60px;
        }
        .mini-title {
            font-size: 11px;
        }
        .mini-artist {
            font-size: 9px;
        }
        
        .mini-lyrics-wrapper {
            max-width: 70px;
        }
        .mini-lyrics {
            font-size: 9px;
        }
        
        .mini-controls {
            gap: 4px;
        }
        .mini-btn {
            width: 22px;
            height: 22px;
            font-size: 10px;
        }
        .mini-btn.play {
            width: 26px;
            height: 26px;
        }
        .icon-play::before { font-size: 12px; }
        .icon-pause::before { font-size: 12px; }
        
        /* 播放列表弹窗 */
        .mini-list-popup {
            width: calc(100% - 6px);
            right: 3px;
            max-height: 50vh;
            bottom: 52px;
            border-radius: 8px;
        }
        .mini-list-content {
            max-height: calc(50vh - 160px);
        }
        .mini-list-header {
            padding: 8px 10px;
            font-size: 11px;
        }
        .mini-list-playall-btn {
            padding: 4px 8px;
            font-size: 10px;
        }
        
        .mini-playlist-section {
            padding: 8px;
        }
        .mini-playlist-grid {
            gap: 5px;
            max-height: 80px;
        }
        .mini-playlist-header {
            font-size: 11px;
            margin-bottom: 6px;
        }
        .mini-playlist-card {
            padding: 4px;
        }
        .mini-playlist-name {
            font-size: 9px;
        }
        .mini-playlist-count {
            font-size: 8px;
        }
        .mini-playlist-icon {
            font-size: 14px;
        }
        
        .mini-list-item {
            padding: 5px 8px;
        }
        .mini-list-item-cover-wrap {
            width: 28px;
            height: 28px;
            margin-right: 6px;
        }
        .mini-list-item-cover {
            width: 28px;
            height: 28px;
        }
        .mini-list-item-title {
            font-size: 11px;
        }
        .mini-list-item-artist {
            font-size: 9px;
        }
        .mini-list-item-playing {
            font-size: 10px;
        }
        .mini-list-item-playcount {
            font-size: 9px;
            margin-right: 3px;
        }
    }
    
    @media (max-width: 360px) {
        .mini-player {
            padding: 4px 5px;
            gap: 3px;
        }
        
        .mini-list-btn {
            padding: 3px 5px;
            font-size: 8px;
        }
        .mini-list-btn .icon-list {
            font-size: 10px;
        }
        
        .mini-cover-wrap {
            width: 22px;
            height: 22px;
            margin: 0px 6px;
        }
        .mini-cover-icon {
            font-size: 10px;
            border-radius: 3px;
        }
        .mini-cover {
            width: 22px;
            height: 22px;
        }
        
        .mini-info {
            max-width: 50px;
        }
        .mini-title {
            font-size: 10px;
        }
        .mini-artist {
            display: none;
        }
        
        .mini-lyrics-wrapper {
            max-width: 55px;
        }
        .mini-lyrics {
            font-size: 8px;
        }
        .mini-lyrics .lyrics-empty {
            font-size: 8px;
        }
        
        .mini-controls {
            gap: 3px;
        }
        .mini-btn {
            width: 20px;
            height: 20px;
            font-size: 9px;
        }
        .mini-btn.play {
            width: 22px;
            height: 22px;
        }
        .icon-play::before { font-size: 10px; }
        .icon-pause::before { font-size: 10px; }
        
        /* 播放列表弹窗 */
        .mini-list-popup {
            max-height: 45vh;
        }
        .mini-list-content {
            max-height: calc(45vh - 140px);
        }
        .mini-list-header {
            padding: 6px 8px;
            font-size: 10px;
        }
        .mini-list-playall-btn {
            padding: 3px 6px;
            font-size: 9px;
        }
        
        .mini-list-item {
            padding: 4px 6px;
        }
        .mini-list-item-cover-wrap {
            width: 24px;
            height: 24px;
            margin-right: 5px;
        }
        .mini-list-item-cover {
            width: 24px;
            height: 24px;
        }
        .mini-list-item-title {
            font-size: 10px;
        }
        .mini-list-item-artist {
            font-size: 8px;
        }
        .mini-list-item-playing {
            font-size: 9px;
        }
        .mini-list-item-playcount {
            display: none;
        }
    }
    
    /* ==================== 歌单功能样式 ==================== */
    
    /* 歌单区域 */
    .mini-playlist-section {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mini-playlist-header {
        font-size: 14px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 12px;
    }
    
    .mini-playlist-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-height: 150px;
        overflow-y: auto;
    }
    
    .mini-playlist-card {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        padding: 8px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.2s;
    }
    
    .mini-playlist-card:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }
    
    .mini-playlist-card.active {
        border-color: #667eea;
        background: rgba(102, 126, 234, 0.2);
    }
    
    .mini-playlist-card.disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    .mini-playlist-card.disabled:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.08);
    }
    
    .mini-playlist-cover {
        width: 100%;
        aspect-ratio: 1;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 6px;
        position: relative;
        overflow: hidden;
    }
    
    .mini-playlist-icon {
        font-size: 20px;
    }
    
    .mini-playlist-lock {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        padding: 4px;
    }
    
    .mini-playlist-info {
        text-align: center;
    }
    
    .mini-playlist-name {
        font-size: 11px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mini-playlist-count {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.5);
        margin-top: 2px;
    }
    
    /* 列表分隔线 */
    .mini-list-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    /* 歌曲搜索 */
    .mini-list-search {
        padding: 10px 15px;
    }
    .mini-list-search-input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 13px;
        outline: none;
        transition: border-color 0.2s, background 0.2s;
    }
    .mini-list-search-input:focus {
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.15);
    }
    .mini-list-search-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }
    
    /* 列表空状态 */
    .mini-list-empty {
        padding: 30px;
        text-align: center;
        color: rgba(255, 255, 255, 0.5);
    }
    
    /* 权限提示弹窗 */
    .mini-permission-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99999;
    }
    
    .mini-permission-dialog {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
        border-radius: 16px;
        padding: 30px;
        text-align: center;
        max-width: 300px;
        width: 90%;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .mini-permission-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .mini-permission-title {
        font-size: 18px;
        font-weight: 600;
        color: white;
        margin: 0 0 10px 0;
    }
    
    .mini-permission-message {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.9);
        margin: 0 0 8px 0;
    }
    
    .mini-permission-tip {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        margin: 0 0 20px 0;
    }
    
    .mini-permission-close-btn {
        background: white;
        color: #667eea;
        border: none;
        border-radius: 20px;
        padding: 10px 30px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .mini-permission-close-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
