        /* === 视觉系统变量 === */
        :root {
            --bg-base: #000000;
            --glass-bg: rgba(255, 255, 255, 0.002);
            --glass-surface: rgba(255, 255, 255, 0.006);
            --glass-border: rgba(255, 255, 255, 0.13);
            --glass-edge: rgba(255, 255, 255, 0.24);
            --glass-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
            --accent-red: #ff003c;
            --accent-glow: rgba(255, 0, 60, 0.5);
            --text-pure: #ffffff;
            --text-dim: rgba(255, 255, 255, 0.6);
            --text-muted: #8a8a8a; /* WCAG AA 对比度 5.92:1 */
            --success: #2ecc71;
            --warning: #f39c12;
            --error: #e74c3c;
            --border-color: rgba(255,255,255,0.08);
            --border-active: rgba(255,255,255,0.15);
            --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-brand: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
            --cursor-x: 50vw;
            --cursor-y: 32vh;
            --clone-bg: #0a0b0e;
            --clone-surface-1: #111217;
            --clone-surface-2: #171921;
            --clone-border: rgba(67, 70, 81, 0.5);
            --clone-border-strong: rgba(67, 70, 81, 0.9);
            --clone-text-1: #ebecef;
            --clone-text-2: #c6c9d2;
            --clone-text-3: #8d909c;
            --clone-text-4: #60636f;
            --clone-cool: #5EEAD4;
            --clone-cool-soft: rgba(94, 234, 212, 0.12);
            --clone-warm: #FB923C;
            --clone-warm-soft: rgba(251, 146, 60, 0.12);
            --clone-cool-rgb: 94, 234, 212;
            --clone-warm-rgb: 251, 146, 60;
            --clone-ease: cubic-bezier(.2, 0, 0, 1);
            --clone-ease-cinema: cubic-bezier(.16, 1, .3, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        /* 键盘导航焦点环 — 仅在键盘操作时显示，鼠标点击不显示 */
        button:focus-visible, a:focus-visible, input:focus-visible, [role="button"]:focus-visible, [tabindex]:focus-visible {
            outline: 2px solid rgba(255,60,0,0.6);
            outline-offset: 2px;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* 防止水平溢出导致横向滚动（hidden 兜底 + clip 增强） */
        html { overflow-x: hidden; overflow-x: clip; }

        body {
            background-color: var(--bg-base);
            color: var(--text-pure);
            font-family: var(--font-main);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* 隐藏滚动条 — 兼容所有主流浏览器 */
        html, body {
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }
        ::-webkit-scrollbar { display: none; }

        .scroll-progress {
            position: fixed;
            top: 0; left: 0; right: 0;
            width: 100%;
            height: 2px;
            z-index: 1000;
            pointer-events: none;
            appearance: none;
            -webkit-appearance: none;
            border: 0;
            background: transparent;
            color: var(--clone-cool);
        }
        .scroll-progress::-webkit-progress-bar {
            background: transparent;
        }
        .scroll-progress::-webkit-progress-value {
            background: linear-gradient(135deg, var(--clone-cool) 0%, var(--clone-warm) 100%);
        }
        .scroll-progress::-moz-progress-bar {
            background: linear-gradient(135deg, var(--clone-cool) 0%, var(--clone-warm) 100%);
        }

        /* === 暗角噪点层 === */
        .vignette-noise {
            position: fixed; inset: 0; z-index: 1; pointer-events: none;
            background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.8) 100%);
        }
        .vignette-noise::before {
            content: ""; position: absolute; inset: 0; opacity: 0.06;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }
        #particleCanvas {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            z-index: 0; pointer-events: none;
        }

        /* === 导航栏 === */
        .navbar {
            --nav-brand-offset: 0px;
            --nav-user-offset: 0px;
            position: fixed; top: 0; left: 0; right: 0;
            width: 100%;
            transform: none;
            margin: 0; z-index: 100;
            display: flex; justify-content: space-between; align-items: center;
            gap: 16px;
            min-height: 52px;
            padding: 7px 14px 7px 18px;
            border: 1px solid rgba(255,255,255,0.08);
            border-top: 0;
            border-radius: 0;
            background: linear-gradient(180deg, rgba(10, 11, 14, 0.74), rgba(10, 11, 14, 0.46));
            backdrop-filter: blur(18px) saturate(170%);
            -webkit-backdrop-filter: blur(18px) saturate(170%);
            box-shadow: 0 10px 34px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.07);
        }
        .navbar > .logo { mix-blend-mode: normal; transform: none; }
        .logo {
            display: inline-flex; align-items: center; gap: 9px;
            color: var(--text-pure); text-decoration: none;
        }
        .sonic-logo-mark {
            width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
            border-radius: 50%; background: transparent;
            box-shadow: 0 10px 24px rgba(255,0,60,0.18);
            overflow: hidden; flex-shrink: 0;
        }
        .sonic-logo-mark img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
        .sonic-logo-name {
            display: inline-flex; align-items: baseline; gap: 7px;
            white-space: nowrap; font-family: var(--font-brand);
            font-size: 15px; font-weight: 800; line-height: 1;
            letter-spacing: 0.02em; text-shadow: 0 10px 28px rgba(0,0,0,0.34);
            text-transform: uppercase;
        }
        .sonic-logo-name .brand-red { color: var(--accent-red); }
        .sonic-logo-name .brand-white { color: var(--text-pure); }
        .nav-right {
            display: flex; align-items: center; gap: 16px;
            font-family: var(--font-mono); font-size: 11px; color: var(--text-pure); letter-spacing: 2px;
            transform: none;
        }
        .nav-status { display: flex; align-items: center; gap: 8px; }
        .status-dot {
            width: 8px; height: 8px; border-radius: 50%; background: var(--success);
            animation: pulse-dot 2s ease-in-out infinite;
        }
        .cookie-dot-empty {
            background: #555;
            box-shadow: 0 0 10px rgba(85,85,85,0.3);
        }
        .cookie-dot-valid {
            background: #2ecc71;
            box-shadow: 0 0 10px rgba(46,204,113,0.5);
        }
        .cookie-dot-invalid {
            background: #e74c3c;
            box-shadow: 0 0 10px rgba(231,76,60,0.5);
        }
        .cookie-dot-stale {
            background: #f39c12;
            box-shadow: 0 0 10px rgba(243,156,18,0.5);
        }
        @keyframes pulse-dot {
            0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
            50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
        }
        .nav-user { font-size: 11px; }
        .user-menu-label {
            color: rgba(255,255,255,0.42);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1.5px;
        }
        .btn-logout {
            padding: 5px 12px; background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.15); border-radius: 6px;
            color: rgba(255,255,255,0.6); font-size: 11px; font-family: var(--font-mono);
            cursor: pointer; transition: all 0.2s; letter-spacing: 1px;
        }
        .btn-logout:hover { background: rgba(255,255,255,0.1); color: var(--text-pure); }

        /* 用户下拉菜单 */
        .user-menu-wrap {
            position: relative; display: flex; align-items: center; gap: 8px;
        }
        .user-menu-trigger {
            display: flex; align-items: center; gap: 8px;
            padding: 6px 14px; border-radius: 10px; cursor: pointer;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            color: inherit; font: inherit;
        }
        .user-menu-trigger:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
        .user-menu-trigger.open { background: rgba(255,255,255,0.08); border-color: rgba(255,0,60,0.3); }
        .user-menu-arrow {
            font-size: 8px; color: rgba(255,255,255,0.3); transition: transform 0.25s;
        }
        .user-menu-trigger.open .user-menu-arrow { transform: rotate(180deg); }
        .user-menu-dropdown {
            position: absolute; top: calc(100% + 8px); right: 0;
            min-width: 200px; padding: 8px;
            background: rgba(15, 15, 18, 0.85); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 16px; backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            box-shadow: 0 20px 60px rgba(0,0,0,0.8);
            opacity: 0; transform: translateY(-8px) scale(0.96);
            pointer-events: none; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 200;
        }
        .user-menu-dropdown.visible {
            opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
        }
        .user-menu-item {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 14px; border-radius: 10px;
            font-family: var(--font-main); font-size: 13px; color: var(--text-dim);
            cursor: pointer; transition: all 0.2s; border: none; background: none; width: 100%;
            text-align: left;
        }
        .user-menu-item:hover { background: rgba(255,255,255,0.06); color: var(--text-pure); }
        .user-menu-item svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
        .user-menu-item.danger:hover { background: rgba(255,0,60,0.08); color: var(--accent-red); }
        .user-menu-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 8px; }

        /* === 主体 === */
        .scroller {
            --lyrics-ribbon-visual-height: calc(clamp(32px, 5vw, 56px) + 56px);
            --lyrics-ribbon-upshift: calc(var(--lyrics-ribbon-visual-height) / -2);
            position: relative; z-index: 10; width: 100%;
            max-width: 100vw;
            overflow-x: clip;
        }

        /* === Hero 区域 === */
        .hero {
            --hero-title-size: clamp(48px, 10vw, 140px);
            --hero-stack-offset: calc(var(--hero-title-size) * 0.5);
            min-height: clamp(600px, 85vh, 840px); display: flex; flex-direction: column;
            justify-content: center; align-items: center;
            padding: 96px 20px 72px; text-align: center;
            position: relative; overflow: hidden; isolation: isolate;
            background: #050008;
        }
        .hero::before {
            content: none;
        }
        .hero::after {
            content: none;
        }
        .hero > * { position: relative; z-index: 1; }
        .hero-ripple-grid {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0;
            pointer-events: none;
            overflow: hidden;
            mix-blend-mode: normal;
            transition: opacity 0.3s ease;
            contain: layout paint size;
        }
        .hero-ripple-grid.is-ready { opacity: 1; }
        .hero-ripple-grid::before {
            content: none;
        }
        .hero-ripple-grid::after {
            content: none;
        }
        .hero-ripple-grid canvas {
            display: block;
            width: 100%;
            height: 100%;
        }
        @media (prefers-reduced-motion: reduce) {
            .hero-ripple-grid { display: none; }
        }
        .hero-title-wrap { position: relative; margin-bottom: 28px; transform: translateY(calc(clamp(-104px, -10vh, -56px) + var(--hero-stack-offset) + var(--lyrics-ribbon-upshift))); }
        .glitch-text {
            font-family: var(--font-display);
            font-size: var(--hero-title-size);
            font-weight: 900; line-height: 0.85; letter-spacing: -0.05em;
            color: var(--text-pure); position: relative;
        }
        .glitch-text::before, .glitch-text::after {
            content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            opacity: 0; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
        }
        .glitch-text::before { color: #0ff; z-index: -1; transform: translate(-2px, 2px); mix-blend-mode: screen; }
        .glitch-text::after { color: #f0f; z-index: -2; transform: translate(2px, -2px); mix-blend-mode: screen; }
        .hero-title-wrap:hover .glitch-text::before { opacity: 0.8; transform: translate(-8px, 4px); }
        .hero-title-wrap:hover .glitch-text::after { opacity: 0.8; transform: translate(8px, -4px); }

        /* === 胶囊输入框 === */
        .input-capsule {
            position: relative; width: min(100%, 760px); max-width: calc(100vw - 36px);
            z-index: 20;
            background: rgba(10, 10, 10, 0.48); border: 1px solid rgba(255,255,255,0.18);
            border-radius: 30px; padding: 8px 8px 8px 26px;
            backdrop-filter: blur(34px) saturate(150%); -webkit-backdrop-filter: blur(34px) saturate(150%);
            display: flex; align-items: center;
            box-shadow: 0 28px 86px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.08);
            transform: translateY(calc(var(--hero-stack-offset) + var(--lyrics-ribbon-upshift)));
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .input-capsule:focus-within {
            border-color: var(--accent-red);
            box-shadow: 0 20px 80px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
            transform: translateY(calc(var(--hero-stack-offset) - 4px + var(--lyrics-ribbon-upshift))) scale(1.02);
        }
        .input-capsule input {
            flex: 1; background: none; border: none; outline: none;
            color: var(--text-pure); font-size: 16px; font-family: var(--font-mono);
            caret-color: var(--accent-red); padding: 12px 0;
            min-width: 0;
        }
        .input-capsule input::placeholder { color: rgba(255,255,255,0.25); }
        .search-suggest-dropdown {
            width: 100%;
            max-width: 720px;
            margin-top: 8px;
            padding: 16px 20px;
            max-height: 240px;
            overflow-y: auto;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            background: rgba(10,10,10,0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transform: translateY(calc(var(--hero-stack-offset) + var(--lyrics-ribbon-upshift)));
        }
        .suggest-section { margin-bottom: 12px; }
        .suggest-section:last-child { margin-bottom: 0; }
        .suggest-section-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        .suggest-section-title {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-dim);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        .suggest-clear-btn {
            padding: 2px 8px;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 100px;
            background: none;
            color: var(--text-muted);
            font-family: var(--font-mono);
            font-size: 10px;
            cursor: pointer;
        }
        .hot-keywords-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .recent-downloads-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .hot-keyword-btn {
            padding: 6px 16px;
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--glass-border);
            border-radius: 100px;
            color: var(--text-dim);
            font-size: 12px;
            font-family: var(--font-mono);
            cursor: pointer;
            transition: all 0.2s;
            letter-spacing: 0.5px;
        }
        .hot-keyword-btn:hover {
            border-color: rgba(255,0,60,0.3);
            color: var(--accent-red);
        }
        .hot-keyword-count {
            color: var(--text-muted);
            font-size: 10px;
            opacity: 0.5;
            margin-left: 2px;
        }
        .recent-download-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--glass-border);
            border-radius: 14px;
            font-family: var(--font-mono);
            font-size: 12px;
        }
        .recent-download-icon {
            color: var(--text-dim);
            font-size: 14px;
        }
        .recent-download-body {
            flex: 1;
            min-width: 0;
        }
        .recent-download-title {
            color: var(--text-pure);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 13px;
            font-family: var(--font-display);
            font-weight: 600;
        }
        .recent-download-artist {
            color: var(--text-dim);
            font-size: 11px;
            margin-top: 2px;
        }
        .recent-download-platform {
            font-size: 10px;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        /* 磁性按钮 */
        .magnetic-wrap { display: inline-block; flex: 0 0 auto; padding: 16px; margin: -16px; }
        .btn-download {
            background: var(--text-pure); color: #000;
            border: none; min-height: 48px; padding: 0 34px; border-radius: 24px;
            font-weight: 900; font-family: var(--font-display); font-size: 13px;
            text-transform: uppercase; letter-spacing: 2px; white-space: nowrap;
            transition: background 0.4s, color 0.4s, box-shadow 0.4s;
        }
        .magnetic-wrap:hover .btn-download {
            background: var(--accent-red); color: white;
            box-shadow: 0 0 50px var(--accent-red);
        }
        .btn-download:disabled { opacity: 0.4; }
        .btn-download.btn-download-busy {
            opacity: 0.5;
            pointer-events: none;
        }

        /* 平台检测标签 */
        .platform-tag {
            display: inline-flex; align-items: center; gap: 6px;
            margin-top: 14px; padding: 6px 16px;
            background: rgba(255, 0, 60, 0.08); border: 1px solid rgba(255, 0, 60, 0.2);
            border-radius: 100px; font-size: 12px; font-family: var(--font-mono);
            color: var(--accent-red); letter-spacing: 1px;
            opacity: 0; transform: translateY(calc(var(--hero-stack-offset) + 4px + var(--lyrics-ribbon-upshift))); transition: all 0.3s ease;
        }
        .platform-tag.visible { opacity: 1; transform: translateY(calc(var(--hero-stack-offset) + var(--lyrics-ribbon-upshift))); }
        .zone-badge { font-size: 10px; padding: 2px 6px; border-radius: 3px; margin-left: 6px; font-weight: 600; }
        .zone-badge.server { background: rgba(46,204,113,0.15); color: #2ecc71; }

        /* 格式选择 */
        .format-section {
            display: flex; align-items: center; gap: 12px;
            margin-top: 22px; flex-wrap: wrap; justify-content: center;
            transform: translateY(calc(-26px + var(--hero-stack-offset) + var(--lyrics-ribbon-upshift)));
            position: relative; z-index: 6;
        }
        .format-label { font-size: 13px; color: var(--text-dim); margin-right: 2px; font-family: var(--font-mono); letter-spacing: 1px; }
        .format-btn {
            min-height: 38px; padding: 0 20px; background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.16); border-radius: 999px;
            color: rgba(255,255,255,0.82); font-size: 12px; font-family: var(--font-mono);
            font-weight: 800; cursor: pointer; transition: all 0.2s; letter-spacing: 1px;
        }
        .format-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text-pure); }
        .format-btn.active {
            background: rgba(255, 0, 60, 0.2); border-color: rgba(255, 40, 86, 0.88); color: #fff;
            box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 26px rgba(255,0,60,0.16);
        }

        /* === 歌词飘带 === */
        .lyrics-ribbon {
            width: 100%; max-width: 100vw; padding: 20px 0; background: var(--accent-red);
            transform: rotate(-3.5deg) scale(1.05);
            transform-origin: 50% 50%;
            contain: paint;
            box-shadow: 0 30px 80px rgba(255, 0, 60, 0.4), inset 0 2px 5px rgba(255,255,255,0.3);
            overflow: hidden; white-space: nowrap; display: flex; align-items: center;
            margin: -10px 0 96px; position: relative; z-index: 5;
            top: var(--lyrics-ribbon-upshift);
            box-sizing: border-box;
        }
        .lyrics-content {
            display: inline-block; font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px);
            font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 3px;
            animation: ribbonScroll 40s linear infinite;
            animation-play-state: running;
            will-change: transform;
        }
        .lyrics-content.paused { animation-play-state: paused; }
        .lyrics-content > span { margin: 0 30px; -webkit-text-stroke: 1px rgba(255,255,255,0.6); color: transparent; }
        .lyrics-content > span.solid { color: #fff; -webkit-text-stroke: 0; }
        .lyric-marquee-separator { margin: 0 24px; opacity: 0.3; }
        .lyrics-content .lyric-token { display: inline-block; margin: 0; }
        .lyrics-content > span.ribbon-wave {
            display: inline-flex; align-items: center; gap: 6px; margin: 0 28px;
            -webkit-text-stroke: 0; color: #fff; vertical-align: middle;
        }
        .ribbon-wave i {
            display: block; width: 5px; height: 18px; border-radius: 999px;
            background: currentColor; opacity: 0.78; animation: ribbonBeat 1.2s ease-in-out infinite;
        }
        .ribbon-wave i:nth-child(2) { animation-delay: 0.12s; }
        .ribbon-wave i:nth-child(3) { animation-delay: 0.24s; }
        .ribbon-wave i:nth-child(4) { animation-delay: 0.36s; }
        @keyframes ribbonBeat {
            0%, 100% { transform: scaleY(0.42); opacity: 0.42; }
            45% { transform: scaleY(1.35); opacity: 1; }
        }
        @keyframes ribbonScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

        /* === 任务区 === */
        .section-wrap {
            width: min(1200px, 100vw); max-width: none; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px) 40px;
            position: relative; z-index: 10;
        }
        .lower-atmosphere {
            position: relative;
            isolation: isolate;
            z-index: 9;
            background-color: transparent;
            background-image: none;
            overflow: hidden;
        }
        .lower-atmosphere::before {
            content: none;
            position: absolute;
            inset: 0;
            z-index: -1;
            pointer-events: none;
        }
        .section-header {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 16px;
        }
        .section-title {
            font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -1px;
        }
        .section-meta {
            font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 2px;
        }

        /* 名额条 */
        .quota-bar {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 18px; background: var(--glass-surface);
            border: 1px solid var(--glass-border); border-radius: 16px;
            margin-bottom: 14px; font-size: 12px; font-family: var(--font-mono);
            color: var(--text-dim); letter-spacing: 1px; transition: all 0.3s;
            backdrop-filter: blur(20px);
            box-shadow: var(--glass-shadow);
        }
        .quota-bar.warning { border-color: rgba(243, 156, 18, 0.3); background: rgba(243, 156, 18, 0.05); }
        .quota-bar.full { border-color: rgba(231, 76, 60, 0.3); background: rgba(231, 76, 60, 0.05); }
        .quota-dots { display: flex; gap: 5px; }
        .quota-dot {
            width: 10px; height: 10px; border-radius: 50%;
            background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); transition: all 0.3s;
        }
        .quota-dot.used { background: var(--accent-red); border-color: var(--accent-red); }
        .tasks-filter-bar { margin-bottom: 12px; }
        .tasks-filter-input {
            width: 100%;
            padding: 8px 12px;
            box-sizing: border-box;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 8px;
            background: rgba(0,0,0,0.3);
            color: var(--text-pure);
            font-size: 12px;
            font-family: var(--font-mono);
            outline: none;
        }
        .dj-library-quality {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            margin: 0 0 12px;
            padding: 9px 12px;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 8px;
            background: rgba(255,255,255,0.025);
            color: var(--text-dim);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .dj-library-quality.is-hidden { display: none; }
        .dj-library-quality-label {
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 10px;
        }
        .dj-library-quality-value {
            color: var(--text-pure);
            font-weight: 700;
        }
        .dj-library-quality-action {
            flex: 1 1 190px;
            color: var(--accent-cyan);
            text-align: right;
        }
        .dj-library-quality-mixer {
            flex: 0 0 auto;
            color: var(--text-pure);
            text-decoration: none;
            border: 1px solid rgba(0,212,255,0.35);
            border-radius: 6px;
            padding: 5px 8px;
            background: rgba(0,212,255,0.08);
        }
        .dj-library-quality-mixer.is-hidden { display: none; }
        .dj-library-quality-focus {
            flex: 0 0 auto;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 6px;
            padding: 5px 8px;
            background: rgba(255,255,255,0.035);
            color: var(--text-dim);
            font-family: var(--font-mono);
            font-size: 11px;
            cursor: pointer;
        }
        .dj-library-quality-analyze {
            flex: 0 0 auto;
            border-color: rgba(0,212,255,0.25);
            border-radius: 6px;
            padding: 5px 8px;
            color: var(--accent-cyan);
            background: rgba(0,212,255,0.07);
            font-family: var(--font-mono);
            font-size: 11px;
            cursor: pointer;
        }
        .dj-library-quality-metadata {
            flex: 0 0 auto;
            border-color: rgba(0,212,255,0.25);
            border-radius: 6px;
            padding: 5px 8px;
            color: var(--accent-cyan);
            background: rgba(0,212,255,0.07);
            font-family: var(--font-mono);
            font-size: 11px;
            cursor: pointer;
        }
        .dj-library-quality-restore {
            flex: 0 0 auto;
            border-color: rgba(0,212,255,0.25);
            border-radius: 6px;
            padding: 5px 8px;
            color: var(--accent-cyan);
            background: rgba(0,212,255,0.07);
            font-family: var(--font-mono);
            font-size: 11px;
            cursor: pointer;
        }
        .dj-library-quality-refresh {
            flex: 0 0 auto;
            border-color: rgba(0,212,255,0.25);
            border-radius: 6px;
            padding: 5px 8px;
            color: var(--accent-cyan);
            background: rgba(0,212,255,0.07);
            font-family: var(--font-mono);
            font-size: 11px;
            cursor: pointer;
        }
        .dj-library-quality-focus:hover,
        .dj-library-quality-analyze:hover,
        .dj-library-quality-metadata:hover,
        .dj-library-quality-restore:hover,
        .dj-library-quality-refresh:hover {
            border-color: rgba(255,255,255,0.22);
            color: var(--text-pure);
        }
        .dj-library-quality-focus.is-hidden,
        .dj-library-quality-analyze.is-hidden,
        .dj-library-quality-metadata.is-hidden,
        .dj-library-quality-restore.is-hidden,
        .dj-library-quality-refresh.is-hidden { display: none; }
        @media (max-width: 520px) {
            .dj-library-quality {
                align-items: flex-start;
                gap: 8px;
            }
            .dj-library-quality-action {
                flex-basis: 100%;
                order: 4;
                text-align: left;
            }
        }

        /* === 任务卡片 — 玻璃态 Bento === */
        #tasks-section { margin-bottom: 30px; }
        .task-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }

        .task-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.018), rgba(255,255,255,0.004)), var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 18px; padding: 14px 18px;
            backdrop-filter: blur(5px) saturate(180%) brightness(150%); -webkit-backdrop-filter: blur(5px) saturate(180%) brightness(150%);
            position: relative; overflow: hidden;
            box-shadow: var(--glass-shadow);
            transition: opacity 0.4s, transform 0.4s;
            animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .task-card.is-deleting {
            opacity: 0;
            transform: translateX(20px) scale(0.95);
            pointer-events: none;
        }
        .task-card.is-dragging {
            opacity: 0.4;
        }
        .task-card::before {
            content: ""; position: absolute; inset: 1px; border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(255,255,255,0.055), transparent 36%);
            opacity: 0.72;
        }
        .task-card.active-task { border-left: 3px solid rgba(255,0,60,0.6); }
        .task-card.analyzing-task { border-left: 3px solid rgba(255,165,0,0.6); }
        .task-metadata-editor {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto auto;
            gap: 8px;
            align-items: center;
            margin-top: 10px;
            padding: 10px;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 10px;
            background: rgba(255,255,255,0.025);
        }
        .task-metadata-editor.is-hidden { display: none; }
        .task-metadata-suggestion {
            grid-column: 1 / -1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            min-width: 0;
            padding: 8px 9px;
            border: 1px solid rgba(0,212,255,0.14);
            border-radius: 8px;
            background: rgba(0,212,255,0.045);
        }
        .task-metadata-suggestion-copy {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        .task-metadata-suggestion-label {
            color: var(--text-muted);
            font: 10px var(--font-mono);
        }
        .task-metadata-suggestion-value {
            color: var(--text-pure);
            font: 11px var(--font-mono);
            overflow-wrap: anywhere;
        }
        .task-metadata-input {
            min-width: 0;
            box-sizing: border-box;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 7px;
            padding: 7px 9px;
            background: rgba(0,0,0,0.32);
            color: var(--text-pure);
            font: 11px var(--font-mono);
            outline: none;
        }
        .task-metadata-input:focus { border-color: rgba(0,212,255,0.35); }
        .task-action-metadata,
        .task-action-dj-refresh,
        .task-action-restore-local,
        .task-metadata-save,
        .task-metadata-cancel,
        .task-metadata-suggestion-apply {
            border: 1px solid rgba(0,212,255,0.22);
            color: var(--accent-cyan);
            background: rgba(0,212,255,0.07);
        }
        .task-metadata-suggestion-apply { white-space: nowrap; }
        .task-metadata-cancel {
            border-color: rgba(255,255,255,0.12);
            color: var(--text-dim);
            background: rgba(255,255,255,0.035);
        }
        @media (max-width: 640px) {
            .task-metadata-editor { grid-template-columns: 1fr; }
            .task-metadata-suggestion {
                align-items: flex-start;
                flex-direction: column;
            }
        }
        @keyframes cardSlideIn {
            from { opacity: 0; transform: translateY(16px) scale(0.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        /* 流光扫描线 */
        .task-card::after {
            content: ""; position: absolute; top: -100%; left: -100%; width: 50%; height: 300%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
            transform: rotate(45deg); transition: 0.8s; pointer-events: none;
        }
        .task-card:hover::after { top: -50%; left: 150%; transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
        .task-card:hover { border-color: rgba(255,255,255,0.15); }
        .task-card[draggable="true"] { cursor: grab; }
        .task-card[draggable="true"]:active { cursor: grabbing; }
        .task-card.drag-over { border-color: var(--accent-red) !important; border-style: dashed !important; }
        .task-card > * { position: relative; z-index: 1; }

        .task-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 12px; }
        .task-platform {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 3px 10px; border-radius: 100px; font-size: 10px;
            font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
            font-family: var(--font-mono);
        }
        .task-platform.soundcloud { background: rgba(255, 85, 0, 0.1); color: #ff5500; }
        .task-platform.youtube { background: rgba(255, 0, 0, 0.1); color: #ff4444; }
        .task-platform.beatport { background: rgba(150, 50, 255, 0.1); color: #9632ff; }
        .task-platform.tidal { background: rgba(0, 0, 0, 0.3); color: #ffffff; }
        .task-platform.qobuz { background: rgba(30, 120, 220, 0.1); color: #1e78dc; }
        .task-platform.netease { background: rgba(226,47,47,0.1); color: #e22f2f; }
        .task-platform.qqmusic { background: rgba(49,194,124,0.1); color: #31c27c; }
        .task-platform.kugou { background: rgba(15,117,255,0.1); color: #0f75ff; }
        .task-platform.kuwo { background: rgba(255,160,16,0.1); color: #ffa010; }
        .task-platform.migu { background: rgba(218,37,73,0.1); color: #da2549; }
        .task-platform.bilibili { background: rgba(0,174,236,0.1); color: #00aeec; }
        .task-platform.search { background: rgba(255,0,60,0.1); color: var(--accent-red); }
        .task-platform.other { background: rgba(255,255,255,0.05); color: #aaa; }

        .task-status {
            font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 6px;
            font-family: var(--font-mono); letter-spacing: 1px;
        }
        .task-status.downloading { color: var(--warning); }
        .task-status.completed { color: var(--success); }
        .task-status.error { color: var(--error); }
        .task-status.queued { color: var(--text-dim); }

        .task-url {
            font-size: 12px; color: var(--text-dim); font-family: var(--font-mono);
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
        }
        .task-title-text {
            color: var(--text-pure);
            font-family: var(--font-display);
            font-size: 13px;
            letter-spacing: 0;
        }
        .task-meta-summary {
            margin-top: 2px;
            color: var(--text-dim);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .task-filename-collision {
            color: var(--accent-yellow);
            overflow-wrap: anywhere;
        }
        .task-detail {
            margin-top: 6px; font-size: 10px; color: var(--text-dim);
            font-family: var(--font-mono); line-height: 1.5;
        }
        .task-attempts {
            margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px;
        }
        /* 下载进度条（精简版） */
        .task-progress-wrap { margin-top: 7px; }
        .task-progress-failed {
            display: block;
            margin-top: 6px;
            color: var(--accent-red);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .task-progress { height: 3px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; position: relative; }
        .task-progress-bar {
            height: 100%; border-radius: 999px;
            background: linear-gradient(90deg, #ff003c, #ff4060);
            transition: width 2s cubic-bezier(0.25, 0.1, 0.25, 1);
            box-shadow: 0 0 8px rgba(255,0,60,0.4);
        }
        .task-progress-width-0 { width: 0%; }
        .task-progress-width-1 { width: 1%; }
        .task-progress-width-2 { width: 2%; }
        .task-progress-width-3 { width: 3%; }
        .task-progress-width-4 { width: 4%; }
        .task-progress-width-5 { width: 5%; }
        .task-progress-width-6 { width: 6%; }
        .task-progress-width-7 { width: 7%; }
        .task-progress-width-8 { width: 8%; }
        .task-progress-width-9 { width: 9%; }
        .task-progress-width-10 { width: 10%; }
        .task-progress-width-11 { width: 11%; }
        .task-progress-width-12 { width: 12%; }
        .task-progress-width-13 { width: 13%; }
        .task-progress-width-14 { width: 14%; }
        .task-progress-width-15 { width: 15%; }
        .task-progress-width-16 { width: 16%; }
        .task-progress-width-17 { width: 17%; }
        .task-progress-width-18 { width: 18%; }
        .task-progress-width-19 { width: 19%; }
        .task-progress-width-20 { width: 20%; }
        .task-progress-width-21 { width: 21%; }
        .task-progress-width-22 { width: 22%; }
        .task-progress-width-23 { width: 23%; }
        .task-progress-width-24 { width: 24%; }
        .task-progress-width-25 { width: 25%; }
        .task-progress-width-26 { width: 26%; }
        .task-progress-width-27 { width: 27%; }
        .task-progress-width-28 { width: 28%; }
        .task-progress-width-29 { width: 29%; }
        .task-progress-width-30 { width: 30%; }
        .task-progress-width-31 { width: 31%; }
        .task-progress-width-32 { width: 32%; }
        .task-progress-width-33 { width: 33%; }
        .task-progress-width-34 { width: 34%; }
        .task-progress-width-35 { width: 35%; }
        .task-progress-width-36 { width: 36%; }
        .task-progress-width-37 { width: 37%; }
        .task-progress-width-38 { width: 38%; }
        .task-progress-width-39 { width: 39%; }
        .task-progress-width-40 { width: 40%; }
        .task-progress-width-41 { width: 41%; }
        .task-progress-width-42 { width: 42%; }
        .task-progress-width-43 { width: 43%; }
        .task-progress-width-44 { width: 44%; }
        .task-progress-width-45 { width: 45%; }
        .task-progress-width-46 { width: 46%; }
        .task-progress-width-47 { width: 47%; }
        .task-progress-width-48 { width: 48%; }
        .task-progress-width-49 { width: 49%; }
        .task-progress-width-50 { width: 50%; }
        .task-progress-width-51 { width: 51%; }
        .task-progress-width-52 { width: 52%; }
        .task-progress-width-53 { width: 53%; }
        .task-progress-width-54 { width: 54%; }
        .task-progress-width-55 { width: 55%; }
        .task-progress-width-56 { width: 56%; }
        .task-progress-width-57 { width: 57%; }
        .task-progress-width-58 { width: 58%; }
        .task-progress-width-59 { width: 59%; }
        .task-progress-width-60 { width: 60%; }
        .task-progress-width-61 { width: 61%; }
        .task-progress-width-62 { width: 62%; }
        .task-progress-width-63 { width: 63%; }
        .task-progress-width-64 { width: 64%; }
        .task-progress-width-65 { width: 65%; }
        .task-progress-width-66 { width: 66%; }
        .task-progress-width-67 { width: 67%; }
        .task-progress-width-68 { width: 68%; }
        .task-progress-width-69 { width: 69%; }
        .task-progress-width-70 { width: 70%; }
        .task-progress-width-71 { width: 71%; }
        .task-progress-width-72 { width: 72%; }
        .task-progress-width-73 { width: 73%; }
        .task-progress-width-74 { width: 74%; }
        .task-progress-width-75 { width: 75%; }
        .task-progress-width-76 { width: 76%; }
        .task-progress-width-77 { width: 77%; }
        .task-progress-width-78 { width: 78%; }
        .task-progress-width-79 { width: 79%; }
        .task-progress-width-80 { width: 80%; }
        .task-progress-width-81 { width: 81%; }
        .task-progress-width-82 { width: 82%; }
        .task-progress-width-83 { width: 83%; }
        .task-progress-width-84 { width: 84%; }
        .task-progress-width-85 { width: 85%; }
        .task-progress-width-86 { width: 86%; }
        .task-progress-width-87 { width: 87%; }
        .task-progress-width-88 { width: 88%; }
        .task-progress-width-89 { width: 89%; }
        .task-progress-width-90 { width: 90%; }
        .task-progress-width-91 { width: 91%; }
        .task-progress-width-92 { width: 92%; }
        .task-progress-width-93 { width: 93%; }
        .task-progress-width-94 { width: 94%; }
        .task-progress-width-95 { width: 95%; }
        .task-progress-width-96 { width: 96%; }
        .task-progress-width-97 { width: 97%; }
        .task-progress-width-98 { width: 98%; }
        .task-progress-width-99 { width: 99%; }
        .task-progress-width-100 { width: 100%; }
        .task-progress-bar.indeterminate {
            width: 34% !important;
            position: absolute;
            animation: progressIndeterminate 1.15s ease-in-out infinite;
        }
        .task-progress-bar.analyzing {
            background: linear-gradient(90deg, #ff8c00, #ffa500);
            box-shadow: 0 0 8px rgba(255,165,0,0.4);
            animation: analyzePulse 1.5s ease-in-out infinite;
        }
        @keyframes analyzePulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        @keyframes progressIndeterminate {
            0% { transform: translateX(-120%); opacity: 0.35; }
            45% { opacity: 1; }
            100% { transform: translateX(320%); opacity: 0.35; }
        }
        .task-progress-label {
            display: flex; justify-content: space-between; align-items: center;
            margin-top: 4px; font-size: 9px; color: var(--text-muted);
            font-family: var(--font-mono); letter-spacing: 0.5px;
        }
        .task-resolve-hint {
            margin-top: 6px;
            padding: 7px 9px;
            border-radius: 8px;
            background: rgba(255, 165, 0, 0.08);
            border: 1px solid rgba(255, 165, 0, 0.16);
            color: rgba(255,255,255,0.58);
            font-family: var(--font-mono);
            font-size: 10px;
            line-height: 1.45;
        }
        .task-diagnostics {
            margin-top: 6px;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        .task-diagnostic-chip {
            border: 1px solid rgba(255,255,255,0.08);
            background: rgba(255,255,255,0.04);
            color: rgba(255,255,255,0.48);
            border-radius: 999px;
            padding: 3px 7px;
            font-family: var(--font-mono);
            font-size: 9px;
            line-height: 1.2;
        }
        .task-analysis-hint {
            margin-top: 6px;
            color: rgba(255,255,255,0.62);
            font-family: var(--font-mono);
            font-size: 10px;
            line-height: 1.45;
        }
        .task-error {
            margin-top: 8px;
            color: var(--error);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .task-error-details {
            margin-top: 4px;
        }
        .task-error-summary {
            cursor: pointer;
            color: var(--text-muted);
            font-size: 10px;
        }
        .task-error-pre {
            max-height: 80px;
            margin-top: 4px;
            overflow: auto;
            color: var(--text-muted);
            font-size: 10px;
            white-space: pre-wrap;
            word-break: break-all;
        }

        /* 分析标签 — DJ 核心信息，需要醒目 */
        .analysis-bar {
            display: flex; align-items: center; gap: 6px; margin-top: 14px; flex-wrap: wrap;
            padding: 10px 14px; border-radius: 14px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .analysis-tag {
            display: inline-flex; align-items: center; gap: 4px;
            padding: 6px 14px; border-radius: 10px; font-size: 13px;
            font-weight: 800; font-family: var(--font-mono); letter-spacing: 0.5px;
            border: 1px solid transparent;
        }
        .analysis-tag.bpm {
            background: rgba(255, 165, 0, 0.12); color: #ffb733;
            border-color: rgba(255, 165, 0, 0.2);
            font-size: 15px;
        }
        .analysis-tag.key {
            background: rgba(0, 200, 255, 0.12); color: #33d6ff;
            border-color: rgba(0, 200, 255, 0.2);
            font-size: 15px;
        }
        .analysis-tag.camelot {
            background: rgba(150, 50, 255, 0.12); color: #c084fc;
            border-color: rgba(150, 50, 255, 0.2);
            font-size: 15px;
        }
        .analysis-tag.duration { background: rgba(255, 255, 255, 0.04); color: var(--text-dim); font-weight: 400; font-size: 12px; }
        .camelot-chip { cursor: help; }

        .btn-analyze {
            padding: 4px 14px; background: rgba(255,255,255,0.04);
            border: 1px solid var(--glass-border); border-radius: 100px;
            color: var(--text-dim); font-size: 11px; font-family: var(--font-mono);
            cursor: pointer; transition: all 0.2s; letter-spacing: 1px;
        }
        .btn-analyze:hover { background: rgba(255,165,0,0.08); border-color: rgba(255,165,0,0.3); color: #ffa500; }
        .btn-analyze:disabled { opacity: 0.5; cursor: not-allowed; }
        .analysis-pending { display:inline-flex;align-items:center;margin-top:6px;color:var(--text-dim);font-size:11px;font-family:var(--font-mono); }

        /* 迷你播放器 */
        .mini-player { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
        .btn-play {
            position: relative;
            flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
            border: 1px solid var(--glass-border); background: rgba(255,255,255,0.04);
            color: var(--text-dim); font-size: 14px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; transition: all 0.2s;
        }
        .btn-play:hover { background: rgba(255,0,60,0.12); border-color: var(--accent-red); color: var(--accent-red); }
        .waveform-container { flex: 1; min-width: 0; width: 100%; height: 80px; border-radius: 12px; overflow: hidden; background: #050505; position: relative; cursor: pointer !important; touch-action: none; border: 1px solid rgba(255,255,255,0.06); }
        .waveform-container canvas { width: 100%; height: 100%; display: block; }
        .waveform-canvas { width: 100%; height: 100%; pointer-events: none; }
        .waveform-render-host { width: 100%; height: 100%; display: block; }
        /* 波形播放进度遮罩 */
        .waveform-progress {
            position: absolute; top: 0; left: 0; width: 0%; height: 100%;
            background: rgba(255, 0, 60, 0.15); pointer-events: none; transition: width 0.1s linear;
        }
        .waveform-cursor {
            position: absolute; top: 0; right: -1px; width: 2px; height: 100%;
            background: var(--accent-red); box-shadow: 0 0 6px var(--accent-glow);
        }

        /* === 正在播放大卡片 === */
        .now-playing-card {
            width: min(1040px, calc(100vw - 96px)); margin: 18px auto 56px;
            padding: 0;
        }
        .now-playing-inner {
            background: var(--glass-bg); border: 1px solid var(--glass-border);
            border-radius: 24px; padding: 26px 30px;
            backdrop-filter: blur(3px) saturate(180%) brightness(155%); -webkit-backdrop-filter: blur(3px) saturate(180%) brightness(155%);
            display: flex; gap: 28px; align-items: center;
            position: relative; overflow: hidden;
            box-shadow: var(--glass-shadow);
            animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .now-playing-inner::after {
            content: ""; position: absolute; top: -100%; left: -100%; width: 50%; height: 300%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
            transform: rotate(45deg); transition: 0.8s; pointer-events: none;
        }
        .now-playing-inner:hover::after { top: -50%; left: 150%; }

        /* 封面 */
        .np-cover {
            flex-shrink: 0; width: 104px; height: 104px; border-radius: 18px;
            position: relative; overflow: hidden;
            box-shadow: 0 12px 30px rgba(0,0,0,0.5);
            background: rgba(255,255,255,0.06);
            display: flex; align-items: center; justify-content: center;
        }
        .np-cover::before {
            content: ""; width: 36px; height: 36px; opacity: 0.28;
            background: currentColor;
            color: rgba(255,255,255,0.36);
            -webkit-mask: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='14' r='5'/%3E%3Cpath d='M17 14V4l-7 2'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='14' r='5'/%3E%3Cpath d='M17 14V4l-7 2'/%3E%3C/svg%3E") center / contain no-repeat;
        }
        .np-cover:has(img)::before {
            display: none;
        }
        .np-cover img {
            width: 100%; height: 100%; object-fit: cover; display: block;
        }

        /* 信息区 */
        .np-info { flex: 1; min-width: 0; }
        .np-meta { font-family: var(--font-mono); font-size: 12px; color: var(--accent-red); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
        .np-title { font-family: var(--font-display); font-size: 25px; font-weight: 900; line-height: 1.08; letter-spacing: -1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .np-artist { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        /* 控制栏 */
        .np-controls { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
        .np-btn {
            position: relative;
            width: 44px; height: 44px; border-radius: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
            border: 1px solid rgba(255,255,255,0.12);
            color: var(--text-pure); display: flex; justify-content: center; align-items: center;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
            cursor: pointer !important; font-size: 14px;
            flex-shrink: 0;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
            touch-action: manipulation;
        }
        .np-btn:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); transform: translateY(-1px) scale(1.04); }
        .np-btn:active { transform: translateY(0) scale(0.96); }
        .np-btn:focus-visible,
        .btn-mute:focus-visible,
        .volume-slider:focus-visible {
            outline: 2px solid rgba(255,255,255,0.72);
            outline-offset: 3px;
        }
        .np-btn.main {
            width: 58px; height: 58px; background: var(--text-pure); color: #000; border-color: transparent;
            font-size: 16px;
            box-shadow: 0 12px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.65);
        }
        .np-btn.main:hover { background: var(--accent-red); color: white; box-shadow: 0 0 24px var(--accent-glow); }
        .np-btn.active { color: var(--accent-red); border-color: rgba(255,0,60,0.3); background: rgba(255,0,60,0.08); }
        .np-btn.small { width: 40px; height: 40px; font-size: 12px; }
        .np-skip-btn { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0; }
        .np-source-badge {
            display: inline;
            margin-left: 8px;
            padding: 1px 6px;
            border-radius: 3px;
            background: rgba(255,0,60,0.12);
            color: var(--accent-red);
            font-size: 10px;
            font-weight: 600;
        }

        /* 播放进度条 */
        .np-progress-wrap {
            margin-top: 14px; width: 100%;
        }
        .np-progress-bar-container {
            position: relative; width: 100%; height: 30px;
            cursor: pointer !important;
            display: flex; align-items: center;
            touch-action: none; /* 防止触摸拖动时页面滚动 */
        }
        .np-progress-bar-container::after {
            content: ""; position: absolute; left: 0; right: 0;
            top: 50%; transform: translateY(-50%);
            height: 4px; border-radius: 4px;
            background: rgba(255,255,255,0.08);
            pointer-events: none;
        }
        .np-progress-bar-container:hover::after { height: 6px; }
        .np-progress-fill {
            position: absolute; left: 0; top: 50%; transform: translateY(-50%);
            width: 100%; height: 4px; border: 0; border-radius: 4px;
            appearance: none; -webkit-appearance: none;
            background: transparent; overflow: hidden;
            transition: height 0.15s linear;
            z-index: 1;
        }
        .np-progress-fill::-webkit-progress-bar {
            background: transparent;
            border-radius: 4px;
        }
        .np-progress-fill::-webkit-progress-value {
            background: linear-gradient(90deg, var(--accent-red), #ff1a60);
            border-radius: 4px;
            box-shadow: 0 0 8px rgba(255, 0, 60, 0.3);
            transition: width 0.15s linear;
        }
        .np-progress-fill::-moz-progress-bar {
            background: linear-gradient(90deg, var(--accent-red), #ff1a60);
            border-radius: 4px;
            box-shadow: 0 0 8px rgba(255, 0, 60, 0.3);
            transition: width 0.15s linear;
        }
        .np-progress-bar-container:hover .np-progress-fill { height: 6px; }
        .np-time-row {
            display: flex; justify-content: space-between; margin-top: 6px;
            font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
            letter-spacing: 0.5px;
        }

        /* EQ 频谱 */
        .np-eq { display: flex; gap: 3px; align-items: flex-end; height: 24px; margin-left: 4px; order: 20; }
        .np-eq-bar { width: 3px; background: var(--accent-red); border-radius: 3px; animation: eqBounce 0.8s infinite alternate ease-in-out; }
        .np-eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
        .np-eq-bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
        .np-eq-bar:nth-child(3) { height: 55%; animation-delay: 0.0s; }
        .np-eq-bar:nth-child(4) { height: 100%; animation-delay: 0.4s; }
        .np-eq-bar:nth-child(5) { height: 35%; animation-delay: 0.2s; }
        @keyframes eqBounce { 0% { transform: scaleY(0.2); transform-origin: bottom; } 100% { transform: scaleY(1); transform-origin: bottom; } }
        .np-eq.paused .np-eq-bar { animation-play-state: paused; transform: scaleY(0.15); transition: 0.4s; }
        .now-playing-inner > * { position: relative; z-index: 1; }

        @media (max-width: 640px) {
            .scroller { --lyrics-ribbon-visual-height: 76px; }
            .now-playing-card { width: 100%; margin-bottom: 18px; padding: 0 12px; }
            .now-playing-inner {
                flex-direction: row;
                align-items: center;
                gap: 12px;
                padding: 12px 14px;
                border-radius: 18px;
            }
            .np-cover { width: 52px; height: 52px; border-radius: 12px; }
            .np-info { min-width: 0; width: 100%; }
            .np-meta,
            .np-artist,
            .np-eq,
            .np-time-row { display: none; }
            .np-title { font-size: 15px; letter-spacing: 0; }
            .np-controls { gap: 6px; flex-wrap: nowrap; margin-top: 8px; }
            .np-skip-btn { display: none; }
            .np-progress-wrap { margin-top: 8px; }
            .np-progress-bar-container { height: 22px; }
        }

        /* 操作按钮 */
        .btn-open-folder {
            display: inline-flex; align-items: center; gap: 5px;
            margin-top: 10px; padding: 6px 18px;
            background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.25);
            border-radius: 100px; color: #2ecc71; font-size: 12px; font-weight: 600;
            font-family: var(--font-mono); cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px;
        }
        .btn-open-folder:hover { background: rgba(46, 204, 113, 0.18); transform: translateY(-1px); }
        .task-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0;
        }
        .task-action-mixer {
            background: rgba(255,0,60,0.08);
            border-color: rgba(255,0,60,0.2);
            color: var(--accent-red);
        }
        .task-action-mixer:hover {
            background: rgba(255,0,60,0.14);
            border-color: rgba(255,0,60,0.3);
        }
        .task-action-retry {
            background: rgba(0,240,255,0.08);
            color: #00e5ff;
        }
        .task-action-retry:hover {
            background: rgba(0,240,255,0.14);
            border-color: rgba(0,240,255,0.24);
        }
        .btn-delete-task {
            display: inline-flex; align-items: center; gap: 5px;
            margin-top: 10px; margin-left: 8px; padding: 5px 14px;
            background: rgba(231,76,60,0.05); border: 1px solid rgba(231,76,60,0.12);
            border-radius: 100px; color: var(--text-dim); font-size: 11px;
            font-family: var(--font-mono); cursor: pointer; transition: all 0.2s;
        }
        .btn-delete-task:hover { background: rgba(231,76,60,0.1); color: var(--error); border-color: rgba(231,76,60,0.3); }

        /* === 空状态 === */
        .empty-state { text-align: center; padding: 48px 20px; color: var(--text-dim); }
        .empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.2; }
        .empty-state p { font-size: 13px; line-height: 1.8; font-family: var(--font-mono); letter-spacing: 1px; }
        .drop-link-empty {
            text-align: left;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            overflow: hidden;
            position: relative;
        }
        .drop-link-empty::after {
            content: none;
        }
        #empty-state {
            width: min(100vw, 1440px);
            margin-left: 50%;
            transform: translateX(-50%);
        }
        .drop-link-empty::before {
            content: none;
        }
        .drop-link-empty > * { position: relative; z-index: 1; }
        .drop-link-header {
            max-width: 1200px;
            margin: 0 auto 10px;
            padding: 0 clamp(20px, 4vw, 40px);
            display: block;
        }
        .drop-link-kicker,
        .asset-vault-kicker {
            display: inline-block;
            margin: 0 0 24px;
            font-family: var(--font-mono);
            font-size: 12px;
            line-height: 1;
            color: var(--clone-text-4);
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .drop-link-title {
            margin: 0;
            font-family: var(--font-main);
            font-size: clamp(32px, 4vw, 50px);
            line-height: 1.12;
            letter-spacing: -0.02em;
            color: var(--clone-text-1);
        }
        .drop-link-title em {
            font-style: normal;
            font-family: inherit;
            font-weight: inherit;
            color: inherit;
            background: none;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }
        .drop-link-copy {
            max-width: 640px;
            margin: 0;
            color: var(--clone-text-3);
            font-size: 17px;
            line-height: 1.6;
        }
        .drop-link-platforms {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.13);
            background: rgba(255,255,255,0.018);
        }
        .drop-platform-btn {
            min-height: 30px;
            padding: 0 14px;
            border: 0;
            border-radius: 999px;
            background: transparent;
            color: var(--clone-text-3);
            font-family: var(--font-mono);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
        }
        .drop-platform-btn.active,
        .drop-platform-btn[aria-pressed="true"] {
            color: #050509;
            background: linear-gradient(135deg, var(--clone-cool), var(--clone-warm));
        }
        .drop-link-dome {
            position: relative;
            width: 100%;
            height: 760px;
            margin-top: -8px;
            user-select: none;
            -webkit-user-select: none;
            touch-action: none;
            overflow: hidden;
            --segments-x: 35;
            --segments-y: 35;
            --radius: 680px;
            --overlay-blur-color: transparent;
            --tile-radius: 10px;
            --circ: calc(var(--radius) * 3.14);
            --rot-y: calc((360deg / var(--segments-x)) / 2);
            --rot-x: calc((360deg / var(--segments-y)) / 2);
            --item-width: calc(var(--circ) / var(--segments-x));
            --item-height: calc(var(--circ) / var(--segments-y));
        }
        .drop-link-dome *,
        .sonic-dome-sphere,
        .sonic-dome-tile,
        .drop-cover-tile { transform-style: preserve-3d; }
        .sonic-dome-main {
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            overflow: hidden;
            cursor: grab;
            z-index: 2;
        }
        .sonic-dome-main.dragging { cursor: grabbing; }
        .sonic-dome-stage {
            width: 100%;
            height: 100%;
            display: grid;
            place-items: center;
            perspective: var(--monthly-dome-perspective, calc(var(--radius) * 2));
            perspective-origin: 50% 50%;
            contain: layout paint size;
        }
        .sonic-dome-sphere {
            transform: translateZ(calc(var(--radius) * -1));
            will-change: transform;
        }
        .sonic-dome-edge {
            position: absolute;
            left: 0;
            right: 0;
            height: 72px;
            z-index: 5;
            pointer-events: none;
            background: none;
        }
        .sonic-dome-edge.top { top: 0; transform: rotate(180deg); }
        .sonic-dome-edge.bottom { bottom: 0; }
        .sonic-dome-tile {
            width: calc(var(--item-width) * var(--item-size-x, 2));
            height: calc(var(--item-height) * var(--item-size-y, 2));
            position: absolute;
            top: -999px;
            bottom: -999px;
            left: -999px;
            right: -999px;
            margin: auto;
            transform-origin: 50% 50%;
            backface-visibility: hidden;
            transform:
                rotateY(calc(var(--rot-y) * (var(--offset-x) + ((var(--item-size-x, 2) - 1) / 2))))
                rotateX(calc(var(--rot-x) * (var(--offset-y) - ((var(--item-size-y, 2) - 1) / 2))))
                translateZ(var(--radius));
        }
        .drop-cover-tile {
            position: absolute;
            inset: 10px;
            width: auto;
            height: auto;
            border: 0;
            border-radius: var(--tile-radius);
            padding: 0;
            background-color: transparent;
            background-image: var(--cover-bg, none);
            background-size: var(--cover-bg-size, cover);
            background-position: var(--cover-bg-position, center);
            background-repeat: no-repeat;
            cursor: pointer;
            overflow: hidden;
            -webkit-tap-highlight-color: transparent;
            transform: translateZ(0);
            box-shadow: none;
            transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
        }
        .drop-cover-tile:hover {
            transform: translateZ(10px) scale(1.035);
            filter: brightness(1.08) saturate(1.12);
        }
        .drop-cover-tile img {
            position: absolute;
            inset: 0;
            width: 100%; height: 100%; display: block; object-fit: cover;
            object-position: center;
            filter: saturate(1.05) contrast(1.04);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.18s ease;
        }
        .drop-cover-tile.cover-loaded img { opacity: 1; }
        .drop-cover-tile.cover-atlas img { opacity: 0; }
        .drop-cover-tile.cover-failed img { display: block; }
        .monthly-cover-loading {
            position: absolute;
            inset: -999px;
            margin: auto;
            width: 160px;
            height: 160px;
            border-radius: 32px;
            border: 1px solid rgba(255,255,255,0.08);
            background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012));
            box-shadow: 0 24px 80px rgba(0,0,0,0.42);
            animation: monthlyCoverPulse 1.4s ease-in-out infinite;
        }
        @keyframes monthlyCoverPulse {
            0%, 100% { opacity: 0.24; transform: scale(0.96); }
            50% { opacity: 0.54; transform: scale(1); }
        }
        .drop-link-footer {
            max-width: 1200px;
            margin: -54px auto 0;
            padding: 0 clamp(20px, 4vw, 40px);
            display: flex;
            justify-content: space-between;
            gap: 18px;
            color: var(--clone-text-4);
            font-family: var(--font-mono);
            font-size: 11px;
            letter-spacing: 0.08em;
        }
        .drop-link-footer strong { color: var(--text-pure); font-weight: 800; }

        /* === Velocity Bento Grid === */
        .bento-grid {
            max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px) 54px;
            display: grid; grid-template-columns: repeat(12, 1fr);
            gap: 14px; grid-auto-rows: minmax(112px, auto);
        }
        .platform-grid {
            position: relative;
            isolation: isolate;
        }
        .platform-grid::before,
        .platform-grid::after {
            content: none;
            display: none;
        }
        .bento-item {
            background:
                linear-gradient(145deg, rgba(255,255,255,0.014), rgba(255,255,255,0) 52%, rgba(255,255,255,0.006)),
                var(--glass-bg);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 20px; padding: 28px;
            backdrop-filter: blur(0.8px) saturate(155%) brightness(132%); -webkit-backdrop-filter: blur(0.8px) saturate(155%) brightness(132%);
            display: flex; flex-direction: column; justify-content: space-between;
            position: relative; overflow: hidden;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
            transition: all 0.3s;
            text-decoration: none; color: inherit;
        }
        .bento-item::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            background:
                linear-gradient(135deg, rgba(255,255,255,0.10), transparent 22%),
                linear-gradient(315deg, rgba(255,255,255,0.035), transparent 28%);
            opacity: 0.38;
        }
        .platform-grid .bento-item {
            background: rgba(255,255,255,0.0004);
            border-color: rgba(255,255,255,0.115);
            backdrop-filter: blur(0.4px) saturate(125%) brightness(112%);
            -webkit-backdrop-filter: blur(0.4px) saturate(125%) brightness(112%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
        }
        .platform-grid .bento-item::before,
        .platform-grid .bento-item::after {
            content: none;
            display: none;
        }
        /* 流光扫描线 */
        .bento-item::after {
            content: ""; position: absolute; top: -100%; left: -100%; width: 50%; height: 300%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
            transform: rotate(45deg); transition: 0.8s; pointer-events: none;
        }
        @media (hover: hover) and (pointer: fine) {
            .bento-item:hover::after { top: -50%; left: 150%; transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
            .bento-item:hover { border-color: rgba(255,255,255,0.24); transform: translateY(-3px); }
        }

        /* 尺寸变体 */
        .item-large { grid-column: span 8; grid-row: span 2; }
        .item-medium { grid-column: span 4; grid-row: span 2; }
        .item-small { grid-column: span 4; grid-row: span 1; align-items: center; justify-content: center; flex-direction: row; gap: 12px; padding: 24px; }
        .item-wide { grid-column: span 6; grid-row: span 1; }
        .platform-fill { grid-column: span 8; }
        .item-tool {
            grid-column: span 3; grid-row: span 1; padding: 24px 20px;
            display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px;
            background:
                linear-gradient(145deg, rgba(255,255,255,0.014), rgba(255,255,255,0.002) 58%, rgba(255,255,255,0.012)),
                rgba(255,255,255,0.002);
            border-top: 1px solid var(--glass-edge); cursor: pointer;
        }
        @media (hover: hover) and (pointer: fine) {
            .item-tool:hover {
                transform: translateY(-4px) scale(1.01); border-color: rgba(255, 255, 255, 0.2);
                background:
                    linear-gradient(145deg, rgba(255,255,255,0.028), rgba(255,255,255,0.003) 58%, rgba(255,255,255,0.015)),
                    rgba(255,255,255,0.006);
                box-shadow: inset 0 1px 2px rgba(255,255,255,0.18), 0 0 14px var(--hover-glow, rgba(255,255,255,0.08));
            }
        }
        .tool-icon-box { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); box-shadow: inset 0 2px 4px rgba(255,255,255,0.05); transition: all 0.3s ease; }
        @media (hover: hover) and (pointer: fine) {
            .item-tool:hover .tool-icon-box { background: var(--hover-glow-bg, rgba(255,255,255,0.1)); border-color: var(--hover-glow, rgba(255,255,255,0.3)); transform: scale(1.05); }
        }
        .tool-icon-box svg { width: 22px; height: 22px; stroke: var(--text-pure); transition: stroke 0.3s ease; }
        @media (hover: hover) and (pointer: fine) {
            .item-tool:hover .tool-icon-box svg { stroke: var(--hover-glow, #fff); filter: drop-shadow(0 0 8px var(--hover-glow, #fff)); }
        }
        .tool-text-group { display: flex; flex-direction: column; gap: 6px; }
        .tool-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-pure); letter-spacing: -0.5px; }
        .tool-desc { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.5px; line-height: 1.4; }

        /* 排版细节 */
        .bento-meta { font-family: var(--font-mono); font-size: 11px; color: var(--accent-red); text-transform: uppercase; letter-spacing: 1.5px; }
        .bento-meta-tomorrowland { color: #e4003a; }
        .bento-meta-netease { color: #e22f2f; }
        .bento-meta-soundcloud { color: #ff5500; }
        .bento-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-top: 12px; line-height: 1; letter-spacing: -2px; }
        .bento-title-with-icon { display: flex; align-items: center; gap: 14px; }
        .bento-brand-icon {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
        }
        .bento-brand-icon-muted { opacity: 0.62; }
        .bento-brand-icon-bright { opacity: 0.72; }
        .bento-desc { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-top: 8px; letter-spacing: 0.5px; line-height: 1.5; }
        .bento-status { font-family: var(--font-mono); font-size: 14px; font-weight: 700; opacity: 0.5; margin-top: auto; padding-top: 20px; letter-spacing: 2px; }
        .item-large .bento-status { font-size: clamp(32px, 5vw, 64px); opacity: 1; color: var(--text-pure); letter-spacing: -2px; text-align: right; font-family: var(--font-display); font-weight: 900; }
        .item-medium .bento-status { font-size: clamp(20px, 3vw, 32px); opacity: 0.8; color: var(--text-pure); letter-spacing: -1px; text-align: right; font-family: var(--font-display); font-weight: 900; }

        .platform-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
        .platform-icon-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }
        .platform-small-svg,
        .bento-small-icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }
        .platform-small-svg { display: block; }
        .platform-youtube-svg { color: #ff0033; }
        .audius-logo-mark { color: #fff; }
        .platform-label {
            font-family: var(--font-display); font-size: 18px; font-weight: 700;
            color: rgba(255,255,255,0.3); transition: all 0.4s; letter-spacing: -0.5px;
        }
        .bento-item:hover .platform-label { color: var(--text-pure); transform: scale(1.05); }
        .bento-item > * { position: relative; z-index: 1; }

        /* Bento 区域标题 */
        .bento-section-title {
            max-width: 1180px; margin: 0 auto; padding: 34px clamp(18px, 4vw, 48px) 14px;
            font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
            letter-spacing: 4px; text-transform: uppercase;
        }

        /* 管理员授权卡片 */
        .admin-auth-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .admin-auth-manual-actions {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 6px;
        }
        .admin-panel-shell { margin-top: 24px; }
        .admin-auth-action-area {
            margin-top: 6px;
            padding: 0 0 0 24px;
        }
        .admin-auth-action-row {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }
        .admin-auth-action-link {
            background: color-mix(in srgb, var(--btn-color, #888) 8%, transparent);
            border-color: color-mix(in srgb, var(--btn-color, #888) 28%, transparent);
        }
        .admin-auth-action-secondary {
            background: transparent;
            color: #777;
            border-color: #222;
        }
        .admin-auth-detail-wrap {
            white-space: normal;
        }
        .admin-auth-policy-probe {
            margin-top: 6px;
        }
        .admin-auth-manual-area {
            margin-top: 6px;
            padding: 0 0 0 24px;
        }
        .admin-auth-cookie-textarea {
            width: 100%;
            height: 82px;
            background: #050505;
            border: 1px solid #222;
            border-radius: 6px;
            color: #ccc;
            padding: 6px 8px;
            font-size: 11px;
            font-family: var(--font-mono);
            resize: vertical;
            box-sizing: border-box;
        }
        .admin-auth-manual-btn {
            margin-top: 4px;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 10px;
            cursor: pointer;
        }
        .admin-auth-manual-save {
            font-weight: 700;
        }
        .admin-auth-manual-save.admin-accent-netease {
            background: rgba(226,47,47,0.15);
            color: #e22f2f;
            border: 1px solid rgba(226,47,47,0.3);
        }
        .admin-auth-manual-save.admin-accent-youtube {
            background: rgba(255,0,51,0.15);
            color: #ff0033;
            border: 1px solid rgba(255,0,51,0.3);
        }
        .admin-auth-manual-cancel {
            background: transparent;
            color: #555;
            border: 1px solid #222;
        }
        .admin-auth-manual-link {
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 800;
            text-decoration: none;
            font-family: var(--font-mono);
        }
        .admin-auth-manual-link.admin-accent-youtube {
            background: rgba(255,0,51,0.08);
            color: #ff0033;
            border: 1px solid rgba(255,0,51,0.28);
        }
        .admin-platform-policy-area {
            margin-top: 6px;
            padding: 0 0 0 24px;
        }
        .admin-auth-card {
            padding: 14px 18px; background: rgba(255,255,255,0.026);
            border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
        }
        .admin-auth-header {
            display: grid;
            grid-template-columns: minmax(150px, 0.8fr) minmax(88px, auto) minmax(360px, 2.2fr);
            align-items: center; gap: 10px 12px;
        }
        .admin-auth-platform,
        .admin-auth-main,
        .admin-auth-actions {
            display: flex; align-items: center; min-width: 0;
        }
        .admin-auth-platform {
            gap: 10px;
        }
        .admin-auth-main {
            gap: 10px; flex-wrap: nowrap;
        }
        .admin-auth-actions {
            gap: 8px; justify-content: flex-start; flex-wrap: nowrap;
        }
        .admin-auth-icon {
            width: 22px; height: 22px; flex-shrink: 0; display: block;
        }
        .netease-logo-mark {
            border-radius: 50%;
            filter: drop-shadow(0 0 10px rgba(230,0,38,0.22));
        }
        .admin-auth-name {
            font-family: var(--font-mono); font-size: 14px; font-weight: 900;
            letter-spacing: 1.6px; color: rgba(255,255,255,0.78); min-width: 0;
        }
        .admin-auth-badge {
            padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 900;
            font-family: var(--font-mono); flex-shrink: 0;
            background: rgba(255,255,255,0.05); color: #555; border: 1px solid #222;
            text-align: center; min-width: 78px; min-height: 24px; line-height: 1;
            display: inline-flex; align-items: center; justify-content: center; align-self: center;
        }
        .admin-auth-badge.ok { background: rgba(0,255,85,0.08); color: #00ff55; border-color: rgba(0,255,85,0.2); }
        .admin-auth-badge.warn { background: rgba(255,170,0,0.08); color: #ffaa00; border-color: rgba(255,170,0,0.2); }
        .admin-auth-badge.err { background: rgba(255,50,50,0.08); color: #ff4444; border-color: rgba(255,50,50,0.2); }
        .admin-auth-detail {
            font-size: 12px; color: rgba(255,255,255,0.48); font-family: var(--font-mono);
            min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.45;
            display: inline-flex; align-items: center;
        }
        .admin-auth-btn {
            padding: 7px 13px; border-radius: 7px; font-size: 11px; font-weight: 900;
            cursor: pointer; transition: all 0.2s; font-family: var(--font-mono);
            background: rgba(128,128,128,0.08); color: var(--btn-color, #888);
            border: 1px solid rgba(128,128,128,0.15); flex-shrink: 0;
            text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
        }
        .admin-auth-btn:hover { filter: brightness(1.3); }
        .admin-auth-btn-primary {
            background: color-mix(in srgb, var(--btn-color, #00f0ff) 12%, transparent);
            color: var(--btn-color, #00f0ff);
            border: 1px solid color-mix(in srgb, var(--btn-color, #00f0ff) 25%, transparent);
        }
        .admin-accent-tidal { --btn-color: #00f0ff; }
        .admin-accent-netease { --btn-color: #e22f2f; }
        .admin-accent-youtube { --btn-color: #ff0033; }
        .admin-accent-audius { --btn-color: #a855f7; }
        .admin-accent-alert { --btn-color: #ffaa00; }
        .admin-auth-file-label { cursor: pointer; }
        .cookie-file-input-hidden { display: none; }
        .admin-auth-status-msg {
            font-size: 11px; color: rgba(255,255,255,0.44); font-family: var(--font-mono);
            min-width: 0; overflow-wrap: anywhere; line-height: 1.45;
            grid-column: 1 / -1;
            margin-top: 2px;
        }
        .admin-message-line { display: block; }
        .admin-auth-status-msg.is-status-success { color: #00ff55; }
        .admin-auth-status-msg.is-status-warning { color: #ffaa00; }
        .admin-auth-status-msg.is-status-error { color: #ff4444; }
        .admin-auth-status-msg.is-status-muted { color: #999; }
        .admin-auth-status-msg.is-status-youtube { color: #ff0033; }
        .admin-auth-status-msg.is-status-netease { color: #e22f2f; }
        .admin-auth-status-msg.is-status-tidal { color: #00f0ff; }
        .admin-auth-status-msg.is-status-audius { color: #a855f7; }
        #netease-qr-status.is-status-success { color: #00ff55; }
        #netease-qr-status.is-status-warning { color: #ffaa00; }
        #netease-qr-status.is-status-error { color: #ff4444; }
        #netease-qr-status.is-status-muted { color: #999; }
        #netease-qr-status.is-status-netease { color: #e22f2f; }
        #netease-qr-area {
            text-align: center; padding: 12px 0 2px; border-top: 1px solid rgba(255,255,255,0.06);
            margin-top: 12px;
        }
        #netease-qr-container {
            display: inline-block; background: #fff; padding: 10px; border-radius: 6px;
            box-shadow: 0 14px 34px rgba(0,0,0,0.32);
        }
        #netease-qr-status {
            margin-top: 7px; font-size: 11px; color: #999; font-family: var(--font-mono);
        }
        .netease-qr-image { display: block; }
        .netease-qr-fallback {
            width: 180px;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #111;
            font-size: 12px;
            line-height: 1.5;
        }

        /* 工具箱特殊项 */
        .bento-item.tool { cursor: pointer; }
        .bento-item.tool:hover { border-color: rgba(255,0,60,0.3); }
        .bento-item.tool input[type="file"] { display: none; }

        /* 解密结果 */
        .decrypt-result {
            max-width: 900px; margin: 0 auto; padding: 0 24px;
        }
        .decrypt-card {
            display: flex; align-items: center; gap: 12px; padding: 12px 20px;
            background: var(--glass-surface); border: 1px solid var(--glass-border);
            border-radius: 16px; backdrop-filter: blur(20px);
            box-shadow: var(--glass-shadow);
        }

        /* === 页脚 === */
        .footer {
            padding: 60px 0 30px; text-align: center;
            font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 3px;
        }

        /* === 搜索弹窗 === */
        .search-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            z-index: 200; display: none; align-items: center; justify-content: center;
            animation: fadeIn 0.2s ease;
        }
        .search-overlay.visible { display: flex; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .search-modal {
            background:
                linear-gradient(180deg, rgba(20,20,22,0.96), rgba(8,8,10,0.98));
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 20px; width: min(980px, calc(100vw - 96px)); max-width: none; max-height: 78vh;
            display: flex; flex-direction: column;
            box-shadow: 0 34px 110px rgba(0,0,0,0.82), inset 0 1px 0 rgba(255,255,255,0.08);
            animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            backdrop-filter: blur(22px) saturate(135%); -webkit-backdrop-filter: blur(22px) saturate(135%);
        }
        .search-modal:focus,
        .search-modal:focus-visible,
        .search-overlay :focus-visible {
            outline: none;
        }
        @keyframes modalSlide {
            from { opacity: 0; transform: translateY(24px) scale(0.96); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .search-modal-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 20px 24px 15px; border-bottom: 1px solid rgba(255,255,255,0.075);
        }
        .search-modal-title {
            font-family: var(--font-display); font-size: 21px; font-weight: 900; letter-spacing: -0.2px;
        }
        .search-modal-close {
            width: 32px; height: 32px; background: rgba(255,255,255,0.04);
            border: 1px solid var(--glass-border); border-radius: 10px;
            color: var(--text-dim); font-size: 16px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; transition: all 0.2s;
        }
        .search-modal-close:hover { background: rgba(255,255,255,0.08); color: var(--text-pure); }
        .search-results-list { flex: 1; overflow-y: auto; padding: 10px 16px 20px; }
        .search-batch-bar {
            display: none; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.06);
            background: rgba(0,0,0,0.4); backdrop-filter: blur(20px);
            align-items: center; gap: 10px; flex-shrink: 0;
        }
        .search-batch-bar.visible { display: flex; }
        .batch-select-all { padding: 5px 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: var(--text-muted); font-size: 11px; cursor: pointer; transition: all 0.15s; }
        .batch-select-all:hover { background: rgba(255,255,255,0.1); color: var(--text-pure); }
        .batch-download-btn { padding: 6px 18px; background: var(--primary); border: none; border-radius: 8px; color: #000; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
        .batch-download-btn:disabled { opacity: 0.4; cursor: not-allowed; }
        .batch-count { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); margin-left: auto; }
        .batch-progress { font-size: 11px; color: var(--text-pure); font-family: var(--font-mono); }
        .batch-progress.error { color: var(--accent-red); }
        .batch-progress.success { color: #00ffaa; }
        .search-result-cb {
            -webkit-appearance: none; appearance: none;
            position: relative; width: 20px; height: 20px;
            flex: 0 0 20px; margin: 0; cursor: pointer;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.18);
            background:
                linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.025)),
                rgba(8,8,10,0.66);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,0.20),
                inset 0 -10px 18px rgba(0,0,0,0.22),
                0 10px 24px rgba(0,0,0,0.24);
            backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
            transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
        }
        .search-result-cb::after {
            content: "";
            position: absolute; left: 5px; top: 2px;
            width: 6px; height: 10px;
            border: solid #fff; border-width: 0 2px 2px 0;
            transform: rotate(42deg) scale(0.55);
            opacity: 0;
            transition: opacity 0.14s ease, transform 0.14s ease;
        }
        .search-result-cb:hover {
            border-color: rgba(255,255,255,0.32);
            background:
                linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
                rgba(14,14,16,0.72);
        }
        .search-result-cb:disabled {
            opacity: 0.38;
            cursor: not-allowed;
        }
        .search-result-cb:active { transform: scale(0.92); }
        .search-result-cb:checked {
            border-color: rgba(255,255,255,0.55);
            background:
                linear-gradient(145deg, rgba(255,255,255,0.26), rgba(255,255,255,0.06)),
                linear-gradient(135deg, #ff003c, #b9002c);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,0.34),
                inset 0 -9px 16px rgba(60,0,12,0.34),
                0 0 0 1px rgba(255,255,255,0.10),
                0 12px 28px rgba(255,0,60,0.22);
        }
        .search-result-cb:checked::after {
            opacity: 1;
            transform: rotate(42deg) scale(1);
        }
        .search-result-cb:focus-visible {
            outline: none;
            border-color: rgba(255,255,255,0.62);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,0.26),
                0 0 0 3px rgba(255,255,255,0.10),
                0 12px 28px rgba(0,0,0,0.32);
        }
        .search-result-item {
            display: flex; align-items: center; gap: 14px;
            padding: 13px 15px; border-radius: 12px; cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
            border: 1px solid rgba(255,255,255,0.07);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
                rgba(255,255,255,0.018);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 30px rgba(0,0,0,0.22);
        }
        .search-result-item:has(.search-result-cb:checked) {
            background: rgba(255,255,255,0.045);
            border-color: rgba(255,255,255,0.16);
        }
        .search-result-item:hover { background: rgba(255,255,255,0.062); border-color: rgba(255,255,255,0.18); }
        .search-result-item:active { transform: scale(0.99); }
        .search-result-num { font-size: 12px; color: rgba(255,255,255,0.32); width: 28px; text-align: center; flex-shrink: 0; font-family: var(--font-mono); }
        .search-result-info { flex: 1; min-width: 0; }
        .search-result-titleline { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; flex-wrap: nowrap; }
        .search-result-name { min-width: 0; flex: 0 1 auto; font-size: 16px; font-weight: 800; color: var(--text-pure); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
        .search-result-meta { font-size: 12px; color: rgba(255,255,255,0.42); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-mono); }
        .search-result-cover,
        .search-result-cover-placeholder {
            width: 48px; height: 48px; border-radius: 9px;
            flex-shrink: 0; object-fit: cover;
            background: rgba(255,255,255,0.055);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
        }
        .search-result-cover-placeholder {
            display: flex; align-items: center; justify-content: center;
            background:
                radial-gradient(circle at 50% 36%, rgba(255,255,255,0.11), transparent 56%),
                linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018));
            color: rgba(255,255,255,0.44);
        }
        .search-result-cover-placeholder .cover-initial {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 900;
            line-height: 1;
            text-transform: uppercase;
        }
        .search-source-badge,
        .search-context-badge {
            flex: 0 0 auto;
            padding: 3px 8px;
            border-radius: 6px;
            border: 1px solid rgba(255,255,255,0.10);
            background: rgba(255,255,255,0.045);
            color: rgba(255,255,255,0.64);
            font-family: var(--font-mono);
            font-size: 9.5px;
            font-weight: 900;
            line-height: 1.25;
            white-space: nowrap;
        }
        .search-source-badge.netease { color:#ff6b6b; border-color:rgba(226,47,47,0.24); background:rgba(226,47,47,0.08); }
        .search-source-badge.qqmusic { color:#4ade80; border-color:rgba(49,194,124,0.24); background:rgba(49,194,124,0.08); }
        .search-source-badge.youtube,
        .search-source-badge.ytmusic { color:#ff7777; border-color:rgba(255,0,0,0.22); background:rgba(255,0,0,0.08); }
        .search-source-badge.soundcloud { color:#ff8a3d; border-color:rgba(255,85,0,0.22); background:rgba(255,85,0,0.08); }
        .search-source-badge.audius { color:#d8b4fe; border-color:rgba(168,85,247,0.22); background:rgba(168,85,247,0.075); }
        .search-source-badge.jamendo { color:#86efac; border-color:rgba(34,197,94,0.22); background:rgba(34,197,94,0.075); }
        .search-source-badge.internet_archive { color:#fde68a; border-color:rgba(245,158,11,0.22); background:rgba(245,158,11,0.075); }
        .search-source-badge.tidal { color:#f8fafc; border-color:rgba(255,255,255,0.18); background:rgba(255,255,255,0.07); }
        .search-context-badge { color: rgba(255,255,255,0.48); }
        .search-meta-muted { color: rgba(255,255,255,0.35); }
        .search-result-duration { font-size: 11px; color: var(--text-dim); flex-shrink: 0; font-family: var(--font-mono); }
        .search-result-dl {
            position: relative;
            flex-shrink: 0; width: 38px; height: 38px;
            background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.08); border-radius: 11px;
            color: var(--accent-red); font-size: 14px; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s; opacity: 1;
        }
        .search-result-action-visible { opacity: 1; }
        .search-result-dl.search-result-download-busy { opacity: 0.5; }
        .search-preview-btn { color: #fff; }
        .search-result-dl:hover { background: var(--accent-red); color: white; }
        .search-result-dl:disabled,
        .search-result-dl.preview-unavailable {
            opacity: 0.55;
            cursor: not-allowed;
            color: var(--text-muted);
            background: rgba(255,255,255,0.05);
        }
        .search-result-dl:disabled:hover,
        .search-result-dl.preview-unavailable:hover {
            color: var(--text-muted);
            background: rgba(255,255,255,0.05);
        }
        /* 试听/播放按钮加载动画：纯CSS旋转环 */
        .preview-loading { pointer-events: none; position: relative; color: rgba(255,255,255,0.25) !important; }
        .preview-loading::after {
            content: ""; position: absolute; top: 50%; left: 50%;
            width: 14px; height: 14px;
            transform: translate(-50%, -50%);
            transform-origin: 50% 50%;
            border: 2px solid rgba(255,255,255,0.12);
            border-top-color: var(--accent-red);
            border-radius: 50%;
            animation: spinRingCentered 0.7s linear infinite;
            margin: 0;
        }
        .btn-play.preview-loading::after,
        .np-btn.preview-loading::after {
            top: 50%;
            left: 50%;
            margin: 0;
            transform: translate(-50%, -50%);
        }
        .drop-cover-tile.preview-loading { opacity: 0.78; }
        .drop-cover-tile.preview-loading::after {
            width: 20px;
            height: 20px;
            border-width: 2.5px;
            background: rgba(0,0,0,0.28);
            box-shadow: 0 0 0 999px rgba(0,0,0,0.12);
        }
        /* 可下载性标识 */
        .dl-badge { font-size: 10px; margin-left: 4px; vertical-align: middle; }
        .dl-ok { color: #00ff88; }
        .dl-cross { color: #ffaa00; }
        .dl-no { color: #666; }
        .search-loading, .search-empty {
            text-align: center; padding: 40px 20px; color: var(--text-dim);
            font-size: 13px; font-family: var(--font-mono);
        }
        .search-loading-muted {
            color: #444;
            font-style: italic;
        }

        /* === 搜索加载动画 === */
        .search-loading-spinner {
            text-align: center; padding: 50px 20px;
        }
        .search-loading-spinner .spinner-ring {
            display: inline-block; width: 36px; height: 36px;
            border: 2px solid rgba(255,255,255,0.08);
            border-top: 2px solid var(--accent-red);
            border-radius: 50%; animation: spinRing 0.8s linear infinite;
            margin-bottom: 16px;
        }
        @keyframes spinRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        @keyframes spinRingCentered { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
        .search-loading-spinner .spinner-text {
            font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
            letter-spacing: 1px; animation: searchPulse 1.5s ease-in-out infinite;
        }
        .search-loading-spinner .spinner-sub {
            font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.2);
            margin-top: 8px; letter-spacing: 0.5px;
        }
        @keyframes searchPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

        /* === 搜索骨架屏 === */
        .search-skeleton {
            padding: 0 20px;
        }
        .search-skeleton-item {
            display: flex; align-items: center; gap: 12px;
            padding: 14px 0;
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .search-skeleton-cover {
            width: 44px; height: 44px; border-radius: 6px;
            background: rgba(255,255,255,0.04);
            flex-shrink: 0;
            animation: skeletonShimmer 1.5s ease-in-out infinite;
        }
        .search-skeleton-text {
            flex: 1; display: flex; flex-direction: column; gap: 8px;
        }
        .search-skeleton-line {
            height: 10px; border-radius: 4px;
            background: rgba(255,255,255,0.04);
            animation: skeletonShimmer 1.5s ease-in-out infinite;
        }
        .search-skeleton-line:nth-child(1) { width: 60%; }
        .search-skeleton-line:nth-child(2) { width: 40%; }
        .search-skeleton-btn {
            width: 36px; height: 28px; border-radius: 4px;
            background: rgba(255,255,255,0.04); flex-shrink: 0;
            animation: skeletonShimmer 1.5s ease-in-out infinite;
        }
        .search-skeleton-item:nth-child(2) .search-skeleton-cover,
        .search-skeleton-item:nth-child(2) .search-skeleton-line,
        .search-skeleton-item:nth-child(2) .search-skeleton-btn { animation-delay: 0.15s; }
        .search-skeleton-item:nth-child(3) .search-skeleton-cover,
        .search-skeleton-item:nth-child(3) .search-skeleton-line,
        .search-skeleton-item:nth-child(3) .search-skeleton-btn { animation-delay: 0.3s; }
        .search-skeleton-item:nth-child(4) .search-skeleton-cover,
        .search-skeleton-item:nth-child(4) .search-skeleton-line,
        .search-skeleton-item:nth-child(4) .search-skeleton-btn { animation-delay: 0.45s; }
        .search-skeleton-item:nth-child(5) .search-skeleton-cover,
        .search-skeleton-item:nth-child(5) .search-skeleton-line,
        .search-skeleton-item:nth-child(5) .search-skeleton-btn { animation-delay: 0.6s; }
        @keyframes skeletonShimmer {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 1; }
        }

        /* 潮汐进度线 — 下载路由解析/转码阶段的等待感知 */
        .tidal-progress-line {
            width: 100%; height: 2px; margin-top: 12px; border-radius: 2px;
            background: rgba(255,255,255,0.06); overflow: hidden; position: relative;
        }
        .tidal-progress-line::after {
            content: ''; position: absolute; top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
            animation: tidal-surge 2s ease-in-out infinite;
        }
        @keyframes tidal-surge {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        /* 解析中显示潮汐进度线 */
        .task-detail-message .tidal-progress-line { display: block; }

        /* 音轨呼吸灯 — 波形/音频加载等待 */
        .waveform-placeholder {
            display: flex; align-items: flex-end; justify-content: center;
            gap: 3px; height: 48px; padding: 8px 0;
        }
        .waveform-placeholder .bar {
            width: 3px; border-radius: 2px;
            background: rgba(255,255,255,0.12);
            animation: audio-breathe 1.2s ease-in-out infinite;
        }
        .waveform-placeholder .bar:nth-child(1) { height: 60%; animation-delay: 0s; }
        .waveform-placeholder .bar:nth-child(2) { height: 80%; animation-delay: 0.15s; }
        .waveform-placeholder .bar:nth-child(3) { height: 100%; animation-delay: 0.3s; }
        .waveform-placeholder .bar:nth-child(4) { height: 70%; animation-delay: 0.45s; }
        .waveform-placeholder .bar:nth-child(5) { height: 40%; animation-delay: 0.6s; }
        @keyframes audio-breathe {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.8; }
        }

        /* 玻璃搜索光晕 — 搜索进行中 */
        .glass-search-ring {
            width: 64px; height: 64px; margin: 24px auto; border-radius: 50%;
            background: radial-gradient(circle, rgba(255,0,60,0.06), transparent 70%);
            position: relative;
        }
        .glass-search-ring::after {
            content: ''; position: absolute; inset: 6px; border-radius: 50%;
            border: 2px solid transparent;
            border-top-color: rgba(255,255,255,0.14);
            border-right-color: rgba(255,255,255,0.07);
            animation: glass-ring-rotate 0.9s linear infinite;
        }
        @keyframes glass-ring-rotate {
            to { transform: rotate(360deg); }
        }

        /* 搜索结果渠道筛选 */
        .search-filter-bar {
            display: flex; gap: 6px; padding: 10px 16px;
            border-bottom: 1px solid var(--glass-border);
            overflow-x: auto; flex-shrink: 0;
            -webkit-overflow-scrolling: touch; /* iOS 弹性滚动 */
            scrollbar-width: none; /* Firefox 隐藏滚动条 */
            -ms-overflow-style: none;
        }
        .search-filter-bar.is-hidden { display: none; }
        .search-filter-bar::-webkit-scrollbar { display: none; }
        .search-filter-btn {
            padding: 6px 16px; border-radius: 100px; font-size: 11px;
            font-weight: 700; font-family: var(--font-mono);
            background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
            color: var(--text-dim); cursor: pointer; transition: all 0.2s;
            white-space: nowrap; letter-spacing: 0.5px;
        }
        .search-filter-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text-pure); }
        .search-filter-btn.active { background: var(--text-pure); color: var(--bg-base); border-color: var(--text-pure); }
        .filter-count { font-size: 10px; opacity: 0.7; margin-left: 2px; }
        .search-result-filter-wrap {
            display: flex; align-items: center; gap: 8px;
            padding: 0 16px 10px; border-bottom: 1px solid var(--glass-border);
            flex-shrink: 0;
        }
        .search-result-filter-wrap.is-hidden { display: none; }
        .search-result-filter-wrap input {
            flex: 1; min-width: 0; height: 34px;
            border-radius: 10px; border: 1px solid rgba(255,255,255,0.10);
            background: rgba(255,255,255,0.045); color: var(--text-pure);
            padding: 0 12px; font-size: 12px; font-family: var(--font-mono);
            outline: none;
        }
        .search-result-filter-wrap input::placeholder { color: rgba(255,255,255,0.32); }
        .search-result-filter-wrap input:focus {
            border-color: rgba(255,255,255,0.24);
            background: rgba(255,255,255,0.065);
        }
        .search-filter-clear {
            width: 34px; height: 34px; flex: 0 0 34px;
            border-radius: 10px; border: 1px solid rgba(255,255,255,0.10);
            background: rgba(255,255,255,0.045); color: var(--text-dim);
            cursor: pointer; transition: all 0.2s;
        }
        .search-filter-clear:hover { color: var(--text-pure); background: rgba(255,255,255,0.08); }
        .search-dj-meta {
            color: rgba(255,255,255,0.44);
            font-family: var(--font-mono);
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.4px;
            white-space: nowrap;
        }
        .search-empty-reset {
            margin-top: 14px; height: 34px; padding: 0 14px;
            border-radius: 10px; border: 1px solid rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.055); color: var(--text-pure);
            font-size: 11px; font-family: var(--font-mono); cursor: pointer;
        }
        .search-empty-reset:hover { background: rgba(255,255,255,0.09); }

        /* === 音量控制 === */
        .volume-wrap {
            --volume-pct: 80%;
            --volume-stretch: 1;
            --volume-squash: 1;
            --volume-origin: center;
            display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto;
            flex: 0 1 236px;
            min-width: 190px;
            order: 30;
            color: var(--text-dim);
        }
        .btn-mute {
            width: 32px; height: 32px; border-radius: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
            border: 1px solid rgba(255,255,255,0.12);
            color: var(--text-dim); font-size: 14px; cursor: pointer !important;
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
            flex-shrink: 0;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
            touch-action: manipulation;
        }
        .btn-mute:hover { background: rgba(255,255,255,0.10); color: var(--text-pure); transform: translateY(-1px) scale(1.04); }
        .btn-mute:active { transform: translateY(0) scale(0.96); }
        .btn-mute.is-muted { color: rgba(255,255,255,0.52); border-color: rgba(255,255,255,0.08); }
        .volume-elastic {
            display: flex; align-items: center; gap: 8px;
            min-width: 142px; height: 34px;
            user-select: none; touch-action: none;
        }
        .volume-edge {
            width: 18px; height: 18px; flex: 0 0 18px;
            display: inline-flex; align-items: center; justify-content: center;
            color: rgba(255,255,255,0.46);
            transition: transform 0.24s cubic-bezier(.2,.8,.2,1), color 0.2s ease, opacity 0.2s ease;
        }
        .volume-wrap:hover .volume-edge,
        .volume-wrap:focus-within .volume-edge,
        .volume-wrap.is-volume-dragging .volume-edge { color: rgba(255,255,255,0.74); }
        .volume-wrap.is-overflow-left .volume-edge.low { transform: translateX(-3px) scale(1.12); color: var(--accent-red); }
        .volume-wrap.is-overflow-right .volume-edge.high { transform: translateX(3px) scale(1.12); color: var(--accent-red); }
        .volume-slider-shell {
            position: relative; width: 92px; height: 34px;
            display: flex; align-items: center;
            transform: scaleX(var(--volume-stretch)) scaleY(var(--volume-squash));
            transform-origin: var(--volume-origin);
            transition: transform 0.34s cubic-bezier(.2,.9,.2,1.25);
        }
        .volume-slider {
            -webkit-appearance: none; appearance: none;
            position: relative; z-index: 2;
            width: 100%; height: 30px; border-radius: 999px;
            background: transparent; outline: none;
            cursor: grab !important; transition: opacity 0.2s;
            touch-action: none;
        }
        .volume-slider:active { cursor: grabbing !important; }
        .volume-slider::-webkit-slider-runnable-track {
            height: 7px; border-radius: 999px;
            background:
                linear-gradient(90deg, var(--accent-red) var(--volume-pct), rgba(255,255,255,0.16) var(--volume-pct)),
                rgba(255,255,255,0.08);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
            transition: height 0.2s ease, box-shadow 0.2s ease;
        }
        .volume-slider::-moz-range-track {
            height: 7px; border-radius: 999px;
            background:
                linear-gradient(90deg, var(--accent-red) var(--volume-pct), rgba(255,255,255,0.16) var(--volume-pct)),
                rgba(255,255,255,0.08);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
            transition: height 0.2s ease, box-shadow 0.2s ease;
        }
        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none; width: 16px; height: 16px;
            margin-top: -4.5px;
            border-radius: 50%; background: var(--text-pure);
            border: 2px solid rgba(0,0,0,0.55);
            cursor: grab !important; transition: transform 0.18s cubic-bezier(.2,.8,.2,1.35), box-shadow 0.18s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,0,60,0.10);
        }
        .volume-slider:hover::-webkit-slider-runnable-track,
        .volume-slider:focus-visible::-webkit-slider-runnable-track,
        .volume-wrap.is-volume-dragging .volume-slider::-webkit-slider-runnable-track {
            height: 11px;
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), 0 0 18px rgba(255,0,60,0.18);
        }
        .volume-slider:hover::-webkit-slider-thumb,
        .volume-slider:focus-visible::-webkit-slider-thumb,
        .volume-wrap.is-volume-dragging .volume-slider::-webkit-slider-thumb {
            transform: scale(1.18);
            box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 0 6px rgba(255,0,60,0.16);
        }
        .volume-slider::-moz-range-thumb {
            width: 16px; height: 16px; border-radius: 50%;
            background: var(--text-pure); border: 2px solid rgba(0,0,0,0.55); cursor: grab !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,0,60,0.10);
        }
        .volume-value {
            position: absolute; left: var(--volume-pct); top: -6px; z-index: 1;
            transform: translate(-50%, -50%) scale(0.94);
            min-width: 26px; padding: 2px 6px; border-radius: 999px;
            background: rgba(8,8,10,0.86); border: 1px solid rgba(255,255,255,0.10);
            color: var(--text-pure); font-family: var(--font-mono); font-size: 10px; font-weight: 800;
            text-align: center; pointer-events: none;
            opacity: 0; transition: opacity 0.18s ease, transform 0.18s cubic-bezier(.2,.8,.2,1.2);
            box-shadow: 0 8px 22px rgba(0,0,0,0.35);
        }
        .volume-wrap:hover .volume-value,
        .volume-wrap:focus-within .volume-value,
        .volume-wrap.is-volume-dragging .volume-value {
            opacity: 1;
            transform: translate(-50%, -68%) scale(1);
        }
        .volume-wrap.is-muted {
            --volume-pct: 0%;
        }
        .volume-wrap.is-muted .volume-slider { opacity: 0.42; }

        @media (prefers-reduced-motion: reduce) {
            .np-btn,
            .btn-mute,
            .volume-edge,
            .volume-slider-shell,
            .volume-slider::-webkit-slider-runnable-track,
            .volume-slider::-webkit-slider-thumb,
            .volume-value {
                transition: none !important;
            }
        }

        /* === Cookie 过期警告弹窗 === */
        .cookie-alert-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            z-index: 400; display: none; align-items: center; justify-content: center;
            animation: fadeIn 0.2s ease;
        }
        .cookie-alert-overlay.visible { display: flex; }
        .cookie-alert-card {
            background: rgba(15,15,15,0.95); border: 1px solid rgba(231, 76, 60, 0.3);
            border-radius: 24px; width: 90%; max-width: 440px;
            padding: 32px; box-shadow: 0 40px 120px rgba(231,76,60,0.15);
            animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            text-align: center;
        }
        .cookie-alert-icon {
            font-size: 48px; margin-bottom: 16px;
            filter: drop-shadow(0 0 20px rgba(231,76,60,0.4));
        }
        .cookie-alert-title {
            font-family: var(--font-display); font-size: 20px; font-weight: 800;
            color: var(--error); letter-spacing: -0.5px; margin-bottom: 12px;
        }
        .cookie-alert-desc {
            font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 24px;
        }
        .cookie-alert-actions { display: flex; gap: 12px; justify-content: center; }
        .cookie-alert-btn {
            padding: 10px 24px; border-radius: 100px; font-size: 13px;
            font-family: var(--font-mono); font-weight: 700; cursor: pointer;
            transition: all 0.2s; border: 1px solid transparent;
            min-height: 44px; /* iOS 触摸目标最小 44pt */
        }
        .cookie-alert-file-label { cursor: pointer; }
        .cookie-alert-btn.primary {
            background: rgba(231,76,60,0.15); border-color: rgba(231,76,60,0.4);
            color: #e74c3c;
        }
        .cookie-alert-btn.primary:hover {
            background: rgba(231,76,60,0.25); border-color: rgba(231,76,60,0.6);
        }
        .cookie-alert-btn.secondary {
            background: rgba(255,255,255,0.04); border-color: var(--glass-border);
            color: var(--text-dim);
        }
        .cookie-alert-btn.secondary:hover {
            background: rgba(255,255,255,0.08); color: var(--text-pure);
        }

        .tool-modal-overlay-shell {
            position: fixed;
            inset: 0;
            z-index: 9998;
            display: flex;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(24px) saturate(180%);
            align-items: center;
            justify-content: center;
        }
        .tool-modal-overlay-hidden {
            display: none;
        }
        .tool-modal-card {
            width: 520px;
            max-width: 92vw;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            background: rgba(15,15,18,0.6);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 32px;
            padding: 40px 36px 32px;
            box-shadow: 0 40px 100px rgba(0,0,0,0.9);
            overflow: hidden;
        }
        .tool-modal-card-id3 {
            width: 600px;
        }
        .tool-modal-card-forge {
            width: 560px;
        }
        .tool-modal-card-eq {
            width: 580px;
        }
        .tool-modal-card-harmonic {
            width: 720px;
        }
        .tool-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border);
            color: var(--text-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 2;
        }
        .tool-modal-heading {
            text-align: center;
            margin-bottom: 24px;
            flex-shrink: 0;
        }
        .tool-modal-title {
            font-family: var(--font-display);
            font-size: 24px;
            font-weight: 900;
        }
        .tool-modal-title-accent {
            color: var(--accent-red);
        }
        .tool-modal-title-accent-id3 {
            color: #00d4ff;
        }
        .tool-modal-title-accent-forge {
            color: #a855f7;
        }
        .tool-modal-title-accent-eq {
            color: #2ecc71;
        }
        .tool-modal-title-accent-harmonic {
            color: #f59e0b;
        }
        .tool-modal-subtitle {
            font-size: 11px;
            color: var(--text-dim);
            font-family: var(--font-mono);
            margin-top: 6px;
        }
        .tool-file-input-hidden { display: none; }
        .tool-dropzone-shell {
            border: 2px dashed rgba(255,255,255,0.15);
            background: rgba(0,0,0,0.3);
            border-radius: 20px;
            padding: 28px 16px;
            text-align: center;
            transition: all 0.4s;
            cursor: pointer;
        }
        .tool-dropzone-shell.is-drag-active {
            border-color: #2ecc71;
            background: rgba(46,204,113,0.08);
        }
        .tool-dropzone-shell.tool-dropzone-shell-unlock.is-drag-active {
            border-color: var(--accent-red);
            background: rgba(255,30,56,0.04);
        }
        .tool-dropzone-shell.tool-dropzone-shell-ncm.is-drag-active {
            border-color: var(--accent-red);
            background: rgba(255,0,60,0.08);
        }
        .tool-dropzone-shell.tool-dropzone-shell-id3.is-drag-active {
            border-color: #00d4ff;
            background: rgba(0,212,255,0.08);
        }
        .tool-dropzone-shell.tool-dropzone-shell-forge.is-drag-active {
            border-color: #a855f7;
            background: rgba(168,85,247,0.08);
        }
        .tool-dropzone-icon {
            font-size: 36px;
            color: var(--text-dim);
            margin-bottom: 8px;
        }
        .tool-dropzone-title {
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 1px;
        }
        .tool-dropzone-subtitle {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-dim);
            letter-spacing: 2px;
            margin-top: 6px;
        }
        .id3-feature-grid {
            margin-top: 16px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
        .id3-feature-card {
            background: rgba(0,212,255,0.04);
            border: 1px solid rgba(0,212,255,0.1);
            border-radius: 12px;
            padding: 12px 14px;
        }
        .id3-feature-label {
            font-family: var(--font-mono);
            font-size: 10px;
            color: #00d4ff;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }
        .id3-feature-copy {
            font-size: 11px;
            color: var(--text-dim);
        }
        .id3-editor-panel {
            margin-top: 16px;
        }
        .id3-editor-main-row {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }
        .id3-cover-column {
            width: 120px;
            flex-shrink: 0;
        }
        .id3-cover-wrap {
            width: 120px;
            height: 120px;
            border-radius: 16px;
            border: 2px dashed rgba(255,255,255,0.15);
            background: rgba(0,0,0,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            overflow: hidden;
            transition: all 0.3s;
            position: relative;
        }
        .id3-cover-placeholder {
            text-align: center;
        }
        .id3-cover-placeholder-icon {
            font-size: 28px;
            color: var(--text-dim);
        }
        .id3-cover-placeholder-copy {
            font-size: 9px;
            color: var(--text-muted);
            margin-top: 4px;
        }
        .id3-cover-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .id3-cover-action-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            margin-top: 8px;
        }
        .id3-metadata-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .id3-field-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 10px;
            margin-top: 12px;
        }
        .id3-field-label {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-dim);
            letter-spacing: 1px;
        }
        .id3-field-control {
            width: 100%;
            background: rgba(0,0,0,0.4);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 10px 12px;
            color: var(--text-pure);
            font-size: 13px;
            outline: none;
        }
        .id3-field-control-main {
            font-family: var(--font-main);
            transition: border 0.3s;
        }
        .id3-field-control-mono {
            font-family: var(--font-mono);
            transition: border 0.3s;
        }
        .id3-field-select {
            font-family: var(--font-mono);
            cursor: pointer;
        }
        .id3-field-control:focus {
            border-color: rgba(0,212,255,0.4);
        }
        .harmonic-add-row {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
        }
        .harmonic-field {
            background: rgba(0,0,0,0.4);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 10px 12px;
            color: var(--text-pure);
            font-size: 13px;
            outline: none;
        }
        .harmonic-field:focus {
            border-color: rgba(245,158,11,0.4);
        }
        .harmonic-field-main {
            flex: 2;
            font-family: var(--font-main);
            transition: border 0.3s;
        }
        .harmonic-field-bpm {
            flex: 0.6;
            font-family: var(--font-mono);
            transition: border 0.3s;
            text-align: center;
        }
        .harmonic-field-select {
            flex: 0.6;
            padding: 10px 8px;
            font-family: var(--font-mono);
            cursor: pointer;
        }
        .harmonic-add-btn {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            border: 1px solid rgba(245,158,11,0.3);
            background: rgba(245,158,11,0.1);
            color: #f59e0b;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .harmonic-import-bar {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            align-items: center;
        }
        .harmonic-library-load-btn {
            padding: 8px 16px;
            background: rgba(245,158,11,0.08);
            border: 1px solid rgba(245,158,11,0.25);
            border-radius: 10px;
            color: #f59e0b;
            font-family: var(--font-mono);
            font-size: 11px;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }
        .harmonic-library-list {
            flex: 1;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            overflow: hidden;
        }
        .harmonic-library-state {
            font-family: var(--font-mono);
            font-size: 10px;
        }
        .harmonic-library-state-loading {
            color: var(--text-dim);
        }
        .harmonic-library-state-empty {
            color: var(--text-muted);
        }
        .harmonic-library-state-error {
            color: var(--accent-red);
        }
        .harmonic-import-track {
            padding: 4px 10px;
            background: rgba(0,0,0,0.3);
            border: 1px solid var(--harmonic-key-border, rgba(255,255,255,0.12));
            border-radius: 8px;
            color: var(--text-pure);
            font-family: var(--font-mono);
            font-size: 10px;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .harmonic-import-key {
            color: var(--harmonic-key-color, #888);
            font-weight: 700;
        }
        .harmonic-import-bpm {
            color: var(--text-muted);
        }
        .harmonic-camelot-unknown {
            --harmonic-key-color: #888;
            --harmonic-key-border: rgba(136,136,136,0.25);
        }
        .harmonic-camelot-1 {
            --harmonic-key-color: #ff3264;
            --harmonic-key-border: rgba(255,50,100,0.25);
        }
        .harmonic-camelot-2 {
            --harmonic-key-color: #ff5032;
            --harmonic-key-border: rgba(255,80,50,0.25);
        }
        .harmonic-camelot-3 {
            --harmonic-key-color: #ff8c00;
            --harmonic-key-border: rgba(255,140,0,0.25);
        }
        .harmonic-camelot-4 {
            --harmonic-key-color: #f5c800;
            --harmonic-key-border: rgba(245,200,0,0.25);
        }
        .harmonic-camelot-5 {
            --harmonic-key-color: #a0e632;
            --harmonic-key-border: rgba(160,230,50,0.25);
        }
        .harmonic-camelot-6 {
            --harmonic-key-color: #00c8a0;
            --harmonic-key-border: rgba(0,200,160,0.25);
        }
        .harmonic-camelot-7 {
            --harmonic-key-color: #00b4d8;
            --harmonic-key-border: rgba(0,180,216,0.25);
        }
        .harmonic-camelot-8 {
            --harmonic-key-color: #3c96ff;
            --harmonic-key-border: rgba(60,150,255,0.25);
        }
        .harmonic-camelot-9 {
            --harmonic-key-color: #646eff;
            --harmonic-key-border: rgba(100,110,255,0.25);
        }
        .harmonic-camelot-10 {
            --harmonic-key-color: #9632ff;
            --harmonic-key-border: rgba(150,50,255,0.25);
        }
        .harmonic-camelot-11 {
            --harmonic-key-color: #c832e6;
            --harmonic-key-border: rgba(200,50,230,0.25);
        }
        .harmonic-camelot-12 {
            --harmonic-key-color: #dc00b4;
            --harmonic-key-border: rgba(220,0,180,0.25);
        }
        .harmonic-chart-shell {
            background: rgba(0,0,0,0.3);
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.06);
            padding: 20px;
            min-height: 200px;
            position: relative;
        }
        .harmonic-empty-state {
            text-align: center;
            padding: 40px 0;
        }
        .harmonic-empty-icon {
            font-size: 32px;
            color: var(--text-dim);
            margin-bottom: 8px;
        }
        .harmonic-empty-copy {
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 2px;
        }
        .harmonic-tracklist {
            margin-top: 12px;
        }
        .harmonic-track-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .harmonic-track-index {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-muted);
            width: 20px;
        }
        .harmonic-track-key {
            font-family: var(--font-mono);
            font-size: 12px;
            font-weight: 700;
            color: var(--harmonic-key-color, #888);
            background: rgba(0,0,0,0.3);
            padding: 3px 8px;
            border-radius: 6px;
            border: 1px solid var(--harmonic-key-border, rgba(136,136,136,0.25));
            min-width: 32px;
            text-align: center;
        }
        .harmonic-track-name {
            flex: 1;
            font-size: 13px;
            color: var(--text-pure);
        }
        .harmonic-track-bpm {
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-dim);
        }
        .harmonic-track-remove {
            color: var(--accent-red);
            cursor: pointer;
            font-size: 12px;
            background: none;
            border: 0;
            padding: 0;
            font: inherit;
        }
        .harmonic-footer-actions {
            flex-shrink: 0;
            display: flex;
            gap: 10px;
        }
        .harmonic-clear-btn {
            padding: 12px 20px;
            background: rgba(255,255,255,0.05);
            color: var(--text-dim);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 100px;
            font-size: 12px;
            font-family: var(--font-mono);
            cursor: pointer;
            transition: all 0.3s;
            letter-spacing: 1px;
        }
        .harmonic-summary-wrap {
            flex: 1;
            text-align: right;
        }
        .harmonic-summary {
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 1px;
        }
        .harmonic-summary-score {
            color: var(--harmonic-score-color, var(--text-muted));
        }
        .harmonic-score-good {
            --harmonic-score-color: #2ecc71;
        }
        .harmonic-score-warn {
            --harmonic-score-color: #f59e0b;
        }
        .harmonic-score-bad {
            --harmonic-score-color: #e74c3c;
        }
        .id3-file-info {
            margin-top: 12px;
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-muted);
            letter-spacing: 1px;
        }
        .id3-file-info-ext {
            color: var(--text-dim);
        }
        .id3-file-info-warning {
            margin-top: 6px;
            padding: 6px 10px;
            background: rgba(243,156,18,0.1);
            border: 1px solid rgba(243,156,18,0.2);
            border-radius: 8px;
            color: var(--warning);
            font-size: 10px;
        }
        .tool-modal-scroll-body {
            flex: 1;
            overflow-y: auto;
            min-height: 0;
            margin-bottom: 16px;
        }
        .tool-modal-file-list {
            margin-top: 12px;
            font-family: var(--font-mono);
            font-size: 11px;
            padding: 0 4px;
        }
        .forge-file-count {
            margin-bottom: 6px;
            color: #a855f7;
        }
        .forge-file-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            padding: 5px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            color: var(--text-dim);
        }
        .forge-file-name {
            color: var(--text-pure);
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .forge-file-meta {
            flex-shrink: 0;
            white-space: nowrap;
        }
        .forge-file-remove {
            color: var(--accent-red);
            cursor: pointer;
            margin-left: 8px;
            background: none;
            border: 0;
            padding: 0;
            font: inherit;
        }
        .forge-result-row {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .forge-result-row-body {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .forge-result-name {
            color: #2ecc71;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .forge-result-meta {
            color: var(--text-dim);
            flex-shrink: 0;
            margin-left: 8px;
        }
        .forge-result-note {
            font-size: 9px;
            color: var(--text-muted);
            margin-top: 2px;
        }
        .forge-result-ratio-down {
            color: #2ecc71;
        }
        .forge-result-ratio-up {
            color: #f59e0b;
        }
        .forge-result-error {
            padding: 6px 0;
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--accent-red);
        }
        .forge-mode-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-bottom: 12px;
            flex-shrink: 0;
        }
        .forge-mode-btn.active {
            color: var(--text-pure);
        }
        .forge-trim-controls {
            display: none;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 12px;
            flex-shrink: 0;
        }
        .forge-trim-controls.forge-trim-controls-visible {
            display: grid;
        }
        .forge-trim-label {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-dim);
            letter-spacing: 1px;
        }
        .forge-trim-input {
            width: 100%;
            margin-top: 4px;
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px;
            color: var(--text-pure);
            padding: 9px 10px;
            font-family: var(--font-mono);
        }
        .forge-progress-panel {
            margin-top: 16px;
        }
        .forge-progress-status-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        .forge-progress-status {
            font-family: var(--font-mono);
            font-size: 11px;
            color: #a855f7;
            letter-spacing: 2px;
        }
        .forge-progress-percent {
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-dim);
        }
        .forge-progress-ring-wrap {
            display: flex;
            justify-content: center;
            margin: 16px 0;
        }
        .forge-progress-ring-fill {
            stroke-dasharray: 263.89;
            stroke-dashoffset: 263.89;
            transform: rotate(-90deg);
            transform-origin: center;
            transition: stroke-dashoffset 0.4s;
        }
        .tool-ncm-file-list-summary {
            margin-bottom: 6px;
            color: var(--accent-cyan);
        }
        .tool-ncm-file-list-row {
            display: flex;
            justify-content: space-between;
            padding: 5px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            color: var(--text-dim);
        }
        .tool-ncm-file-list-name {
            color: var(--text-pure);
        }
        .tool-ncm-file-list-remove {
            color: var(--accent-red);
            cursor: pointer;
            margin-left: 8px;
            background: none;
            border: 0;
            padding: 0;
            font: inherit;
        }
        .tool-unlock-file-list-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .tool-unlock-file-list-ext {
            font-size: 9px;
            padding: 2px 6px;
            border-radius: 4px;
            background: rgba(255,30,56,0.1);
            color: var(--accent-red);
            font-weight: 700;
        }
        .tool-unlock-file-list-name {
            flex: 1;
            font-size: 11px;
            color: #ccc;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .tool-unlock-file-list-size {
            font-size: 10px;
            color: var(--text-dim);
            font-family: var(--font-mono);
        }
        .tool-unlock-file-list-remove {
            color: var(--text-muted);
            cursor: pointer;
            font-size: 14px;
            background: none;
            border: 0;
            padding: 0;
            font: inherit;
        }
        .tool-unlock-result-row {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .tool-unlock-result-pending {
            color: var(--text-dim);
        }
        .tool-unlock-result-warning {
            color: var(--text-dim);
        }
        .tool-unlock-result-success-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }
        .tool-unlock-result-success-label {
            color: #2ecc71;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .tool-unlock-result-size {
            color: var(--text-dim);
            flex-shrink: 0;
        }
        .tool-unlock-result-error {
            color: var(--accent-red);
        }
        .tool-ncm-result-row {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            font-family: var(--font-mono);
            font-size: 11px;
        }
        .tool-ncm-result-pending {
            color: var(--text-dim);
        }
        .tool-ncm-result-warning {
            color: var(--text-dim);
        }
        .tool-ncm-result-success-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }
        .tool-ncm-result-success-label {
            color: #2ecc71;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .tool-ncm-result-size {
            color: var(--text-dim);
            flex-shrink: 0;
        }
        .tool-ncm-result-error {
            color: var(--accent-red);
        }
        .tool-modal-results {
            margin-top: 12px;
        }
        .tool-modal-action-row {
            flex-shrink: 0;
            display: flex;
            gap: 10px;
        }
        .tool-modal-action-btn {
            flex: 1;
            padding: 16px 0;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 900;
            font-family: var(--font-display);
            cursor: pointer;
            transition: all 0.4s;
        }
        .tool-modal-action-primary {
            background: var(--text-pure);
            color: var(--bg-base);
            border: none;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .tool-modal-action-success {
            background: rgba(46,204,113,0.15);
            color: #2ecc71;
            border: 1px solid rgba(46,204,113,0.3);
            letter-spacing: 1px;
        }
        .tool-modal-action-hidden {
            display: none;
        }
        .tool-format-selector {
            display: flex;
            position: relative;
            background: rgba(0,0,0,0.4);
            border-radius: 100px;
            padding: 5px;
            border: 1px solid rgba(255,255,255,0.05);
            margin-bottom: 16px;
            flex-shrink: 0;
        }
        .tool-format-indicator {
            position: absolute;
            top: 5px;
            left: 5px;
            height: calc(100% - 10px);
            width: calc(33.33% - 4px);
            background: var(--accent-red);
            border-radius: 100px;
            z-index: 1;
            transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
            box-shadow: 0 0 20px rgba(255,0,60,0.4);
        }
        .tool-format-indicator-active-first { transform: translateX(0%); }
        .tool-format-indicator-active-second { transform: translateX(100%); }
        .tool-format-indicator-active-third { transform: translateX(200%); }
        .tool-format-indicator-active-fourth { transform: translateX(300%); }
        .tool-format-indicator-quarter {
            width: calc(25% - 4px);
        }
        .tool-format-indicator-forge {
            background: #a855f7;
            box-shadow: 0 0 20px rgba(168,85,247,0.4);
        }
        .tool-format-button {
            flex: 1;
            text-align: center;
            font-family: var(--font-mono);
            font-size: 11px;
            font-weight: 700;
            padding: 12px 0;
            z-index: 2;
            cursor: pointer;
            letter-spacing: 1px;
            color: var(--text-dim);
        }
        .tool-format-button-active {
            color: var(--text-pure);
        }

        /* === Toast === */
        .toast {
            position: fixed; bottom: calc(32px + env(safe-area-inset-bottom, 0px)); left: 50%;
            transform: translateX(-50%) translateY(100px);
            padding: 14px 28px; background: rgba(15,15,15,0.9);
            border: 1px solid var(--glass-border); border-radius: 100px;
            font-size: 13px; font-family: var(--font-mono); color: var(--text-pure);
            z-index: 1000; opacity: 0;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 20px 60px rgba(0,0,0,0.6);
            backdrop-filter: blur(20px);
            max-width: calc(100vw - 32px); /* 防止窄屏溢出 */
            display: flex; align-items: center; gap: 12px;
        }
        .toast .toast-dismiss { background: none; border: none; color: inherit; opacity: 0.4; cursor: pointer; font-size: 16px; padding: 0 2px; line-height: 1; flex-shrink: 0; }
        .toast .toast-dismiss:hover { opacity: 1; }
        .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
        .toast.error { border-color: rgba(255,0,60,0.4); }
        .toast.success { border-color: rgba(46,204,113,0.4); }

        .history-badge {
            font-size: 10px; padding: 2px 8px; border-radius: 100px;
            background: rgba(255,255,255,0.04); color: var(--text-dim);
            font-weight: 500; margin-left: 8px; font-family: var(--font-mono);
        }

        /* === 响应式 === */
        @media (max-width: 640px) {
            .navbar { --nav-brand-offset: 8px; --nav-user-offset: 8px; padding: 7px 10px 7px 12px; width: 100%; min-height: 48px; border-radius: 0; }
            .sonic-logo-mark { width: 24px; height: 24px; border-radius: 50%; }
            .sonic-logo-name { font-size: 13px; gap: 5px; letter-spacing: 0.01em; }
            .nav-right { gap: 8px; letter-spacing: 1px; }
            .hero-ripple-grid { inset: 0 -14vw; width: auto; }
            .hero {
                --hero-title-size: clamp(36px, 12vw, 80px);
                padding: 88px 16px 18px; min-height: clamp(520px, 76dvh, 680px);
            }
            .hero-title-wrap { margin-bottom: 24px; transform: translateY(calc(-28px + var(--hero-stack-offset) + var(--lyrics-ribbon-upshift))); }
            .glitch-text { font-size: var(--hero-title-size); }
            .input-capsule { flex-wrap: wrap; border-radius: 24px; padding: 12px; gap: 8px; }
            .input-capsule input { min-width: 100%; text-align: center; font-size: 16px; /* 防止 iOS 自动缩放 */ }
            .magnetic-wrap { width: 100%; text-align: center; margin: 0; padding: 0; }
            .btn-download { width: 100%; border-radius: 16px; min-height: 48px; }
            .section-wrap { padding: 0 16px 30px; }
            .drop-link-empty { padding: 0; border-radius: 0; }
            .drop-link-header { margin-bottom: 10px; }
            .drop-link-platforms { flex-wrap: wrap; border-radius: 18px; }
            .drop-platform-btn { flex: 1 1 auto; min-width: 92px; }
            .drop-link-dome { height: var(--monthly-dome-height, 540px); --radius: 420px; margin-top: -6px; }
            .drop-cover-tile:hover { transform: translateZ(8px) scale(1.03); }
            .drop-link-footer { flex-direction: column; margin-top: -48px; }
            .bento-grid { padding: 0 16px 30px; grid-template-columns: repeat(6, 1fr); gap: 10px; }
            .platform-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                grid-auto-flow: row dense;
                grid-auto-rows: minmax(96px, auto);
                align-items: stretch;
            }
            .platform-grid .item-large,
            .platform-grid .item-medium,
            .platform-grid .item-wide,
            .platform-grid .platform-fill { grid-column: 1 / -1; }
            .platform-grid .item-small {
                grid-column: span 1;
                min-height: 88px;
                padding: 18px 12px;
                justify-content: center;
            }
            .platform-grid .bento-title {
                font-size: clamp(24px, 7vw, 32px);
                letter-spacing: -1px;
            }
            .platform-grid .bento-status { padding-top: 12px; }
            .item-large { grid-column: span 6; }
            .item-medium { grid-column: span 6; grid-row: span 1; }
            .item-small { grid-column: span 3; }
            .item-wide { grid-column: span 6; }
            .platform-fill { grid-column: span 6; }
            .item-tool { grid-column: span 3; }
            .bento-title { font-size: 24px; }
            .bento-item { padding: 20px; border-radius: 18px; }
            .task-card { border-radius: 16px; padding: 16px; }
            .lyrics-content { font-size: 28px; }
            .format-section { margin-top: 18px; transform: translateY(calc(var(--hero-stack-offset) + var(--lyrics-ribbon-upshift))); }
            .lyrics-ribbon { transform: rotate(-3.5deg) scale(1.01); margin: -26px -1px 68px; overflow: hidden; }  /* 移动端缩小防溢出 */
            .admin-auth-header { grid-template-columns: 1fr; align-items: start; gap: 9px; }
            .admin-auth-main { flex-wrap: wrap; }
            .admin-auth-actions { justify-content: flex-start; flex-wrap: wrap; }
            .admin-auth-card { padding: 12px 14px; border-radius: 10px; }
            .admin-auth-platform { min-height: 24px; }
            .admin-auth-name { font-size: 12px; letter-spacing: 1.2px; line-height: 1.2; }
            .admin-auth-badge { font-size: 10px; min-height: 22px; padding: 4px 8px; align-self: flex-start; }
            .admin-auth-detail {
                display: block; width: 100%; font-size: 11px; line-height: 1.45;
                white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere;
            }
            .admin-auth-btn { min-height: 28px; padding: 6px 9px; border-radius: 6px; font-size: 10px; }
            .admin-auth-status-msg { min-height: 16px; }
            [id$="-platform-policy-area"] { padding-left: 0 !important; }
            [id$="-platform-policy-area"] .admin-auth-detail,
            [id$="-platform-policy-area"] .admin-auth-status-msg { font-size: 10.5px; }
            /* 移动端去掉自定义光标，恢复系统光标 */
            * { cursor: auto !important; }
            /* 移动端音量控制隐藏（手机用系统音量） */
            .volume-wrap { display: none !important; }
            /* 搜索弹窗移动端全屏化 — 更沉浸更好操作 */
            .search-modal {
                width: 100%; max-width: 100%; max-height: 100vh;
                border-radius: 0; height: 100vh;
            }
            .search-modal-header { padding: 20px 16px 14px; }
            .search-results-list { padding: 8px 8px 20px; }
            .search-filter-bar { padding: 10px 12px; gap: 6px; }
            .search-result-filter-wrap { padding-left: 12px; padding-right: 12px; }
            .search-result-item { gap: 10px; padding: 13px 12px; border-radius: 14px; }
            .search-result-num { display: none; }
            .search-result-cover,
            .search-result-cover-placeholder { width: 38px; height: 38px; border-radius: 9px; }
            .search-result-name { flex-basis: 100%; min-width: 0; }
            .search-source-badge,
            .search-context-badge { font-size: 8px; padding: 2px 6px; }
            /* 登录卡片移动端优化 */
            .auth-card { padding: 36px 24px; border-radius: 24px; }
            /* 正在播放卡片移动端优化 */
            .np-btn { width: 36px; height: 36px; font-size: 14px; }
            .np-btn.main { width: 40px; height: 40px; font-size: 16px; }
            /* 格式选择按钮间距加大，更好点按 */
            .format-btn { min-height: 40px; padding: 0 18px; }
            /* 所有输入框 16px 防止 iOS Safari 自动缩放（替代 user-scalable=no） */
            .auth-field input, .modal-overlay input, .modal-overlay select { font-size: 16px !important; }
        }

        /* 移动端触摸优化 — 更大的触摸目标 */
        @media (hover: none) and (pointer: coarse) {
            .bento-item::after,
            .task-card::after,
            .now-playing-inner::after { display: none; }
            .bento-item,
            .task-card,
            .now-playing-inner { transition: border-color 0.18s ease, background 0.18s ease; }
            .btn-play { width: 44px; height: 44px; font-size: 16px; }
            .search-result-item { padding: 16px; }
            .search-result-dl { width: 40px; height: 40px; opacity: 1 !important; }
            .waveform-container { height: 56px; }
            .format-btn { min-height: 42px; padding: 0 20px; font-size: 13px; }
            /* 进度条在触屏上默认更粗，因为没有 hover 状态 */
            .np-progress-bar-container::after { height: 6px; }
            .np-progress-fill { height: 6px; }
            /* 全局 manipulation 消除 300ms 点击延迟 */
            button, a, .interactable, [role="button"] { touch-action: manipulation; }
        }

        @media (prefers-reduced-motion: reduce) {
            .bento-item::after,
            .task-card::after,
            .now-playing-inner::after { display: none; }
            .bento-item,
            .item-tool,
            .tool-icon-box,
            .tool-icon-box svg { transition: border-color 0.16s ease, background 0.16s ease; }
            .ribbon-wave i { animation: none; }
            .bento-item:hover,
            .item-tool:hover,
            .item-tool:hover .tool-icon-box,
            .bento-item:hover .platform-label { transform: none; }
        }

        /* === 玻璃态鉴权模态框 === */
        .auth-overlay {
            position: fixed; inset: 0; z-index: 9999;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            display: none; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .auth-overlay.visible { display: flex; opacity: 1; }

        .auth-card {
            position: relative; width: 440px; max-width: 90vw;
            background: rgba(15, 15, 18, 0.6); border: 1px solid rgba(255,255,255,0.12);
            border-radius: 32px; padding: 48px 40px;
            box-shadow: 0 40px 100px rgba(0,0,0,0.9), inset 0 2px 2px rgba(255,255,255,0.05);
            transform: translateY(40px) scale(0.95); opacity: 0;
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .auth-overlay.visible .auth-card { transform: translateY(0) scale(1); opacity: 1; }
        .auth-autocomplete-decoy { display: none; }
        .auth-card-compact { max-width: 380px; }
        .auth-card-medium { max-width: 420px; }
        .auth-card-body { padding: 24px 28px; }
        .auth-modal-title {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 900;
            letter-spacing: -0.5px;
        }
        .email-binding-status {
            margin-bottom: 14px;
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-dim);
            letter-spacing: 0.5px;
        }
        .email-code-send { margin-top: 8px; }
        .email-code-field { margin-top: 18px; }
        .invite-code-label {
            margin-bottom: 8px;
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-dim);
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .invite-code-value {
            min-height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px 16px;
            background: rgba(0,0,0,0.32);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px;
            color: var(--text-pure);
            font-family: var(--font-mono);
            font-size: 18px;
            letter-spacing: 2px;
            word-break: break-all;
        }
        .invite-code-usage {
            margin-top: 12px;
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-dim);
            text-align: center;
        }
        .invite-code-actions {
            display: flex;
            gap: 10px;
            margin-top: 18px;
        }
        .invite-code-action {
            flex: 1;
            margin-top: 0;
        }
        .invite-code-copy {
            background: rgba(255,255,255,0.08);
            color: var(--text-pure);
            border: 1px solid rgba(255,255,255,0.12);
        }
        .site-content-logo-compact { margin-bottom: 24px; }

        .auth-close {
            position: absolute; top: 24px; right: 24px;
            width: 36px; height: 36px; border-radius: 50%;
            background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
            color: var(--text-dim); font-size: 14px; cursor: pointer !important;
            display: flex; align-items: center; justify-content: center; transition: all 0.2s;
        }
        .auth-close:hover { background: rgba(255,0,60,0.15); color: var(--accent-red); border-color: rgba(255,0,60,0.4); transform: rotate(90deg); }

        .turnstile-container.is-hidden { display: none; }

        .auth-logo { text-align: center; margin-bottom: 32px; }
        .auth-logo h2 {
            font-family: var(--font-brand); font-size: 28px; font-weight: 900;
            letter-spacing: 0.02em; line-height: 1;
            text-transform: uppercase;
        }
        .auth-logo .brand-red { color: var(--accent-red); }
        .auth-logo .brand-white { color: var(--text-pure); }
        .auth-logo p { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); letter-spacing: 3px; margin-top: 6px; text-transform: uppercase; }
        .auth-context-note {
            margin: -18px 0 24px;
            text-align: center;
            color: rgba(255,255,255,0.72);
            font-family: var(--font-mono);
            font-size: 11px;
            line-height: 1.5;
        }
        .auth-context-note[hidden] { display: none; }

        .auth-tabs { display: flex; position: relative; margin-bottom: 32px; background: rgba(0,0,0,0.4); border-radius: 100px; padding: 4px; border: 1px solid rgba(255,255,255,0.05); }
        .auth-tab-btn { flex: 1; padding: 12px 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--text-dim); background: none; border: none; cursor: pointer !important; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 2; transition: color 0.3s; }
        .auth-tab-btn.active { color: var(--bg-base); }
        .auth-tab-indicator { position: absolute; top: 4px; left: 4px; height: calc(100% - 8px); width: calc(50% - 4px); background: var(--text-pure); border-radius: 100px; z-index: 1; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
        .auth-tab-indicator-login { transform: translateX(0); }
        .auth-tab-indicator-register { transform: translateX(100%); }

        .auth-form { display: none; opacity: 0; animation: authFormIn 0.4s forwards; }
        .auth-form.active { display: block; }
        @keyframes authFormIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .auth-field { margin-bottom: 20px; }
        .auth-field label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
        .auth-helper { margin-top: 8px; color: rgba(255,255,255,0.68); font-family: var(--font-mono); font-size: 11px; line-height: 1.55; }
        .auth-input-wrap { position: relative; background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border); border-radius: 16px; transition: all 0.3s ease; }
        .auth-input-wrap:focus-within { border-color: #00ffaa; box-shadow: 0 0 20px rgba(0,255,170,0.1); }
        .auth-field input { width: 100%; padding: 14px 18px; background: none; border: none; outline: none; color: var(--text-pure); font-size: 14px; font-family: var(--font-main); caret-color: #00ffaa; }
        .auth-field input::placeholder { color: rgba(255,255,255,0.2); }

        .auth-btn-submit { width: 100%; padding: 16px 0; margin-top: 10px; background: var(--text-pure); color: var(--bg-base); border: none; border-radius: 16px; font-size: 13px; font-weight: 900; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px; cursor: pointer !important; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
        .auth-btn-submit:hover { background: #00ffaa; box-shadow: 0 10px 40px rgba(0,255,170,0.3); transform: scale(1.02); }

        .auth-msg { margin-top: 16px; padding: 12px; border-radius: 12px; font-size: 11px; font-family: var(--font-mono); text-align: center; display: none; }
        .auth-msg.error { display: block; background: rgba(255,0,60,0.1); color: var(--accent-red); border: 1px solid rgba(255,0,60,0.3); }
        .auth-msg.success { display: block; background: rgba(0,255,170,0.1); color: #00ffaa; border: 1px solid rgba(0,255,170,0.3); }

        .site-content-card {
            width: min(980px, calc(100vw - 32px));
            max-height: min(92vh, 860px);
            padding: 46px 46px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .site-content-card .auth-logo h2 {
            font-size: clamp(42px, 6vw, 64px);
        }
        .site-content-card .auth-logo p {
            font-size: 13px;
            letter-spacing: 4px;
        }
        .site-content-card .auth-logo {
            flex-shrink: 0;
        }
        .site-content-body {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding-right: 10px;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.24) transparent;
        }
        .site-content-body::-webkit-scrollbar { display: block; width: 6px; }
        .site-content-body::-webkit-scrollbar-track { background: transparent; }
        .site-content-body::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.22);
            border-radius: 999px;
        }
        .site-content-section {
            padding: 16px 0;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .site-content-section:first-child { border-top: 0; padding-top: 0; }
        .site-content-section h3 {
            margin: 0 0 8px;
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 900;
            letter-spacing: -0.2px;
        }
        .site-content-section p,
        .site-content-section li {
            color: var(--text-dim);
            font-size: 16px;
            line-height: 1.75;
        }
        .site-content-section strong {
            color: var(--text-pure);
            font-weight: 800;
        }
        .platform-inline-icon {
            vertical-align: middle;
            flex-shrink: 0;
        }
        .site-content-section ul { margin: 8px 0 0; padding-left: 18px; }
        @media (max-width: 640px) {
            .site-content-card {
                width: calc(100vw - 20px);
                max-height: calc(100vh - 28px);
                padding: 34px 22px 24px;
                border-radius: 24px;
            }
            .site-content-body { padding-right: 6px; }
            .site-content-card .auth-logo h2 { font-size: 40px; }
            .site-content-card .auth-logo p { font-size: 12px; }
            .site-content-section h3 { font-size: 18px; }
            .site-content-section p,
            .site-content-section li { font-size: 15px; }
        }

        /* ACCESS 按钮 */
        .btn-access,
        .btn-nav-help {
            padding: 8px 20px; background: var(--text-pure); color: #000;
            border: none; border-radius: 100px; font-weight: 800; font-family: var(--font-mono);
            cursor: pointer !important; transition: all 0.3s; letter-spacing: 1px;
            text-transform: uppercase; font-size: 11px;
        }
        .btn-access:hover,
        .btn-nav-help:hover { background: var(--accent-red); color: white; box-shadow: 0 0 20px var(--accent-glow); }
        .btn-nav-help {
            background: rgba(255,255,255,0.06); color: var(--text-dim);
            border: 1px solid rgba(255,255,255,0.12);
        }
        .btn-nav-help:hover { border-color: rgba(255,0,60,0.38); }

        /* === Camelot Wheel 色相系统 === */
        .camelot-chip {
            display: inline-flex; align-items: center; justify-content: center;
            width: 40px; height: 40px; border-radius: 8px;
            font-family: var(--font-mono); font-size: 13px; font-weight: 700;
            letter-spacing: 0.5px; flex-shrink: 0;
            box-shadow: 0 0 12px currentColor;
        }
        .cam-1A,.cam-1B { background: rgba(255,50,100,0.15); color: #ff3264; border: 1px solid rgba(255,50,100,0.3); }
        .cam-2A,.cam-2B { background: rgba(255,80,50,0.15); color: #ff5032; border: 1px solid rgba(255,80,50,0.3); }
        .cam-3A,.cam-3B { background: rgba(255,140,0,0.15); color: #ff8c00; border: 1px solid rgba(255,140,0,0.3); }
        .cam-4A,.cam-4B { background: rgba(255,210,0,0.15); color: #ffd200; border: 1px solid rgba(255,210,0,0.3); }
        .cam-5A,.cam-5B { background: rgba(160,230,0,0.15); color: #a0e600; border: 1px solid rgba(160,230,0,0.3); }
        .cam-6A,.cam-6B { background: rgba(0,220,100,0.15); color: #00dc64; border: 1px solid rgba(0,220,100,0.3); }
        .cam-7A,.cam-7B { background: rgba(0,220,180,0.15); color: #00dcb4; border: 1px solid rgba(0,220,180,0.3); }
        .cam-8A,.cam-8B { background: rgba(0,180,255,0.15); color: #00b4ff; border: 1px solid rgba(0,180,255,0.3); }
        .cam-9A,.cam-9B { background: rgba(0,120,255,0.15); color: #0078ff; border: 1px solid rgba(0,120,255,0.3); }
        .cam-10A,.cam-10B { background: rgba(80,60,255,0.15); color: #503cff; border: 1px solid rgba(80,60,255,0.3); }
        .cam-11A,.cam-11B { background: rgba(160,0,255,0.15); color: #a000ff; border: 1px solid rgba(160,0,255,0.3); }
        .cam-12A,.cam-12B { background: rgba(220,0,180,0.15); color: #dc00b4; border: 1px solid rgba(220,0,180,0.3); }

        /* BPM 大字显示 */
        .bpm-display {
            font-family: var(--font-mono); font-size: 22px; font-weight: 700;
            color: var(--text-pure); letter-spacing: -1px; line-height: 1;
        }
        .bpm-label { font-size: 9px; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
        .bpm-block { display: flex; flex-direction: column; align-items: center; }
        .task-analysis-tags {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 8px;
        }

        /* === 5秒快进/快退按钮 === */
        .btn-skip {
            background: transparent; border: none; color: var(--text-muted);
            cursor: pointer; font-size: 14px; padding: 4px 6px;
            transition: color 0.2s; flex-shrink: 0;
        }
        .btn-skip:hover { color: var(--text-pure); }

        /* === 空状态 Camelot Wheel 旋转 === */
        .camelot-wheel-idle {
            animation: wheelSpin 20s linear infinite;
            opacity: 0.7;
        }
        @keyframes wheelSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

        /* === DJ 工具箱：参考设计资产库 === */
        .dj-tools-showcase {
            width: 100%;
            margin: 0 auto;
            padding: 0 0 84px;
            position: relative;
            z-index: 10;
        }
        .dj-tools-vault {
            position: relative;
            width: 100%;
            height: 520px;
            overflow: hidden;
            user-select: none;
            isolation: isolate;
            margin-top: 14px;
        }
        .dj-tools-vault::before,
        .dj-tools-vault::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100px;
            z-index: 3;
            pointer-events: none;
        }
        .dj-tools-vault::before { left: 0; background: linear-gradient(90deg, var(--bg-base), transparent); }
        .dj-tools-vault::after { right: 0; background: linear-gradient(-90deg, var(--bg-base), transparent); }
        .dj-tools-viewport {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1200px;
            cursor: grab;
        }
        .dj-tools-viewport:active { cursor: grabbing; }
        .dj-tools-nav {
            position: absolute;
            top: 50%;
            z-index: 6;
            width: 42px;
            height: 42px;
            border: 1px solid rgba(255,255,255,0.14);
            border-radius: 999px;
            background: rgba(10,11,14,0.52);
            color: rgba(255,255,255,0.76);
            display: grid;
            place-items: center;
            transform: translateY(-50%);
            cursor: pointer;
            backdrop-filter: blur(14px) saturate(150%);
            -webkit-backdrop-filter: blur(14px) saturate(150%);
            transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
        }
        .dj-tools-nav:hover {
            color: #fff;
            border-color: rgba(255,255,255,0.24);
            background: rgba(255,255,255,0.08);
            transform: translateY(-50%) scale(1.04);
        }
        .dj-tools-nav.prev { left: clamp(14px, 3vw, 48px); }
        .dj-tools-nav.next { right: clamp(14px, 3vw, 48px); }
        .dj-tools-nav svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.4;
        }
        .dj-tools-grid {
            position: relative;
            width: 1600px;
            height: 260px;
            padding: 0;
            display: block;
            transform-style: preserve-3d;
            transform: rotateY(var(--roll, 0deg));
            transition: transform 0.8s var(--clone-ease-cinema);
            will-change: transform;
        }
        .dj-tools-grid.dragging { transition: none; }
        .dj-tools-face {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 380px;
            height: 260px;
            transform: translate(-50%, -50%) rotateY(calc(var(--i) * 60deg)) translateZ(380px);
            backface-visibility: hidden;
        }
        .dj-tools-face-0 { --i: 0; }
        .dj-tools-face-1 { --i: 1; }
        .dj-tools-face-2 { --i: 2; }
        .dj-tools-face-3 { --i: 3; }
        .dj-tools-face-4 { --i: 4; }
        .dj-tools-face-5 { --i: 5; }
        .dj-tools-grid .item-tool {
            position: relative;
            left: auto;
            top: auto;
            width: 100%;
            height: 100%;
            padding: 22px 24px 24px;
            border-radius: 18px;
            border: 1px solid var(--clone-border-strong);
            background: #111217;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            transform: none;
            box-shadow: 0 30px 80px rgba(0,0,0,0.55);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            overflow: hidden;
            transition: transform 0.3s var(--clone-ease);
        }
        .dj-tools-grid .item-tool::before {
            content: "";
            position: absolute;
            inset: 0;
            filter: saturate(140%);
            opacity: 0.82;
            z-index: 0;
            pointer-events: none;
        }
        .dj-tools-grid .item-tool::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(10,11,14,0.08) 0%, rgba(10,11,14,0.78) 80%);
            z-index: 0;
            pointer-events: none;
        }
        .dj-tools-grid .dj-tools-face:nth-child(1) .item-tool::before { background: radial-gradient(circle at 30% 35%, #ff003c 0%, transparent 48%), radial-gradient(circle at 72% 65%, #FB923C 0%, transparent 46%), #111217; }
        .dj-tools-grid .dj-tools-face:nth-child(2) .item-tool::before { background: radial-gradient(circle at 20% 30%, #18c964 0%, transparent 40%), radial-gradient(circle at 70% 70%, #5EEAD4 0%, transparent 45%), #111217; }
        .dj-tools-grid .dj-tools-face:nth-child(3) .item-tool::before { background: radial-gradient(circle at 30% 50%, #3b82f6 0%, transparent 45%), radial-gradient(circle at 75% 50%, #00D4FF 0%, transparent 40%), #111217; }
        .dj-tools-grid .dj-tools-face:nth-child(4) .item-tool::before { background: radial-gradient(circle at 30% 35%, #f59e0b 0%, transparent 48%), radial-gradient(circle at 70% 60%, #FBBF24 0%, transparent 42%), #111217; }
        .dj-tools-grid .dj-tools-face:nth-child(5) .item-tool::before { background: radial-gradient(circle at 25% 40%, #ec4899 0%, transparent 45%), radial-gradient(circle at 70% 55%, #a855f7 0%, transparent 42%), #111217; }
        .dj-tools-grid .dj-tools-face:nth-child(6) .item-tool::before { background: radial-gradient(circle at 25% 40%, #2ecc71 0%, transparent 42%), radial-gradient(circle at 75% 55%, #0EA5E9 0%, transparent 45%), #111217; }
        .dj-tools-grid .item-tool:hover {
            transform: scale(1.03);
        }
        .dj-tools-grid .tool-icon-box,
        .dj-tools-grid .tool-text-group {
            position: relative;
            z-index: 1;
        }
        .dj-tools-grid .tool-icon-box {
            width: 46px; height: 46px; border-radius: 14px;
            background: rgba(255,255,255,0.055);
            border: 1px solid rgba(255,255,255,0.09);
        }
        .dj-tools-grid .tool-title {
            font-family: var(--font-display);
            font-size: 22px;
            line-height: 1.25;
            letter-spacing: -0.01em;
            text-shadow: 0 2px 12px rgba(0,0,0,0.5);
        }
        .dj-tools-grid .tool-text-group::before {
            content: counter(tool-counter, decimal-leading-zero);
            counter-increment: tool-counter;
            display: block;
            margin-bottom: 12px;
            color: var(--clone-text-4);
            font-family: var(--font-mono);
            font-size: 11px;
            line-height: 1;
            letter-spacing: 0.14em;
        }
        .dj-tools-grid { counter-reset: tool-counter; }
        .dj-tools-grid .tool-desc {
            display: block;
            margin-top: 10px;
            max-width: 220px;
            color: var(--clone-text-2);
            font-size: 13.5px;
            line-height: 1.55;
        }
        @media (max-width: 900px) {
            .dj-tools-vault { height: 450px; }
            .dj-tools-grid { width: 1180px; }
            .dj-tools-face {
                width: 306px;
                height: 238px;
                transform: translate(-50%, -50%) rotateY(calc(var(--i) * 60deg)) translateZ(284px);
            }
            .dj-tools-nav {
                width: 38px;
                height: 38px;
            }
        }
        @media (max-width: 640px) {
            .dj-tools-showcase { padding: 0 0 42px; }
            .dj-tools-vault { height: 410px; }
            .dj-tools-viewport { perspective: 900px; }
            .dj-tools-grid { width: min(100vw, 360px); height: 230px; }
            .dj-tools-face {
                width: min(236px, calc(100vw - 78px));
                height: 216px;
                transform: translate(-50%, -50%) rotateY(calc(var(--i) * 60deg)) translateZ(clamp(220px, 74vw, 260px));
            }
            .dj-tools-grid .item-tool {
                padding: 18px 18px 20px;
                border-radius: 16px;
                gap: 10px;
            }
            .dj-tools-grid .tool-icon-box { width: 40px; height: 40px; border-radius: 12px; }
            .dj-tools-grid .tool-title { font-size: 19px; line-height: 1.2; }
            .dj-tools-grid .tool-desc { max-width: 188px; font-size: 12.5px; line-height: 1.45; }
            .dj-tools-nav.prev { left: 12px; }
            .dj-tools-nav.next { right: 12px; }
            #eq-pro-controls { grid-template-columns: 1fr !important; }
        }

        /* === EQ Kill Switch 按钮动画 === */

        /* === 工具弹窗移动端全屏化 === */
        @media (max-width: 640px) {
            /* 所有 modal-overlay 内的弹窗卡片统一全屏 */
            .modal-overlay > div {
                width: 100% !important; max-width: 100% !important;
                max-height: 100vh !important; height: 100vh !important;
                border-radius: 0 !important; padding: 24px 16px !important;
                overflow-y: auto !important;
            }
            /* 弹窗内的关闭按钮适配全屏 */
            .modal-overlay .modal-close {
                top: 12px !important; right: 12px !important;
            }
            /* 弹窗内输入框字体 16px 防止 iOS 缩放 */
            .modal-overlay input[type="text"],
            .modal-overlay input[type="number"],
            .modal-overlay select {
                font-size: 16px !important;
            }
        }

        /* === EQ Kill Switch 按钮动画（原始位置） === */
        .eq-kill-btn.active { opacity: 1; }
        .eq-kill-btn.killed {
            opacity: 0.3; border-style: dashed !important;
            filter: grayscale(100%);
        }
        .eq-kill-btn:hover { transform: scale(1.08); }
        .eq-kill-btn { transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }

        /* V2: 超宽屏（4K/超宽）内容区域限制，避免两侧大量空白 */
        @media (min-width: 1920px) {
            .scroller > section { max-width: 1600px; margin-left: auto; margin-right: auto; }
        }

        /* V3: 移动端封面矩阵 — 保留桌面 3D 旋转语言，增强窄屏曲率 */
        @media (max-width: 640px) {
            .sonic-dome-main { overflow: hidden; max-width: 100vw; }
            .drop-link-dome {
                height: var(--monthly-dome-height, clamp(455px, 70dvh, 585px));
                min-height: 455px;
                --segments-x: 28;
                --segments-y: 28;
                --radius: clamp(315px, 94vw, 390px);
                --tile-radius: 8px;
                margin-top: -10px;
            }
            .sonic-dome-stage {
                perspective: var(--monthly-dome-perspective, calc(var(--radius) * 1.72));
                perspective-origin: 50% 46%;
            }
            .sonic-dome-sphere {
                transform-style: preserve-3d;
                will-change: transform;
            }
            .sonic-dome-tile {
                width: calc(var(--item-width) * var(--item-size-x, 2));
                height: calc(var(--item-height) * var(--item-size-y, 2));
            }
            .drop-cover-tile {
                inset: clamp(5px, 1.8vw, 8px);
                border-radius: var(--tile-radius);
            }
            .sonic-dome-edge { height: 52px; }
            .drop-link-footer { margin-top: -40px; }
        }
        @media (max-width: 380px) {
            .drop-link-dome {
                height: var(--monthly-dome-height, clamp(430px, 72dvh, 530px));
                min-height: 430px;
                --segments-x: 26;
                --segments-y: 26;
                --radius: clamp(288px, 92vw, 348px);
            }
            .drop-cover-tile { inset: 6px; }
            .drop-link-footer { margin-top: -34px; }
            .drop-platform-btn { min-width: 84px; padding: 0 10px; }
        }
        @media (max-width: 340px) {
            .drop-link-dome {
                min-height: 410px;
                --segments-x: 24;
                --segments-y: 24;
                --radius: clamp(270px, 90vw, 320px);
            }
            .drop-platform-btn { min-width: 78px; }
        }
        @media (max-height: 520px) and (max-width: 960px) {
            .drop-link-dome {
                height: var(--monthly-dome-height, min(440px, calc(100dvh - 28px)));
                min-height: 350px;
                --segments-x: 28;
                --segments-y: 24;
                --radius: clamp(292px, 54vw, 420px);
            }
            .drop-cover-tile { inset: 6px; }
            .drop-link-footer { margin-top: 6px; }
        }

        .eq-chip-btn {
            border: 1px solid rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.05);
            color: var(--text-dim);
            border-radius: 8px;
            padding: 8px 10px;
            font-family: var(--font-mono);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .eq-chip-btn.active,
        .eq-chip-btn:hover {
            color: #2ecc71;
            border-color: rgba(46,204,113,0.45);
            background: rgba(46,204,113,0.12);
        }
        .eq-range {
            width: 100%;
            accent-color: #2ecc71;
        }
        .eq-console-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 10px;
            margin-top: 16px;
        }
        .eq-module {
            background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 12px;
            padding: 12px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
        }
        .eq-module-wide { grid-column: span 3; }
        .eq-module-double { grid-column: span 2; }
        .eq-module-title {
            font-family: var(--font-mono);
            font-size: 9px;
            color: var(--text-muted);
            letter-spacing: 1.5px;
            margin-bottom: 8px;
        }
        .eq-band-preview {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }
        .eq-band-card {
            min-height: 68px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.08);
            background: rgba(0,0,0,0.22);
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 4px;
            text-align: center;
        }
        .eq-band-card strong {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 900;
        }
        .eq-band-card span {
            font-family: var(--font-mono);
            font-size: 8.5px;
            color: var(--text-muted);
            letter-spacing: 0.5px;
        }
        .eq-band-card-low { border-color: rgba(46,204,113,0.18); }
        .eq-band-card-low strong { color: #2ecc71; }
        .eq-band-card-mid { border-color: rgba(0,212,255,0.18); }
        .eq-band-card-mid strong { color: #00d4ff; }
        .eq-band-card-high { border-color: rgba(245,158,11,0.18); }
        .eq-band-card-high strong { color: #f59e0b; }
        .eq-xover-label {
            display: flex;
            justify-content: space-between;
            font-family: var(--font-mono);
            font-size: 9px;
            color: var(--text-muted);
            letter-spacing: 1px;
            margin-bottom: 6px;
        }
        .eq-xover-label-spaced {
            margin-top: 8px;
        }
        .eq-chip-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
        }
        .eq-chip-grid-four {
            grid-template-columns: repeat(4, 1fr);
        }
        .eq-stem-controls {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-top: 8px;
        }
        .eq-stem-submenu {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            margin-top: 8px;
        }
        .eq-user-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
        }
        .eq-user-select {
            grid-column: 1 / -1;
            width: 100%;
            min-height: 34px;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 8px;
            background: rgba(0,0,0,0.35);
            color: var(--text-dim);
            font-family: var(--font-mono);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1px;
            padding: 0 8px;
        }
        .eq-import-input { display: none; }
        .eq-kill-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }
        .eq-kill-btn {
            width: 100%;
            min-height: 76px;
            border-radius: 12px;
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 900;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            position: relative;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .eq-band-low {
            border: 2px solid rgba(46,204,113,0.5);
            background: rgba(46,204,113,0.15);
            color: #2ecc71;
        }
        .eq-band-mid {
            border: 2px solid rgba(0,212,255,0.5);
            background: rgba(0,212,255,0.15);
            color: #00d4ff;
        }
        .eq-band-high {
            border: 2px solid rgba(245,158,11,0.5);
            background: rgba(245,158,11,0.15);
            color: #f59e0b;
        }
        .eq-kill-range-label {
            font-family: var(--font-mono);
            font-size: 9px;
            color: var(--text-muted);
            letter-spacing: 1px;
        }
        .eq-kill-btn::after {
            content: attr(data-gain) '%';
            font-family: var(--font-mono);
            font-size: 9px;
            color: rgba(255,255,255,0.52);
            letter-spacing: 1px;
        }
        .eq-panel {
            margin-top: 20px;
        }
        .eq-now-playing {
            text-align: center;
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--text-dim);
            margin-bottom: 16px;
            letter-spacing: 1px;
        }
        .eq-spectrum-shell {
            background: rgba(0,0,0,0.4);
            border-radius: 16px;
            padding: 12px;
            border: 1px solid rgba(255,255,255,0.06);
            margin-bottom: 20px;
        }
        .eq-spectrum-canvas {
            width: 100%;
            height: 100px;
            border-radius: 8px;
            display: block;
        }
        .eq-playback-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }
        .eq-play-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.05);
            color: var(--text-pure);
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .eq-progress-shell {
            flex: 1;
            max-width: 300px;
        }
        .eq-progress-container {
            height: 6px;
            background: rgba(255,255,255,0.08);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
        }
        .eq-progress-fill {
            appearance: none;
            -webkit-appearance: none;
            display: block;
            height: 100%;
            width: 100%;
            border: 0;
            background: transparent;
            border-radius: 3px;
            overflow: hidden;
        }
        .eq-progress-fill::-webkit-progress-bar {
            background: transparent;
            border-radius: 3px;
        }
        .eq-progress-fill::-webkit-progress-value {
            background: #2ecc71;
            border-radius: 3px;
            transition: none;
        }
        .eq-progress-fill::-moz-progress-bar {
            background: #2ecc71;
            border-radius: 3px;
        }
        .eq-time-row {
            display: flex;
            justify-content: space-between;
            margin-top: 4px;
        }
        .eq-time-label {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--text-muted);
        }
        @media (max-width: 640px) {
            .eq-console-grid { grid-template-columns: 1fr; }
            .eq-module-wide,
            .eq-module-double { grid-column: auto; }
            .eq-kill-grid { grid-template-columns: 1fr; }
            .eq-band-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }

        /* === Harmonic Router 连线动画 === */
        @keyframes harmonicPulse {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }
        .harmonic-line-ok { animation: harmonicPulse 2s ease-in-out infinite; }
        .harmonic-node {
            transition: all 0.3s;
        }
        .harmonic-node:hover {
            filter: brightness(1.3);
            cursor: pointer;
        }
        .is-hidden { display: none; }
