* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            user-select: none;
            scrollbar-width: none;
            -ms-overflow-style: none;
            -webkit-tap-highlight-color: transparent;
        }
        *::-webkit-scrollbar { display: none; }

        .dynamic-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -3;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            filter: blur(60px) saturate(2.2) contrast(1.15);
            transform: scale(1.08);
            transition: background-image 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.2);
            will-change: background-image;
        }

        .orbital-auras {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            pointer-events: none;
            overflow: visible;
        }
        .glow {
            position: absolute;
            border-radius: 50%;
            filter: blur(90px);
            opacity: 0.8;
            will-change: transform, left, top;
        }
        .glow-1 {
            width: 85vmax;
            height: 85vmax;
            background: radial-gradient(circle, rgba(255,200,120,0.7), rgba(255,120,80,0.4), transparent);
            animation: orbit1 6s infinite linear;
        }
        .glow-2 {
            width: 75vmax;
            height: 75vmax;
            background: radial-gradient(circle, rgba(140,120,240,0.75), rgba(80,180,230,0.5), transparent);
            animation: orbit2 8s infinite linear reverse;
        }
        .glow-3 {
            width: 95vmax;
            height: 65vmax;
            background: radial-gradient(circle, rgba(220,150,220,0.7), rgba(180,110,210,0.45), transparent);
            animation: orbit3 10s infinite linear;
        }
        .glow-4 {
            width: 70vmax;
            height: 70vmax;
            background: radial-gradient(circle, rgba(255,240,120,0.7), rgba(255,180,60,0.45), transparent);
            animation: orbit4 5s infinite linear reverse;
        }
        @keyframes orbit1 {
            0% { left: 10%; top: 20%; transform: translate(-50%, -50%) scale(1); }
            25% { left: 80%; top: 30%; transform: translate(-50%, -50%) scale(1.1); }
            50% { left: 70%; top: 70%; transform: translate(-50%, -50%) scale(0.95); }
            75% { left: 20%; top: 80%; transform: translate(-50%, -50%) scale(1.05); }
            100% { left: 10%; top: 20%; transform: translate(-50%, -50%) scale(1); }
        }
        @keyframes orbit2 {
            0% { left: 85%; top: 15%; transform: translate(-50%, -50%) scale(1); }
            33% { left: 20%; top: 40%; transform: translate(-50%, -50%) scale(1.15); }
            66% { left: 50%; top: 85%; transform: translate(-50%, -50%) scale(0.9); }
            100% { left: 85%; top: 15%; transform: translate(-50%, -50%) scale(1); }
        }
        @keyframes orbit3 {
            0% { left: 30%; top: 85%; transform: translate(-50%, -50%) scale(1); }
            50% { left: 70%; top: 20%; transform: translate(-50%, -50%) scale(1.2); }
            100% { left: 30%; top: 85%; transform: translate(-50%, -50%) scale(1); }
        }
        @keyframes orbit4 {
            0% { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.8); }
            25% { left: 15%; top: 30%; transform: translate(-50%, -50%) scale(1.1); }
            50% { left: 85%; top: 60%; transform: translate(-50%, -50%) scale(0.9); }
            75% { left: 40%; top: 85%; transform: translate(-50%, -50%) scale(1.05); }
            100% { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.8); }
        }

        .bg-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.55);
            z-index: -1;
            backdrop-filter: brightness(0.85);
        }

        body {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', system-ui, sans-serif;
            background: #0a0c12;
            overflow: hidden;
            position: fixed;
            width: 100%;
            height: 100%;
            transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .player-app {
            width: 100%;
            height: 100vh;
            position: relative;
            z-index: 2;
        }

        .fullscreen-transition-mask {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0s linear 0.35s;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }
        .fullscreen-transition-mask.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition: opacity 0.35s ease, visibility 0s linear 0s;
        }
        .transition-text {
            color: #fff;
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: 3px;
            text-shadow: 0 0 20px rgba(50, 130, 240, 0.6);
            opacity: 0;
            transform: translateY(30px) scale(0.9);
        }
        .transition-text.animate {
            animation: textFlyInFadeOut 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        @keyframes textFlyInFadeOut {
            0% { opacity: 0; transform: translateY(30px) scale(0.9); }
            25% { opacity: 1; transform: translateY(0) scale(1); }
            70% { opacity: 1; transform: translateY(0) scale(1); }
            100% { opacity: 0; transform: translateY(-15px) scale(0.95); }
        }

        @keyframes fullscreenEnter {
            0% { opacity: 0; transform: scale(0.97) translateY(10px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
        .player-app.web-fullscreen .desktop-layout {
            animation: fullscreenEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .player-app.web-fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;
            background: transparent;
        }
        .player-app.web-fullscreen .dynamic-bg,
        .player-app.web-fullscreen .bg-overlay,
        .player-app.web-fullscreen .orbital-auras {
            position: fixed;
            width: 100%;
            height: 100%;
            z-index: -2;
        }
        .player-app.web-fullscreen .mobile-layout {
            display: none;
        }
        .player-app.web-fullscreen .desktop-layout {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

        .desktop-layout {
            display: flex;
            align-items: center;
            width: 100%;
            height: 100%;
            padding: 2rem;
            position: relative;
        }
        .fs-lyrics-separate {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateY(-50%);
            width: 45%;
            max-width: 600px;
            padding: 1.5rem 2rem;
            height: 75vh;
            display: flex;
            flex-direction: column;
        }
        .fs-lyrics-separate .fs-lyrics-header {
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }
        .fs-lyrics-separate .fs-lyrics-scroll {
            flex: 1;
            overflow-y: auto;
            padding-right: 6px;
        }
        .fs-lyrics-separate .fs-lyrics-list {
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
            align-items: stretch;
            padding-bottom: 1.5rem;
        }
        .fullscreen-glass {
            width: 380px;
            min-width: 360px;
            background: transparent;
            backdrop-filter: none;
            border-radius: 0;
            border: none;
            box-shadow: none;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            padding: 2rem 1.5rem;
            position: absolute;
            left: calc(25% - 190px);
            top: 50%;
            transform: translateY(-50%);
        }
        .fs-left {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 1.8rem;
            background: transparent;
        }
        .fs-lyrics-scroll {
            flex: 1;
            overflow-y: auto;
            padding-right: 6px;
            max-height: calc(85vh - 80px);
        }
        .fs-lyrics-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: stretch;
            padding-bottom: 2rem;
        }
        .fs-cover-img {
            width: 340px;
            height: 340px;
            border-radius: 48px;
            overflow: hidden;
            box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
        }
        .fs-cover-img:hover { transform: scale(1.02); }
        .fs-cover-img img { width: 100%; height: 100%; object-fit: cover; }
        .fs-song-meta { cursor: pointer; text-align: center; width: 100%; }
        .fs-song-title {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #F1E6D4, #DDCEB0);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 0.25rem;
        }
        .fs-song-artist { font-size: 1rem; color: #d4cbbe; }

        /* 浅色模式 */
        .light-mode {
            --lm-accent: #3282f0;
            --lm-accent-dark: #1a5fc7;
            --lm-accent-04: rgba(50, 130, 240, 0.04);
            --lm-accent-05: rgba(50, 130, 240, 0.05);
            --lm-accent-08: rgba(50, 130, 240, 0.08);
            --lm-accent-10: rgba(50, 130, 240, 0.1);
            --lm-accent-12: rgba(50, 130, 240, 0.12);
            --lm-accent-15: rgba(50, 130, 240, 0.15);
            --lm-accent-20: rgba(50, 130, 240, 0.2);
            --lm-accent-25: rgba(50, 130, 240, 0.25);
            --lm-accent-30: rgba(50, 130, 240, 0.3);
            --lm-accent-60: rgba(50, 130, 240, 0.6);
            --lm-text: #000;
            --lm-text-secondary: #333;
            --lm-text-muted: #666;
            --lm-text-sub: #444;
            --lm-text-light: #555;
            --lm-text-count: #999;
            --lm-bg: #fafafa;
            --lm-bg-panel: rgba(255, 255, 255, 0.95);
            --lm-bg-sidebar: rgba(255, 255, 255, 0.98);
            --lm-bg-control: rgba(255, 255, 255, 0.9);
            --lm-bg-input: rgba(0, 0, 0, 0.05);
            --lm-bg-input-alt: rgba(0, 0, 0, 0.06);
            --lm-bg-btn: rgba(0, 0, 0, 0.08);
            --lm-bg-toggle: rgba(0, 0, 0, 0.12);
            --lm-bg-tab: rgba(0, 0, 0, 0.05);
            --lm-bg-tab-hover: rgba(0, 0, 0, 0.08);
            --lm-border: rgba(0, 0, 0, 0.15);
            --lm-border-light: rgba(0, 0, 0, 0.08);
            --lm-border-lighter: rgba(0, 0, 0, 0.06);
            --lm-border-input: rgba(0, 0, 0, 0.18);
            --lm-border-input-alt: rgba(0, 0, 0, 0.2);
            --lm-border-progress: rgba(0, 0, 0, 0.2);
            --lm-border-mobile: rgba(0, 0, 0, 0.1);
            --lm-border-sidebar: rgba(0, 0, 0, 0.12);
            --lm-border-header: rgba(50, 130, 240, 0.15);
            --lm-white: #fff;
            --lm-toggle-knob: #bbb;
            --lm-toggle-bg: #fff;
            --lm-shadow-toggle: 0 2px 4px rgba(0,0,0,0.25);
            --lm-shadow-thumb: 0 2px 6px rgba(50,130,240,0.4);
            --lm-shadow-eq: 0 0 10px rgba(50,130,240,0.5);
            --lm-shadow-progress: 0 0 6px rgba(50, 130, 240, 0.6);
            --lm-shadow-btn: 0 2px 8px rgba(50, 130, 240, 0.2);
            --lm-shadow-wyy-btn: 0 4px 20px rgba(50, 130, 240, 0.2);
            --lm-gradient-title: linear-gradient(135deg, #3282f0, #1a5fc7);
            --lm-success: #4caf50;
            --lm-success-bg: rgba(76, 175, 80, 0.15);
            --lm-ranking-2: #5a9ef5;
            --lm-ranking-3: #7ab8ff;
            --lm-gold: #ecd9b4;
            --lm-gold-15: rgba(236, 217, 180, 0.15);
            --lm-gold-25: rgba(236, 217, 180, 0.25);
            --lm-gold-30: rgba(255, 245, 220, 0.3);
            --lm-gold-70: rgba(236, 217, 180, 0.7);
            --lm-gold-text: #f0e3d0;
            --lm-gold-text-secondary: #cfc3ae;
            --lm-gold-text-active: #fff5e8;
            --lm-gold-dark: #1e1b16;
            --lm-gold-shadow: 0 0 8px rgba(236, 217, 180, 0.5);
            --lm-gold-shadow-lg: 0 0 20px rgba(236, 217, 180, 0.3);
        }
        .light-mode .dynamic-bg { filter: blur(60px) saturate(1.5) contrast(0.95); }
        .light-mode .bg-overlay { background: rgba(255, 255, 255, 0.9); backdrop-filter: brightness(1.05); }
        .light-mode body { background: var(--lm-bg); }
        .light-mode .home-page { background: var(--lm-bg-panel); border-color: var(--lm-border); }
        .light-mode .home-sidebar { background: var(--lm-bg-sidebar); border-right: 1px solid var(--lm-border-sidebar); }
        .light-mode .sidebar-item { color: var(--lm-text-muted); }
        .light-mode .sidebar-item:hover { background: var(--lm-accent-08); color: var(--lm-accent); }
        .light-mode .sidebar-item.active { background: var(--lm-accent-15); color: var(--lm-accent); }
        .light-mode .home-main-header { background: var(--lm-bg-panel); border-bottom: 1px solid var(--lm-border-header); }
        .light-mode .home-main-header h2 { color: var(--lm-accent); }
        .light-mode .home-search-input { background: var(--lm-bg-input); border-color: var(--lm-border-input); color: var(--lm-text); }
        .light-mode .home-search-input::placeholder { color: var(--lm-text-muted); }
        .light-mode .search-box-large input { background: var(--lm-bg-input-alt); border-color: var(--lm-accent-25); color: var(--lm-text); }
        .light-mode .search-box-large input:focus { border-color: var(--lm-accent); }
        .light-mode .search-box-large input::placeholder { color: var(--lm-text-muted); }
        .light-mode .search-box-large button { background: var(--lm-accent); color: var(--lm-white); }
        .light-mode .search-back-btn { background: var(--lm-accent-10); border-color: var(--lm-accent-25); color: var(--lm-accent); }
        .light-mode .search-back-btn:hover { background: var(--lm-accent-20); border-color: var(--lm-accent); }
        .light-mode .home-view-content { color: var(--lm-text); }
        .light-mode .home-empty { color: var(--lm-text-muted); }
        .light-mode .home-result-item { border-bottom: 1px solid var(--lm-border-light); }
        .light-mode .home-result-item:hover { background: var(--lm-accent-08); }
        .light-mode .home-result-index { color: var(--lm-text-muted) !important; }
        .light-mode .home-result-name { color: var(--lm-text); }
        .light-mode .home-result-sub { color: var(--lm-text-sub); }
        .light-mode .home-result-action { background: var(--lm-accent-10); color: var(--lm-accent); }
        .light-mode .home-result-action:hover { background: var(--lm-accent-20); }
        .light-mode .home-result-added { background: var(--lm-success-bg); color: var(--lm-success); }
        .light-mode .home-detail-cover { border-color: var(--lm-border); }
        .light-mode .home-detail-info h3 { color: var(--lm-text); }
        .light-mode .home-detail-info p { color: var(--lm-text-secondary); }
        .light-mode .home-detail-btn { background: var(--lm-accent-10); color: var(--lm-accent); }
        .light-mode .home-detail-btn:hover { background: var(--lm-accent-20); box-shadow: var(--lm-shadow-btn); }
        .light-mode .home-back-btn-circle { background: var(--lm-accent-10); border-color: var(--lm-accent-25); color: var(--lm-accent); }
        .light-mode .home-back-btn-circle:hover { background: var(--lm-accent-20); border-color: var(--lm-accent); }
        .light-mode .home-lyric-line { color: var(--lm-text); border-bottom-color: var(--lm-border-lighter); }
        .light-mode .home-lyric-line:hover { color: var(--lm-accent); }
        .light-mode .home-lyric-singer { color: var(--lm-text-muted); }
        .light-mode .home-lyric-dot { background: var(--lm-accent); }
        .light-mode #viewSettings { color: var(--lm-text); }
        .light-mode #viewSettings .setting-group label { color: var(--lm-accent); font-weight: 600; }
        .light-mode #viewSettings .setting-group input[type="range"],
        .light-mode #viewSettings .setting-group select { background: var(--lm-bg-btn); border-color: var(--lm-accent-30); color: var(--lm-text); }
        .light-mode #viewSettings .toggle-switch { background: var(--lm-bg-toggle); }
        .light-mode #viewSettings .toggle-switch span { color: var(--lm-text); }
        .light-mode #viewSettings .toggle-switch input { background: var(--lm-toggle-knob); }
        .light-mode #viewSettings .toggle-switch input:checked { background: var(--lm-accent); }
        .light-mode #viewSettings .toggle-switch input::before { background: var(--lm-toggle-bg); box-shadow: var(--lm-shadow-toggle); }
        .light-mode .setting-group small,
        .light-mode .setting-help { color: var(--lm-text-light); }
        .light-mode .eq-slider-vertical { background: var(--lm-accent-20); width: 8px; }
        .light-mode .eq-slider-vertical::-webkit-slider-thumb { background: var(--lm-accent); box-shadow: var(--lm-shadow-eq); width: 16px; height: 16px; }
        .light-mode .eq-label,
        .light-mode .eq-value { color: var(--lm-accent); font-weight: 600; }
        .light-mode #viewSettings .eq-label,
        .light-mode #viewSettings .eq-value { color: var(--lm-accent); font-weight: 600; }
        .light-mode #viewSettings .eq-slider-vertical { background: var(--lm-accent-20); }
        .light-mode #viewSettings .eq-slider-vertical::-webkit-slider-thumb { background: var(--lm-accent); box-shadow: var(--lm-shadow-eq); }
        .light-mode #viewSettings .preset-btn { background: var(--lm-accent-10); border-color: var(--lm-accent-30); color: var(--lm-accent); }
        .light-mode #viewSettings .preset-btn:hover { background: var(--lm-accent-20); color: var(--lm-white); }
        .light-mode #viewSettings .range-value { color: var(--lm-accent); }
        .light-mode .preset-btn,
        .light-mode .reset-eq-btn { background: var(--lm-accent-10); border-color: var(--lm-accent-30); color: var(--lm-accent); }
        .light-mode .preset-btn:hover,
        .light-mode .reset-eq-btn:hover { background: var(--lm-accent-20); }
        .light-mode .setting-group input[type="range"]::-webkit-slider-thumb { background: var(--lm-accent); box-shadow: var(--lm-shadow-thumb); }
        .light-mode .home-rec-item:hover { background: var(--lm-accent-08); }
        .light-mode .home-rec-name { color: var(--lm-text); }
        .light-mode .home-rec-artist { color: var(--lm-text-sub); }
        .light-mode .home-album-name,
        .light-mode .home-artist-name { color: var(--lm-text); }
        .light-mode .home-album-item:hover,
        .light-mode .home-artist-item:hover { background: var(--lm-accent-08); }
        .light-mode .mobile-layout .control-bar { background: var(--lm-bg-control); border-top: 1px solid var(--lm-border-mobile); }
        .light-mode .song-title-top { background: var(--lm-gradient-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .light-mode .song-artist-top { color: var(--lm-text-sub); }
        .light-mode .progress-area { color: var(--lm-text-secondary); }
        .light-mode .progress-bar-bg { background: var(--lm-border-progress); }
        .light-mode .progress-fill { background: var(--lm-accent); }
        .light-mode .progress-thumb { background: var(--lm-accent); box-shadow: var(--lm-shadow-progress); }
        .light-mode .ctrl-btn { background: var(--lm-bg-btn); border-color: var(--lm-border); color: var(--lm-text); }
        .light-mode .ctrl-btn.play-pause { background: var(--lm-accent); color: var(--lm-white); }
        .light-mode .ctrl-btn.repeat-active { background: var(--lm-accent-60); border-color: var(--lm-accent); color: var(--lm-white); }

        .light-mode .fs-progress-area { color: var(--lm-gold-text); }
        .light-mode .fs-progress-bar { background: var(--lm-gold-30); }
        .light-mode .fs-progress-fill { background: var(--lm-gold); }
        .light-mode .fs-progress-thumb { background: var(--lm-gold); box-shadow: var(--lm-gold-shadow); }
        .light-mode .fs-btn { background: var(--lm-gold-15); border-color: var(--lm-gold-25); color: var(--lm-gold); }
        .light-mode .fs-btn:hover { background: var(--lm-gold-25); }
        .light-mode .fs-btn.play-pause { background: var(--lm-gold); color: var(--lm-gold-dark); }
        .light-mode .fs-btn.play-pause:hover { background: var(--lm-gold); box-shadow: var(--lm-gold-shadow-lg); }
        .light-mode .fs-btn.repeat-active { background: var(--lm-gold-70); border-color: var(--lm-gold); color: var(--lm-gold-dark); }
        .light-mode .fs-lyric-text { color: var(--lm-gold-text); }
        .light-mode .fs-singer-name { color: var(--lm-gold-text-secondary); }
        .light-mode .fs-lyric-item.active .fs-lyric-text { color: var(--lm-gold-text-active); }
        .light-mode .fs-lyric-item.active .fs-lyric-text-wrapper { border-left-color: var(--lm-gold); border-right-color: var(--lm-gold); }
        .light-mode .fs-dot { background: var(--lm-gold); animation-name: breathe; }
        @keyframes breatheLight {
            0% { opacity: 0.3; transform: scale(0.7); }
            50% { opacity: 1; transform: scale(1.2); background-color: #3282f0; }
            100% { opacity: 0.3; transform: scale(0.7); }
        }
        .light-mode .mobile-lyrics-header .lyrics-header { color: var(--lm-text-muted); }
        .light-mode .lyric-text { color: var(--lm-text-secondary); }
        .light-mode .singer-name { color: var(--lm-text-secondary); }
        .light-mode .dot { background: var(--lm-accent); animation-name: breatheLight; }
        .light-mode .interlude-dots .dot { animation-name: breatheLight; }
        .light-mode .playlist-modal-content { color: var(--lm-text); border-color: var(--lm-accent-20); background: var(--lm-bg-control); }
        .light-mode .playlist-modal-header h3 { color: var(--lm-accent); }
        .light-mode .playlist-modal-header { border-bottom-color: var(--lm-accent-20); }
        .light-mode .close-playlist-modal,
        .light-mode .settings-back-btn { color: var(--lm-text-muted) !important; }
        .light-mode .close-playlist-modal:hover,
        .light-mode .settings-back-btn:hover { color: var(--lm-accent) !important; }
        .light-mode .toggle-switch span { color: var(--lm-text); }
        .light-mode .playlist-delete-btn { color: var(--lm-text-muted) !important; }
        .light-mode .playlist-add-section { border-top-color: var(--lm-accent-20); }
        .light-mode .wyy-search-btn { background: var(--lm-accent-10); color: var(--lm-accent); }
        .light-mode .wyy-search-btn:hover { background: var(--lm-accent-20); color: var(--lm-white); }
        .light-mode .wyy-search-box input { border-color: var(--lm-accent-20); }
        .light-mode .wyy-search-box input:focus { border-color: var(--lm-accent); }
        .light-mode .wyy-search-box button { background: var(--lm-accent); color: var(--lm-white); }
        .light-mode .wyy-search-box button:hover { box-shadow: var(--lm-shadow-wyy-btn); }
        .light-mode .wyy-quick-tags button { border-color: var(--lm-accent-10); background: var(--lm-accent-04); color: var(--lm-text-muted); }
        .light-mode .wyy-quick-tags button:hover { background: var(--lm-accent-10); color: var(--lm-accent); }
        .light-mode .wyy-results::-webkit-scrollbar-thumb { background: var(--lm-accent-20); }
        .light-mode .wyy-song-item:hover { background: var(--lm-accent-05); }
        .light-mode .wyy-song-item .wyy-actions button:hover { background: var(--lm-accent-08); }
        .light-mode .wyy-song-item .wyy-index { color: var(--lm-text-muted); }
        .light-mode .wyy-load-more { background: var(--lm-accent-05); border-color: var(--lm-accent-10); color: var(--lm-text-muted); }
        .light-mode .wyy-load-more:hover { background: var(--lm-accent-10); color: var(--lm-accent); }
        .light-mode .search-type-btn { color: var(--lm-text-muted); }
        .light-mode .search-type-btn:hover { background: var(--lm-accent-10); color: var(--lm-accent); }
        .light-mode .search-type-btn.active { background: var(--lm-accent); border-color: var(--lm-accent); color: var(--lm-white); }
        .light-mode .section-title { color: var(--lm-accent); border-bottom-color: var(--lm-accent-20); }
        .light-mode .home-detail-added { background: var(--lm-accent-20); }
        .light-mode .home-detail-play { background: var(--lm-accent); color: var(--lm-white); }
        .light-mode .home-detail-play:hover { background: var(--lm-accent-dark); }
        .light-mode .home-section-title { color: var(--lm-accent); }
        .light-mode .home-search-tabs { border-bottom-color: var(--lm-border-light); }
        .light-mode .home-tab { background: var(--lm-bg-tab); color: var(--lm-text-light); }
        .light-mode .home-tab:hover { background: var(--lm-bg-tab-hover); }
        .light-mode .home-tab.active { background: var(--lm-accent-12); color: var(--lm-accent); }
        .light-mode .home-tab .tab-count { color: var(--lm-text-count); }
        .light-mode .home-tab.active .tab-count { color: var(--lm-accent); }
        .light-mode .home-speaker-icon svg { color: var(--lm-accent); }
        .light-mode .home-detail-lyrics { border-color: var(--lm-accent-15); }
        .light-mode .lyrics-song-item:hover { background: var(--lm-accent-10); }
        .light-mode .lyrics-song-item.playing { background: var(--lm-accent-15); border-left-color: var(--lm-accent); }
        .light-mode .lyrics-song-actions button { color: var(--lm-text-muted); }
        .light-mode .lyrics-song-actions button:hover { background: var(--lm-accent-15); color: var(--lm-accent); }
        .light-mode .ranking-index { color: var(--lm-accent); }
        .light-mode .ranking-item:nth-child(1) .ranking-index { color: var(--lm-accent); }
        .light-mode .ranking-item:nth-child(2) .ranking-index { color: var(--lm-ranking-2); }
        .light-mode .ranking-item:nth-child(3) .ranking-index { color: var(--lm-ranking-3); }
        .light-mode .home-detail-name { color: var(--lm-text) !important; }
        .light-mode .home-detail-artist { color: var(--lm-text-secondary) !important; }
        .light-mode .home-detail-label { color: var(--lm-accent) !important; }
        .light-mode .source-btn { background: var(--lm-accent-10); border-color: var(--lm-accent-25); color: var(--lm-text-muted); }
        .light-mode .source-btn.active { background: var(--lm-accent); border-color: var(--lm-accent); color: var(--lm-white); }
        .light-mode .source-btn:hover { background: var(--lm-accent-20); border-color: var(--lm-accent); color: var(--lm-accent); }
        .light-mode .login-modal { background: rgba(0, 0, 0, 0.5); }
        .light-mode .login-modal-content { background: var(--lm-bg-panel); border-color: var(--lm-accent-20); box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(50,130,240,0.05) inset, 0 1px 0 rgba(255,255,255,0.5) inset; }
        .light-mode .login-modal-content::before { background: linear-gradient(90deg, transparent, var(--lm-accent-30), transparent); }
        .light-mode .login-modal-header h3 { background: linear-gradient(135deg, #3282f0, #1a5fc7); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 10px rgba(50,130,240,0.2); }
        .light-mode .login-close-btn { background: var(--lm-accent-08); border-color: var(--lm-accent-15); color: var(--lm-text-muted); }
        .light-mode .login-close-btn:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #ef4444; }
        .light-mode .login-qr-container { background: var(--lm-white); box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 0 0 1px var(--lm-border-light) inset; }
        .light-mode .login-qr-container:hover { box-shadow: 0 15px 50px rgba(0,0,0,0.2), 0 0 0 1px var(--lm-border) inset; }
        .light-mode .login-status { color: var(--lm-text-muted); background: var(--lm-accent-05); }
        .light-mode .login-status.waiting { color: var(--lm-accent); background: var(--lm-accent-10); border-color: var(--lm-accent-25); }
        .light-mode .login-status.scanned { color: #16a34a; background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.25); }
        .light-mode .login-status.success { color: #16a34a; background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); }
        .light-mode .login-status.error { color: #dc2626; background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.25); }
        .light-mode .login-spinner { border-color: var(--lm-accent-20); border-top-color: var(--lm-accent); }
        .light-mode .login-btn.primary { background: linear-gradient(135deg, #3282f0, #1a5fc7); color: var(--lm-white); box-shadow: var(--lm-shadow-btn); }
        .light-mode .login-btn.primary:hover { background: linear-gradient(135deg, #5a9ef5, #3282f0); box-shadow: 0 8px 25px rgba(50,130,240,0.4); }
        .light-mode .login-btn.secondary { background: var(--lm-accent-08); color: var(--lm-accent); border-color: var(--lm-accent-20); }
        .light-mode .login-btn.secondary:hover { background: var(--lm-accent-15); border-color: var(--lm-accent); box-shadow: 0 4px 15px rgba(50,130,240,0.15); }
        .light-mode .login-tip { color: var(--lm-text-muted); }
        .light-mode .login-view-container > h1 { background: var(--lm-gradient-title); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 15px rgba(50,130,240,0.15); }
        .light-mode .login-view-container .card { background: var(--lm-bg-panel); border-color: var(--lm-accent-15); box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(50,130,240,0.03) inset; }
        .light-mode .login-view-container .card:hover { border-color: var(--lm-accent-25); box-shadow: 0 15px 50px rgba(0,0,0,0.12), 0 0 0 1px var(--lm-accent-10) inset; }
        .light-mode .login-view-container .card::before { background: linear-gradient(90deg, transparent, var(--lm-accent-20), transparent); }
        .light-mode .login-view-container #neteaseLoginCard { border-color: var(--lm-accent-15); }
        .light-mode .login-view-container #neteaseLoginCard::before { background: linear-gradient(90deg, transparent, var(--lm-accent-20), transparent); }
        .light-mode .login-view-container #neteaseLoginCard:hover { border-color: var(--lm-accent-25); }
        .light-mode .login-view-container #neteaseLoginCard h3 { color: var(--lm-accent); }
        .light-mode .login-view-container #neteaseLoginCard h3::before { background: linear-gradient(180deg, var(--lm-accent), var(--lm-accent-dark)); }
        .light-mode .login-view-container #neteaseLoginCard .login-qr-container { background: var(--lm-accent-05); border-color: var(--lm-accent-15); }
        .light-mode .login-view-container #neteaseLoginCard .login-qr-container img { background: var(--lm-white); border-color: var(--lm-accent-12); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
        .light-mode .login-view-container #neteaseLoginCard .login-status.waiting { background: var(--lm-accent-10); color: var(--lm-accent); border-color: var(--lm-accent-25); }
        .light-mode .login-view-container #neteaseLoginCard .login-status.scanned { background: rgba(34,197,94,0.1); color: #16a34a; border-color: rgba(34,197,94,0.25); }
        .light-mode .login-view-container #neteaseLoginCard .login-status.success { background: rgba(34,197,94,0.12); color: #16a34a; border-color: rgba(34,197,94,0.3); }
        .light-mode .login-view-container #neteaseLoginCard .login-status.error { background: rgba(239,68,68,0.1); color: #dc2626; border-color: rgba(239,68,68,0.25); }
        .light-mode .login-view-container #neteaseLoginCard .login-tip { color: var(--lm-text-muted); }
        .light-mode .login-view-container #neteaseLoginCard .login-actions .login-btn.primary { background: linear-gradient(135deg, #3282f0, #1a5fc7); color: var(--lm-white); }
        .light-mode .login-view-container #neteaseLoginCard .login-actions .login-btn.primary:hover { background: linear-gradient(135deg, #5a9ef5, #3282f0); }
        .light-mode .login-view-container #neteaseLoginCard .login-actions .login-btn.secondary { background: var(--lm-accent-10); color: var(--lm-accent); border-color: var(--lm-accent-20); }
        .light-mode .login-view-container #neteaseLoginCard .login-actions .login-btn.secondary:hover { background: var(--lm-accent-18); border-color: var(--lm-accent); }
        .light-mode .login-view-container #qqLoginCard { border-color: var(--lm-accent-15); }
        .light-mode .login-view-container #qqLoginCard::before { background: linear-gradient(90deg, transparent, var(--lm-accent-20), transparent); }
        .light-mode .login-view-container #qqLoginCard:hover { border-color: var(--lm-accent-25); }
        .light-mode .login-view-container #qqLoginCard h3 { color: var(--lm-accent); }
        .light-mode .login-view-container #qqLoginCard h3::before { background: linear-gradient(180deg, #5a9ef5, var(--lm-accent)); }
        .light-mode .login-view-container #qqLoginCard .login-qr-container { background: var(--lm-accent-05); border-color: var(--lm-accent-15); }
        .light-mode .login-view-container #qqLoginCard .login-qr-container img { background: var(--lm-white); border-color: var(--lm-accent-12); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
        .light-mode .login-view-container #qqLoginCard .login-status.waiting { background: var(--lm-accent-10); color: var(--lm-accent); border-color: var(--lm-accent-25); }
        .light-mode .login-view-container #qqLoginCard .login-status.scanned { background: rgba(34,197,94,0.1); color: #16a34a; border-color: rgba(34,197,94,0.25); }
        .light-mode .login-view-container #qqLoginCard .login-status.success { background: rgba(34,197,94,0.12); color: #16a34a; border-color: rgba(34,197,94,0.3); }
        .light-mode .login-view-container #qqLoginCard .login-status.error { background: rgba(239,68,68,0.1); color: #dc2626; border-color: rgba(239,68,68,0.25); }
        .light-mode .login-view-container #qqLoginCard .login-actions button { color: var(--lm-accent); }
        .light-mode .login-view-container #qqLoginCard .login-actions .login-btn.primary { background: linear-gradient(135deg, #3282f0, #1a5fc7); color: var(--lm-white); }
        .light-mode .login-view-container #qqLoginCard .login-actions .login-btn.primary:hover { background: linear-gradient(135deg, #5a9ef5, #3282f0); }
        .fs-controls {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            width: 100%;
        }
        .fs-progress-area {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.85rem;
            color: #f0e3d0;
        }
        .fs-progress-bar {
            flex: 1;
            height: 4px;
            background: rgba(255, 245, 220, 0.3);
            border-radius: 20px;
            cursor: pointer;
            position: relative;
        }
        .fs-progress-fill {
            width: 0%;
            height: 100%;
            background: #ecd9b4;
            border-radius: 20px;
        }
        .fs-progress-thumb {
            position: absolute;
            top: 50%;
            left: 0%;
            width: 12px;
            height: 12px;
            background: #ecd9b4;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
            box-shadow: 0 0 8px rgba(236, 217, 180, 0.5);
        }
        .fs-progress-bar:hover .fs-progress-thumb {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.2);
        }
        .fs-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            width: 100%;
        }
        .fs-btn {
            background: rgba(255, 245, 225, 0.12);
            border: 1px solid rgba(255, 245, 225, 0.25);
            width: 52px;
            height: 52px;
            min-width: 52px;
            min-height: 52px;
            max-width: 52px;
            max-height: 52px;
            border-radius: 50%;
            cursor: pointer;
            color: #f5e6d4;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            box-sizing: border-box;
            flex-shrink: 0;
        }
        .fs-btn.play-pause {
            background: #ecd9b4;
            border: none;
            color: #1e1b16;
            width: 64px;
            height: 64px;
            min-width: 64px;
            min-height: 64px;
            max-width: 64px;
            max-height: 64px;
            border-radius: 50%;
        }
        .fs-btn.repeat-active {
            background: rgba(236, 217, 180, 0.7);
            border-color: #ecd9b4;
            color: #1e1b16;
        }

        .fs-lyric-item {
            width: 100%;
            transition: all 0.45s cubic-bezier(0.2, 0.85, 0.4, 1);
            cursor: pointer;
            opacity: 0.55;
            padding: 6px 0px 6px 0px;
        }
        .fs-lyric-item.left { text-align: left; }
        .fs-lyric-item.right { text-align: right; }
        .fs-lyric-item.center { text-align: center; }
        .fs-lyric-text-wrapper { display: inline-block; position: relative; }
        .fs-lyric-text {
            font-size: 1.4rem;
            color: #f0e2cf;
            display: inline-block;
            padding: 0 6px;
            transition: all 0.45s cubic-bezier(0.2, 0.85, 0.4, 1);
        }
        .fs-singer-name {
            font-size: 0.7rem;
            color: #f0e2cf;
            opacity: 0.8;
            margin: 0 4px;
            display: inline-block;
        }
        .fs-lyric-item.right .fs-singer-name { order: -1; margin-right: 8px; margin-left: 0; }
        .fs-lyric-item.left .fs-singer-name { margin-left: 8px; margin-right: 0; }
        .fs-lyric-item.center .fs-singer-name { display: none; }
        .fs-lyric-item.left .fs-lyric-text-wrapper { border-left: 2px solid transparent; padding-left: 12px; transition: border-color 0.45s cubic-bezier(0.2, 0.85, 0.4, 1); }
        .fs-lyric-item.right .fs-lyric-text-wrapper { border-right: 2px solid transparent; padding-right: 12px; transition: border-color 0.45s cubic-bezier(0.2, 0.85, 0.4, 1); }
        .fs-lyric-item.center .fs-lyric-text-wrapper { border-left: 2px solid transparent; border-right: 2px solid transparent; padding: 0 12px; transition: border-color 0.45s cubic-bezier(0.2, 0.85, 0.4, 1); }
        .fs-lyric-item.active .fs-lyric-text-wrapper { border-left-color: #ecd9b4; border-right-color: #ecd9b4; }
        .fs-lyric-item.active { opacity: 1; }
        .fs-lyric-item.active .fs-lyric-text {
            color: #FFF6E5;
            font-weight: 600;
            text-shadow: 0 0 4px rgba(50,130,240,0.3);
        }
        .fs-lyric-item.sung .fs-lyric-text { opacity: 0.2; font-size: 1.2rem; }
        
        .fs-interlude-dots { display: flex; gap: 10px; padding: 10px 0 10px 16px; }
        .fs-dot {
            width: 5px; height: 5px;
            background: #ecd9b4;
            border-radius: 50%;
            animation: breathe 2.2s infinite ease-in-out;
        }
        @keyframes breathe {
            0% { opacity: 0.3; transform: scale(0.7); }
            50% { opacity: 1; transform: scale(1.2); background-color: #ecd9b4; }
            100% { opacity: 0.3; transform: scale(0.7); }
        }
        .fs-interlude-dots.hidden { display: none; }

        .mobile-layout {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .mobile-top-bar {
            background: transparent;
            padding: 1.2rem;
            flex-shrink: 0;
        }
        
        .mobile-lyrics-header { padding: 1.2rem 1.2rem 0.5rem 1.2rem; flex-shrink: 0; }
        .mobile-lyrics-header .lyrics-header { font-size: 0.7rem; text-transform: uppercase; color: #cfc2a8; letter-spacing: 1px; }
        .mobile-layout .lyrics-container { flex: 1; overflow-y: auto; padding: 1rem 1.2rem 0.5rem 1.2rem; }
        .mobile-layout .lyrics-list { display: flex; flex-direction: column; gap: 1.2rem; align-items: stretch; padding-bottom: 2rem; }
        .lyric-item {
            width: 100%;
            transition: all 0.35s cubic-bezier(0.2, 0.85, 0.4, 1);
            line-height: 1.45;
            cursor: pointer;
            opacity: 0.55;
            padding: 4px 0px 4px 0px;
        }
        .lyric-item.left { text-align: left; }
        .lyric-item.right { text-align: right; }
        .lyric-item.center { text-align: center; }
        .lyric-text-wrapper { display: inline-block; position: relative; }
        .lyric-text {
            font-size: 1.1rem;
            color: #e8dccc;
            display: inline-block;
            padding: 0 6px;
            transition: all 0.35s cubic-bezier(0.2, 0.85, 0.4, 1);
        }
        .singer-name {
            font-size: 0.6rem;
            color: #e8dccc;
            opacity: 0.8;
            display: inline-block;
            letter-spacing: 0.5px;
        }
        .lyric-item.right .singer-name { order: -1; margin-right: 6px; margin-left: 0; }
        .lyric-item.left .singer-name { margin-left: 6px; margin-right: 0; }
        .lyric-item.center .singer-name { display: none; }
        .lyric-item.left .lyric-text-wrapper { border-left: 2px solid transparent; padding-left: 8px; transition: border-color 0.35s cubic-bezier(0.2, 0.85, 0.4, 1); }
        .lyric-item.right .lyric-text-wrapper { border-right: 2px solid transparent; padding-right: 8px; transition: border-color 0.35s cubic-bezier(0.2, 0.85, 0.4, 1); }
        .lyric-item.center .lyric-text-wrapper { border-left: 2px solid transparent; border-right: 2px solid transparent; padding: 0 8px; transition: border-color 0.35s cubic-bezier(0.2, 0.85, 0.4, 1); }
        .lyric-item.active .lyric-text-wrapper { border-left-color: #3282f0; border-right-color: #3282f0; }
        .lyric-item.active { opacity: 1; }
        .lyric-item.active .lyric-text {
            color: #FFF6E5;
            font-weight: 600;
            text-shadow: 0 0 4px rgba(50,130,240,0.3);
        }
        .lyric-item.sung .lyric-text { opacity: 0.2; font-size: 0.95rem; }
        
        .lyric-item.upcoming .lyric-text { opacity: 0.55; font-size: 1.05rem; }
        .interlude-dots { display: flex; gap: 10px; padding: 8px 0 8px 12px; }
        .dot {
            width: 5px; height: 5px;
            background: #ecd9b4;
            border-radius: 50%;
            animation: breathe 2.2s infinite ease-in-out;
        }
        .interlude-dots.hidden { display: none; }

        .mobile-layout .control-bar {
            background: rgba(8, 10, 16, 0.45);
            backdrop-filter: blur(28px);
            border-top: 1px solid rgba(50, 130, 240, 0.15);
            border-radius: 24px 24px 0 0;
            padding: 1rem 1.2rem 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            flex-shrink: 0;
        }
        .info-row { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
        .song-info { flex: 1; cursor: pointer; touch-action: pan-y; }
        .song-title-top {
            font-size: 1.1rem;
            font-weight: 650;
            background: linear-gradient(135deg, #F1E6D4, #DDCEB0);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 0.2rem;
            opacity: 0.95;
        }
        .song-artist-top { font-size: 0.75rem; color: #cfc3ae; opacity: 0.9; }
        .cover-thumb { width: 54px; height: 54px; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
        .cover-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .progress-area { display: flex; align-items: center; gap: 10px; font-size: 0.7rem; color: #e2d4c0; }
        .progress-bar-bg { flex: 1; height: 3px; background: rgba(255, 245, 220, 0.3); border-radius: 20px; cursor: pointer; position: relative; }
        .progress-fill { width: 0%; height: 100%; background: #3282f0; border-radius: 20px; }
        .progress-thumb {
            position: absolute;
            top: 50%;
            left: 0%;
            width: 10px;
            height: 10px;
            background: #3282f0;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
            box-shadow: 0 0 6px rgba(50, 130, 240, 0.5);
        }
        .progress-bar-bg:hover .progress-thumb {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.2);
        }
        .buttons { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 0.2rem; }
        .ctrl-btn {
            background: rgba(255, 245, 225, 0.15);
            border: 1px solid rgba(255, 245, 225, 0.35);
            width: 44px;
            height: 44px;
            border-radius: 30px;
            font-size: 1.2rem;
            cursor: pointer;
            color: #e8dcc8;
            opacity: 0.9;
            transition: all 0.2s ease;
        }
        .ctrl-btn.play-pause {
            background: #3282f0;
            border: none;
            color: #fff;
            width: 54px;
            height: 54px;
            font-size: 1.5rem;
        }
        .ctrl-btn.repeat-active {
            background: rgba(50, 130, 240, 0.6);
            border-color: #3282f0;
            color: #fff;
        }

        @media (max-width: 900px) {
            .fullscreen-glass { width: 95%; }
            .fs-cover-img { width: 140px; height: 140px; }
            .fs-song-title { font-size: 1.5rem; }
            .fs-btn { width: 44px; height: 44px; font-size: 1.2rem; }
            .fs-btn.play-pause { width: 54px; height: 54px; font-size: 1.5rem; }
            .desktop-layout { display: none !important; }
            .mobile-layout { display: flex !important; }
            .player-app.web-fullscreen .mobile-layout { display: none !important; }
            .player-app.web-fullscreen .desktop-layout { display: flex !important; }
        }
        @media (min-width: 901px) {
            .mobile-layout { display: none !important; }
            .desktop-layout { display: flex !important; }
        }

        .playlist-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(24px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1100;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        }
        .playlist-modal.show { visibility: visible; opacity: 1; transition: opacity 0.3s ease; }
        .playlist-modal-content {
            background: rgba(30, 32, 44, 0.75);
            backdrop-filter: blur(40px);
            border-radius: 48px;
            width: 90%;
            max-width: 750px;
            max-height: 85vh;
            overflow-y: auto;
            padding: 1.8rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
            color: #f0e2cf;
        }
        .playlist-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            font-weight: 600;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding-bottom: 0.8rem;
        }
        .playlist-modal-header h3 { color: #ecd9b4; font-weight: 500; }
        .close-playlist-modal, .settings-back-btn {
            background: transparent !important;
            border: none !important;
            font-size: 1.2rem;
            cursor: pointer;
            color: #cfc3ae !important;
            transition: 0.2s;
            padding: 0;
            line-height: 1;
            margin-left: 12px;
        }
        .close-playlist-modal:hover, .settings-back-btn:hover { color: #3282f0 !important; }
        .settings-btn {
            background: rgba(50,130,240,0.15);
            border: none;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            color: #3282f0;
            margin-right: 12px;
            transition: 0.2s;
            padding: 4px 12px;
            border-radius: 40px;
        }
        .settings-btn:hover { background: rgba(50,130,240,0.3); color: #fff5e8; }
        .setting-group { margin-bottom: 1.5rem; }
        .setting-group label { display: block; font-size: 0.85rem; margin-bottom: 8px; color: #3282f0; font-weight: 500; }
        .setting-group input, .setting-group select {
            width: 100%;
            background: rgba(0,0,0,0.5);
            border: 1px solid rgba(50,130,240,0.4);
            border-radius: 40px;
            padding: 8px 12px;
            color: white;
            font-size: 0.9rem;
        }
        /* 垂直滑块布局 */
        .eq-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 16px;
        }
        .eq-item {
            flex: 1;
            min-width: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .eq-label {
            font-size: 0.75rem;
            color: #cfc3ae;
            text-align: center;
        }
        /* 垂直滑块样式 */
        .eq-slider-vertical {
            -webkit-appearance: slider-vertical;
            width: 8px;
            height: 100px;
            background: rgba(50,130,240,0.4);
            border-radius: 10px;
            cursor: pointer;
        }
        .eq-slider-vertical::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3282f0;
            cursor: pointer;
            box-shadow: 0 0 8px rgba(50,130,240,0.5);
        }
        .eq-value {
            font-size: 0.7rem;
            color: #cfc3ae;
        }
        .preset-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 15px 0;
        }
        .preset-btn, .reset-eq-btn {
            background: rgba(50,130,240,0.15);
            border: 1px solid rgba(50,130,240,0.3);
            border-radius: 30px;
            padding: 6px 14px;
            font-size: 0.75rem;
            cursor: pointer;
            color: #cfc3ae;
            transition: 0.2s;
        }
        .preset-btn:hover, .reset-eq-btn:hover {
            background: rgba(50,130,240,0.35);
            color: #fff5e8;
        }
        .toggle-switch {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(0,0,0,0.4);
            border-radius: 40px;
            padding: 6px 12px;
        }
        .toggle-switch span { font-size: 0.85rem; color: #cfc3ae; }
        .toggle-switch input {
            width: 40px;
            height: 20px;
            appearance: none;
            background: #3a3c48;
            border-radius: 20px;
            position: relative;
            cursor: pointer;
        }
        .toggle-switch input:checked { background: #3282f0; }
        .toggle-switch input::before {
            content: '';
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: 0.2s;
        }
        .toggle-switch input:checked::before { left: 22px; }
        .settings-panel { display: none; }
        .settings-panel.active { display: block; }
        .main-panel { display: block; }
        .main-panel.hide { display: none; }
        .range-value { display: inline-block; margin-left: 8px; font-size: 0.8rem; }
        .playlist-song-list { max-height: 400px; overflow-y: auto; margin-bottom: 1rem; }
        .playlist-song-item {
            display: flex;
            align-items: center;
            gap: 14px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 60px;
            padding: 10px 16px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .playlist-song-item:hover { background: rgba(50, 130, 240, 0.25); }
        .playlist-song-cover { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
        .playlist-song-info { flex: 1; }
        .playlist-song-name { font-weight: 600; font-size: 0.95rem; }
        .playlist-song-artist { font-size: 0.7rem; opacity: 0.7; }
        .playlist-delete-btn {
            background: transparent !important;
            border: none !important;
            color: #cfc3ae !important;
            font-size: 1.2rem;
            cursor: pointer;
        }
        .playlist-delete-btn:hover { color: #ffaa88 !important; }
        .playlist-add-section {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 1rem;
            margin-top: 0.5rem;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .playlist-add-title { font-size: 0.9rem; margin-bottom: 0.2rem; color: #3282f0; }
        .file-input-group { margin: 10px 0; }
        .file-label { display: block; font-size: 0.75rem; opacity: 0.8; margin-bottom: 4px; }
        .playlist-modal input[type="file"] {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(50, 130, 240, 0.4);
            border-radius: 40px;
            padding: 8px 12px;
            width: 100%;
            color: white;
        }
        .add-song-submit {
            background: #3282f0 !important;
            border: none !important;
            border-radius: 40px !important;
            padding: 10px 20px !important;
            color: #fff !important;
            font-weight: 600 !important;
            cursor: pointer;
            margin-top: 10px;
            width: 100%;
        }
        .demo-song-btn, .marry-song-btn {
            background: rgba(50, 130, 240, 0.2) !important;
            border: 1px solid rgba(50, 130, 240, 0.5) !important;
            border-radius: 40px !important;
            padding: 10px 20px !important;
            color: #3282f0 !important;
            font-weight: 500 !important;
            cursor: pointer;
            width: 100%;
            text-align: center;
            transition: 0.2s;
        }
        .demo-song-btn:hover, .marry-song-btn:hover {
            background: rgba(50, 130, 240, 0.4) !important;
            color: #fff5e8 !important;
        }
		/* 间奏呼吸点位置控制 */
.fs-interlude-dots { justify-content: flex-start; }
.fs-interlude-dots.right { justify-content: flex-end; }
.fs-interlude-dots.center { justify-content: center; }

.interlude-dots { justify-content: flex-start; }
.interlude-dots.right { justify-content: flex-end; }
.interlude-dots.center { justify-content: center; }
/* 在文件末尾添加以下样式 - 优化SVG图标居中 */

/* 确保所有按钮使用flex布局并居中内容 */
.fs-btn, .ctrl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* 移除内边距，让图标完全居中 */
}

/* 确保SVG图标在按钮内完全居中 */
.fs-btn svg, .ctrl-btn svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0; /* 防止图标被压缩 */
}

/* 播放/暂停按钮特殊尺寸 */
.fs-btn.play-pause svg {
    width: 28px;
    height: 28px;
}

.ctrl-btn.play-pause svg {
    width: 26px;
    height: 26px;
}

/* 移动端按钮图标尺寸 */
@media (max-width: 900px) {
    .ctrl-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* 按钮悬停效果优化 */
.fs-btn:hover, .ctrl-btn:hover {
    background: rgba(255, 245, 225, 0.15);
    transform: scale(1.05);
}

.fs-btn.play-pause:hover, .ctrl-btn.play-pause:hover {
    background: #ecd9b4;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(236, 217, 180, 0.3);
}

/* 歌词切换刷新动画 */
@keyframes lyricRefresh {
    0% { opacity: 0; transform: scale(0.95) translateY(-5px); filter: brightness(1.5); }
    30% { opacity: 1; transform: scale(1.02) translateY(0); filter: brightness(1.2); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: brightness(1); }
}

.fs-lyric-item.refresh {
    animation: lyricRefresh 0.5s cubic-bezier(0.2, 0.85, 0.4, 1) forwards;
}

.lyric-item.refresh {
    animation: lyricRefresh 0.4s cubic-bezier(0.2, 0.85, 0.4, 1) forwards;
}

/* ===== 网易云音乐搜索面板样式 ===== */
.wyy-search-panel { display: none; }
.wyy-search-panel.active { display: block; }

.wyy-search-btn {
    background: rgba(236,217,180,0.15);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    color: #ecd9b4;
    margin-right: 12px;
    transition: 0.2s;
    padding: 4px 12px;
    border-radius: 40px;
}
.wyy-search-btn:hover { background: rgba(236,217,180,0.3); color: #fff5e8; }

.wyy-api-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 4px 16px;
    border-radius: 20px;
    background: rgba(100, 200, 100, 0.10);
    border: 1px solid rgba(100, 200, 100, 0.15);
    color: #8fdf8f;
}
.wyy-api-badge.offline {
    background: rgba(255, 100, 100, 0.10);
    border-color: rgba(255, 100, 100, 0.15);
    color: #ff6b6b;
}
.wyy-api-badge .wyy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    display: inline-block;
}
.wyy-api-badge.offline .wyy-dot { background: #ff6b6b; }

.wyy-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.wyy-search-box input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid rgba(236, 217, 180, 0.12);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}
.wyy-search-box input:focus { border-color: #ecd9b4; }
.wyy-search-box input::placeholder { color: rgba(255, 255, 255, 0.2); }
.wyy-search-box button {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: #ecd9b4;
    color: #1e1b16;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    white-space: nowrap;
}
.wyy-search-box button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(236, 217, 180, 0.2);
}
.wyy-search-box button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.wyy-quick-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.wyy-quick-tags button {
    padding: 5px 14px;
    border-radius: 16px;
    border: 1px solid rgba(236, 217, 180, 0.08);
    background: rgba(236, 217, 180, 0.04);
    color: #a09686;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}
.wyy-quick-tags button:hover {
    background: rgba(236, 217, 180, 0.10);
    color: #ecd9b4;
}

.wyy-results {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 4px;
}
.wyy-results::-webkit-scrollbar { width: 4px; }
.wyy-results::-webkit-scrollbar-thumb { background: rgba(236, 217, 180, 0.15); border-radius: 10px; }

.wyy-song-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
}
.wyy-song-item:hover { background: rgba(236, 217, 180, 0.05); }
.wyy-song-item .wyy-cover {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: #2a2c3a;
}
.wyy-song-item .wyy-info { flex: 1; min-width: 0; }
.wyy-song-item .wyy-info .wyy-name {
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wyy-song-item .wyy-info .wyy-artist {
    font-size: 0.65rem;
    opacity: 0.4;
    margin-top: 2px;
}
.wyy-song-item .wyy-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.wyy-song-item .wyy-actions button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(236, 217, 180, 0.2);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #cfc3ae;
}
.wyy-song-item .wyy-actions button:hover { 
    background: rgba(236, 217, 180, 0.15); 
    border-color: rgba(236, 217, 180, 0.4);
}
.wyy-song-item .wyy-actions button.wyy-added {
    background: rgba(100, 200, 100, 0.12);
    border-color: rgba(100, 200, 100, 0.15);
    color: #8fdf8f;
}
.wyy-song-item .wyy-index {
    width: 30px;
    text-align: center;
    color: #8a857a;
    font-size: 0.9rem;
    font-weight: normal;
}

.wyy-load-more {
    text-align: center;
    padding: 12px;
    margin: 8px 0;
    border-radius: 30px;
    background: rgba(236, 217, 180, 0.05);
    border: 1px solid rgba(236, 217, 180, 0.08);
    color: #a09686;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
}
.wyy-load-more:hover {
    background: rgba(236, 217, 180, 0.08);
    color: #ecd9b4;
}
.wyy-load-more.hidden { display: none; }

.wyy-status {
    text-align: center;
    padding: 10px;
    opacity: 0.5;
    font-size: 14px;
    margin-bottom: 14px;
    min-height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}
.wyy-status.error { color: #ff6b6b; opacity: 1; }
.wyy-status.success { color: #8fdf8f; opacity: 1; }
.wyy-status.warning { color: #ffd93d; opacity: 1; }

.wyy-loading-text {
    text-align: center;
    padding: 30px 0;
    opacity: 0.4;
    font-size: 14px;
}
.wyy-empty-hint {
    text-align: center;
    padding: 20px 0;
    opacity: 0.3;
    font-size: 13px;
}

.wyy-api-info {
    text-align: center;
    font-size: 11px;
    opacity: 0.15;
    margin-top: 12px;
    font-family: monospace;
}

.home-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 22, 30, 0.97);
    backdrop-filter: blur(30px);
    z-index: 1050;
    display: none;
    flex-direction: row;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-page.active { display: flex; }

.home-sidebar {
    width: 160px;
    height: 100%;
    background: rgba(30, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(236, 217, 180, 0.15);
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    flex-shrink: 0;
}

.sidebar-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ecd9b4;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
    line-height: 1.4;
    padding: 10px 0;
    border-bottom: 1px solid rgba(236, 217, 180, 0.1);
    transition: color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sidebar-logo span {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

.light-mode .sidebar-logo {
    color: #3282f0;
    border-color: rgba(50, 130, 240, 0.2);
}
.light-mode .sidebar-logo span {
    color: #3282f0;
    opacity: 0.8;
}

.sidebar-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: rgba(236, 217, 180, 0.1);
    border-radius: 12px;
}

.sidebar-player-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sidebar-player-cover:hover {
    transform: scale(1.08);
}

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

.sidebar-player-info {
    text-align: center;
    width: 100%;
    max-width: 60px;
}

.sidebar-player-name {
    font-size: 0.65rem;
    font-weight: 500;
    color: #ecd9b4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-player-artist {
    font-size: 0.55rem;
    opacity: 0.85;
    color: #cfc3ae;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-player-controls {
    display: flex;
    gap: 2px;
}

.sidebar-player-btn {
    background: transparent;
    border: none;
    color: #cfc3ae;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-player-btn:hover {
    color: #ecd9b4;
    background: rgba(236, 217, 180, 0.2);
}

.sidebar-player-btn svg {
    width: 16px;
    height: 16px;
}

.sidebar-player-btn.play-btn svg {
    width: 18px;
    height: 18px;
}

.light-mode .sidebar-player {
    background: rgba(50, 130, 240, 0.08);
}
.light-mode .sidebar-player-name {
    color: #3282f0;
}
.light-mode .sidebar-player-artist {
    color: #555;
}
.light-mode .sidebar-player-btn {
    color: #444;
}
.light-mode .sidebar-player-btn:hover {
    color: #3282f0;
    background: rgba(50, 130, 240, 0.15);
}

.sidebar-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #8a857a;
    cursor: pointer;
    transition: color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-item:hover {
    background: rgba(236, 217, 180, 0.1);
    color: #cfc3ae;
}

.sidebar-item.active {
    background: rgba(236, 217, 180, 0.2);
    color: #ecd9b4;
}

.home-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-main-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.15);
    flex-shrink: 0;
    background: rgba(20, 22, 30, 0.6);
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #cfc3ae;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}
.home-back-btn:hover {
    background: rgba(236, 217, 180, 0.2);
    color: #ecd9b4;
}

.home-main-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ecd9b4;
}

.home-view-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px 40px;
}

.home-view { display: none; }
.home-view.active { display: block; }
.home-view.active#viewLogin { display: flex; justify-content: center; align-items: center; min-height: 100%; padding: 1.5rem; }
.home-view.active#viewRanking { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: -20px -30px -40px; padding: 0; }
.home-view.active#viewLogin .login-view-container { margin: 0 auto; width: 100%; }

.search-box-large {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.search-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 44px;
    border-radius: 50%;
    background: rgba(236, 217, 180, 0.12);
    border: 1px solid rgba(236, 217, 180, 0.25);
    cursor: pointer;
    color: #ecd9b4;
    opacity: 0;
    overflow: hidden;
    margin-right: 0;
    flex-shrink: 0;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                margin-right 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-back-btn.visible {
    width: 44px;
    opacity: 1;
    margin-right: 12px;
}

.search-back-btn:hover {
    background: rgba(236, 217, 180, 0.25);
    border-color: #ecd9b4;
}

.search-back-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.search-row .search-box-large {
    flex: 1;
    margin-bottom: 0;
    transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box-large input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(236, 217, 180, 0.3);
    border-radius: 40px;
    padding: 14px 24px;
    color: white;
    font-size: 1rem;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-box-large input:focus {
    border-color: #ecd9b4;
    outline: none;
}

.search-box-large input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.search-box-large button {
    background: #ecd9b4;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #1e1b16;
    transition: transform 0.2s, background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-box-large button:hover {
    transform: scale(1.08);
}

.source-selector {
    display: flex;
    gap: 4px;
    margin-left: 12px;
    flex-shrink: 0;
}

.source-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #8a857a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.source-btn.active {
    background: rgba(236, 217, 180, 0.2);
    border-color: #ecd9b4;
    color: #ecd9b4;
}

.source-btn:hover {
    background: rgba(236, 217, 180, 0.12);
    border-color: rgba(236, 217, 180, 0.35);
    color: #ecd9b4;
}

/* ===== 液态玻璃滑块 ===== */
.glass-slider {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 60px;
    padding: 3px;
    position: relative;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.glass-slider-buttons {
    display: flex;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.glass-slider-btn {
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #8a857a;
    white-space: nowrap;
    transition: color 0.3s;
    font-family: inherit;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.glass-slider-btn.active {
    color: #ecd9b4;
}

.glass-slider-cursor {
    position: absolute;
    top: 3px;
    height: calc(100% - 6px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) brightness(1.1);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 0 0 0.5px rgba(255, 255, 255, 0.15);
    transition: left 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1), width 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.glass-slider-cursor::before {
    content: "";
    position: absolute;
    width: 180%;
    height: 180%;
    top: -40%;
    left: -40%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0.5;
    transform: translate(var(--x, 0%), var(--y, 0%));
    transition: transform 0.08s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    filter: blur(3px);
}

.glass-slider-cursor::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0.4;
}

.glass-slider-cursor.dragging {
    transition: left 0.02s linear, width 0.02s linear, transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scaleX(0.94) scaleY(1.06);
}

.glass-slider-cursor.snap {
    transition: left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-slider-cursor.pulse {
    animation: glassPulse 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.2);
}

@keyframes glassPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.02); }
    70% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

/* 亮色模式 */
.light-mode .glass-slider {
    background: rgba(0, 0, 0, 0.06);
}

.light-mode .glass-slider-cursor {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 0 0 0.5px rgba(255, 255, 255, 0.5);
}

.light-mode .glass-slider-cursor::before {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 40%, rgba(255, 255, 255, 0) 70%);
}

.light-mode .glass-slider-btn {
    color: var(--lm-text-muted);
}

.light-mode .glass-slider-btn.active {
    color: var(--lm-accent);
}

.search-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-type-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #8a857a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-type-btn:hover {
    background: rgba(236, 217, 180, 0.15);
    color: #cfc3ae;
}

.search-type-btn.active {
    background: #ecd9b4;
    border-color: #ecd9b4;
    color: #1e1b16;
    font-weight: 600;
}

.section-block {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ecd9b4;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.2);
}

.home-recommended-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-rec-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.home-rec-item:hover {
    background: rgba(236, 217, 180, 0.15);
}

.home-rec-cover {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

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

.home-rec-name {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-rec-artist {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 2px;
}

.home-album-grid,
.home-artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
}

.home-album-item,
.home-artist-item {
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    animation: albumItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes albumItemIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home-album-item:hover,
.home-artist-item:hover {
    transform: scale(1.05);
}

.home-album-cover,
.home-artist-cover {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.home-album-play-btn {
    position: absolute;
    top: 72px;
    left: calc(50% + 30px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(236, 217, 180, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    color: #1a1a2e;
    z-index: 2;
    padding: 0;
}

.home-album-play-btn svg {
    width: 16px;
    height: 16px;
}

.home-album-item:hover .home-album-play-btn {
    opacity: 1;
}

.home-album-name,
.home-artist-name {
    font-size: 0.8rem;
    color: #cfc3ae;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    margin: 0 auto;
}

.home-album-singer {
    font-size: 0.7rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    margin: 2px auto 0 auto;
}

.home-results {
    margin-top: 20px;
}

.home-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-result-item:hover {
    background: rgba(236, 217, 180, 0.1);
}

.home-result-index {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    min-width: 24px;
    text-align: center;
}

.home-result-cover {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

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

.home-result-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.home-result-sub {
    font-size: 0.75rem;
    opacity: 0.6;
}

.home-result-action {
    background: rgba(236, 217, 180, 0.15);
    border: none;
    color: #ecd9b4;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    white-space: nowrap;
}

.home-result-action:hover {
    background: rgba(236, 217, 180, 0.3);
}

.home-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.home-load-more-btn {
    background: rgba(236, 217, 180, 0.1);
    border: 1px solid rgba(236, 217, 180, 0.25);
    color: #ecd9b4;
    padding: 10px 40px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-load-more-btn:hover {
    background: rgba(236, 217, 180, 0.2);
    border-color: #ecd9b4;
}

.home-load-more-btn.hidden {
    display: none;
}

.light-mode .home-load-more-btn {
    background: rgba(50, 130, 240, 0.08);
    border-color: rgba(50, 130, 240, 0.2);
    color: #3282f0;
}
.light-mode .home-load-more-btn:hover {
    background: rgba(50, 130, 240, 0.15);
    border-color: #3282f0;
}
.light-mode .ranking-tab {
    color: #666;
}
.light-mode .ranking-tab:hover {
    background: rgba(50, 130, 240, 0.08);
    color: #3282f0;
}
.light-mode .ranking-tab.active {
    background: rgba(50, 130, 240, 0.15);
    color: #3282f0;
}
.light-mode .ranking-tabs {
    border-right-color: rgba(50, 130, 240, 0.1);
}
.light-mode .ranking-content-header {
    border-bottom-color: rgba(50, 130, 240, 0.15);
}
.light-mode .ranking-content-title {
    color: #3282f0;
}
.light-mode .ranking-container {
    background: transparent;
}
.light-mode .ranking-section-title {
    color: #3282f0;
    border-bottom-color: rgba(50, 130, 240, 0.15);
}
.light-mode .ranking-section-title:hover {
    color: #1a5fc7;
}
.light-mode .ranking-item:hover {
    background: rgba(50, 130, 240, 0.08);
}
.light-mode .ranking-name {
    color: #000;
}
.light-mode .ranking-artist {
    color: #444;
}
.light-mode .ranking-section {
    background: rgba(50, 130, 240, 0.03);
    border-color: rgba(50, 130, 240, 0.08);
}
.light-mode .ranking-play-all-btn {
    background: rgba(50, 130, 240, 0.08);
    border-color: rgba(50, 130, 240, 0.2);
    color: #3282f0;
}
.light-mode .ranking-play-all-btn:hover {
    background: rgba(50, 130, 240, 0.15);
    border-color: rgba(50, 130, 240, 0.3);
}
.light-mode .ranking-collapse-btn {
    border-color: rgba(50, 130, 240, 0.15);
    color: #3282f0;
}
.light-mode .ranking-collapse-btn:hover {
    background: rgba(50, 130, 240, 0.1);
    border-color: rgba(50, 130, 240, 0.3);
}

.ranking-container {
    display: flex;
    gap: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 20px 30px;
}

.ranking-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 120px;
    flex-shrink: 0;
    padding: 8px;
    border-right: 1px solid rgba(236, 217, 180, 0.1);
    overflow-y: auto;
}

.ranking-tab {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #cfc3ae;
    transition: all 0.2s;
    white-space: nowrap;
    text-align: center;
}

.ranking-tab:hover {
    background: rgba(236, 217, 180, 0.08);
    color: #ecd9b4;
}

.ranking-tab.active {
    background: rgba(236, 217, 180, 0.15);
    color: #ecd9b4;
    font-weight: 600;
}

.ranking-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    min-width: 0;
}

.ranking-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.15);
}

.ranking-content-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ecd9b4;
}

.ranking-content-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-section {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(236, 217, 180, 0.08);
}

.ranking-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.15);
}

.ranking-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ecd9b4;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.ranking-section-title:hover {
    color: #f0e0c0;
}

.ranking-section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-play-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(236, 217, 180, 0.2);
    background: rgba(236, 217, 180, 0.08);
    color: #ecd9b4;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    white-space: nowrap;
}

.ranking-play-all-btn:hover {
    background: rgba(236, 217, 180, 0.15);
    border-color: rgba(236, 217, 180, 0.3);
}

.ranking-icon-play {
    display: inline-flex;
    align-items: center;
}

.ranking-icon-play svg {
    width: 12px;
    height: 12px;
}

.ranking-collapse-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(236, 217, 180, 0.15);
    background: transparent;
    color: #ecd9b4;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s;
}

.ranking-collapse-btn:hover {
    background: rgba(236, 217, 180, 0.1);
    border-color: rgba(236, 217, 180, 0.3);
}

.ranking-icon-collapse {
    display: inline-flex;
    transition: transform 0.2s;
}

.ranking-section-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 1;
}

.ranking-section-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.ranking-section-content .wyy-song-item,
.ranking-section-content .home-result-item {
    animation: fadeInSong 0.3s ease forwards;
    opacity: 0;
}

.ranking-section-content .wyy-song-item:nth-child(1),
.ranking-section-content .home-result-item:nth-child(1) { animation-delay: 0.02s; }
.ranking-section-content .wyy-song-item:nth-child(2),
.ranking-section-content .home-result-item:nth-child(2) { animation-delay: 0.04s; }
.ranking-section-content .wyy-song-item:nth-child(3),
.ranking-section-content .home-result-item:nth-child(3) { animation-delay: 0.06s; }
.ranking-section-content .wyy-song-item:nth-child(4),
.ranking-section-content .home-result-item:nth-child(4) { animation-delay: 0.08s; }
.ranking-section-content .wyy-song-item:nth-child(5),
.ranking-section-content .home-result-item:nth-child(5) { animation-delay: 0.1s; }
.ranking-section-content .wyy-song-item:nth-child(6),
.ranking-section-content .home-result-item:nth-child(6) { animation-delay: 0.12s; }
.ranking-section-content .wyy-song-item:nth-child(7),
.ranking-section-content .home-result-item:nth-child(7) { animation-delay: 0.14s; }
.ranking-section-content .wyy-song-item:nth-child(8),
.ranking-section-content .home-result-item:nth-child(8) { animation-delay: 0.16s; }
.ranking-section-content .wyy-song-item:nth-child(9),
.ranking-section-content .home-result-item:nth-child(9) { animation-delay: 0.18s; }
.ranking-section-content .wyy-song-item:nth-child(10),
.ranking-section-content .home-result-item:nth-child(10) { animation-delay: 0.2s; }

.ranking-section-content .home-result-item {
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
}
.ranking-section-content .home-result-item:hover { background: rgba(236, 217, 180, 0.05); }
.ranking-section-content .home-result-item .home-result-cover {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}
.ranking-section-content .home-result-item .home-result-index {
    width: 30px;
    min-width: 30px;
    font-size: 0.9rem;
    color: #8a857a;
}
.ranking-section-content .home-result-item .home-result-name {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ranking-section-content .home-result-item .home-result-sub {
    font-size: 0.65rem;
    opacity: 0.4;
    margin-top: 2px;
}
.ranking-section-content .home-result-item .home-result-action {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(236, 217, 180, 0.2);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfc3ae;
}
.ranking-section-content .home-result-item .home-result-action:hover { 
    background: rgba(236, 217, 180, 0.15); 
    border-color: rgba(236, 217, 180, 0.4);
}
.ranking-section-content .home-result-item .home-result-action.home-result-added {
    background: rgba(100, 200, 100, 0.12);
    border-color: rgba(100, 200, 100, 0.15);
    color: #8fdf8f;
}

.ranking-content-list .wyy-song-item,
.ranking-content-list .home-result-item {
    animation: fadeInSong 0.3s ease forwards;
    opacity: 0;
}

.ranking-content-list .wyy-song-item:nth-child(1),
.ranking-content-list .home-result-item:nth-child(1) { animation-delay: 0.02s; }
.ranking-content-list .wyy-song-item:nth-child(2),
.ranking-content-list .home-result-item:nth-child(2) { animation-delay: 0.04s; }
.ranking-content-list .wyy-song-item:nth-child(3),
.ranking-content-list .home-result-item:nth-child(3) { animation-delay: 0.06s; }
.ranking-content-list .wyy-song-item:nth-child(4),
.ranking-content-list .home-result-item:nth-child(4) { animation-delay: 0.08s; }
.ranking-content-list .wyy-song-item:nth-child(5),
.ranking-content-list .home-result-item:nth-child(5) { animation-delay: 0.1s; }
.ranking-content-list .wyy-song-item:nth-child(6),
.ranking-content-list .home-result-item:nth-child(6) { animation-delay: 0.12s; }
.ranking-content-list .wyy-song-item:nth-child(7),
.ranking-content-list .home-result-item:nth-child(7) { animation-delay: 0.14s; }
.ranking-content-list .wyy-song-item:nth-child(8),
.ranking-content-list .home-result-item:nth-child(8) { animation-delay: 0.16s; }
.ranking-content-list .wyy-song-item:nth-child(9),
.ranking-content-list .home-result-item:nth-child(9) { animation-delay: 0.18s; }
.ranking-content-list .wyy-song-item:nth-child(10),
.ranking-content-list .home-result-item:nth-child(10) { animation-delay: 0.2s; }

@keyframes fadeInSong {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.ranking-item:hover {
    background: rgba(236, 217, 180, 0.12);
}

.ranking-index {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ecd9b4;
    width: 30px;
    text-align: center;
}

.ranking-item:nth-child(1) .ranking-index { color: #ffd700; }
.ranking-item:nth-child(2) .ranking-index { color: #c0c0c0; }
.ranking-item:nth-child(3) .ranking-index { color: #cd7f32; }

.ranking-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.ranking-artist {
    font-size: 0.75rem;
    opacity: 0.6;
}

.lyrics-view-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lyrics-song-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lyrics-song-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.lyrics-song-item:hover {
    background: rgba(236, 217, 180, 0.15);
}

.lyrics-song-item.playing {
    background: rgba(236, 217, 180, 0.2);
    border-left: 3px solid #ecd9b4;
}

.lyrics-song-cover {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

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

.lyrics-song-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lyrics-song-artist {
    font-size: 0.7rem;
    opacity: 0.6;
}

.lyrics-song-actions {
    display: flex;
    gap: 8px;
}

.lyrics-song-actions button {
    background: transparent;
    border: none;
    color: #cfc3ae;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.lyrics-song-actions button:hover {
    background: rgba(236, 217, 180, 0.2);
    color: #ecd9b4;
}

.home-empty {
    text-align: center;
    padding: 40px;
    opacity: 0.4;
    font-size: 0.95rem;
}

.home-album-skeleton {
    animation: homeSlideIn 0.4s ease;
}

.home-album-skeleton-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.home-album-skeleton-cover {
    width: 200px;
    height: 200px;
    border-radius: 14px;
    background: rgba(236, 217, 180, 0.06);
    flex-shrink: 0;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.home-album-skeleton-info {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.home-album-skeleton-line {
    height: 16px;
    border-radius: 8px;
    background: rgba(236, 217, 180, 0.06);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.home-album-skeleton-line:first-child {
    width: 60%;
    height: 24px;
}

.home-album-skeleton-line:nth-child(2) {
    width: 40%;
}

.home-album-skeleton-line:nth-child(3) {
    width: 80%;
    height: 14px;
}

.home-album-skeleton-line:nth-child(4) {
    width: 50%;
    height: 14px;
}

.home-album-skeleton-song {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 4px;
}

.home-album-skeleton-song-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(236, 217, 180, 0.06);
    flex-shrink: 0;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.home-album-skeleton-song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-album-skeleton-song-line {
    height: 14px;
    border-radius: 7px;
    background: rgba(236, 217, 180, 0.06);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.home-album-skeleton-song-line:first-child {
    width: 50%;
}

.home-album-skeleton-song-line:last-child {
    width: 30%;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.home-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.home-result-item:hover { background: rgba(236,217,180,0.1); }
.home-result-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.home-result-info {
    flex: 1;
    min-width: 0;
}
.home-result-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff3dd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-result-sub {
    font-size: 0.8rem;
    opacity: 0.6;
    color: #cfc3ae;
    margin-top: 3px;
}
.home-result-action {
    background: rgba(236,217,180,0.15);
    border: none;
    color: #ecd9b4;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-shrink: 0;
}
.home-result-action:hover {
    background: rgba(236,217,180,0.3);
}
.home-result-added {
    background: rgba(100, 200, 100, 0.15);
    color: #8fdf8f;
    cursor: default;
}

.home-song-detail {
    padding: 10px 0;
}
.home-detail-cover {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    flex-shrink: 0;
}
.home-detail-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ecd9b4;
    margin-bottom: 10px;
}
.home-detail-artist {
    font-size: 1rem;
    color: #cfc3ae;
    margin-bottom: 20px;
}
.home-detail-label {
    color: #ecd9b4;
}
.home-detail-btn {
    background: rgba(236,217,180,0.15);
    border: none;
    color: #ecd9b4;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.home-detail-btn:hover {
    background: rgba(236,217,180,0.3);
    transform: translateY(-2px);
}
.home-detail-added {
    background: rgba(236,217,180,0.3);
    cursor: default;
    transform: none;
}
.home-detail-play {
    background: #ecd9b4;
    color: #1e1b16;
    font-weight: 600;
}
.home-detail-play:hover {
    background: #f1e6d4;
}

.home-detail-back {
    margin-bottom: 16px;
    display: inline-block;
}

.home-search-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.1);
    flex-wrap: wrap;
}
.home-search-tabs.hidden {
    display: none;
}
.home-tab {
    padding: 7px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(236, 217, 180, 0.06);
    color: #cfc3ae;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    white-space: nowrap;
}

.home-tab:hover {
    background: rgba(236, 217, 180, 0.12);
}

.home-tab.active {
    background: rgba(236, 217, 180, 0.2);
    color: #ecd9b4;
    font-weight: 600;
}

.home-tab .tab-count {
    font-size: 11px;
    color: #888;
    margin-left: 4px;
    font-weight: normal;
}

.home-tab.active .tab-count {
    color: #ecd9b4;
}

.home-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ecd9b4;
    margin: 15px 0 15px;
}

/* ===== SVG 图标样式优化 ===== */

/* 通用按钮内的 SVG 图标 */
.home-result-action svg,
.home-detail-btn svg,
.lyrics-song-actions button svg {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 内联图标按钮样式 */
.home-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}

.home-icon-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* 播放状态扬声器图标 */
.home-speaker-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

.home-speaker-icon svg {
    width: 18px;
    height: 18px;
    color: #ecd9b4;
    display: block;
}

/* 歌词页按钮内的图标 */
.lyrics-song-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
}

.lyrics-song-actions button svg {
    width: 18px;
    height: 18px;
}

/* 首页结果项的添加按钮优化 */
.home-result-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 详情页按钮优化 */
.home-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 确保所有按钮内的 SVG 图标正确对齐 */
button svg {
    display: inline-block;
    vertical-align: middle;
}

/* ===== 圆形返回按钮 ===== */
.home-back-btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(236, 217, 180, 0.12);
    border: 1px solid rgba(236, 217, 180, 0.25);
    cursor: pointer;
    color: #ecd9b4;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
}

.home-back-btn-circle:hover {
    background: rgba(236, 217, 180, 0.25);
    transform: scale(1.1);
    border-color: #ecd9b4;
}

.home-back-btn-circle svg {
    width: 22px;
    height: 22px;
}

/* ===== 歌曲详情歌词 ===== */
.home-detail-lyrics {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(236, 217, 180, 0.1);
}

.home-lyric-line {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #cfc3ae;
    line-height: 1.8;
    transition: color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: baseline;
}

.home-lyric-line:hover {
    color: #ecd9b4;
}

.home-lyric-line:last-child {
    border-bottom: none;
}

.home-lyric-line.left {
    justify-content: flex-start;
}

.home-lyric-line.right {
    justify-content: flex-end;
}

.home-lyric-line.center {
    justify-content: center;
}

.home-lyric-singer {
    font-size: 0.75rem;
    color: #a09080;
    margin: 0 8px;
    white-space: nowrap;
}

.home-lyric-text {
    word-break: break-all;
}

.home-lyric-interlude {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 0;
    gap: 4px;
    opacity: 0.4;
}

.home-lyric-interlude.right {
    justify-content: flex-end;
}

.home-lyric-interlude.center {
    justify-content: center;
}

.home-lyric-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cfc3ae;
}

/* ===== 主页非线性丝滑动画 ===== */
.home-page {
    animation: homeSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-page.active {
    animation: homeSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes homeSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.97) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.home-sidebar {
    animation: sidebarSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

@keyframes sidebarSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.home-main {
    animation: mainFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes mainFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-item {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-item:hover {
    transform: translateX(4px);
}

.home-view {
    animation: viewFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes viewFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-result-item {
    animation: resultItemIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-result-item:nth-child(1) { animation-delay: 0s; }
.home-result-item:nth-child(2) { animation-delay: 0.04s; }
.home-result-item:nth-child(3) { animation-delay: 0.08s; }
.home-result-item:nth-child(4) { animation-delay: 0.12s; }
.home-result-item:nth-child(5) { animation-delay: 0.16s; }
.home-result-item:nth-child(6) { animation-delay: 0.2s; }
.home-result-item:nth-child(7) { animation-delay: 0.24s; }
.home-result-item:nth-child(8) { animation-delay: 0.28s; }
.home-result-item:nth-child(9) { animation-delay: 0.32s; }
.home-result-item:nth-child(10) { animation-delay: 0.36s; }

@keyframes resultItemIn {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.home-detail-cover {
    animation: coverBounceIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes coverBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        transform: scale(1.03);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.home-detail-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 217, 180, 0.15);
}

.home-detail-lyrics {
    animation: lyricsFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes lyricsFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-box-large button {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box-large button:hover {
    transform: scale(1.1);
}

/* 设置页面样式适配 */
#viewSettings {
    max-width: 700px;
}

#viewSettings .setting-group {
    margin-bottom: 1.8rem;
}

#viewSettings .setting-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ecd9b4;
    font-weight: 500;
}

.setting-help {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #a8a090;
    line-height: 1.4;
}

#viewSettings .setting-group input,
#viewSettings .setting-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(236, 217, 180, 0.4);
    border-radius: 40px;
    padding: 10px 14px;
    color: white;
    font-size: 0.9rem;
    transition: background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#viewSettings .toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 40px;
    padding: 8px 14px;
}

#viewSettings .toggle-switch span {
    font-size: 0.9rem;
    color: #cfc3ae;
}

#viewSettings .toggle-switch input {
    width: 44px;
    height: 22px;
    appearance: none;
    background: #3a3c48;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#viewSettings .toggle-switch input:checked {
    background: #ecd9b4;
}

#viewSettings .toggle-switch input::before {
    content: '';
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#viewSettings .toggle-switch input:checked::before {
    left: 24px;
}

#viewSettings .eq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

#viewSettings .eq-item {
    flex: 1;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#viewSettings .eq-label {
    font-size: 0.75rem;
    color: #ecd9b4;
    text-align: center;
}

#viewSettings .eq-slider-vertical {
    -webkit-appearance: slider-vertical;
    width: 6px;
    height: 100px;
    background: rgba(236, 217, 180, 0.3);
    border-radius: 10px;
    cursor: pointer;
}

#viewSettings .eq-slider-vertical::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ecd9b4;
    cursor: pointer;
}

#viewSettings .eq-value {
    font-size: 0.7rem;
    color: #ecd9b4;
}

#viewSettings .preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

#viewSettings .preset-btn {
    background: rgba(236, 217, 180, 0.15);
    border: 1px solid rgba(236, 217, 180, 0.3);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.8rem;
    cursor: pointer;
    color: #cfc3ae;
    transition: 0.3s;
}

#viewSettings .preset-btn:hover {
    background: rgba(236, 217, 180, 0.35);
    color: #fff5e8;
}

#viewSettings .range-value {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.85rem;
    color: #ecd9b4;
}

/* 登录相关样式 */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
    padding: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(12px);
    }
}

.login-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-modal-content {
    background: linear-gradient(135deg, rgba(25, 28, 38, 0.98), rgba(18, 20, 28, 0.98));
    border: 1px solid rgba(236, 217, 180, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 440px;
    text-align: center;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.login-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 217, 180, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.login-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F1E6D4 0%, #E8D9C0 50%, #DDCEB0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(241, 230, 212, 0.2);
}

.login-close-btn {
    background: rgba(236, 217, 180, 0.08);
    border: 1px solid rgba(236, 217, 180, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #cfc3ae;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.login-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.login-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.login-qr-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px;
    display: inline-block;
    margin-bottom: 1.8rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.login-qr-container:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.login-qr-container img {
    width: 220px;
    height: 220px;
    display: block;
    border-radius: 12px;
}

.login-status {
    font-size: 1rem;
    font-weight: 500;
    color: #cfc3ae;
    margin-bottom: 2rem;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-status.waiting {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.login-status.scanned {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.login-status.success {
    flex-direction: column;
    gap: 6px;
    color: #4ade80;
    font-weight: 600;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    animation: successBounce 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successBounce {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.login-status.error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(96, 165, 250, 0.2);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: smoothSpin 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    margin-right: 10px;
}

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

.login-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.login-btn {
    padding: 12px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.login-btn::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 ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.login-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.login-btn.primary:active {
    transform: translateY(0);
}

.login-btn.secondary {
    background: rgba(236, 217, 180, 0.08);
    color: #ecd9b4;
    border: 1px solid rgba(236, 217, 180, 0.25);
    backdrop-filter: blur(10px);
}

.login-btn.secondary:hover {
    background: rgba(236, 217, 180, 0.15);
    border-color: rgba(236, 217, 180, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 217, 180, 0.15);
}

.login-btn.secondary:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.login-btn:disabled::before {
    display: none;
}

.login-tip {
    font-size: 0.85rem;
    color: rgba(207, 195, 174, 0.6);
    margin-top: 1.5rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.login-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPopIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 6px 18px rgba(34, 197, 94, 0.35),
        0 0 0 2px rgba(34, 197, 94, 0.1) inset;
    position: relative;
    z-index: 1;
}

.login-success-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes successPopIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.15) rotate(10deg);
        opacity: 1;
    }
    75% {
        transform: scale(0.95) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.login-success-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.login-logout-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.12));
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.login-logout-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.login-logout-btn:active {
    transform: translateY(0);
}

.login-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-status-badge.logged-in {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15));
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.1);
}

.login-status-badge.not-logged-in {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.15));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.1);
}

.login-status-badge .login-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
}

.login-status-badge.logged-in .login-dot {
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 6px currentColor;
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
        box-shadow: 0 0 12px currentColor;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 登录响应式设计 */
@media (max-width: 768px) {
    .login-modal {
        padding: 16px;
    }

    .login-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-width: 380px;
        border-radius: 20px;
    }

    .login-modal-header h3 {
        font-size: 1.3rem;
    }

    .login-qr-container {
        padding: 16px;
        margin-bottom: 1.5rem;
    }

    .login-qr-container img {
        width: 180px;
        height: 180px;
    }

    .login-status {
        font-size: 0.9rem;
        padding: 10px 16px;
        margin-bottom: 1.5rem;
    }

    .login-actions {
        flex-direction: column;
        gap: 12px;
    }

    .login-btn {
        width: 100%;
        padding: 12px 24px;
    }

    .login-tip {
        font-size: 0.8rem;
        margin-top: 1.2rem;
    }
}

@media (max-width: 480px) {
    .login-modal-content {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }

    .login-modal-header h3 {
        font-size: 1.2rem;
    }

    .login-close-btn {
        width: 36px;
        height: 36px;
    }

    .login-qr-container {
        padding: 14px;
        border-radius: 16px;
    }

    .login-qr-container img {
        width: 160px;
        height: 160px;
        border-radius: 10px;
    }

    .login-success-icon {
        width: 42px;
        height: 42px;
    }
}

/* 登录视图样式 - 嵌入式页面 */
.login-view-container {
    padding: 2rem;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.login-view-container > .card {
    flex: 1 1 340px;
    min-width: 280px;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-view-container > h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F1E6D4 0%, #E8D9C0 50%, #DDCEB0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 15px rgba(241, 230, 212, 0.3);
}

/* 卡片容器 */
.login-view-container .card {
    background: linear-gradient(135deg, rgba(30, 33, 43, 0.95), rgba(22, 25, 34, 0.95));
    border: 1px solid rgba(236, 217, 180, 0.12);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.login-view-container .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 217, 180, 0.2), transparent);
}

.login-view-container .card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    border-color: rgba(236, 217, 180, 0.18);
}

/* 网易云登录卡片 */
.login-view-container #neteaseLoginCard {
    border-color: rgba(236, 217, 180, 0.15);
}

.login-view-container #neteaseLoginCard::before {
    background: linear-gradient(90deg, transparent, rgba(236, 217, 180, 0.2), transparent);
}

.login-view-container #neteaseLoginCard:hover {
    border-color: rgba(236, 217, 180, 0.25);
}

.login-view-container #neteaseLoginCard h3 {
    color: #F1E6D4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-view-container #neteaseLoginCard h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #ecd9b4, #cfc3ae);
    border-radius: 2px;
}

.login-view-container #neteaseLoginCard .login-qr-container {
    background: linear-gradient(135deg, rgba(236, 217, 180, 0.06), rgba(207, 195, 174, 0.06));
    border-color: rgba(236, 217, 180, 0.15);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-view-container #neteaseLoginCard .login-qr-container img {
    max-width: 200px;
    border-radius: 12px;
    border: 2px solid rgba(236, 217, 180, 0.12);
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.login-view-container #neteaseLoginCard .login-status {
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    transition: all 0.3s ease;
}

.login-view-container #neteaseLoginCard .login-status.waiting {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.12));
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
    animation: statusPulse 2s ease-in-out infinite;
}

.login-view-container #neteaseLoginCard .login-status.scanned {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.12));
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.login-view-container #neteaseLoginCard .login-status.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15));
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-size: 1.05rem;
    gap: 14px;
    animation: successBounce 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-view-container #neteaseLoginCard .login-status.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.12));
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.login-view-container #neteaseLoginCard .login-tip {
    text-align: center;
    color: rgba(207, 195, 174, 0.6);
    font-size: 0.82rem;
    padding: 0 8px;
    margin-top: 1rem;
    line-height: 1.4;
}

.login-view-container #neteaseLoginCard .login-tip span {
    display: block;
}

.login-view-container #neteaseLoginCard .login-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-view-container #neteaseLoginCard .login-actions .login-btn {
    min-width: 140px;
    padding: 11px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.login-view-container #neteaseLoginCard .login-actions .login-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.login-view-container #neteaseLoginCard .login-actions .login-btn.primary:hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.login-view-container #neteaseLoginCard .login-actions .login-btn.secondary {
    background: rgba(236, 217, 180, 0.1);
    color: #ecd9b4;
    border: 1px solid rgba(236, 217, 180, 0.2);
}

.login-view-container #neteaseLoginCard .login-actions .login-btn.secondary:hover {
    background: rgba(236, 217, 180, 0.18);
    border-color: rgba(236, 217, 180, 0.35);
    transform: translateY(-2px);
}

/* QQ登录卡片 */
.login-view-container #qqLoginCard {
    border-color: rgba(96, 165, 250, 0.15);
}

.login-view-container #qqLoginCard::before {
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), transparent);
}

.login-view-container #qqLoginCard:hover {
    border-color: rgba(96, 165, 250, 0.25);
}

.login-view-container #qqLoginCard h3 {
    color: #60a5fa;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-view-container #qqLoginCard h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    border-radius: 2px;
}

.login-view-container #qqLoginCard .login-qr-container {
    background: linear-gradient(135deg, rgba(50, 130, 240, 0.06), rgba(30, 64, 175, 0.06));
    border-color: rgba(96, 165, 250, 0.15);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-view-container #qqLoginCard .login-qr-container img {
    max-width: 200px;
    border-radius: 12px;
    border: 2px solid rgba(96, 165, 250, 0.12);
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.login-view-container #qqLoginCard .login-status {
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    transition: all 0.3s ease;
}

.login-view-container #qqLoginCard .login-status.waiting {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.12));
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
    animation: statusPulse 2s ease-in-out infinite;
}

.login-view-container #qqLoginCard .login-status.scanned {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.12));
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.login-view-container #qqLoginCard .login-status.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15));
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-size: 1.05rem;
    gap: 14px;
    animation: successBounce 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-view-container #qqLoginCard .login-status.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.12));
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.login-view-container #qqLoginCard .login-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-view-container #qqLoginCard .login-actions button {
    min-width: 140px;
    padding: 11px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.login-view-container #qqLoginCard .login-actions .login-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.login-view-container #qqLoginCard .login-actions .login-btn.primary:hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.login-view-container #qqLoginCard .login-actions .login-btn.secondary {
    background: rgba(96, 165, 250, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.login-view-container #qqLoginCard .login-actions .login-btn.secondary:hover {
    background: rgba(96, 165, 250, 0.18);
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateY(-2px);
}

.login-view-container #qqLoginCard .login-tip {
    text-align: center;
    color: rgba(207, 195, 174, 0.6);
    font-size: 0.82rem;
    padding: 0 8px;
    margin-top: 1rem;
    line-height: 1.4;
}

.login-view-container #qqLoginCard .login-tip span {
    display: block;
}

/* 兼容旧按钮样式 */
.login-view-container #logoutBtn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    border: none;
    color: white;
}

.login-view-container #logoutBtn:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
}

.login-view-container #refreshQrBtn {
    background: linear-gradient(135deg, rgba(236, 217, 180, 0.15), rgba(220, 200, 165, 0.15));
    color: #ecd9b4;
    border: 1px solid rgba(236, 217, 180, 0.25);
    box-shadow: 0 4px 15px rgba(236, 217, 180, 0.1);
}

.login-view-container #refreshQrBtn:hover {
    background: linear-gradient(135deg, rgba(236, 217, 180, 0.25), rgba(220, 200, 165, 0.25));
    border-color: rgba(236, 217, 180, 0.35);
    box-shadow: 0 8px 25px rgba(236, 217, 180, 0.2);
}

/* 日志输出区域 - 已隐藏 */
.login-view-container .log {
    display: none !important;
}

/* 响应式设计 */

/* 宽屏 (≥1100px) - 双列宽松 */
@media (min-width: 1100px) {
    .home-view.active#viewLogin {
        padding: 2rem 3rem;
    }

    .home-view.active#viewLogin .login-view-container {
        gap: 2rem;
        max-width: 920px;
    }

    .home-view.active#viewLogin .login-view-container > .card {
        max-width: 430px;
    }

    .home-view.active#viewLogin .login-view-container .login-qr-container img {
        max-width: 240px;
    }

    .home-view.active#viewLogin .login-view-container .card h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

/* 中屏 (850px-1099px) - 双列紧凑 */
@media (min-width: 850px) and (max-width: 1099px) {
    .home-view.active#viewLogin {
        padding: 1.5rem 2rem;
    }

    .home-view.active#viewLogin .login-view-container {
        gap: 1.2rem;
        max-width: 800px;
    }

    .home-view.active#viewLogin .login-view-container > .card {
        max-width: 380px;
    }

    .home-view.active#viewLogin .login-view-container .login-qr-container img {
        max-width: 200px;
    }

    .home-view.active#viewLogin .login-view-container .login-actions .login-btn {
        font-size: 0.92rem;
        padding: 10px 18px;
    }
}

/* 小平板 (650px-849px) - 双列/单列自适应 */
@media (min-width: 650px) and (max-width: 849px) {
    .home-view.active#viewLogin .login-view-container {
        gap: 1rem;
        max-width: 700px;
    }

    .home-view.active#viewLogin .login-view-container > .card {
        flex: 1 1 260px;
        min-width: 240px;
        max-width: 340px;
    }

    .home-view.active#viewLogin .login-view-container .login-qr-container img {
        max-width: 180px;
    }
}

/* 手机/小平板竖屏 (≤649px) - 单列居中 */
@media (max-width: 649px) {
    .home-view.active#viewLogin {
        padding: 1rem;
    }

    .home-view.active#viewLogin .login-view-container {
        gap: 1.5rem;
        max-width: 100%;
        padding: 1rem;
    }

    .home-view.active#viewLogin .login-view-container > .card {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }

    .home-view.active#viewLogin .login-view-container .login-qr-container img {
        max-width: 200px;
    }

    .home-view.active#viewLogin .login-view-container .card h3 {
        font-size: 1.1rem;
    }
}

/* 手机 (≤480px) - 紧凑单列 */
@media (max-width: 480px) {
    .home-view.active#viewLogin {
        padding: 0.5rem;
    }

    .home-view.active#viewLogin .login-view-container {
        padding: 0.8rem;
        gap: 1rem;
    }

    .home-view.active#viewLogin .login-view-container > .card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .home-view.active#viewLogin .login-view-container .login-qr-container img {
        max-width: 180px;
    }

    .home-view.active#viewLogin .login-view-container .login-actions .login-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

/* 登录测试页面样式 */
.login-test-page {
    font-family: Arial, sans-serif;
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

.login-test-page .card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(236, 217, 180, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.login-test-page button {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    background: #3282f0;
    color: white;
    margin-right: 8px;
    transition: all 0.2s;
}

.login-test-page button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(50, 130, 240, 0.3);
}

.login-test-page button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.login-test-page #qrContainer {
    text-align: center;
    margin: 16px 0;
}

.login-test-page #qrContainer img {
    max-width: 200px;
    border: 1px solid rgba(236, 217, 180, 0.2);
    border-radius: 8px;
    padding: 8px;
    background: white;
}

.login-test-page #status {
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-weight: bold;
    text-align: center;
}

.login-test-page #status.waiting {
    background: rgba(50, 130, 240, 0.15);
    color: #3282f0;
}

.login-test-page #status.scanned {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.login-test-page #status.success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.login-test-page #status.error {
    background: rgba(229, 57, 53, 0.15);
    color: #e53935;
}

.login-test-page .info {
    font-size: 14px;
    color: #cfc3ae;
    margin-top: 8px;
    word-break: break-all;
}

.login-test-page .log {
    background: rgba(0, 0, 0, 0.5);
    color: #8fdf8f;
    padding: 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 12px;
}

.login-test-page .log .error {
    color: #ff6b6b;
}

.login-test-page .log .success {
    color: #8fdf8f;
}

/* QQ音乐登录按钮 */
.qq-login-btn {
    padding: 8px 16px;
    border: 1px solid rgba(236, 217, 180, 0.25);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(50, 130, 240, 0.15), rgba(30, 100, 220, 0.15));
    color: #60a5fa;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.qq-login-btn:hover {
    background: linear-gradient(135deg, rgba(50, 130, 240, 0.25), rgba(30, 100, 220, 0.25));
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 4px 15px rgba(50, 130, 240, 0.2);
    transform: translateY(-1px);
}

.qq-login-btn.logged-in {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(34, 197, 94, 0.15));
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.qq-login-btn.logged-in:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.qq-login-btn.panel-login-btn {
    margin-left: 8px;
    margin-right: 8px;
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 8px;
}

/* ======== QQ音乐 API 测试面板 ======== */
.api-test-panel {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.api-test-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ecd9b4;
}

.api-test-panel .api-test-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(236, 217, 180, 0.08);
    border: 1px solid rgba(236, 217, 180, 0.12);
    border-radius: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.api-test-panel .api-test-status-bar input {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(236, 217, 180, 0.2);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.api-test-panel .api-test-status-bar button {
    padding: 8px 16px;
    background: rgba(236, 217, 180, 0.15);
    border: 1px solid rgba(236, 217, 180, 0.25);
    border-radius: 8px;
    color: #ecd9b4;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.api-test-panel .api-test-status-bar button:hover {
    background: rgba(236, 217, 180, 0.25);
}

.api-test-panel .api-test-status {
    font-size: 13px;
    font-weight: 500;
}

.api-test-panel .api-test-status.ok { color: #4ade80; }
.api-test-panel .api-test-status.err { color: #f87171; }

.api-test-panel .api-test-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(236, 217, 180, 0.1);
    padding-bottom: 10px;
}

.api-test-panel .api-test-tab {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(236, 217, 180, 0.06);
    color: #cfc3ae;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.api-test-panel .api-test-tab:hover {
    background: rgba(236, 217, 180, 0.12);
}

.api-test-panel .api-test-tab.active {
    background: rgba(236, 217, 180, 0.2);
    color: #ecd9b4;
    font-weight: 600;
}

.api-test-panel .api-test-section {
    display: none;
}

.api-test-panel .api-test-section.active {
    display: block;
}

.api-test-panel .api-test-form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-end;
}

.api-test-panel .api-test-form-group label {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-bottom: 4px;
}

.api-test-panel .api-test-form-group input,
.api-test-panel .api-test-form-group select {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(236, 217, 180, 0.2);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
}

.api-test-panel .api-test-form-group input:focus,
.api-test-panel .api-test-form-group select:focus {
    border-color: #ecd9b4;
    outline: none;
}

.api-test-panel .api-test-form-group button {
    padding: 8px 18px;
    background: rgba(236, 217, 180, 0.2);
    border: 1px solid rgba(236, 217, 180, 0.3);
    border-radius: 8px;
    color: #ecd9b4;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.api-test-panel .api-test-form-group button:hover {
    background: rgba(236, 217, 180, 0.3);
}

.api-test-panel .api-test-result {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(236, 217, 180, 0.12);
    border-radius: 10px;
    padding: 16px;
    max-height: 500px;
    overflow: auto;
}

.api-test-panel .api-test-result pre {
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 12px;
    font-family: 'Fira Code', 'Consolas', monospace;
    color: #a5d6a7;
    max-height: 460px;
    overflow: auto;
}

.api-test-panel .api-test-result .error { color: #f87171; }
.api-test-panel .api-test-result .loading { color: #fbbf24; }

/* API测试面板 - 歌曲列表 */
.api-test-panel .api-song-list { display: flex; flex-direction: column; gap: 0; }
.api-test-panel .api-song-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-bottom: 1px solid rgba(236, 217, 180, 0.08);
    cursor: pointer; transition: background .15s;
}
.api-test-panel .api-song-item:hover { background: rgba(236, 217, 180, 0.06); }
.api-test-panel .api-song-idx { width: 28px; text-align: center; color: #888; font-size: 14px; flex-shrink: 0; }
.api-test-panel .api-song-cover {
    width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
}
.api-test-panel .api-song-info { flex: 1; min-width: 0; }
.api-test-panel .api-song-name {
    font-size: 14px; font-weight: 500; color: #e0e0e0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.api-test-panel .api-song-artist {
    font-size: 12px; color: #888; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.api-test-panel .api-song-duration { font-size: 12px; color: #666; flex-shrink: 0; }
.api-test-panel .api-song-play-btn {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: rgba(236, 217, 180, 0.25); color: #ecd9b4; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: opacity .2s;
}
.api-test-panel .api-song-play-btn:hover { opacity: .8; }

/* API测试面板 - 推荐网格 */
.api-test-panel .api-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.api-test-panel .api-item-card {
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(236, 217, 180, 0.1); border-radius: 10px;
    overflow: hidden; cursor: pointer; transition: all .2s;
}
.api-test-panel .api-item-card:hover { border-color: rgba(236, 217, 180, 0.3); transform: translateY(-2px); }
.api-test-panel .api-item-cover {
    width: 100%; aspect-ratio: 1; object-fit: cover; background: rgba(0, 0, 0, 0.4);
}
.api-test-panel .api-item-body { padding: 8px 10px; }
.api-test-panel .api-item-name {
    font-size: 13px; font-weight: 500; color: #e0e0e0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.api-test-panel .api-item-sub {
    font-size: 11px; color: #888; margin-top: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* API测试面板 - 歌手卡片 */
.api-test-panel .api-artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.api-test-panel .api-artist-card {
    text-align: center; cursor: pointer; transition: transform .2s;
}
.api-test-panel .api-artist-card:hover { transform: translateY(-2px); }
.api-test-panel .api-artist-avatar {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(236, 217, 180, 0.2); margin: 0 auto 8px; background: rgba(0, 0, 0, 0.3);
}
.api-test-panel .api-artist-name { font-size: 14px; color: #e0e0e0; }
.api-test-panel .api-artist-sub { font-size: 11px; color: #888; margin-top: 2px; }

/* API测试面板 - 详情 */
.api-test-panel .api-detail-section {
    background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(236, 217, 180, 0.1); border-radius: 10px;
    padding: 16px; margin-bottom: 14px;
}
.api-test-panel .api-detail-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.api-test-panel .api-detail-cover {
    width: 160px; height: 160px; border-radius: 10px; object-fit: cover;
    flex-shrink: 0; background: rgba(0, 0, 0, 0.3);
}
.api-test-panel .api-detail-info { flex: 1; }
.api-test-panel .api-detail-name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.api-test-panel .api-detail-meta { font-size: 13px; color: #888; margin-bottom: 3px; }
.api-test-panel .api-detail-meta span { margin-right: 10px; }
.api-test-panel .api-detail-desc { font-size: 13px; color: #aaa; margin-top: 6px; line-height: 1.6; }

/* API测试面板 - 歌词 */
.api-test-panel .api-lyrics-text {
    font-size: 14px; color: #ccc; line-height: 2; white-space: pre-wrap;
    padding: 16px; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(236, 217, 180, 0.1); border-radius: 10px;
    max-height: 500px; overflow: auto;
}

/* API测试面板 - 排行榜分类 */
.api-test-panel .api-ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.api-test-panel .api-ranking-item {
    padding: 12px; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(236, 217, 180, 0.1);
    border-radius: 8px; cursor: pointer; transition: all .2s;
}
.api-test-panel .api-ranking-item:hover { border-color: rgba(236, 217, 180, 0.3); }
.api-test-panel .api-ranking-name { font-size: 14px; color: #e0e0e0; }
.api-test-panel .api-ranking-count { font-size: 11px; color: #888; margin-top: 2px; }

/* API测试面板 - 登录 */
.api-test-panel .api-login-section {
    margin-bottom: 16px;
}
.api-test-panel .api-login-section h3 {
    font-size: 14px; color: #aaa;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.1);
}
.api-test-panel .api-qr-container {
    text-align: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(236, 217, 180, 0.1);
    border-radius: 10px;
    max-width: 280px;
}
.api-test-panel .api-qr-status {
    font-size: 14px;
    color: #fbbf24;
    margin-bottom: 10px;
}
.api-test-panel .api-qr-status.success { color: #4ade80; }
.api-test-panel .api-qr-status.error { color: #f87171; }
.api-test-panel .api-login-divider {
    border-top: 1px solid rgba(236, 217, 180, 0.1);
    margin: 16px 0;
}

/* API测试面板 - 空状态 */
.api-test-panel .api-empty-state {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 14px;
}

/* API测试面板 - 加载中 */
.api-test-panel .api-loading {
    text-align: center;
    padding: 20px;
    color: #fbbf24;
}

/* API测试面板 - 标题 */
.api-test-panel .api-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #ecd9b4;
    margin: 16px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(236, 217, 180, 0.1);
}